x86
stringlengths
122
1.3M
arm
stringlengths
122
1.35M
file
stringlengths
20
207
source
stringclasses
2 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t42_load_keyword _t42_load_keyword: ## @t42_load_keyword .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx movq (%rdx), %rax movq _T1_FIELD_TYPE_CALLBACK@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: ## kill: def $edi killed $edi killed $rdi movq %rbx, %rsi callq *16(%rdx) movl (%rbx), %eax jmp LBB0_11 LBB0_2: movl 8(%rdx), %ecx cmpl $130, %ecx je LBB0_7 ## %bb.3: cmpl $129, %ecx je LBB0_6 ## %bb.4: cmpl $128, %ecx jne LBB0_7 ## %bb.5: addq $8, %rdi jmp LBB0_7 LBB0_6: addq $4, %rdi LBB0_7: movq %rdi, -16(%rbp) movq _T1_FIELD_TYPE_INTEGER_ARRAY@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_9 ## %bb.8: movq _T1_FIELD_TYPE_FIXED_ARRAY@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_9 ## %bb.10: leaq -16(%rbp), %rax movq %rbx, %rdi movq %rdx, %rsi movq %rax, %rdx xorl %ecx, %ecx xorl %r8d, %r8d callq _T1_Load_Field jmp LBB0_11 LBB0_9: leaq -16(%rbp), %rax movq %rbx, %rdi movq %rdx, %rsi movq %rax, %rdx xorl %ecx, %ecx xorl %r8d, %r8d callq _T1_Load_Field_Table LBB0_11: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _T1_FIELD_TYPE_CALLBACK,8,3 ## @T1_FIELD_TYPE_CALLBACK .comm _T1_FIELD_TYPE_INTEGER_ARRAY,8,3 ## @T1_FIELD_TYPE_INTEGER_ARRAY .comm _T1_FIELD_TYPE_FIXED_ARRAY,8,3 ## @T1_FIELD_TYPE_FIXED_ARRAY .no_dead_strip _t42_load_keyword .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t42_load_keyword _t42_load_keyword: ; @t42_load_keyword .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x8, x2 mov x19, x1 ldr x9, [x2] Lloh0: adrp x10, _T1_FIELD_TYPE_CALLBACK@GOTPAGE Lloh1: ldr x10, [x10, _T1_FIELD_TYPE_CALLBACK@GOTPAGEOFF] Lloh2: ldr x10, [x10] cmp x9, x10 b.ne LBB0_2 ; %bb.1: ldr x8, [x8, #16] ; kill: def $w0 killed $w0 killed $x0 mov x1, x19 blr x8 ldr w0, [x19] b LBB0_12 LBB0_2: ldr w10, [x8, #8] cmp w10, #130 b.eq LBB0_6 ; %bb.3: cmp w10, #129 b.eq LBB0_7 ; %bb.4: cmp w10, #128 b.ne LBB0_6 ; %bb.5: add x10, x0, #8 b LBB0_8 LBB0_6: str x0, [sp, #8] b LBB0_9 LBB0_7: add x10, x0, #4 LBB0_8: str x10, [sp, #8] LBB0_9: Lloh3: adrp x10, _T1_FIELD_TYPE_INTEGER_ARRAY@GOTPAGE Lloh4: ldr x10, [x10, _T1_FIELD_TYPE_INTEGER_ARRAY@GOTPAGEOFF] Lloh5: ldr x10, [x10] Lloh6: adrp x11, _T1_FIELD_TYPE_FIXED_ARRAY@GOTPAGE Lloh7: ldr x11, [x11, _T1_FIELD_TYPE_FIXED_ARRAY@GOTPAGEOFF] Lloh8: ldr x11, [x11] cmp x9, x10 add x2, sp, #8 mov x0, x19 mov x1, x8 mov w3, #0 mov w4, #0 ccmp x9, x11, #4, ne b.ne LBB0_11 ; %bb.10: bl _T1_Load_Field_Table b LBB0_12 LBB0_11: bl _T1_Load_Field LBB0_12: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _T1_FIELD_TYPE_CALLBACK,8,3 ; @T1_FIELD_TYPE_CALLBACK .comm _T1_FIELD_TYPE_INTEGER_ARRAY,8,3 ; @T1_FIELD_TYPE_INTEGER_ARRAY .comm _T1_FIELD_TYPE_FIXED_ARRAY,8,3 ; @T1_FIELD_TYPE_FIXED_ARRAY .no_dead_strip _t42_load_keyword .subsections_via_symbols
AnghaBench/Cinder/src/freetype/type42/extr_t42parse.c_t42_load_keyword.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t42_parse_charstrings _t42_parse_charstrings: ## @t42_parse_charstrings .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx leaq 80(%rsi), %r12 movl 104(%rsi), %r13d movslq (%rdi), %r15 movq 80(%rsi), %r14 movq %r12, %rdi callq _T1_Skip_Spaces movq 88(%rbx), %rax leaq L_.str(%rip), %rdi cmpq %r14, %rax jae LBB0_22 ## %bb.1: movsbl (%rax), %edi callq _ft_isdigit testq %rax, %rax je LBB0_6 ## %bb.2: movq %r12, %rdi callq _T1_ToInt movl %eax, (%rbx) cmpq $0, 96(%rbx) jne LBB0_24 ## %bb.3: testl %eax, %eax js LBB0_16 ## %bb.4: movl %eax, %ecx movq 88(%rbx), %rax movq %r14, %rdi subq %rax, %rdi sarq $2, %rdi cmpq %rcx, %rdi jge LBB0_18 ## %bb.5: callq _FT_TRACE0 movq 88(%rbx), %rax movq %r14, %rcx subq %rax, %rcx shrq $2, %rcx movl %ecx, (%rbx) jmp LBB0_18 LBB0_6: movq 88(%rbx), %rax cmpb $60, (%rax) jne LBB0_15 ## %bb.7: movq %r12, %rdi callq _T1_Skip_PS_Token cmpq $0, 96(%rbx) jne LBB0_24 ## %bb.8: movq %r12, %rdi callq _T1_Skip_Spaces movq 88(%rbx), %rax cmpq %r14, %rax jae LBB0_18 ## %bb.9: xorl %ecx, %ecx movq %rcx, -64(%rbp) ## 8-byte Spill movq %rax, -56(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movzbl (%rax), %eax cmpb $47, %al je LBB0_12 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 cmpb $62, %al jne LBB0_13 jmp LBB0_17 LBB0_12: ## in Loop: Header=BB0_10 Depth=1 incq -64(%rbp) ## 8-byte Folded Spill LBB0_13: ## in Loop: Header=BB0_10 Depth=1 movq %r12, %rdi callq _T1_Skip_PS_Token cmpq $0, 96(%rbx) jne LBB0_24 ## %bb.14: ## in Loop: Header=BB0_10 Depth=1 movq %r12, %rdi callq _T1_Skip_Spaces movq 88(%rbx), %rax cmpq %r14, %rax jb LBB0_10 jmp LBB0_18 LBB0_15: leaq L_.str.3(%rip), %rdi jmp LBB0_22 LBB0_16: leaq L_.str.1(%rip), %rdi jmp LBB0_22 LBB0_17: movq -64(%rbp), %rax ## 8-byte Reload movl %eax, (%rbx) movq -56(%rbp), %rax ## 8-byte Reload movq %rax, 88(%rbx) LBB0_18: cmpq %r14, %rax jae LBB0_21 ## %bb.19: cmpq $0, 24(%rbx) je LBB0_25 ## %bb.20: leaq L_.str.4(%rip), %rdi jmp LBB0_22 LBB0_25: leaq 56(%rbx), %rdi movq (%r15), %rax movl (%rbx), %esi movq %rdi, -64(%rbp) ## 8-byte Spill movl %r13d, %edx callq *(%rax) testq %rax, %rax jne LBB0_23 ## %bb.26: leaq 32(%rbx), %rdi movq (%r15), %rax movl (%rbx), %esi movq %rdi, -56(%rbp) ## 8-byte Spill movl %r13d, %edx callq *(%rax) testq %rax, %rax jne LBB0_23 ## %bb.27: leaq 8(%rbx), %rdi movq (%r15), %rax movq %rdi, -72(%rbp) ## 8-byte Spill movl $4, %esi movl %r13d, %edx callq *(%rax) testq %rax, %rax jne LBB0_23 ## %bb.28: movq %r12, %rdi callq _T1_Skip_Spaces movq 88(%rbx), %r15 cmpq %r14, %r15 jae LBB0_61 ## %bb.29: xorl %eax, %eax movq %rax, -88(%rbp) ## 8-byte Spill xorl %eax, %eax movq %rax, -48(%rbp) ## 8-byte Spill xorl %r13d, %r13d jmp LBB0_31 LBB0_30: ## in Loop: Header=BB0_31 Depth=1 movq %r12, %rdi callq _T1_Skip_Spaces movq 88(%rbx), %r15 cmpq %r14, %r15 jae LBB0_51 LBB0_31: ## =>This Inner Loop Header: Depth=1 movzbl (%r15), %eax cmpb $101, %al jne LBB0_37 ## %bb.32: ## in Loop: Header=BB0_31 Depth=1 leaq 3(%r15), %rax cmpq %r14, %rax jae LBB0_38 ## %bb.33: ## in Loop: Header=BB0_31 Depth=1 cmpb $110, 1(%r15) jne LBB0_38 ## %bb.34: ## in Loop: Header=BB0_31 Depth=1 cmpb $100, 2(%r15) jne LBB0_38 ## %bb.35: ## in Loop: Header=BB0_31 Depth=1 movsbl (%rax), %edi callq _t42_is_space testq %rax, %rax jne LBB0_51 ## %bb.36: ## in Loop: Header=BB0_31 Depth=1 movzbl (%r15), %eax LBB0_37: ## in Loop: Header=BB0_31 Depth=1 cmpb $62, %al je LBB0_51 LBB0_38: ## in Loop: Header=BB0_31 Depth=1 movq %r12, %rdi callq _T1_Skip_PS_Token cmpq %r14, 88(%rbx) jae LBB0_21 ## %bb.39: ## in Loop: Header=BB0_31 Depth=1 cmpq $0, 96(%rbx) jne LBB0_24 ## %bb.40: ## in Loop: Header=BB0_31 Depth=1 movzbl (%r15), %eax cmpb $47, %al je LBB0_42 ## %bb.41: ## in Loop: Header=BB0_31 Depth=1 cmpb $40, %al jne LBB0_30 LBB0_42: ## in Loop: Header=BB0_31 Depth=1 movq %r13, -80(%rbp) ## 8-byte Spill xorl %edi, %edi cmpb $40, %al sete %dil callq _FT_BOOL cmpq $1, %rax movq %r15, %rcx sbbq $0, %rcx addq $3, %rcx cmpq %r14, %rcx jae LBB0_21 ## %bb.43: ## in Loop: Header=BB0_31 Depth=1 incq %r15 movq %r15, %rdx movl 88(%rbx), %r15d subl %edx, %r15d movq %rax, -104(%rbp) ## 8-byte Spill cmpq $1, %rax adcl $-1, %r15d leal 1(%r15), %ecx movq -56(%rbp), %r13 ## 8-byte Reload movq %r13, %rdi movq -80(%rbp), %rsi ## 8-byte Reload movq %rdx, -96(%rbp) ## 8-byte Spill callq _T1_Add_Table testq %rax, %rax jne LBB0_23 ## %bb.44: ## in Loop: Header=BB0_31 Depth=1 movq (%r13), %rax movq -80(%rbp), %rcx ## 8-byte Reload movq (%rax,%rcx,8), %rax movslq %r15d, %rcx movb $0, (%rax,%rcx) movq -96(%rbp), %rax ## 8-byte Reload cmpb $46, (%rax) jne LBB0_46 ## %bb.45: ## in Loop: Header=BB0_31 Depth=1 movq (%r13), %rax movq -80(%rbp), %r15 ## 8-byte Reload movq (%rax,%r15,8), %rsi leaq L_.str.5(%rip), %rdi callq _ft_strcmp testq %rax, %rax movq -48(%rbp), %rax ## 8-byte Reload cmoveq %r15, %rax movq %rax, -48(%rbp) ## 8-byte Spill movq -88(%rbp), %rax ## 8-byte Reload movzbl %al, %eax movl $1, %ecx cmovel %ecx, %eax movq %rax, -88(%rbp) ## 8-byte Spill LBB0_46: ## in Loop: Header=BB0_31 Depth=1 movq %r12, %rdi callq _T1_Skip_Spaces cmpq $0, -104(%rbp) ## 8-byte Folded Reload je LBB0_48 ## %bb.47: ## in Loop: Header=BB0_31 Depth=1 movq %r12, %rdi callq _T1_Skip_PS_Token LBB0_48: ## in Loop: Header=BB0_31 Depth=1 movq 88(%rbx), %r13 movq %r12, %rdi callq _T1_ToInt movq 88(%rbx), %r15 cmpq %r14, %r15 jae LBB0_21 ## %bb.49: ## in Loop: Header=BB0_31 Depth=1 subq %r13, %r15 leal 1(%r15), %ecx movq -64(%rbp), %rdi ## 8-byte Reload movq %r13, %rdx movq -80(%rbp), %r13 ## 8-byte Reload movq %r13, %rsi callq _T1_Add_Table testq %rax, %rax jne LBB0_23 ## %bb.50: ## in Loop: Header=BB0_31 Depth=1 movq 56(%rbx), %rax movq (%rax,%r13,8), %rax movslq %r15d, %rcx movb $0, (%rax,%rcx) incq %r13 movslq (%rbx), %rax cmpq %rax, %r13 jb LBB0_30 LBB0_51: movl %r13d, (%rbx) cmpb $0, -88(%rbp) ## 1-byte Folded Reload je LBB0_62 ## %bb.52: movq -56(%rbp), %rax ## 8-byte Reload movq (%rax), %rax movq (%rax), %rsi leaq L_.str.5(%rip), %rdi callq _ft_strcmp testq %rax, %rax je LBB0_24 ## %bb.53: movq 32(%rbx), %rax movq 40(%rbx), %rcx movq (%rax), %rdx movl (%rcx), %ecx movq -72(%rbp), %rdi ## 8-byte Reload xorl %esi, %esi callq _T1_Add_Table testq %rax, %rax jne LBB0_23 ## %bb.54: movq 56(%rbx), %rax movq 64(%rbx), %rcx movq (%rax), %rdx movl (%rcx), %ecx movl $1, %esi movq -72(%rbp), %rdi ## 8-byte Reload callq _T1_Add_Table testq %rax, %rax jne LBB0_23 ## %bb.55: movq 32(%rbx), %rax movq 40(%rbx), %rcx movq -48(%rbp), %rsi ## 8-byte Reload movq (%rax,%rsi,8), %rdx movl (%rcx,%rsi,4), %ecx movl $2, %esi movq -72(%rbp), %rdi ## 8-byte Reload callq _T1_Add_Table testq %rax, %rax jne LBB0_23 ## %bb.56: movq 56(%rbx), %rax movq 64(%rbx), %rcx movq -48(%rbp), %rsi ## 8-byte Reload movq (%rax,%rsi,8), %rdx movl (%rcx,%rsi,4), %ecx movl $3, %esi movq -72(%rbp), %rdi ## 8-byte Reload callq _T1_Add_Table testq %rax, %rax jne LBB0_23 ## %bb.57: movq 8(%rbx), %rax movq 16(%rbx), %rcx movq (%rax), %rdx movl (%rcx), %ecx movq -56(%rbp), %rdi ## 8-byte Reload movq -48(%rbp), %rsi ## 8-byte Reload callq _T1_Add_Table testq %rax, %rax jne LBB0_23 ## %bb.58: movq 8(%rbx), %rax movq 16(%rbx), %rcx movq 8(%rax), %rdx movl 4(%rcx), %ecx movq -64(%rbp), %rdi ## 8-byte Reload movq -48(%rbp), %rsi ## 8-byte Reload callq _T1_Add_Table testq %rax, %rax jne LBB0_23 ## %bb.59: movq 8(%rbx), %rax movq 16(%rbx), %rcx movq 16(%rax), %rdx movl 8(%rcx), %ecx movq -56(%rbp), %rdi ## 8-byte Reload xorl %esi, %esi callq _T1_Add_Table testq %rax, %rax jne LBB0_23 ## %bb.60: movq 8(%rbx), %rax movq 16(%rbx), %rcx movq 24(%rax), %rdx movl 12(%rcx), %ecx movq -64(%rbp), %rdi ## 8-byte Reload xorl %esi, %esi callq _T1_Add_Table testq %rax, %rax jne LBB0_23 jmp LBB0_24 LBB0_21: leaq L_.str(%rip), %rdi LBB0_22: callq _FT_ERROR movq _Invalid_File_Format@GOTPCREL(%rip), %rax movl (%rax), %edi callq _FT_THROW LBB0_23: movq %rax, 96(%rbx) LBB0_24: addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_61: movl $0, (%rbx) LBB0_62: leaq L_.str.6(%rip), %rdi jmp LBB0_22 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "t42_parse_charstrings: out of bounds\n" .comm _Invalid_File_Format,4,2 ## @Invalid_File_Format L_.str.1: ## @.str.1 .asciz "t42_parse_encoding: invalid number of glyphs\n" L_.str.3: ## @.str.3 .asciz "t42_parse_charstrings: invalid token\n" L_.str.4: ## @.str.4 .asciz "t42_parse_charstrings: only one CharStrings array allowed\n" L_.str.5: ## @.str.5 .asciz ".notdef" L_.str.6: ## @.str.6 .asciz "t42_parse_charstrings: no /.notdef glyph\n" .no_dead_strip _t42_parse_charstrings .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t42_parse_charstrings _t42_parse_charstrings: ; @t42_parse_charstrings .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x21, x1 ldr x24, [x21, #80]! ldr w23, [x21, #24] ldrsw x25, [x0] mov x0, x21 bl _T1_Skip_Spaces ldr x8, [x21, #8] cmp x8, x24 b.hs LBB0_6 ; %bb.1: ldrsb w0, [x8] bl _ft_isdigit cbz x0, LBB0_10 ; %bb.2: mov x0, x21 bl _T1_ToInt str w0, [x19] ldr x8, [x19, #96] cbnz x8, LBB0_9 ; %bb.3: tbnz w0, #31, LBB0_20 ; %bb.4: ldr x9, [x19, #88] sub x8, x24, x9 asr x8, x8, #2 cmp x8, w0, uxtw b.ge LBB0_22 ; %bb.5: mov x0, x8 bl _FT_TRACE0 ldr x9, [x19, #88] sub x8, x24, x9 lsr x8, x8, #2 str w8, [x19] cmp x9, x24 b.lo LBB0_23 LBB0_6: Lloh0: adrp x25, l_.str@PAGE Lloh1: add x25, x25, l_.str@PAGEOFF LBB0_7: mov x0, x25 bl _FT_ERROR Lloh2: adrp x8, _Invalid_File_Format@GOTPAGE Lloh3: ldr x8, [x8, _Invalid_File_Format@GOTPAGEOFF] Lloh4: ldr w0, [x8] bl _FT_THROW LBB0_8: str x0, [x19, #96] LBB0_9: ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret LBB0_10: ldr x8, [x19, #88] ldrb w8, [x8] cmp w8, #60 b.ne LBB0_19 ; %bb.11: mov x0, x21 bl _T1_Skip_PS_Token ldr x8, [x19, #96] cbnz x8, LBB0_9 ; %bb.12: mov x0, x21 bl _T1_Skip_Spaces ldr x20, [x19, #88] cmp x20, x24 b.hs LBB0_21 ; %bb.13: mov x22, #0 mov x9, x20 LBB0_14: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x9] cmp w8, #47 b.eq LBB0_16 ; %bb.15: ; in Loop: Header=BB0_14 Depth=1 cmp w8, #62 b.ne LBB0_17 b LBB0_30 LBB0_16: ; in Loop: Header=BB0_14 Depth=1 add x22, x22, #1 LBB0_17: ; in Loop: Header=BB0_14 Depth=1 mov x0, x21 bl _T1_Skip_PS_Token ldr x8, [x19, #96] cbnz x8, LBB0_9 ; %bb.18: ; in Loop: Header=BB0_14 Depth=1 mov x0, x21 bl _T1_Skip_Spaces ldr x9, [x19, #88] cmp x9, x24 b.lo LBB0_14 b LBB0_22 LBB0_19: Lloh5: adrp x25, l_.str.3@PAGE Lloh6: add x25, x25, l_.str.3@PAGEOFF b LBB0_7 LBB0_20: Lloh7: adrp x25, l_.str.1@PAGE Lloh8: add x25, x25, l_.str.1@PAGEOFF b LBB0_7 LBB0_21: mov x9, x20 LBB0_22: cmp x9, x24 b.hs LBB0_6 LBB0_23: ldr x8, [x19, #24] cbz x8, LBB0_25 ; %bb.24: Lloh9: adrp x25, l_.str.4@PAGE Lloh10: add x25, x25, l_.str.4@PAGEOFF b LBB0_7 LBB0_25: sub x20, x21, #24 ldr x8, [x25] ldr x8, [x8] ldr w1, [x19] mov x0, x20 mov x2, x23 blr x8 cbnz x0, LBB0_8 ; %bb.26: sub x22, x21, #48 ldr x8, [x25] ldr x8, [x8] ldr w1, [x19] mov x0, x22 mov x2, x23 blr x8 cbnz x0, LBB0_8 ; %bb.27: sub x0, x21, #72 ldr x8, [x25] ldr x8, [x8] str x0, [sp, #24] ; 8-byte Folded Spill mov w1, #4 mov x2, x23 blr x8 cbnz x0, LBB0_8 ; %bb.28: mov x0, x21 bl _T1_Skip_Spaces ldr x27, [x19, #88] cmp x27, x24 b.hs LBB0_62 ; %bb.29: str wzr, [sp, #20] ; 4-byte Folded Spill str xzr, [sp, #8] ; 8-byte Folded Spill mov x26, #0 Lloh11: adrp x25, l_.str@PAGE Lloh12: add x25, x25, l_.str@PAGEOFF b LBB0_32 LBB0_30: str w22, [x19] str x20, [x19, #88] mov x9, x20 cmp x9, x24 b.hs LBB0_6 b LBB0_23 LBB0_31: ; in Loop: Header=BB0_32 Depth=1 mov x0, x21 bl _T1_Skip_Spaces ldr x27, [x19, #88] cmp x27, x24 b.hs LBB0_52 LBB0_32: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x27] cmp w8, #101 b.ne LBB0_38 ; %bb.33: ; in Loop: Header=BB0_32 Depth=1 add x8, x27, #3 cmp x8, x24 b.hs LBB0_39 ; %bb.34: ; in Loop: Header=BB0_32 Depth=1 ldrb w9, [x27, #1] cmp w9, #110 b.ne LBB0_39 ; %bb.35: ; in Loop: Header=BB0_32 Depth=1 ldrb w9, [x27, #2] cmp w9, #100 b.ne LBB0_39 ; %bb.36: ; in Loop: Header=BB0_32 Depth=1 ldrsb w0, [x8] bl _t42_is_space cbnz x0, LBB0_52 ; %bb.37: ; in Loop: Header=BB0_32 Depth=1 ldrb w8, [x27] LBB0_38: ; in Loop: Header=BB0_32 Depth=1 cmp w8, #62 b.eq LBB0_52 LBB0_39: ; in Loop: Header=BB0_32 Depth=1 mov x0, x21 bl _T1_Skip_PS_Token ldr x8, [x19, #88] cmp x8, x24 b.hs LBB0_7 ; %bb.40: ; in Loop: Header=BB0_32 Depth=1 ldr x8, [x19, #96] cbnz x8, LBB0_9 ; %bb.41: ; in Loop: Header=BB0_32 Depth=1 ldrb w8, [x27] cmp w8, #47 b.eq LBB0_43 ; %bb.42: ; in Loop: Header=BB0_32 Depth=1 cmp w8, #40 b.ne LBB0_31 LBB0_43: ; in Loop: Header=BB0_32 Depth=1 cmp w8, #40 cset w0, eq bl _FT_BOOL cmp x0, #0 mov w8, #2 cinc x8, x8, ne add x8, x27, x8 cmp x8, x24 b.hs LBB0_7 ; %bb.44: ; in Loop: Header=BB0_32 Depth=1 mov x28, x0 cmp x0, #0 cset w8, ne add x27, x27, #1 ldr w9, [x19, #88] sub w9, w9, w27 sub w23, w9, w8 add w3, w23, #1 mov x0, x22 mov x1, x26 mov x2, x27 bl _T1_Add_Table cbnz x0, LBB0_8 ; %bb.45: ; in Loop: Header=BB0_32 Depth=1 ldr x8, [x22] ldr x8, [x8, x26, lsl #3] strb wzr, [x8, w23, sxtw] ldrb w8, [x27] cmp w8, #46 b.ne LBB0_47 ; %bb.46: ; in Loop: Header=BB0_32 Depth=1 ldr x8, [x22] ldr x1, [x8, x26, lsl #3] Lloh13: adrp x0, l_.str.5@PAGE Lloh14: add x0, x0, l_.str.5@PAGEOFF bl _ft_strcmp cmp x0, #0 ldr x8, [sp, #8] ; 8-byte Folded Reload csel x8, x26, x8, eq str x8, [sp, #8] ; 8-byte Folded Spill ldr w8, [sp, #20] ; 4-byte Folded Reload csinc w8, w8, wzr, ne str w8, [sp, #20] ; 4-byte Folded Spill LBB0_47: ; in Loop: Header=BB0_32 Depth=1 mov x0, x21 bl _T1_Skip_Spaces cbz x28, LBB0_49 ; %bb.48: ; in Loop: Header=BB0_32 Depth=1 mov x0, x21 bl _T1_Skip_PS_Token LBB0_49: ; in Loop: Header=BB0_32 Depth=1 ldr x27, [x19, #88] mov x0, x21 bl _T1_ToInt ldr x8, [x19, #88] cmp x8, x24 b.hs LBB0_7 ; %bb.50: ; in Loop: Header=BB0_32 Depth=1 sub x28, x8, x27 add w3, w28, #1 mov x0, x20 mov x1, x26 mov x2, x27 bl _T1_Add_Table cbnz x0, LBB0_8 ; %bb.51: ; in Loop: Header=BB0_32 Depth=1 ldr x8, [x19, #56] ldr x8, [x8, x26, lsl #3] strb wzr, [x8, w28, sxtw] add x26, x26, #1 ldrsw x8, [x19] cmp x26, x8 b.lo LBB0_31 LBB0_52: str w26, [x19] ldr w8, [sp, #20] ; 4-byte Folded Reload tst w8, #0xff b.eq LBB0_63 ; %bb.53: ldr x8, [x22] ldr x1, [x8] Lloh15: adrp x0, l_.str.5@PAGE Lloh16: add x0, x0, l_.str.5@PAGEOFF bl _ft_strcmp cbz x0, LBB0_9 ; %bb.54: ldp x8, x9, [x19, #32] ldr x2, [x8] ldr w3, [x9] ldr x0, [sp, #24] ; 8-byte Folded Reload mov x1, #0 bl _T1_Add_Table cbnz x0, LBB0_8 ; %bb.55: ldp x8, x9, [x19, #56] ldr x2, [x8] ldr w3, [x9] ldr x0, [sp, #24] ; 8-byte Folded Reload mov w1, #1 bl _T1_Add_Table cbnz x0, LBB0_8 ; %bb.56: ldp x8, x9, [x19, #32] ldr x10, [sp, #8] ; 8-byte Folded Reload ldr x2, [x8, x10, lsl #3] ldr w3, [x9, x10, lsl #2] ldr x0, [sp, #24] ; 8-byte Folded Reload mov w1, #2 bl _T1_Add_Table cbnz x0, LBB0_8 ; %bb.57: ldp x8, x9, [x19, #56] ldr x10, [sp, #8] ; 8-byte Folded Reload ldr x2, [x8, x10, lsl #3] ldr w3, [x9, x10, lsl #2] ldr x0, [sp, #24] ; 8-byte Folded Reload mov w1, #3 bl _T1_Add_Table cbnz x0, LBB0_8 ; %bb.58: ldp x8, x9, [x19, #8] ldr x2, [x8] ldr w3, [x9] mov x0, x22 ldr x1, [sp, #8] ; 8-byte Folded Reload bl _T1_Add_Table cbnz x0, LBB0_8 ; %bb.59: ldp x8, x9, [x19, #8] ldr x2, [x8, #8] ldr w3, [x9, #4] mov x0, x20 ldr x1, [sp, #8] ; 8-byte Folded Reload bl _T1_Add_Table cbnz x0, LBB0_8 ; %bb.60: ldp x8, x9, [x19, #8] ldr x2, [x8, #16] ldr w3, [x9, #8] mov x0, x22 mov x1, #0 bl _T1_Add_Table cbnz x0, LBB0_8 ; %bb.61: ldp x8, x9, [x19, #8] ldr x2, [x8, #24] ldr w3, [x9, #12] mov x0, x20 mov x1, #0 bl _T1_Add_Table cbnz x0, LBB0_8 b LBB0_9 LBB0_62: str wzr, [x19] LBB0_63: Lloh17: adrp x25, l_.str.6@PAGE Lloh18: add x25, x25, l_.str.6@PAGEOFF b LBB0_7 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "t42_parse_charstrings: out of bounds\n" .comm _Invalid_File_Format,4,2 ; @Invalid_File_Format l_.str.1: ; @.str.1 .asciz "t42_parse_encoding: invalid number of glyphs\n" l_.str.3: ; @.str.3 .asciz "t42_parse_charstrings: invalid token\n" l_.str.4: ; @.str.4 .asciz "t42_parse_charstrings: only one CharStrings array allowed\n" l_.str.5: ; @.str.5 .asciz ".notdef" l_.str.6: ; @.str.6 .asciz "t42_parse_charstrings: no /.notdef glyph\n" .no_dead_strip _t42_parse_charstrings .subsections_via_symbols
AnghaBench/Cinder/src/freetype/type42/extr_t42parse.c_t42_parse_charstrings.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function t42_parse_sfnts _t42_parse_sfnts: ## @t42_parse_sfnts .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $88, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r12 movq %rdi, %r15 movq (%rsi), %r13 movq %rsi, %rdi callq _T1_Skip_Spaces movq 8(%r12), %rax cmpq %r13, %rax jae LBB0_42 ## %bb.1: leaq 1(%rax), %rcx movq %rcx, 8(%r12) cmpb $91, (%rax) jne LBB0_42 ## %bb.2: movq %r12, %rdi callq _T1_Skip_Spaces movq 8(%r12), %r14 cmpq %r13, %r14 jae LBB0_48 ## %bb.3: movl $130, -60(%rbp) ## 4-byte Folded Spill xorl %eax, %eax movq %rax, -72(%rbp) ## 8-byte Spill xorl %ecx, %ecx xorl %ebx, %ebx xorl %edi, %edi xorl %eax, %eax movq %rax, -88(%rbp) ## 8-byte Spill xorl %edx, %edx movq %r13, -120(%rbp) ## 8-byte Spill LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_28 Depth 2 ## Child Loop BB0_37 Depth 3 movb (%r14), %al cmpb $60, %al movq %rcx, -80(%rbp) ## 8-byte Spill je LBB0_12 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 cmpb $93, %al je LBB0_58 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movq %rdx, %r14 movq %rdi, -56(%rbp) ## 8-byte Spill movsbl %al, %edi callq _ft_isdigit testq %rax, %rax je LBB0_16 ## %bb.7: ## in Loop: Header=BB0_4 Depth=1 testl %ebx, %ebx jne LBB0_62 ## %bb.8: ## in Loop: Header=BB0_4 Depth=1 movq %r12, %rdi callq _T1_ToInt testq %rax, %rax js LBB0_64 ## %bb.9: ## in Loop: Header=BB0_4 Depth=1 movq %rax, %rbx movq %r12, %rdi callq _T1_Skip_PS_Token cmpq $0, 16(%r12) jne LBB0_47 ## %bb.10: ## in Loop: Header=BB0_4 Depth=1 movq 8(%r12), %rax leaq 1(%rax), %rdi movq %r13, %rcx subq %rax, %rcx cmpq %rbx, %rcx jle LBB0_65 ## %bb.11: ## in Loop: Header=BB0_4 Depth=1 movq %rbx, %rdx addq %rbx, %rax incq %rax movq %rax, 8(%r12) xorl %ebx, %ebx movq -80(%rbp), %rsi ## 8-byte Reload jmp LBB0_18 LBB0_12: ## in Loop: Header=BB0_4 Depth=1 movl %ebx, -44(%rbp) ## 4-byte Spill movq %rdi, %r13 movq %r12, %rdi callq _T1_Skip_PS_Token cmpq $0, 16(%r12) jne LBB0_59 ## %bb.13: ## in Loop: Header=BB0_4 Depth=1 movq 8(%r12), %rax movq %rax, %rcx subq %r14, %rcx cmpq $2, %rcx jbe LBB0_60 ## %bb.14: ## in Loop: Header=BB0_4 Depth=1 movq %r13, %rdx movq %r14, %rcx notq %rcx addq %rcx, %rax movq %rax, %r13 shrq $63, %r13 addq %rax, %r13 sarq %r13 movq %rdx, %rdi movq %rdx, %rbx movq -88(%rbp), %rsi ## 8-byte Reload ## kill: def $esi killed $esi killed $rsi movq %r13, %rdx callq _FT_REALLOC testq %rax, %rax jne LBB0_61 ## %bb.15: ## in Loop: Header=BB0_4 Depth=1 movq %r14, 8(%r12) movl $1, -44(%rbp) ## 4-byte Folded Spill movq %r12, %rdi movq %rbx, %rsi movq %r13, %rdx leaq -128(%rbp), %rcx movl $1, %r8d callq _T1_ToBytes movq -128(%rbp), %rdx movq %rbx, %rdi movq -80(%rbp), %rsi ## 8-byte Reload testq %rdi, %rdi jne LBB0_17 jmp LBB0_54 LBB0_16: ## in Loop: Header=BB0_4 Depth=1 movl %ebx, -44(%rbp) ## 4-byte Spill movq -88(%rbp), %r13 ## 8-byte Reload movq -56(%rbp), %rdi ## 8-byte Reload movq -80(%rbp), %rsi ## 8-byte Reload movq %r14, %rdx testq %rdi, %rdi je LBB0_54 LBB0_17: ## in Loop: Header=BB0_4 Depth=1 movq %r13, -88(%rbp) ## 8-byte Spill movl -44(%rbp), %ebx ## 4-byte Reload movq -120(%rbp), %r13 ## 8-byte Reload LBB0_18: ## in Loop: Header=BB0_4 Depth=1 testb $1, %dl movq %rdi, -56(%rbp) ## 8-byte Spill je LBB0_21 ## %bb.19: ## in Loop: Header=BB0_4 Depth=1 cmpb $0, -1(%rdi,%rdx) jne LBB0_22 ## %bb.20: ## in Loop: Header=BB0_4 Depth=1 decq %rdx LBB0_21: ## in Loop: Header=BB0_4 Depth=1 testq %rdx, %rdx je LBB0_55 LBB0_22: ## in Loop: Header=BB0_4 Depth=1 testq %rdx, %rdx movq %rdx, -96(%rbp) ## 8-byte Spill movl %ebx, -44(%rbp) ## 4-byte Spill jle LBB0_40 ## %bb.23: ## in Loop: Header=BB0_4 Depth=1 subq 8(%r12), %r13 movq %r13, -112(%rbp) ## 8-byte Spill xorl %r14d, %r14d movq -72(%rbp), %r13 ## 8-byte Reload movl -60(%rbp), %ebx ## 4-byte Reload movq %r12, -104(%rbp) ## 8-byte Spill jmp LBB0_28 LBB0_24: ## in Loop: Header=BB0_28 Depth=2 movq (%r15), %rdi movq -72(%rbp), %r13 ## 8-byte Reload movl %r13d, %esi shll $4, %esi orl $12, %esi incl %eax movslq %eax, %rdx callq _FT_REALLOC testq %rax, %rax movq -104(%rbp), %r12 ## 8-byte Reload movq -56(%rbp), %rdi ## 8-byte Reload movq -80(%rbp), %rsi ## 8-byte Reload movq -96(%rbp), %rdx ## 8-byte Reload jne LBB0_53 LBB0_25: ## in Loop: Header=BB0_28 Depth=2 movslq 8(%r15), %rax movl $128, %ebx cmpq %rax, %rsi jge LBB0_52 LBB0_26: ## in Loop: Header=BB0_28 Depth=2 movb (%rdi,%r14), %al movq (%r15), %rcx movb %al, (%rcx,%rsi) incq %rsi LBB0_27: ## in Loop: Header=BB0_28 Depth=2 incq %r14 cmpq %rdx, %r14 je LBB0_41 LBB0_28: ## Parent Loop BB0_4 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_37 Depth 3 cmpl $128, %ebx je LBB0_25 ## %bb.29: ## in Loop: Header=BB0_28 Depth=2 cmpl $129, %ebx je LBB0_34 ## %bb.30: ## in Loop: Header=BB0_28 Depth=2 cmpl $130, %ebx jne LBB0_27 ## %bb.31: ## in Loop: Header=BB0_28 Depth=2 movl $130, %ebx cmpq $12, %rsi jl LBB0_26 ## %bb.32: ## in Loop: Header=BB0_28 Depth=2 movq (%r15), %rdi movsbq 4(%rdi), %rax shlq $4, %rax movsbq 5(%rdi), %r13 addq %rax, %r13 movq %r13, %rdx shlq $4, %rdx orq $12, %rdx movl %edx, 8(%r15) cmpq %rdx, -112(%rbp) ## 8-byte Folded Reload jl LBB0_56 ## %bb.33: ## in Loop: Header=BB0_28 Depth=2 movq %rsi, %rbx movl $12, %esi callq _FT_REALLOC movq -96(%rbp), %rdx ## 8-byte Reload movq %rbx, %rsi testq %rax, %rax movq -56(%rbp), %rdi ## 8-byte Reload jne LBB0_53 LBB0_34: ## in Loop: Header=BB0_28 Depth=2 movslq 8(%r15), %rax movl $129, %ebx cmpq %rax, %rsi jl LBB0_26 ## %bb.35: ## in Loop: Header=BB0_28 Depth=2 testl %r13d, %r13d movq %r13, -72(%rbp) ## 8-byte Spill movq %rsi, -80(%rbp) ## 8-byte Spill jle LBB0_24 ## %bb.36: ## in Loop: Header=BB0_28 Depth=2 movl %r13d, %r12d shlq $4, %r12 xorl %ebx, %ebx movq -112(%rbp), %r13 ## 8-byte Reload .p2align 4, 0x90 LBB0_37: ## Parent Loop BB0_4 Depth=1 ## Parent Loop BB0_28 Depth=2 ## => This Inner Loop Header: Depth=3 movq (%r15), %rax leaq (%rax,%rbx), %rdi addq $24, %rdi callq _FT_PEEK_ULONG movq %r13, %rdx subq %rax, %rdx jl LBB0_50 ## %bb.38: ## in Loop: Header=BB0_37 Depth=3 movslq 8(%r15), %rcx cmpq %rcx, %rdx jl LBB0_50 ## %bb.39: ## in Loop: Header=BB0_37 Depth=3 addl $3, %eax andl $-4, %eax addl %ecx, %eax movl %eax, 8(%r15) addq $16, %rbx cmpq %rbx, %r12 jne LBB0_37 jmp LBB0_24 LBB0_40: ## in Loop: Header=BB0_4 Depth=1 movq -72(%rbp), %r13 ## 8-byte Reload movl -60(%rbp), %ebx ## 4-byte Reload LBB0_41: ## in Loop: Header=BB0_4 Depth=1 movl %ebx, -60(%rbp) ## 4-byte Spill movq %r13, -72(%rbp) ## 8-byte Spill movq %r12, %rdi movq %rsi, %rbx callq _T1_Skip_Spaces movq -96(%rbp), %rdx ## 8-byte Reload movq %rbx, %rcx movq -56(%rbp), %rdi ## 8-byte Reload movq 8(%r12), %r14 movq -120(%rbp), %r13 ## 8-byte Reload cmpq %r13, %r14 movl -44(%rbp), %ebx ## 4-byte Reload jb LBB0_4 jmp LBB0_49 LBB0_42: leaq L_.str(%rip), %rdi callq _FT_ERROR movq _Invalid_File_Format@GOTPCREL(%rip), %rax movl (%rax), %edi callq _FT_THROW xorl %edi, %edi LBB0_43: xorl %ebx, %ebx LBB0_44: movq %rax, 16(%r12) LBB0_45: testl %ebx, %ebx je LBB0_47 ## %bb.46: callq _FT_FREE LBB0_47: addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_48: xorl %edi, %edi xorl %ebx, %ebx LBB0_49: movq _Invalid_File_Format@GOTPCREL(%rip), %rax movq %rdi, %r14 movl (%rax), %edi callq _FT_THROW movq %r14, %rdi jmp LBB0_44 LBB0_50: leaq L_.str.1(%rip), %rdi callq _FT_ERROR movq _Invalid_File_Format@GOTPCREL(%rip), %rax movl (%rax), %edi callq _FT_THROW movq -104(%rbp), %r12 ## 8-byte Reload LBB0_51: movq -56(%rbp), %rdi ## 8-byte Reload movl -44(%rbp), %ebx ## 4-byte Reload jmp LBB0_44 LBB0_52: leaq L_.str.4(%rip), %rdi jmp LBB0_57 LBB0_53: ## implicit-def: $rax movl -44(%rbp), %ebx ## 4-byte Reload jmp LBB0_44 LBB0_54: leaq L_.str.1(%rip), %rdi callq _FT_ERROR movq _Invalid_File_Format@GOTPCREL(%rip), %rax movl (%rax), %edi callq _FT_THROW xorl %edi, %edi movl -44(%rbp), %ebx ## 4-byte Reload jmp LBB0_44 LBB0_55: leaq L_.str.5(%rip), %rdi jmp LBB0_63 LBB0_56: leaq L_.str.1(%rip), %rdi LBB0_57: callq _FT_ERROR movq _Invalid_File_Format@GOTPCREL(%rip), %rax movl (%rax), %edi callq _FT_THROW jmp LBB0_51 LBB0_58: incq %r14 movq %r14, 8(%r12) jmp LBB0_45 LBB0_59: movq %r13, %rdi movl -44(%rbp), %ebx ## 4-byte Reload jmp LBB0_45 LBB0_60: leaq L_.str.1(%rip), %rdi callq _FT_ERROR movq _Invalid_File_Format@GOTPCREL(%rip), %rax movl (%rax), %edi callq _FT_THROW movq %r13, %rdi movl -44(%rbp), %ebx ## 4-byte Reload jmp LBB0_44 LBB0_61: ## implicit-def: $rax movq %rbx, %rdi movl -44(%rbp), %ebx ## 4-byte Reload jmp LBB0_44 LBB0_62: leaq L_.str.2(%rip), %rdi LBB0_63: callq _FT_ERROR movq _Invalid_File_Format@GOTPCREL(%rip), %rax movl (%rax), %edi callq _FT_THROW movq -56(%rbp), %rdi ## 8-byte Reload jmp LBB0_44 LBB0_64: leaq L_.str.3(%rip), %rdi callq _FT_ERROR movq _Invalid_File_Format@GOTPCREL(%rip), %rax movl (%rax), %edi callq _FT_THROW xorl %ebx, %ebx movq -56(%rbp), %rdi ## 8-byte Reload jmp LBB0_44 LBB0_65: movq %rdi, %r14 leaq L_.str.4(%rip), %rdi callq _FT_ERROR movq _Invalid_File_Format@GOTPCREL(%rip), %rax movl (%rax), %edi callq _FT_THROW movq %r14, %rdi jmp LBB0_43 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "t42_parse_sfnts: can't find begin of sfnts vector\n" .comm _Invalid_File_Format,4,2 ## @Invalid_File_Format L_.str.1: ## @.str.1 .asciz "t42_parse_sfnts: invalid data in sfnts array\n" L_.str.2: ## @.str.2 .asciz "t42_parse_sfnts: can't handle mixed binary and hex strings\n" L_.str.3: ## @.str.3 .asciz "t42_parse_sfnts: invalid string size\n" L_.str.4: ## @.str.4 .asciz "t42_parse_sfnts: too much binary data\n" L_.str.5: ## @.str.5 .asciz "t42_parse_sfnts: invalid string\n" .no_dead_strip _t42_parse_sfnts .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function t42_parse_sfnts _t42_parse_sfnts: ; @t42_parse_sfnts .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x21, x0 ldr x26, [x1] mov x0, x1 bl _T1_Skip_Spaces ldr x8, [x19, #8] cmp x8, x26 b.hs LBB0_45 ; %bb.1: add x9, x8, #1 str x9, [x19, #8] ldrb w8, [x8] cmp w8, #91 b.ne LBB0_45 ; %bb.2: mov x0, x19 bl _T1_Skip_Spaces ldr x28, [x19, #8] cmp x28, x26 b.hs LBB0_51 ; %bb.3: mov w9, #0 mov x27, #0 mov w25, #0 mov x20, #0 str xzr, [sp, #8] ; 8-byte Folded Spill mov x23, #0 mov w22, #130 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_26 Depth 2 ; Child Loop BB0_37 Depth 3 ldrb w8, [x28] cmp w8, #60 str w9, [sp, #20] ; 4-byte Folded Spill b.eq LBB0_12 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 cmp w8, #93 b.eq LBB0_58 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 sxtb w0, w8 bl _ft_isdigit cbz x0, LBB0_16 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 cbnz w25, LBB0_59 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 mov x0, x19 bl _T1_ToInt tbnz x0, #63, LBB0_60 ; %bb.9: ; in Loop: Header=BB0_4 Depth=1 mov x23, x0 mov x0, x19 bl _T1_Skip_PS_Token ldr x8, [x19, #16] cbnz x8, LBB0_50 ; %bb.10: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x19, #8] add x20, x8, #1 sub x9, x26, x8 cmp x9, x23 b.le LBB0_61 ; %bb.11: ; in Loop: Header=BB0_4 Depth=1 mov w25, #0 add x8, x23, x8 add x8, x8, #1 str x8, [x19, #8] tbnz w23, #0, LBB0_18 b LBB0_20 LBB0_12: ; in Loop: Header=BB0_4 Depth=1 mov x0, x19 bl _T1_Skip_PS_Token ldr x8, [x19, #16] cbnz x8, LBB0_48 ; %bb.13: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x19, #8] mvn x9, x28 add x9, x8, x9 sub x10, x8, x28 cmp x9, #0 csel x8, x10, x9, lt cmp x10, #2 b.ls LBB0_54 ; %bb.14: ; in Loop: Header=BB0_4 Depth=1 asr x24, x8, #1 mov x0, x20 ldr x1, [sp, #8] ; 8-byte Folded Reload ; kill: def $w1 killed $w1 killed $x1 mov x2, x24 bl _FT_REALLOC cbnz x0, LBB0_56 ; %bb.15: ; in Loop: Header=BB0_4 Depth=1 str x28, [x19, #8] mov w25, #1 add x3, sp, #24 mov x0, x19 mov x1, x20 mov x2, x24 mov w4, #1 bl _T1_ToBytes ldr x23, [sp, #24] cbnz x20, LBB0_17 b LBB0_54 LBB0_16: ; in Loop: Header=BB0_4 Depth=1 ldr x24, [sp, #8] ; 8-byte Folded Reload cbz x20, LBB0_54 LBB0_17: ; in Loop: Header=BB0_4 Depth=1 str x24, [sp, #8] ; 8-byte Folded Spill tbz w23, #0, LBB0_20 LBB0_18: ; in Loop: Header=BB0_4 Depth=1 sub x8, x23, #1 ldrb w9, [x20, x8] cbnz w9, LBB0_21 ; %bb.19: ; in Loop: Header=BB0_4 Depth=1 mov x23, x8 LBB0_20: ; in Loop: Header=BB0_4 Depth=1 cbz x23, LBB0_57 LBB0_21: ; in Loop: Header=BB0_4 Depth=1 cmp x23, #1 b.lt LBB0_44 ; %bb.22: ; in Loop: Header=BB0_4 Depth=1 mov x24, #0 ldr x8, [x19, #8] sub x28, x26, x8 b LBB0_26 LBB0_23: ; in Loop: Header=BB0_26 Depth=2 mov w22, #129 LBB0_24: ; in Loop: Header=BB0_26 Depth=2 ldrb w8, [x20, x24] ldr x9, [x21] strb w8, [x9, x27] add x27, x27, #1 LBB0_25: ; in Loop: Header=BB0_26 Depth=2 add x24, x24, #1 cmp x24, x23 b.eq LBB0_44 LBB0_26: ; Parent Loop BB0_4 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_37 Depth 3 cmp w22, #128 b.eq LBB0_42 ; %bb.27: ; in Loop: Header=BB0_26 Depth=2 cmp w22, #129 b.eq LBB0_31 ; %bb.28: ; in Loop: Header=BB0_26 Depth=2 cmp w22, #130 b.ne LBB0_25 ; %bb.29: ; in Loop: Header=BB0_26 Depth=2 cmp x27, #12 b.ge LBB0_32 ; %bb.30: ; in Loop: Header=BB0_26 Depth=2 mov w22, #130 b LBB0_24 LBB0_31: ; in Loop: Header=BB0_26 Depth=2 ldr w9, [sp, #20] ; 4-byte Folded Reload b LBB0_34 LBB0_32: ; in Loop: Header=BB0_26 Depth=2 ldr x0, [x21] ldrsb w8, [x0, #4] ldrsb w9, [x0, #5] add w9, w9, w8, lsl #4 mov w8, #12 bfi w8, w9, #4, #28 str w8, [x21, #8] sxtw x2, w8 cmp x28, x2 b.lt LBB0_54 ; %bb.33: ; in Loop: Header=BB0_26 Depth=2 mov w1, #12 mov x22, x9 bl _FT_REALLOC mov x9, x22 cbnz x0, LBB0_56 LBB0_34: ; in Loop: Header=BB0_26 Depth=2 ldrsw x8, [x21, #8] cmp x27, x8 str w9, [sp, #20] ; 4-byte Folded Spill b.lt LBB0_23 ; %bb.35: ; in Loop: Header=BB0_26 Depth=2 cmp w9, #1 b.lt LBB0_41 ; %bb.36: ; in Loop: Header=BB0_26 Depth=2 str w25, [sp, #4] ; 4-byte Folded Spill mov x22, #0 mov w8, w9 lsl x25, x8, #4 LBB0_37: ; Parent Loop BB0_4 Depth=1 ; Parent Loop BB0_26 Depth=2 ; => This Inner Loop Header: Depth=3 ldr x8, [x21] add x8, x8, x22 add x0, x8, #24 bl _FT_PEEK_ULONG subs x9, x28, x0 b.lt LBB0_53 ; %bb.38: ; in Loop: Header=BB0_37 Depth=3 ldrsw x8, [x21, #8] cmp x9, x8 b.lt LBB0_53 ; %bb.39: ; in Loop: Header=BB0_37 Depth=3 add w9, w0, #3 and w9, w9, #0xfffffffc add w8, w8, w9 str w8, [x21, #8] add x22, x22, #16 cmp x25, x22 b.ne LBB0_37 ; %bb.40: ; in Loop: Header=BB0_26 Depth=2 ldr w25, [sp, #4] ; 4-byte Folded Reload ldr w9, [sp, #20] ; 4-byte Folded Reload LBB0_41: ; in Loop: Header=BB0_26 Depth=2 ldr x0, [x21] mov w1, #12 bfi w1, w9, #4, #28 add w8, w8, #1 sxtw x2, w8 bl _FT_REALLOC cbnz x0, LBB0_56 LBB0_42: ; in Loop: Header=BB0_26 Depth=2 ldrsw x8, [x21, #8] cmp x27, x8 b.ge LBB0_55 ; %bb.43: ; in Loop: Header=BB0_26 Depth=2 mov w22, #128 b LBB0_24 LBB0_44: ; in Loop: Header=BB0_4 Depth=1 mov x0, x19 bl _T1_Skip_Spaces ldr x28, [x19, #8] cmp x28, x26 ldr w9, [sp, #20] ; 4-byte Folded Reload b.lo LBB0_4 b LBB0_52 LBB0_45: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _FT_ERROR Lloh2: adrp x8, _Invalid_File_Format@GOTPAGE Lloh3: ldr x8, [x8, _Invalid_File_Format@GOTPAGEOFF] Lloh4: ldr w0, [x8] bl _FT_THROW mov x20, #0 LBB0_46: mov w25, #0 LBB0_47: str x0, [x19, #16] LBB0_48: cbz w25, LBB0_50 LBB0_49: mov x0, x20 bl _FT_FREE LBB0_50: ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret LBB0_51: mov x20, #0 mov w25, #0 LBB0_52: Lloh5: adrp x8, _Invalid_File_Format@GOTPAGE Lloh6: ldr x8, [x8, _Invalid_File_Format@GOTPAGEOFF] Lloh7: ldr w0, [x8] bl _FT_THROW b LBB0_47 LBB0_53: Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF bl _FT_ERROR Lloh10: adrp x8, _Invalid_File_Format@GOTPAGE Lloh11: ldr x8, [x8, _Invalid_File_Format@GOTPAGEOFF] Lloh12: ldr w0, [x8] bl _FT_THROW ldr w25, [sp, #4] ; 4-byte Folded Reload b LBB0_47 LBB0_54: Lloh13: adrp x0, l_.str.1@PAGE Lloh14: add x0, x0, l_.str.1@PAGEOFF bl _FT_ERROR b LBB0_52 LBB0_55: Lloh15: adrp x0, l_.str.4@PAGE Lloh16: add x0, x0, l_.str.4@PAGEOFF bl _FT_ERROR b LBB0_52 LBB0_56: ; implicit-def: $x0 b LBB0_47 LBB0_57: Lloh17: adrp x0, l_.str.5@PAGE Lloh18: add x0, x0, l_.str.5@PAGEOFF bl _FT_ERROR b LBB0_52 LBB0_58: add x8, x28, #1 str x8, [x19, #8] cbnz w25, LBB0_49 b LBB0_50 LBB0_59: Lloh19: adrp x0, l_.str.2@PAGE Lloh20: add x0, x0, l_.str.2@PAGEOFF bl _FT_ERROR b LBB0_52 LBB0_60: Lloh21: adrp x0, l_.str.3@PAGE Lloh22: add x0, x0, l_.str.3@PAGEOFF b LBB0_62 LBB0_61: Lloh23: adrp x0, l_.str.4@PAGE Lloh24: add x0, x0, l_.str.4@PAGEOFF LBB0_62: bl _FT_ERROR Lloh25: adrp x8, _Invalid_File_Format@GOTPAGE Lloh26: ldr x8, [x8, _Invalid_File_Format@GOTPAGEOFF] Lloh27: ldr w0, [x8] bl _FT_THROW b LBB0_46 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "t42_parse_sfnts: can't find begin of sfnts vector\n" .comm _Invalid_File_Format,4,2 ; @Invalid_File_Format l_.str.1: ; @.str.1 .asciz "t42_parse_sfnts: invalid data in sfnts array\n" l_.str.2: ; @.str.2 .asciz "t42_parse_sfnts: can't handle mixed binary and hex strings\n" l_.str.3: ; @.str.3 .asciz "t42_parse_sfnts: invalid string size\n" l_.str.4: ; @.str.4 .asciz "t42_parse_sfnts: too much binary data\n" l_.str.5: ; @.str.5 .asciz "t42_parse_sfnts: invalid string\n" .no_dead_strip _t42_parse_sfnts .subsections_via_symbols
AnghaBench/Cinder/src/freetype/type42/extr_t42parse.c_t42_parse_sfnts.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function FNT_Face_Done _FNT_Face_Done: ## @FNT_Face_Done .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx testl %ebx, %ebx je LBB0_2 ## %bb.1: movl %ebx, %edi callq _FT_FACE_MEMORY movl %ebx, %edi callq _fnt_font_done movl 8(%rbx), %edi callq _FT_FREE movq $0, (%rbx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _FNT_Face_Done .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function FNT_Face_Done _FNT_Face_Done: ; @FNT_Face_Done .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 cbz w19, LBB0_2 ; %bb.1: mov x0, x19 bl _FT_FACE_MEMORY mov x0, x19 bl _fnt_font_done ldr w0, [x19, #8] bl _FT_FREE str xzr, [x19] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _FNT_Face_Done .subsections_via_symbols
AnghaBench/Cinder/src/freetype/winfonts/extr_winfnt.c_FNT_Face_Done.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function FNT_Face_Init _FNT_Face_Init: ## @FNT_Face_Init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %r12 movq %rcx, %rbx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, -48(%rbp) ## 8-byte Spill movq %rsi, %rdi callq _FT_FACE_MEMORY movq %rbx, %rdi callq _FT_UNUSED movq %r12, %rdi callq _FT_UNUSED leaq L_.str(%rip), %rdi callq _FT_TRACE2 movq %r15, %rdi callq _FT_ABS movl %eax, %r13d movq %r14, -56(%rbp) ## 8-byte Spill movq %r14, %rdi movq %r15, %rsi callq _fnt_face_get_dll_font movq %rax, %r12 testq %r15, %r15 jns LBB0_3 ## %bb.1: testq %r12, %r12 jne LBB0_3 LBB0_2: xorl %r12d, %r12d jmp LBB0_30 LBB0_3: movzwl %r13w, %r13d movq _Unknown_File_Format@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r12, %rdi callq _FT_ERR_EQ testq %rax, %rax je LBB0_9 ## %bb.4: movq -56(%rbp), %r14 ## 8-byte Reload movq (%r14), %rdi callq _FT_NEW testq %rax, %rax jne LBB0_30 ## %bb.5: movl $1, (%r14) movq (%r14), %rdi movq $0, 120(%rdi) movq -48(%rbp), %rsi ## 8-byte Reload movl (%rsi), %eax movl %eax, 112(%rdi) callq _fnt_font_load movq %rax, %r12 testq %r15, %r15 js LBB0_19 ## %bb.6: testq %r12, %r12 jne LBB0_19 ## %bb.7: testq %r13, %r13 je LBB0_10 ## %bb.8: movq _Invalid_Argument@GOTPCREL(%rip), %rax movl (%rax), %edi callq _FT_THROW movq %rax, %r12 testq %r12, %r12 jne LBB0_29 jmp LBB0_10 LBB0_9: movq -56(%rbp), %r14 ## 8-byte Reload testq %r12, %r12 jne LBB0_29 LBB0_10: movq (%r14), %rax cmpl $0, 16(%rax) je LBB0_21 ## %bb.11: movq %r14, %rdi callq _FT_FACE movq %rax, %rbx movq (%r14), %r15 movq %r13, 48(%rax) movq _FT_FACE_FLAG_FIXED_SIZES@GOTPCREL(%rip), %rcx movq _FT_FACE_FLAG_HORIZONTAL@GOTPCREL(%rip), %rax movl (%rax), %eax orl (%rcx), %eax orl 4(%rbx), %eax movl %eax, 4(%rbx) movq 24(%r15), %rcx cmpq 32(%r15), %rcx jne LBB0_13 ## %bb.12: movq _FT_FACE_FLAG_FIXED_WIDTH@GOTPCREL(%rip), %rcx orl (%rcx), %eax movl %eax, 4(%rbx) LBB0_13: cmpq $0, 104(%r15) je LBB0_15 ## %bb.14: movq _FT_STYLE_FLAG_ITALIC@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 8(%rbx) LBB0_15: cmpl $800, 40(%r15) ## imm = 0x320 jl LBB0_17 ## %bb.16: movq _FT_STYLE_FLAG_BOLD@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 8(%rbx) LBB0_17: movq 40(%rbx), %rdi movl $1, %esi callq _FT_NEW_ARRAY testq %rax, %rax je LBB0_23 LBB0_18: xorl %r12d, %r12d jmp LBB0_29 LBB0_19: testq %r12, %r12 jne LBB0_29 jmp LBB0_2 LBB0_21: leaq L_.str.1(%rip), %rdi LBB0_22: callq _FT_TRACE2 movq _Invalid_File_Format@GOTPCREL(%rip), %rax movl (%rax), %edi callq _FT_THROW movq %rax, %r12 jmp LBB0_29 LBB0_23: movl $1, 12(%rbx) movq %rbx, -48(%rbp) ## 8-byte Spill movq 40(%rbx), %r13 movq 24(%r15), %rax movq %rax, 24(%r13) movslq 16(%r15), %rax addq 96(%r15), %rax movq %rax, 16(%r13) movl 44(%r15), %edi shll $6, %edi movl %edi, (%r13) movl 48(%r15), %r12d testl %r12d, %r12d movl $72, %eax cmovel %eax, %r12d movl 52(%r15), %ebx testl %ebx, %ebx cmovel %eax, %ebx movl %ebx, %esi movl $72, %edx callq _FT_MulDiv movl %eax, 4(%r13) movl %eax, %edi callq _FT_PIX_ROUND movl %eax, 4(%r13) movl 16(%r15), %ecx shll $6, %ecx cmpl %eax, %ecx jge LBB0_25 ## %bb.24: leaq L_.str.2(%rip), %rdi callq _FT_TRACE2 movl 16(%r15), %edi shll $6, %edi movl %edi, 4(%r13) movl $72, %esi movl %ebx, %edx callq _FT_MulDiv movq %rax, %rdi movl %edi, (%r13) jmp LBB0_26 LBB0_25: movl (%r13), %edi LBB0_26: ## kill: def $edi killed $edi killed $rdi movl %r12d, %esi movl $72, %edx callq _FT_MulDiv movl %eax, 8(%r13) movl %eax, %edi callq _FT_PIX_ROUND movl %eax, 8(%r13) movq _FT_ENCODING_NONE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -76(%rbp) movq _TT_PLATFORM_APPLE_UNICODE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -80(%rbp) movq _TT_APPLE_ID_DEFAULT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -64(%rbp) movq -48(%rbp), %rbx ## 8-byte Reload movq %rbx, -72(%rbp) movq 56(%r15), %rax movq _FT_WinFNT_ID_MAC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_28 ## %bb.27: movq _FT_ENCODING_APPLE_ROMAN@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -76(%rbp) movq _TT_PLATFORM_MACINTOSH@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -80(%rbp) LBB0_28: movq _fnt_cmap_class@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -80(%rbp), %rdx xorl %esi, %esi xorl %ecx, %ecx callq _FT_CMap_New movq %rax, %r12 testq %rax, %rax movq -56(%rbp), %r14 ## 8-byte Reload je LBB0_31 LBB0_29: movq %r14, %rdi callq _FNT_Face_Done LBB0_30: movq %r12, %rax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_31: movq 64(%r15), %rax subq 72(%r15), %rax jge LBB0_33 ## %bb.32: leaq L_.str.3(%rip), %rdi jmp LBB0_22 LBB0_33: addq $2, %rax movq %rax, 16(%rbx) movq 88(%r15), %r12 subq 80(%r15), %r12 jle LBB0_39 ## %bb.34: movq (%r15), %rdi leal 1(%r12), %esi callq _FT_ALLOC testq %rax, %rax jne LBB0_18 ## %bb.35: movq (%r15), %rdi movl 8(%r15), %esi addl 80(%r15), %esi movl %r12d, %edx callq _FT_MEM_COPY movq (%r15), %rax movslq %r12d, %rcx movb $0, (%rax,%rcx) movq (%r15), %rbx movq %rbx, %rdi callq _ft_strlen leaq 1(%rax), %rdx movq %rbx, %rdi movl %r12d, %esi callq _FT_REALLOC testq %rax, %rax jne LBB0_18 ## %bb.36: movq (%r15), %rax movq -48(%rbp), %rsi ## 8-byte Reload movq %rax, 24(%rsi) leaq L_.str.5(%rip), %rax movq %rax, 32(%rsi) movl 8(%rsi), %eax movq _FT_STYLE_FLAG_BOLD@GOTPCREL(%rip), %rdx movq _FT_STYLE_FLAG_ITALIC@GOTPCREL(%rip), %rcx movl (%rcx), %ecx testl %eax, (%rdx) je LBB0_40 ## %bb.37: testl %eax, %ecx je LBB0_42 ## %bb.38: leaq L_.str.6(%rip), %rax jmp LBB0_43 LBB0_39: leaq L_.str.4(%rip), %rdi jmp LBB0_22 LBB0_40: testl %eax, %ecx je LBB0_2 ## %bb.41: leaq L_.str.8(%rip), %rax jmp LBB0_43 LBB0_42: leaq L_.str.7(%rip), %rax LBB0_43: movq %rax, 32(%rsi) jmp LBB0_2 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Windows FNT driver\n" .comm _Unknown_File_Format,4,2 ## @Unknown_File_Format .comm _Invalid_Argument,4,2 ## @Invalid_Argument L_.str.1: ## @.str.1 .asciz "invalid pixel height\n" .comm _Invalid_File_Format,4,2 ## @Invalid_File_Format .comm _FT_FACE_FLAG_FIXED_SIZES,4,2 ## @FT_FACE_FLAG_FIXED_SIZES .comm _FT_FACE_FLAG_HORIZONTAL,4,2 ## @FT_FACE_FLAG_HORIZONTAL .comm _FT_FACE_FLAG_FIXED_WIDTH,4,2 ## @FT_FACE_FLAG_FIXED_WIDTH .comm _FT_STYLE_FLAG_ITALIC,4,2 ## @FT_STYLE_FLAG_ITALIC .comm _FT_STYLE_FLAG_BOLD,4,2 ## @FT_STYLE_FLAG_BOLD L_.str.2: ## @.str.2 .asciz "use pixel_height as the nominal height\n" .comm _FT_ENCODING_NONE,4,2 ## @FT_ENCODING_NONE .comm _TT_PLATFORM_APPLE_UNICODE,4,2 ## @TT_PLATFORM_APPLE_UNICODE .comm _TT_APPLE_ID_DEFAULT,4,2 ## @TT_APPLE_ID_DEFAULT .comm _FT_WinFNT_ID_MAC,8,3 ## @FT_WinFNT_ID_MAC .comm _FT_ENCODING_APPLE_ROMAN,4,2 ## @FT_ENCODING_APPLE_ROMAN .comm _TT_PLATFORM_MACINTOSH,4,2 ## @TT_PLATFORM_MACINTOSH .comm _fnt_cmap_class,4,2 ## @fnt_cmap_class L_.str.3: ## @.str.3 .asciz "invalid number of glyphs\n" L_.str.4: ## @.str.4 .asciz "invalid family name offset\n" L_.str.5: ## @.str.5 .asciz "Regular" L_.str.6: ## @.str.6 .asciz "Bold Italic" L_.str.7: ## @.str.7 .asciz "Bold" L_.str.8: ## @.str.8 .asciz "Italic" .no_dead_strip _FNT_Face_Init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function FNT_Face_Init _FNT_Face_Init: ; @FNT_Face_Init .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x4 mov x23, x3 mov x20, x2 mov x19, x1 mov x22, x0 mov x0, x1 bl _FT_FACE_MEMORY mov x0, x23 bl _FT_UNUSED mov x0, x21 bl _FT_UNUSED Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _FT_TRACE2 mov x0, x20 bl _FT_ABS mov x23, x0 mov x0, x19 mov x1, x20 bl _fnt_face_get_dll_font mov x21, x0 tbz x20, #63, LBB0_2 ; %bb.1: cbz x21, LBB0_28 LBB0_2: and w24, w23, #0xffff Lloh2: adrp x8, _Unknown_File_Format@GOTPAGE Lloh3: ldr x8, [x8, _Unknown_File_Format@GOTPAGEOFF] Lloh4: ldr w1, [x8] mov x0, x21 bl _FT_ERR_EQ cbz x0, LBB0_8 ; %bb.3: ldr x0, [x19] bl _FT_NEW cbnz x0, LBB0_28 ; %bb.4: mov w8, #1 str w8, [x19] ldr x0, [x19] str xzr, [x0, #120] ldr w8, [x22] str w8, [x0, #112] mov x1, x22 bl _fnt_font_load mov x21, x0 tbnz x20, #63, LBB0_18 ; %bb.5: cbnz x21, LBB0_18 ; %bb.6: cbz w24, LBB0_9 ; %bb.7: Lloh5: adrp x8, _Invalid_Argument@GOTPAGE Lloh6: ldr x8, [x8, _Invalid_Argument@GOTPAGEOFF] Lloh7: ldr w0, [x8] bl _FT_THROW mov x21, x0 LBB0_8: cbnz x21, LBB0_27 LBB0_9: ldr x8, [x19] ldr w8, [x8, #16] cbz w8, LBB0_19 ; %bb.10: mov x0, x19 bl _FT_FACE mov x20, x0 ldr x23, [x19] Lloh8: adrp x8, _FT_FACE_FLAG_FIXED_SIZES@GOTPAGE Lloh9: ldr x8, [x8, _FT_FACE_FLAG_FIXED_SIZES@GOTPAGEOFF] str x24, [x0, #48] Lloh10: ldr w8, [x8] Lloh11: adrp x9, _FT_FACE_FLAG_HORIZONTAL@GOTPAGE Lloh12: ldr x9, [x9, _FT_FACE_FLAG_HORIZONTAL@GOTPAGEOFF] Lloh13: ldr w9, [x9] orr w8, w9, w8 ldr w9, [x0, #4] orr w8, w8, w9 str w8, [x0, #4] ldp x9, x10, [x23, #24] cmp x9, x10 b.ne LBB0_12 ; %bb.11: Lloh14: adrp x9, _FT_FACE_FLAG_FIXED_WIDTH@GOTPAGE Lloh15: ldr x9, [x9, _FT_FACE_FLAG_FIXED_WIDTH@GOTPAGEOFF] Lloh16: ldr w9, [x9] orr w8, w9, w8 str w8, [x20, #4] LBB0_12: ldr x8, [x23, #104] cbz x8, LBB0_14 ; %bb.13: Lloh17: adrp x8, _FT_STYLE_FLAG_ITALIC@GOTPAGE Lloh18: ldr x8, [x8, _FT_STYLE_FLAG_ITALIC@GOTPAGEOFF] Lloh19: ldr w8, [x8] ldr w9, [x20, #8] orr w8, w9, w8 str w8, [x20, #8] LBB0_14: ldr w8, [x23, #40] cmp w8, #800 b.lt LBB0_16 ; %bb.15: Lloh20: adrp x8, _FT_STYLE_FLAG_BOLD@GOTPAGE Lloh21: ldr x8, [x8, _FT_STYLE_FLAG_BOLD@GOTPAGEOFF] Lloh22: ldr w8, [x8] ldr w9, [x20, #8] orr w8, w9, w8 str w8, [x20, #8] LBB0_16: ldr x0, [x20, #40] mov w21, #1 mov w1, #1 bl _FT_NEW_ARRAY cbz x0, LBB0_21 LBB0_17: mov x21, #0 b LBB0_27 LBB0_18: cbnz x21, LBB0_27 b LBB0_28 LBB0_19: Lloh23: adrp x0, l_.str.1@PAGE Lloh24: add x0, x0, l_.str.1@PAGEOFF LBB0_20: bl _FT_TRACE2 Lloh25: adrp x8, _Invalid_File_Format@GOTPAGE Lloh26: ldr x8, [x8, _Invalid_File_Format@GOTPAGEOFF] Lloh27: ldr w0, [x8] bl _FT_THROW mov x21, x0 b LBB0_27 LBB0_21: str w21, [x20, #12] ldr x24, [x20, #40] ldr x8, [x23, #24] str x8, [x24, #24] ldrsw x8, [x23, #16] ldr x9, [x23, #96] add x8, x9, x8 str x8, [x24, #16] ldr w8, [x23, #44] lsl w0, w8, #6 str w0, [x24] mov w8, #72 ldp w9, w10, [x23, #48] cmp w9, #0 csel w21, w8, w9, eq cmp w10, #0 csel w22, w8, w10, eq mov x1, x22 mov w2, #72 bl _FT_MulDiv str w0, [x24, #4] ; kill: def $w0 killed $w0 killed $x0 bl _FT_PIX_ROUND str w0, [x24, #4] ldr w8, [x23, #16] cmp w0, w8, lsl #6 b.le LBB0_23 ; %bb.22: Lloh28: adrp x0, l_.str.2@PAGE Lloh29: add x0, x0, l_.str.2@PAGEOFF bl _FT_TRACE2 ldr w8, [x23, #16] lsl w0, w8, #6 str w0, [x24, #4] mov w1, #72 mov x2, x22 bl _FT_MulDiv str w0, [x24] b LBB0_24 LBB0_23: ldr w0, [x24] LBB0_24: ; kill: def $w0 killed $w0 killed $x0 mov x1, x21 mov w2, #72 bl _FT_MulDiv str w0, [x24, #8] ; kill: def $w0 killed $w0 killed $x0 bl _FT_PIX_ROUND str w0, [x24, #8] Lloh30: adrp x8, _FT_ENCODING_NONE@GOTPAGE Lloh31: ldr x8, [x8, _FT_ENCODING_NONE@GOTPAGEOFF] Lloh32: ldr w8, [x8] Lloh33: adrp x9, _TT_PLATFORM_APPLE_UNICODE@GOTPAGE Lloh34: ldr x9, [x9, _TT_PLATFORM_APPLE_UNICODE@GOTPAGEOFF] Lloh35: ldr w9, [x9] stp w9, w8, [sp, #8] Lloh36: adrp x8, _TT_APPLE_ID_DEFAULT@GOTPAGE Lloh37: ldr x8, [x8, _TT_APPLE_ID_DEFAULT@GOTPAGEOFF] Lloh38: ldr w8, [x8] str w8, [sp, #24] str x20, [sp, #16] ldr x8, [x23, #56] Lloh39: adrp x9, _FT_WinFNT_ID_MAC@GOTPAGE Lloh40: ldr x9, [x9, _FT_WinFNT_ID_MAC@GOTPAGEOFF] Lloh41: ldr x9, [x9] cmp x8, x9 b.ne LBB0_26 ; %bb.25: Lloh42: adrp x8, _FT_ENCODING_APPLE_ROMAN@GOTPAGE Lloh43: ldr x8, [x8, _FT_ENCODING_APPLE_ROMAN@GOTPAGEOFF] Lloh44: ldr w8, [x8] Lloh45: adrp x9, _TT_PLATFORM_MACINTOSH@GOTPAGE Lloh46: ldr x9, [x9, _TT_PLATFORM_MACINTOSH@GOTPAGEOFF] Lloh47: ldr w9, [x9] stp w9, w8, [sp, #8] LBB0_26: Lloh48: adrp x8, _fnt_cmap_class@GOTPAGE Lloh49: ldr x8, [x8, _fnt_cmap_class@GOTPAGEOFF] Lloh50: ldr w0, [x8] add x2, sp, #8 mov x1, #0 mov x3, #0 bl _FT_CMap_New mov x21, x0 cbz x0, LBB0_29 LBB0_27: mov x0, x19 bl _FNT_Face_Done LBB0_28: mov x0, x21 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_29: ldp x8, x9, [x23, #64] subs x8, x8, x9 b.ge LBB0_31 ; %bb.30: Lloh51: adrp x0, l_.str.3@PAGE Lloh52: add x0, x0, l_.str.3@PAGEOFF b LBB0_20 LBB0_31: add x8, x8, #2 str x8, [x20, #16] ldp x8, x9, [x23, #80] subs x21, x9, x8 b.le LBB0_37 ; %bb.32: ldr x0, [x23] add w1, w21, #1 bl _FT_ALLOC cbnz x0, LBB0_17 ; %bb.33: ldr x0, [x23] ldr w8, [x23, #8] ldr w9, [x23, #80] add w1, w8, w9 mov x2, x21 bl _FT_MEM_COPY ldr x8, [x23] strb wzr, [x8, w21, sxtw] ldr x22, [x23] mov x0, x22 bl _ft_strlen add x2, x0, #1 mov x0, x22 mov x1, x21 bl _FT_REALLOC cbnz x0, LBB0_17 ; %bb.34: Lloh53: adrp x8, l_.str.5@PAGE Lloh54: add x8, x8, l_.str.5@PAGEOFF ldr x9, [x23] stp x9, x8, [x20, #24] ldr w9, [x20, #8] Lloh55: adrp x8, _FT_STYLE_FLAG_BOLD@GOTPAGE Lloh56: ldr x8, [x8, _FT_STYLE_FLAG_BOLD@GOTPAGEOFF] Lloh57: ldr w10, [x8] Lloh58: adrp x8, _FT_STYLE_FLAG_ITALIC@GOTPAGE Lloh59: ldr x8, [x8, _FT_STYLE_FLAG_ITALIC@GOTPAGEOFF] Lloh60: ldr w8, [x8] and w8, w8, w9 tst w10, w9 b.eq LBB0_38 ; %bb.35: mov x21, #0 cbz w8, LBB0_40 ; %bb.36: Lloh61: adrp x8, l_.str.6@PAGE Lloh62: add x8, x8, l_.str.6@PAGEOFF b LBB0_41 LBB0_37: Lloh63: adrp x0, l_.str.4@PAGE Lloh64: add x0, x0, l_.str.4@PAGEOFF b LBB0_20 LBB0_38: mov x21, #0 cbz w8, LBB0_28 ; %bb.39: Lloh65: adrp x8, l_.str.8@PAGE Lloh66: add x8, x8, l_.str.8@PAGEOFF b LBB0_41 LBB0_40: Lloh67: adrp x8, l_.str.7@PAGE Lloh68: add x8, x8, l_.str.7@PAGEOFF LBB0_41: str x8, [x20, #32] b LBB0_28 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .loh AdrpAdd Lloh51, Lloh52 .loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60 .loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpAdd Lloh61, Lloh62 .loh AdrpAdd Lloh63, Lloh64 .loh AdrpAdd Lloh65, Lloh66 .loh AdrpAdd Lloh67, Lloh68 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Windows FNT driver\n" .comm _Unknown_File_Format,4,2 ; @Unknown_File_Format .comm _Invalid_Argument,4,2 ; @Invalid_Argument l_.str.1: ; @.str.1 .asciz "invalid pixel height\n" .comm _Invalid_File_Format,4,2 ; @Invalid_File_Format .comm _FT_FACE_FLAG_FIXED_SIZES,4,2 ; @FT_FACE_FLAG_FIXED_SIZES .comm _FT_FACE_FLAG_HORIZONTAL,4,2 ; @FT_FACE_FLAG_HORIZONTAL .comm _FT_FACE_FLAG_FIXED_WIDTH,4,2 ; @FT_FACE_FLAG_FIXED_WIDTH .comm _FT_STYLE_FLAG_ITALIC,4,2 ; @FT_STYLE_FLAG_ITALIC .comm _FT_STYLE_FLAG_BOLD,4,2 ; @FT_STYLE_FLAG_BOLD l_.str.2: ; @.str.2 .asciz "use pixel_height as the nominal height\n" .comm _FT_ENCODING_NONE,4,2 ; @FT_ENCODING_NONE .comm _TT_PLATFORM_APPLE_UNICODE,4,2 ; @TT_PLATFORM_APPLE_UNICODE .comm _TT_APPLE_ID_DEFAULT,4,2 ; @TT_APPLE_ID_DEFAULT .comm _FT_WinFNT_ID_MAC,8,3 ; @FT_WinFNT_ID_MAC .comm _FT_ENCODING_APPLE_ROMAN,4,2 ; @FT_ENCODING_APPLE_ROMAN .comm _TT_PLATFORM_MACINTOSH,4,2 ; @TT_PLATFORM_MACINTOSH .comm _fnt_cmap_class,4,2 ; @fnt_cmap_class l_.str.3: ; @.str.3 .asciz "invalid number of glyphs\n" l_.str.4: ; @.str.4 .asciz "invalid family name offset\n" l_.str.5: ; @.str.5 .asciz "Regular" l_.str.6: ; @.str.6 .asciz "Bold Italic" l_.str.7: ; @.str.7 .asciz "Bold" l_.str.8: ; @.str.8 .asciz "Italic" .no_dead_strip _FNT_Face_Init .subsections_via_symbols
AnghaBench/Cinder/src/freetype/winfonts/extr_winfnt.c_FNT_Face_Init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function FNT_Load_Glyph _FNT_Load_Glyph: ## @FNT_Load_Glyph .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r15d movl %edx, %ebx movq %rdi, %r13 movl %esi, %edi callq _FT_SIZE_FACE testl %eax, %eax je LBB0_1 ## %bb.3: movslq %eax, %rdi movq (%rdi), %r14 testq %r14, %r14 je LBB0_5 ## %bb.4: movq _FT_Err_Ok@GOTPCREL(%rip), %rax movl (%rax), %r12d callq _FT_FACE cmpl %ebx, (%rax) jle LBB0_5 ## %bb.6: movl %r12d, -44(%rbp) ## 4-byte Spill movslq %ebx, %r12 movq %r12, %rdi callq _FT_TRACE1 testl %r12d, %r12d jle LBB0_8 ## %bb.7: decl %ebx jmp LBB0_9 LBB0_5: movq _Invalid_Argument@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_1: movq _Invalid_Face_Handle@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_8: movl (%r14), %ebx LBB0_9: xorl %edi, %edi cmpl $768, 4(%r14) ## imm = 0x300 sete %dil callq _FT_BOOL movq %rax, %r12 xorl %eax, %eax testq %r12, %r12 setne %al addl %eax, %eax addl $4, %eax imull %ebx, %eax leal 148(%rax), %ecx addl $118, %eax xorl %edx, %edx testq %r12, %r12 cmovnel %ecx, %eax sete %dl movl 8(%r14), %ecx leal (%rcx,%rdx,2), %ecx addl $-6, %ecx cmpl %ecx, %eax jge LBB0_10 ## %bb.12: movslq %eax, %rbx shlq $2, %rbx addq 24(%r14), %rbx movq %rbx, %rdi callq _FT_NEXT_USHORT_LE movl %eax, 80(%r13) movq %rbx, %rdi testq %r12, %r12 je LBB0_14 ## %bb.13: callq _FT_NEXT_ULONG_LE movl %eax, %r12d cmpl 8(%r14), %r12d jge LBB0_10 LBB0_16: movl 12(%r14), %eax movl %eax, 84(%r13) movq _FT_PIXEL_MODE_MONO@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 104(%r13) movq $0, 72(%r13) movl 16(%r14), %ecx movl %ecx, (%r13) movq _FT_GLYPH_FORMAT_BITMAP@GOTPCREL(%rip), %rdx movl (%rdx), %edx movl %edx, 64(%r13) movl 80(%r13), %edx shll $6, %edx movslq %edx, %rdx leaq 24(%r13), %rdi movq %rdx, 56(%r13) shll $6, %eax movslq %eax, %rsi movq %rsi, 48(%r13) movq %rdx, 40(%r13) movq $0, 32(%r13) shll $6, %ecx movl %ecx, 24(%r13) callq _ft_synthesize_vertical_metrics movq _FT_LOAD_BITMAP_METRICS_ONLY@GOTPCREL(%rip), %rax testl %r15d, (%rax) je LBB0_17 LBB0_28: movl -44(%rbp), %eax ## 4-byte Reload addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_14: callq _FT_NEXT_USHORT_LE movq %rax, %r12 cmpl 8(%r14), %r12d jl LBB0_16 LBB0_10: leaq L_.str.1(%rip), %rdi LBB0_11: callq _FT_TRACE2 movq _Invalid_File_Format@GOTPCREL(%rip), %rax LBB0_2: movl (%rax), %edi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _FT_THROW ## TAILCALL LBB0_17: movslq %r12d, %rbx shlq $2, %rbx addq 24(%r14), %rbx movl 16(%r13), %edi callq _FT_FACE_MEMORY movl 80(%r13), %ecx leal 7(%rcx), %eax movl %eax, %r15d sarl $3, %r15d movl %r15d, 88(%r13) cmpl $8, %eax jb LBB0_19 ## %bb.18: movl 84(%r13), %esi movl %esi, %eax imull %r15d, %eax addl %r12d, %eax cmpl 8(%r14), %eax jle LBB0_20 LBB0_19: leaq L_.str.2(%rip), %rdi jmp LBB0_11 LBB0_20: movq %rcx, %r14 movq 96(%r13), %rdi movl %r15d, %edx callq _FT_ALLOC_MULT testq %rax, %rax jne LBB0_28 ## %bb.21: testl %r14d, %r14d jle LBB0_27 ## %bb.22: movq 96(%r13), %rax jmp LBB0_23 LBB0_26: ## in Loop: Header=BB0_23 Depth=1 leal -1(%r15), %ecx addq $4, %rax cmpl $1, %r15d movl %ecx, %r15d jle LBB0_27 LBB0_23: ## =>This Loop Header: Depth=1 ## Child Loop BB0_25 Depth 2 movslq 84(%r13), %rcx testq %rcx, %rcx jle LBB0_26 ## %bb.24: ## in Loop: Header=BB0_23 Depth=1 leaq (%rbx,%rcx,4), %rcx movq %rax, %rdx .p2align 4, 0x90 LBB0_25: ## Parent Loop BB0_23 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rbx), %esi movl %esi, (%rdx) addq $4, %rbx movslq 88(%r13), %rsi leaq (%rdx,%rsi,4), %rdx cmpq %rcx, %rbx jb LBB0_25 jmp LBB0_26 LBB0_27: movq _FT_GLYPH_OWN_BITMAP@GOTPCREL(%rip), %rax movl (%rax), %eax movq 8(%r13), %rcx movl %eax, (%rcx) jmp LBB0_28 .cfi_endproc ## -- End function .comm _FT_Err_Ok,4,2 ## @FT_Err_Ok .comm _Invalid_Face_Handle,4,2 ## @Invalid_Face_Handle .comm _Invalid_Argument,4,2 ## @Invalid_Argument .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "invalid FNT offset\n" .comm _Invalid_File_Format,4,2 ## @Invalid_File_Format .comm _FT_PIXEL_MODE_MONO,4,2 ## @FT_PIXEL_MODE_MONO .comm _FT_GLYPH_FORMAT_BITMAP,4,2 ## @FT_GLYPH_FORMAT_BITMAP .comm _FT_LOAD_BITMAP_METRICS_ONLY,4,2 ## @FT_LOAD_BITMAP_METRICS_ONLY L_.str.2: ## @.str.2 .asciz "invalid bitmap width\n" .comm _FT_GLYPH_OWN_BITMAP,4,2 ## @FT_GLYPH_OWN_BITMAP .no_dead_strip _FNT_Load_Glyph .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function FNT_Load_Glyph _FNT_Load_Glyph: ; @FNT_Load_Glyph .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x21, x3 mov x22, x2 mov x19, x0 mov x0, x1 bl _FT_SIZE_FACE ; kill: def $w0 killed $w0 def $x0 cbz w0, LBB0_9 ; %bb.1: sxtw x0, w0 ldr x24, [x0] cbz x24, LBB0_8 ; %bb.2: Lloh0: adrp x8, _FT_Err_Ok@GOTPAGE Lloh1: ldr x8, [x8, _FT_Err_Ok@GOTPAGEOFF] Lloh2: ldr w20, [x8] bl _FT_FACE ldr w8, [x0] cmp w8, w22 b.le LBB0_8 ; %bb.3: sxtw x0, w22 bl _FT_TRACE1 subs w23, w22, #1 b.ge LBB0_5 ; %bb.4: ldr w23, [x24] LBB0_5: ldr w8, [x24, #4] cmp w8, #768 cset w0, eq bl _FT_BOOL cmp x0, #0 mov w8, #6 mov w9, #4 csel w8, w9, w8, eq mov w9, #148 mov w10, #118 csel w9, w10, w9, eq madd w8, w8, w23, w9 ldr w9, [x24, #8] mov w10, #-4 mov w11, #-2 csel w10, w11, w10, eq add w9, w9, w10 sub w9, w9, #2 cmp w8, w9 b.ge LBB0_14 ; %bb.6: mov x22, x0 ldr x9, [x24, #24] add x23, x9, w8, sxtw #2 mov x0, x23 bl _FT_NEXT_USHORT_LE str w0, [x19, #80] mov x0, x23 cbz x22, LBB0_10 ; %bb.7: bl _FT_NEXT_ULONG_LE mov x22, x0 b LBB0_11 LBB0_8: Lloh3: adrp x8, _Invalid_Argument@GOTPAGE Lloh4: ldr x8, [x8, _Invalid_Argument@GOTPAGEOFF] b LBB0_16 LBB0_9: Lloh5: adrp x8, _Invalid_Face_Handle@GOTPAGE Lloh6: ldr x8, [x8, _Invalid_Face_Handle@GOTPAGEOFF] b LBB0_16 LBB0_10: bl _FT_NEXT_USHORT_LE mov x22, x0 LBB0_11: ldr w8, [x24, #8] cmp w22, w8 b.ge LBB0_14 ; %bb.12: ldp w8, w9, [x24, #12] str w8, [x19, #84] Lloh7: adrp x10, _FT_PIXEL_MODE_MONO@GOTPAGE Lloh8: ldr x10, [x10, _FT_PIXEL_MODE_MONO@GOTPAGEOFF] Lloh9: ldr w10, [x10] str w10, [x19, #104] str xzr, [x19, #72] str w9, [x19] Lloh10: adrp x10, _FT_GLYPH_FORMAT_BITMAP@GOTPAGE Lloh11: ldr x10, [x10, _FT_GLYPH_FORMAT_BITMAP@GOTPAGEOFF] Lloh12: ldr w10, [x10] str w10, [x19, #64] ldr w10, [x19, #80] lsl w10, w10, #6 sxtw x10, w10 lsl w8, w8, #6 sxtw x1, w8 stp x1, x10, [x19, #48] stp xzr, x10, [x19, #32] lsl w8, w9, #6 mov x0, x19 str w8, [x0, #24]! bl _ft_synthesize_vertical_metrics Lloh13: adrp x8, _FT_LOAD_BITMAP_METRICS_ONLY@GOTPAGE Lloh14: ldr x8, [x8, _FT_LOAD_BITMAP_METRICS_ONLY@GOTPAGEOFF] Lloh15: ldr w8, [x8] tst w8, w21 b.eq LBB0_17 LBB0_13: mov x0, x20 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB0_14: Lloh16: adrp x0, l_.str.1@PAGE Lloh17: add x0, x0, l_.str.1@PAGEOFF LBB0_15: bl _FT_TRACE2 Lloh18: adrp x8, _Invalid_File_Format@GOTPAGE Lloh19: ldr x8, [x8, _Invalid_File_Format@GOTPAGEOFF] LBB0_16: ldr w0, [x8] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _FT_THROW LBB0_17: ldr x23, [x24, #24] ldr w0, [x19, #16] bl _FT_FACE_MEMORY ldr w25, [x19, #80] add w8, w25, #7 asr w21, w8, #3 str w21, [x19, #88] cmp w8, #8 b.lo LBB0_19 ; %bb.18: ldr w1, [x19, #84] madd w8, w1, w21, w22 ldr w9, [x24, #8] cmp w8, w9 b.le LBB0_20 LBB0_19: Lloh20: adrp x0, l_.str.2@PAGE Lloh21: add x0, x0, l_.str.2@PAGEOFF b LBB0_15 LBB0_20: ldr x0, [x19, #96] mov x2, x21 bl _FT_ALLOC_MULT cbnz x0, LBB0_13 ; %bb.21: cmp w25, #1 b.lt LBB0_27 ; %bb.22: add x8, x23, w22, sxtw #2 ldr x9, [x19, #96] b LBB0_24 LBB0_23: ; in Loop: Header=BB0_24 Depth=1 add x9, x9, #4 subs w21, w21, #1 b.le LBB0_27 LBB0_24: ; =>This Loop Header: Depth=1 ; Child Loop BB0_26 Depth 2 ldrsw x10, [x19, #84] cmp w10, #1 b.lt LBB0_23 ; %bb.25: ; in Loop: Header=BB0_24 Depth=1 add x10, x8, x10, lsl #2 mov x11, x9 LBB0_26: ; Parent Loop BB0_24 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w12, [x8], #4 str w12, [x11] ldrsw x12, [x19, #88] add x11, x11, x12, lsl #2 cmp x8, x10 b.lo LBB0_26 b LBB0_23 LBB0_27: Lloh22: adrp x8, _FT_GLYPH_OWN_BITMAP@GOTPAGE Lloh23: ldr x8, [x8, _FT_GLYPH_OWN_BITMAP@GOTPAGEOFF] Lloh24: ldr w8, [x8] ldr x9, [x19, #8] str w8, [x9] b LBB0_13 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .cfi_endproc ; -- End function .comm _FT_Err_Ok,4,2 ; @FT_Err_Ok .comm _Invalid_Face_Handle,4,2 ; @Invalid_Face_Handle .comm _Invalid_Argument,4,2 ; @Invalid_Argument .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "invalid FNT offset\n" .comm _Invalid_File_Format,4,2 ; @Invalid_File_Format .comm _FT_PIXEL_MODE_MONO,4,2 ; @FT_PIXEL_MODE_MONO .comm _FT_GLYPH_FORMAT_BITMAP,4,2 ; @FT_GLYPH_FORMAT_BITMAP .comm _FT_LOAD_BITMAP_METRICS_ONLY,4,2 ; @FT_LOAD_BITMAP_METRICS_ONLY l_.str.2: ; @.str.2 .asciz "invalid bitmap width\n" .comm _FT_GLYPH_OWN_BITMAP,4,2 ; @FT_GLYPH_OWN_BITMAP .no_dead_strip _FNT_Load_Glyph .subsections_via_symbols
AnghaBench/Cinder/src/freetype/winfonts/extr_winfnt.c_FNT_Load_Glyph.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function FNT_Size_Request _FNT_Size_Request: ## @FNT_Size_Request .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r14 movq (%rdi), %rax movq (%rax), %r12 movq _Invalid_Pixel_Size@GOTPCREL(%rip), %rax movl (%rax), %edi callq _FT_ERR movq %rax, %r15 movq %rbx, %rdi callq _FT_REQUEST_HEIGHT addl $32, %eax sarl $6, %eax movl (%rbx), %ecx cmpl $128, %ecx je LBB0_4 ## %bb.1: cmpl $129, %ecx jne LBB0_5 ## %bb.2: movl (%r12), %ecx addl $32, %ecx sarl $6, %ecx cmpl %ecx, %eax je LBB0_3 jmp LBB0_6 LBB0_4: cmpl (%r12), %eax jne LBB0_6 LBB0_3: movq _FT_Err_Ok@GOTPCREL(%rip), %rax movq (%rax), %r15 LBB0_6: testq %r15, %r15 je LBB0_8 LBB0_7: movq %r15, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_5: movq _Unimplemented_Feature@GOTPCREL(%rip), %rax movl (%rax), %edi callq _FT_THROW movq %rax, %r15 testq %r15, %r15 jne LBB0_7 LBB0_8: movq %r14, %rdi xorl %esi, %esi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _FNT_Size_Select ## TAILCALL .cfi_endproc ## -- End function .comm _Invalid_Pixel_Size,4,2 ## @Invalid_Pixel_Size .comm _FT_Err_Ok,8,3 ## @FT_Err_Ok .comm _Unimplemented_Feature,4,2 ## @Unimplemented_Feature .no_dead_strip _FNT_Size_Request .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function FNT_Size_Request _FNT_Size_Request: ; @FNT_Size_Request .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x1 mov x19, x0 ldr x8, [x0] ldr x22, [x8] Lloh0: adrp x8, _Invalid_Pixel_Size@GOTPAGE Lloh1: ldr x8, [x8, _Invalid_Pixel_Size@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _FT_ERR mov x20, x0 mov x0, x21 bl _FT_REQUEST_HEIGHT add w8, w0, #32 asr w8, w8, #6 ldr w9, [x21] cmp w9, #128 b.eq LBB0_3 ; %bb.1: cmp w9, #129 b.ne LBB0_5 ; %bb.2: ldr w9, [x22] add w9, w9, #32 Lloh3: adrp x10, _FT_Err_Ok@GOTPAGE Lloh4: ldr x10, [x10, _FT_Err_Ok@GOTPAGEOFF] Lloh5: ldr x10, [x10] cmp w8, w9, asr #6 csel x0, x10, x20, eq cbnz x0, LBB0_4 b LBB0_6 LBB0_3: ldr w9, [x22] Lloh6: adrp x10, _FT_Err_Ok@GOTPAGE Lloh7: ldr x10, [x10, _FT_Err_Ok@GOTPAGEOFF] Lloh8: ldr x10, [x10] cmp w8, w9 csel x0, x10, x20, eq cbz x0, LBB0_6 LBB0_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_5: Lloh9: adrp x8, _Unimplemented_Feature@GOTPAGE Lloh10: ldr x8, [x8, _Unimplemented_Feature@GOTPAGEOFF] Lloh11: ldr w0, [x8] bl _FT_THROW cbnz x0, LBB0_4 LBB0_6: mov x0, x19 mov w1, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _FNT_Size_Select .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _Invalid_Pixel_Size,4,2 ; @Invalid_Pixel_Size .comm _FT_Err_Ok,8,3 ; @FT_Err_Ok .comm _Unimplemented_Feature,4,2 ; @Unimplemented_Feature .no_dead_strip _FNT_Size_Request .subsections_via_symbols
AnghaBench/Cinder/src/freetype/winfonts/extr_winfnt.c_FNT_Size_Request.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function FNT_Size_Select _FNT_Size_Select: ## @FNT_Size_Select .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movslq 12(%rdi), %rax movq (%rax), %r14 movl %esi, %edi callq _FT_UNUSED movl 12(%rbx), %edi xorl %esi, %esi callq _FT_Select_Metrics movl (%r14), %eax movl %eax, %ecx shll $6, %ecx movl %ecx, (%rbx) subl 4(%r14), %eax shll $6, %eax movl %eax, 4(%rbx) movl 8(%r14), %eax shll $6, %eax movl %eax, 8(%rbx) movq _FT_Err_Ok@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _FT_Err_Ok,4,2 ## @FT_Err_Ok .no_dead_strip _FNT_Size_Select .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function FNT_Size_Select _FNT_Size_Select: ; @FNT_Size_Select .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldrsw x8, [x0, #12] ldr x20, [x8] mov x0, x1 bl _FT_UNUSED ldr w0, [x19, #12] mov w1, #0 bl _FT_Select_Metrics ldp w8, w9, [x20] lsl w10, w8, #6 sub w8, w8, w9 lsl w8, w8, #6 stp w10, w8, [x19] ldr w8, [x20, #8] lsl w8, w8, #6 str w8, [x19, #8] Lloh0: adrp x8, _FT_Err_Ok@GOTPAGE Lloh1: ldr x8, [x8, _FT_Err_Ok@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _FT_Err_Ok,4,2 ; @FT_Err_Ok .no_dead_strip _FNT_Size_Select .subsections_via_symbols
AnghaBench/Cinder/src/freetype/winfonts/extr_winfnt.c_FNT_Size_Select.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fnt_cmap_char_index _fnt_cmap_char_index: ## @fnt_cmap_char_index .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq (%rdi), %rsi leaq 1(%rsi), %rcx xorl %eax, %eax cmpq 8(%rdi), %rsi cmovlq %rcx, %rax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _fnt_cmap_char_index .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fnt_cmap_char_index _fnt_cmap_char_index: ; @fnt_cmap_char_index .cfi_startproc ; %bb.0: ldp x8, x9, [x0] sub x8, x1, x8 cmp x8, x9 csinc x0, xzr, x8, ge ret .cfi_endproc ; -- End function .no_dead_strip _fnt_cmap_char_index .subsections_via_symbols
AnghaBench/Cinder/src/freetype/winfonts/extr_winfnt.c_fnt_cmap_char_index.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fnt_cmap_char_next _fnt_cmap_char_next: ## @fnt_cmap_char_next .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rsi), %rcx movq (%rdi), %rdx movl $1, %eax cmpq %rdx, %rcx jl LBB0_2 ## %bb.1: incq %rcx movq %rcx, %r8 subq %rdx, %r8 leaq 1(%r8), %rax xorl %edx, %edx cmpq 8(%rdi), %r8 cmovgeq %rdx, %rax cmovgeq %rdx, %rcx movq %rcx, %rdx LBB0_2: movq %rdx, (%rsi) popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _fnt_cmap_char_next .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fnt_cmap_char_next _fnt_cmap_char_next: ; @fnt_cmap_char_next .cfi_startproc ; %bb.0: ldr x9, [x1] ldr x8, [x0] cmp x9, x8 b.ge LBB0_2 ; %bb.1: mov w0, #1 str x8, [x1] ret LBB0_2: add x10, x9, #1 ldr x11, [x0, #8] sub x8, x10, x8 cmp x8, x11 csinc x0, xzr, x8, ge csinc x8, xzr, x9, ge str x8, [x1] ret .cfi_endproc ; -- End function .no_dead_strip _fnt_cmap_char_next .subsections_via_symbols
AnghaBench/Cinder/src/freetype/winfonts/extr_winfnt.c_fnt_cmap_char_next.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fnt_cmap_init _fnt_cmap_init: ## @fnt_cmap_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %r15 callq _FT_CMAP_FACE cltq movq (%rax), %rbx movl %r14d, %edi callq _FT_UNUSED movq 8(%rbx), %rax movq %rax, (%r15) movq (%rbx), %rcx subq %rax, %rcx incq %rcx movq %rcx, 8(%r15) xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _fnt_cmap_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fnt_cmap_init _fnt_cmap_init: ; @fnt_cmap_init .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 bl _FT_CMAP_FACE ; kill: def $w0 killed $w0 def $x0 sxtw x8, w0 ldr x21, [x8] mov x0, x19 bl _FT_UNUSED ldp x9, x8, [x21] sub x9, x9, x8 add x9, x9, #1 stp x8, x9, [x20] mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _fnt_cmap_init .subsections_via_symbols
AnghaBench/Cinder/src/freetype/winfonts/extr_winfnt.c_fnt_cmap_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fnt_face_get_dll_font _fnt_face_get_dll_font: ## @fnt_face_get_dll_font .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $1192, %rsp ## imm = 0x4A8 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r12 movq %rdi, %r13 callq _FT_FACE movq 8(%rax), %rbx movq %r13, %rdi callq _FT_FACE movq $0, 8(%r13) movq %r12, %rdi callq _FT_ABS movl %eax, %r14d xorl %edi, %edi callq _FT_STREAM_SEEK ## implicit-def: $rcx testq %rax, %rax jne LBB0_92 ## %bb.1: movq _winmz_header_fields@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -920(%rbp), %rsi callq _FT_STREAM_READ_FIELDS ## implicit-def: $rcx testq %rax, %rax jne LBB0_92 ## %bb.2: movq %rbx, -80(%rbp) ## 8-byte Spill movq _Unknown_File_Format@GOTPCREL(%rip), %r15 movl (%r15), %edi callq _FT_ERR movq -920(%rbp), %rdx movq _WINFNT_MZ_MAGIC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rdx jne LBB0_88 ## %bb.3: movq %rax, %rbx leaq L_.str(%rip), %rdi callq _FT_TRACE2 movl -912(%rbp), %edi callq _FT_STREAM_SEEK testq %rax, %rax jne LBB0_90 ## %bb.4: movq _winne_header_fields@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -816(%rbp), %rsi callq _FT_STREAM_READ_FIELDS testq %rax, %rax jne LBB0_90 ## %bb.5: movzwl %r14w, %ebx movl (%r15), %edi callq _FT_ERR movq -816(%rbp), %rdx movq _WINFNT_NE_MAGIC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rdx jne LBB0_8 ## %bb.6: movq %rbx, -64(%rbp) ## 8-byte Spill movq %rax, -48(%rbp) ## 8-byte Spill movl -804(%rbp), %ebx addl -912(%rbp), %ebx leaq L_.str.1(%rip), %rdi callq _FT_TRACE2 movl %ebx, %edi callq _FT_STREAM_SEEK testq %rax, %rax movq -80(%rbp), %r15 ## 8-byte Reload jne LBB0_7 ## %bb.11: movl -800(%rbp), %edi subl -804(%rbp), %edi callq _FT_FRAME_ENTER testq %rax, %rax je LBB0_15 LBB0_7: movq -48(%rbp), %rcx ## 8-byte Reload jmp LBB0_92 LBB0_8: movq _WINFNT_PE_MAGIC@GOTPCREL(%rip), %r15 cmpq (%r15), %rdx jne LBB0_86 ## %bb.9: movq %rbx, -64(%rbp) ## 8-byte Spill movq %rax, %r14 leaq L_.str.5(%rip), %rdi callq _FT_TRACE2 movl -912(%rbp), %edi callq _FT_STREAM_SEEK testq %rax, %rax jne LBB0_10 ## %bb.13: movq _winpe32_header_fields@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -296(%rbp), %rsi callq _FT_STREAM_READ_FIELDS testq %rax, %rax je LBB0_17 LBB0_10: movq %r14, %rcx jmp LBB0_92 LBB0_15: xorl %eax, %eax callq _FT_GET_USHORT_LE cmpl $16, %eax jle LBB0_27 ## %bb.16: leaq L_.str.2(%rip), %rdi jmp LBB0_36 LBB0_17: movslq -200(%rbp), %rdi callq _FT_TRACE2 movq -296(%rbp), %rax leaq L_.str.7(%rip), %rdi cmpq (%r15), %rax jne LBB0_36 ## %bb.18: cmpl $332, -276(%rbp) ## imm = 0x14C jne LBB0_36 ## %bb.19: cmpl $224, -268(%rbp) jne LBB0_36 ## %bb.20: cmpl $267, -264(%rbp) ## imm = 0x10B jne LBB0_36 ## %bb.21: movl $0, (%r13) leaq L_.str.9(%rip), %rdi cmpl $0, -272(%rbp) jle LBB0_36 ## %bb.22: xorl %ebx, %ebx movq _winpe32_section_fields@GOTPCREL(%rip), %r12 leaq -192(%rbp), %r15 LBB0_23: ## =>This Inner Loop Header: Depth=1 movl (%r12), %edi movq %r15, %rsi callq _FT_STREAM_READ_FIELDS testq %rax, %rax jne LBB0_10 ## %bb.24: ## in Loop: Header=BB0_23 Depth=1 movslq -128(%rbp), %rdi callq _FT_TRACE2 movq -256(%rbp), %rax cmpq -136(%rbp), %rax je LBB0_44 ## %bb.25: ## in Loop: Header=BB0_23 Depth=1 incl %ebx cmpl -272(%rbp), %ebx jl LBB0_23 ## %bb.26: leaq L_.str.9(%rip), %rdi jmp LBB0_36 LBB0_27: movl %eax, -72(%rbp) ## 4-byte Spill xorl %eax, %eax callq _FT_GET_USHORT_LE xorl %r14d, %r14d LBB0_28: ## =>This Inner Loop Header: Depth=1 movl $0, %ebx testl %eax, %eax je LBB0_32 ## %bb.29: ## in Loop: Header=BB0_28 Depth=1 movl %eax, %r14d xorl %eax, %eax callq _FT_GET_USHORT_LE movl %eax, %ebx cmpl $32776, %r14d ## imm = 0x8008 je LBB0_31 ## %bb.30: ## in Loop: Header=BB0_28 Depth=1 shll $2, %ebx leal (%rbx,%rbx,2), %eax cltq movq 8(%r15), %rcx addq %rcx, %rax addq $4, %rax movq %rax, 8(%r15) xorl %r14d, %r14d xorl %eax, %eax callq _FT_GET_USHORT_LE jmp LBB0_28 LBB0_31: xorl %eax, %eax callq _FT_STREAM_POS ## kill: def $eax killed $eax def $rax movl 8(%r15), %ecx subl 16(%r15), %ecx leal (%rax,%rcx), %r14d addl $4, %r14d LBB0_32: movq %r14, -56(%rbp) ## 8-byte Spill xorl %eax, %eax callq _FT_FRAME_EXIT leaq L_.str.3(%rip), %rdi testl %ebx, %ebx je LBB0_36 ## %bb.33: cmpl $0, -56(%rbp) ## 4-byte Folded Reload je LBB0_36 ## %bb.34: movslq %ebx, %rax imulq $118, %rax, %rax movslq (%r15), %rcx cmpq %rcx, %rax jbe LBB0_39 ## %bb.35: leaq L_.str.4(%rip), %rdi LBB0_36: callq _FT_TRACE2 LBB0_37: movq _Invalid_File_Format@GOTPCREL(%rip), %rax LBB0_38: movl (%rax), %edi callq _FT_THROW movq %rax, %rcx jmp LBB0_92 LBB0_39: movl %ebx, (%r13) testq %r12, %r12 js LBB0_7 ## %bb.40: cmpl %ebx, -64(%rbp) ## 4-byte Folded Reload jge LBB0_47 ## %bb.41: movq 8(%r13), %rdi callq _FT_NEW testq %rax, %rax jne LBB0_7 ## %bb.50: movq -64(%rbp), %rax ## 8-byte Reload leal (%rax,%rax,2), %eax movq -56(%rbp), %rcx ## 8-byte Reload leal (%rcx,%rax,4), %edi callq _FT_STREAM_SEEK testq %rax, %rax jne LBB0_52 ## %bb.51: movl $12, %edi callq _FT_FRAME_ENTER testq %rax, %rax je LBB0_84 LBB0_52: movq -48(%rbp), %rax ## 8-byte Reload jmp LBB0_88 LBB0_44: movslq -144(%rbp), %rdi callq _FT_TRACE2 movl -128(%rbp), %edi callq _FT_STREAM_SEEK testq %rax, %rax jne LBB0_10 ## %bb.48: movq _winpe_rsrc_dir_fields@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -712(%rbp), %rsi callq _FT_STREAM_READ_FIELDS testq %rax, %rax jne LBB0_10 ## %bb.53: movl -640(%rbp), %eax addl -644(%rbp), %eax jle LBB0_83 ## %bb.54: movl -128(%rbp), %eax movq %rax, -72(%rbp) ## 8-byte Spill addl $16, %eax movq %rax, -88(%rbp) ## 8-byte Spill xorl %eax, %eax movq %rax, -48(%rbp) ## 8-byte Spill LBB0_55: ## =>This Loop Header: Depth=1 ## Child Loop BB0_62 Depth 2 ## Child Loop BB0_71 Depth 3 movq -88(%rbp), %rax ## 8-byte Reload movq -48(%rbp), %rcx ## 8-byte Reload leal (%rax,%rcx,8), %edi callq _FT_STREAM_SEEK testq %rax, %rax jne LBB0_10 ## %bb.56: ## in Loop: Header=BB0_55 Depth=1 movq _winpe_rsrc_dir_entry_fields@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -1128(%rbp), %rsi callq _FT_STREAM_READ_FIELDS testq %rax, %rax jne LBB0_10 ## %bb.57: ## in Loop: Header=BB0_55 Depth=1 movl -1052(%rbp), %eax testl %eax, %eax jns LBB0_37 ## %bb.58: ## in Loop: Header=BB0_55 Depth=1 movq %rax, %rdi andl $2147483647, %edi ## imm = 0x7FFFFFFF movl %edi, -1052(%rbp) addl -128(%rbp), %edi movq %rdi, %r15 ## kill: def $edi killed $edi killed $rdi callq _FT_STREAM_SEEK testq %rax, %rax jne LBB0_10 ## %bb.59: ## in Loop: Header=BB0_55 Depth=1 movq _winpe_rsrc_dir_fields@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -608(%rbp), %rsi callq _FT_STREAM_READ_FIELDS testq %rax, %rax jne LBB0_10 ## %bb.60: ## in Loop: Header=BB0_55 Depth=1 movl -536(%rbp), %eax addl -540(%rbp), %eax jle LBB0_82 ## %bb.61: ## in Loop: Header=BB0_55 Depth=1 addl $16, %r15d xorl %eax, %eax movq %rax, -56(%rbp) ## 8-byte Spill LBB0_62: ## Parent Loop BB0_55 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_71 Depth 3 movq -56(%rbp), %rax ## 8-byte Reload leal (%r15,%rax,8), %edi callq _FT_STREAM_SEEK testq %rax, %rax jne LBB0_10 ## %bb.63: ## in Loop: Header=BB0_62 Depth=2 movq _winpe_rsrc_dir_entry_fields@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -400(%rbp), %rsi callq _FT_STREAM_READ_FIELDS testq %rax, %rax jne LBB0_10 ## %bb.64: ## in Loop: Header=BB0_62 Depth=2 movl -324(%rbp), %ebx testl %ebx, %ebx jns LBB0_37 ## %bb.65: ## in Loop: Header=BB0_62 Depth=2 andl $2147483647, %ebx ## imm = 0x7FFFFFFF movl %ebx, -324(%rbp) addl -128(%rbp), %ebx movl %ebx, %edi callq _FT_STREAM_SEEK testq %rax, %rax jne LBB0_10 ## %bb.66: ## in Loop: Header=BB0_62 Depth=2 movq _winpe_rsrc_dir_fields@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -504(%rbp), %rsi callq _FT_STREAM_READ_FIELDS testq %rax, %rax jne LBB0_10 ## %bb.67: ## in Loop: Header=BB0_62 Depth=2 movl -432(%rbp), %eax addl -436(%rbp), %eax jle LBB0_81 ## %bb.68: ## in Loop: Header=BB0_62 Depth=2 addl $16, %ebx xorl %r12d, %r12d jmp LBB0_71 LBB0_69: ## in Loop: Header=BB0_71 Depth=3 incl %eax movl %eax, (%r13) LBB0_70: ## in Loop: Header=BB0_71 Depth=3 incl %r12d movl -432(%rbp), %eax addl -436(%rbp), %eax addl $8, %ebx cmpl %eax, %r12d jge LBB0_81 LBB0_71: ## Parent Loop BB0_55 Depth=1 ## Parent Loop BB0_62 Depth=2 ## => This Inner Loop Header: Depth=3 movl %ebx, %edi callq _FT_STREAM_SEEK testq %rax, %rax jne LBB0_10 ## %bb.72: ## in Loop: Header=BB0_71 Depth=3 movq _winpe_rsrc_dir_entry_fields@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -1232(%rbp), %rsi callq _FT_STREAM_READ_FIELDS testq %rax, %rax jne LBB0_10 ## %bb.73: ## in Loop: Header=BB0_71 Depth=3 cmpl $0, -324(%rbp) js LBB0_37 ## %bb.74: ## in Loop: Header=BB0_71 Depth=3 cmpl $8, -1080(%rbp) jne LBB0_70 ## %bb.75: ## in Loop: Header=BB0_71 Depth=3 movl -1156(%rbp), %edi addl -72(%rbp), %edi ## 4-byte Folded Reload callq _FT_STREAM_SEEK testq %rax, %rax jne LBB0_10 ## %bb.76: ## in Loop: Header=BB0_71 Depth=3 movq _winpe_rsrc_data_entry_fields@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -1024(%rbp), %rsi callq _FT_STREAM_READ_FIELDS testq %rax, %rax jne LBB0_10 ## %bb.77: ## in Loop: Header=BB0_71 Depth=3 movslq -936(%rbp), %rdi callq _FT_TRACE2 movl (%r13), %eax cmpl %eax, -64(%rbp) ## 4-byte Folded Reload jne LBB0_69 ## %bb.78: ## in Loop: Header=BB0_71 Depth=3 movq 8(%r13), %rdi callq _FT_NEW testq %rax, %rax movq %r14, %rcx jne LBB0_92 ## %bb.79: ## in Loop: Header=BB0_71 Depth=3 movl -944(%rbp), %eax addl -128(%rbp), %eax subl -136(%rbp), %eax movq 8(%r13), %rdi movl %eax, (%rdi) movl -940(%rbp), %eax movl %eax, 4(%rdi) movq -80(%rbp), %rsi ## 8-byte Reload callq _fnt_font_load testq %rax, %rax jne LBB0_108 ## %bb.80: ## in Loop: Header=BB0_71 Depth=3 movslq -352(%rbp), %rdi callq _FT_TRACE2 movl (%r13), %eax xorl %r14d, %r14d jmp LBB0_69 LBB0_81: ## in Loop: Header=BB0_62 Depth=2 movq -56(%rbp), %rdx ## 8-byte Reload incl %edx movl -536(%rbp), %eax addl -540(%rbp), %eax movq %rdx, %rcx movq %rdx, -56(%rbp) ## 8-byte Spill cmpl %eax, %edx jl LBB0_62 LBB0_82: ## in Loop: Header=BB0_55 Depth=1 movq -48(%rbp), %rdx ## 8-byte Reload incl %edx movl -640(%rbp), %eax addl -644(%rbp), %eax movq %rdx, %rcx movq %rdx, -48(%rbp) ## 8-byte Spill cmpl %eax, %edx jl LBB0_55 LBB0_83: movq %r14, %rax jmp LBB0_85 LBB0_47: movq _Invalid_Argument@GOTPCREL(%rip), %rax jmp LBB0_38 LBB0_84: xorl %eax, %eax callq _FT_GET_USHORT_LE movl -72(%rbp), %ebx ## 4-byte Reload movl %ebx, %ecx shll %cl, %eax movq 8(%r13), %rcx movl %eax, (%rcx) xorl %eax, %eax callq _FT_GET_USHORT_LE movl %ebx, %ecx shll %cl, %eax movq 8(%r13), %rcx movl %eax, 4(%rcx) movq -80(%rbp), %rbx ## 8-byte Reload addq $8, 8(%rbx) xorl %eax, %eax callq _FT_FRAME_EXIT movq 8(%r13), %rdi movq %rbx, %rsi callq _fnt_font_load LBB0_85: movq -64(%rbp), %rbx ## 8-byte Reload LBB0_86: movl (%r13), %ecx testl %ecx, %ecx je LBB0_93 ## %bb.87: cmpl %ecx, %ebx jge LBB0_94 LBB0_88: testq %rax, %rax je LBB0_91 LBB0_89: movq %rax, %rbx movq %r13, %rdi callq _fnt_font_done LBB0_90: movq %rbx, %rcx jmp LBB0_92 LBB0_91: xorl %ecx, %ecx LBB0_92: movq %rcx, %rax addq $1192, %rsp ## imm = 0x4A8 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_93: leaq L_.str.14(%rip), %rdi callq _FT_TRACE2 movq _Invalid_File_Format@GOTPCREL(%rip), %rax jmp LBB0_95 LBB0_94: movq _Invalid_Argument@GOTPCREL(%rip), %rax LBB0_95: movl (%rax), %edi callq _FT_THROW movq %rax, %rbx jmp LBB0_90 LBB0_108: movq %rax, %rcx movq %rax, %rbx movq %rcx, %rdi callq _FT_TRACE2 movq %rbx, %rax jmp LBB0_89 .cfi_endproc ## -- End function .comm _winmz_header_fields,4,2 ## @winmz_header_fields .comm _Unknown_File_Format,4,2 ## @Unknown_File_Format .comm _WINFNT_MZ_MAGIC,8,3 ## @WINFNT_MZ_MAGIC .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "MZ signature found\n" .comm _winne_header_fields,4,2 ## @winne_header_fields .comm _WINFNT_NE_MAGIC,8,3 ## @WINFNT_NE_MAGIC L_.str.1: ## @.str.1 .asciz "NE signature found\n" L_.str.2: ## @.str.2 .asciz "invalid alignment shift count for resource data\n" .comm _Invalid_File_Format,4,2 ## @Invalid_File_Format L_.str.3: ## @.str.3 .asciz "this file doesn't contain any FNT resources\n" L_.str.4: ## @.str.4 .asciz "invalid number of faces\n" .comm _Invalid_Argument,4,2 ## @Invalid_Argument .comm _WINFNT_PE_MAGIC,8,3 ## @WINFNT_PE_MAGIC L_.str.5: ## @.str.5 .asciz "PE signature found\n" .comm _winpe32_header_fields,4,2 ## @winpe32_header_fields L_.str.7: ## @.str.7 .asciz "this file has an invalid PE header\n" .comm _winpe32_section_fields,4,2 ## @winpe32_section_fields L_.str.9: ## @.str.9 .asciz "this file doesn't contain any resources\n" .comm _winpe_rsrc_dir_fields,4,2 ## @winpe_rsrc_dir_fields .comm _winpe_rsrc_dir_entry_fields,4,2 ## @winpe_rsrc_dir_entry_fields .comm _winpe_rsrc_data_entry_fields,4,2 ## @winpe_rsrc_data_entry_fields L_.str.14: ## @.str.14 .asciz "this file doesn't contain any RT_FONT resources\n" .no_dead_strip _fnt_face_get_dll_font .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fnt_face_get_dll_font _fnt_face_get_dll_font: ; @fnt_face_get_dll_font .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 sub sp, sp, #1168 mov x22, x1 mov x19, x0 bl _FT_FACE ldr x21, [x0, #8] mov x0, x19 bl _FT_FACE str xzr, [x19, #8] mov x0, x22 bl _FT_ABS mov x23, x0 mov w0, #0 bl _FT_STREAM_SEEK ; implicit-def: $x20 cbnz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _winmz_header_fields@GOTPAGE Lloh1: ldr x8, [x8, _winmz_header_fields@GOTPAGEOFF] Lloh2: ldr w0, [x8] sub x1, x29, #192 bl _FT_STREAM_READ_FIELDS ; implicit-def: $x20 cbz x0, LBB0_3 LBB0_2: mov x0, x20 add sp, sp, #1168 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_3: Lloh3: adrp x24, _Unknown_File_Format@GOTPAGE Lloh4: ldr x24, [x24, _Unknown_File_Format@GOTPAGEOFF] ldr w0, [x24] bl _FT_ERR mov x20, x0 ldur x8, [x29, #-192] Lloh5: adrp x9, _WINFNT_MZ_MAGIC@GOTPAGE Lloh6: ldr x9, [x9, _WINFNT_MZ_MAGIC@GOTPAGEOFF] Lloh7: ldr x9, [x9] cmp x8, x9 b.ne LBB0_75 ; %bb.4: Lloh8: adrp x0, l_.str@PAGE Lloh9: add x0, x0, l_.str@PAGEOFF bl _FT_TRACE2 ldur w0, [x29, #-184] bl _FT_STREAM_SEEK cbnz x0, LBB0_2 ; %bb.5: Lloh10: adrp x8, _winne_header_fields@GOTPAGE Lloh11: ldr x8, [x8, _winne_header_fields@GOTPAGEOFF] Lloh12: ldr w0, [x8] add x1, sp, #952 bl _FT_STREAM_READ_FIELDS cbnz x0, LBB0_2 ; %bb.6: and w26, w23, #0xffff ldr w0, [x24] bl _FT_ERR mov x20, x0 ldr x8, [sp, #952] Lloh13: adrp x9, _WINFNT_NE_MAGIC@GOTPAGE Lloh14: ldr x9, [x9, _WINFNT_NE_MAGIC@GOTPAGEOFF] Lloh15: ldr x9, [x9] cmp x8, x9 b.ne LBB0_11 ; %bb.7: ldur w8, [x29, #-184] ldr w9, [sp, #964] add w23, w9, w8 Lloh16: adrp x0, l_.str.1@PAGE Lloh17: add x0, x0, l_.str.1@PAGEOFF bl _FT_TRACE2 mov x0, x23 bl _FT_STREAM_SEEK cbnz x0, LBB0_2 ; %bb.8: ldr w8, [sp, #968] ldr w9, [sp, #964] sub w0, w8, w9 bl _FT_FRAME_ENTER cbnz x0, LBB0_2 ; %bb.9: bl _FT_GET_USHORT_LE cmp w0, #16 b.le LBB0_23 ; %bb.10: Lloh18: adrp x0, l_.str.2@PAGE Lloh19: add x0, x0, l_.str.2@PAGEOFF b LBB0_78 LBB0_11: Lloh20: adrp x22, _WINFNT_PE_MAGIC@GOTPAGE Lloh21: ldr x22, [x22, _WINFNT_PE_MAGIC@GOTPAGEOFF] ldr x9, [x22] cmp x8, x9 b.ne LBB0_73 ; %bb.12: Lloh22: adrp x0, l_.str.5@PAGE Lloh23: add x0, x0, l_.str.5@PAGEOFF bl _FT_TRACE2 ldur w0, [x29, #-184] bl _FT_STREAM_SEEK cbnz x0, LBB0_2 ; %bb.13: Lloh24: adrp x8, _winpe32_header_fields@GOTPAGE Lloh25: ldr x8, [x8, _winpe32_header_fields@GOTPAGEOFF] Lloh26: ldr w0, [x8] add x1, sp, #848 bl _FT_STREAM_READ_FIELDS cbnz x0, LBB0_2 ; %bb.14: ldrsw x0, [sp, #944] bl _FT_TRACE2 ldr x8, [sp, #848] ldr x9, [x22] Lloh27: adrp x22, l_.str.7@PAGE Lloh28: add x22, x22, l_.str.7@PAGEOFF cmp x8, x9 b.ne LBB0_40 ; %bb.15: ldr w8, [sp, #868] cmp w8, #332 b.ne LBB0_40 ; %bb.16: ldr w8, [sp, #876] cmp w8, #224 b.ne LBB0_40 ; %bb.17: ldr w8, [sp, #880] cmp w8, #267 b.ne LBB0_40 ; %bb.18: str wzr, [x19] ldr w8, [sp, #872] cmp w8, #1 b.lt LBB0_39 ; %bb.19: mov w23, #0 Lloh29: adrp x24, _winpe32_section_fields@GOTPAGE Lloh30: ldr x24, [x24, _winpe32_section_fields@GOTPAGEOFF] Lloh31: adrp x22, l_.str.9@PAGE Lloh32: add x22, x22, l_.str.9@PAGEOFF LBB0_20: ; =>This Inner Loop Header: Depth=1 ldr w0, [x24] add x1, sp, #744 bl _FT_STREAM_READ_FIELDS cbnz x0, LBB0_2 ; %bb.21: ; in Loop: Header=BB0_20 Depth=1 ldrsw x0, [sp, #808] bl _FT_TRACE2 ldr x8, [sp, #888] ldr x9, [sp, #800] cmp x8, x9 b.eq LBB0_41 ; %bb.22: ; in Loop: Header=BB0_20 Depth=1 add w23, w23, #1 ldr w8, [sp, #872] cmp w23, w8 b.lt LBB0_20 b LBB0_40 LBB0_23: str w0, [sp, #12] ; 4-byte Folded Spill bl _FT_GET_USHORT_LE mov x25, x0 cbz w0, LBB0_27 ; %bb.24: mov w27, #32776 mov w28, #12 orr w23, wzr, #0x4 LBB0_25: ; =>This Inner Loop Header: Depth=1 bl _FT_GET_USHORT_LE mov x24, x0 cmp w25, w27 b.eq LBB0_28 ; %bb.26: ; in Loop: Header=BB0_25 Depth=1 madd w8, w24, w28, w23 ldr x9, [x21, #8] add x8, x9, w8, sxtw str x8, [x21, #8] bl _FT_GET_USHORT_LE mov x25, x0 cbnz w0, LBB0_25 LBB0_27: mov w24, #0 b LBB0_29 LBB0_28: bl _FT_STREAM_POS ldr w8, [x21, #8] ldr w9, [x21, #16] sub w8, w8, w9 add w8, w0, w8 add w25, w8, #4 LBB0_29: bl _FT_FRAME_EXIT Lloh33: adrp x0, l_.str.3@PAGE Lloh34: add x0, x0, l_.str.3@PAGEOFF cbz w24, LBB0_78 ; %bb.30: cbz w25, LBB0_78 ; %bb.31: mov w8, #118 smull x8, w24, w8 ldrsw x9, [x21] cmp x8, x9 b.ls LBB0_33 ; %bb.32: Lloh35: adrp x0, l_.str.4@PAGE Lloh36: add x0, x0, l_.str.4@PAGEOFF b LBB0_78 LBB0_33: str w24, [x19] tbnz x22, #63, LBB0_2 ; %bb.34: cmp w26, w24 b.ge LBB0_80 ; %bb.35: ldr x0, [x19, #8] bl _FT_NEW cbnz x0, LBB0_2 ; %bb.36: mov w8, #12 madd w0, w26, w8, w25 bl _FT_STREAM_SEEK cbnz x0, LBB0_75 ; %bb.37: mov w0, #12 bl _FT_FRAME_ENTER cbnz x0, LBB0_75 ; %bb.38: bl _FT_GET_USHORT_LE ldr w20, [sp, #12] ; 4-byte Folded Reload lsl w8, w0, w20 ldr x9, [x19, #8] str w8, [x9] bl _FT_GET_USHORT_LE lsl w8, w0, w20 ldr x9, [x19, #8] str w8, [x9, #4] ldr x8, [x21, #8] add x8, x8, #8 str x8, [x21, #8] bl _FT_FRAME_EXIT ldr x0, [x19, #8] mov x1, x21 bl _fnt_font_load mov x20, x0 b LBB0_73 LBB0_39: Lloh37: adrp x22, l_.str.9@PAGE Lloh38: add x22, x22, l_.str.9@PAGEOFF LBB0_40: mov x0, x22 b LBB0_78 LBB0_41: ldrsw x0, [sp, #792] bl _FT_TRACE2 ldr w0, [sp, #808] bl _FT_STREAM_SEEK cbnz x0, LBB0_2 ; %bb.42: Lloh39: adrp x23, _winpe_rsrc_dir_fields@GOTPAGE Lloh40: ldr x23, [x23, _winpe_rsrc_dir_fields@GOTPAGEOFF] ldr w0, [x23] add x1, sp, #640 bl _FT_STREAM_READ_FIELDS cbnz x0, LBB0_2 ; %bb.43: ldr w8, [sp, #708] ldr w9, [sp, #712] add w8, w9, w8 cmp w8, #1 b.lt LBB0_73 ; %bb.44: mov w24, #0 ldr w8, [sp, #808] str w8, [sp, #12] ; 4-byte Folded Spill add w8, w8, #16 str w8, [sp, #8] ; 4-byte Folded Spill Lloh41: adrp x28, _winpe_rsrc_dir_entry_fields@GOTPAGE Lloh42: ldr x28, [x28, _winpe_rsrc_dir_entry_fields@GOTPAGEOFF] LBB0_45: ; =>This Loop Header: Depth=1 ; Child Loop BB0_52 Depth 2 ; Child Loop BB0_61 Depth 3 ldr w8, [sp, #8] ; 4-byte Folded Reload add w0, w8, w24, lsl #3 bl _FT_STREAM_SEEK cbnz x0, LBB0_2 ; %bb.46: ; in Loop: Header=BB0_45 Depth=1 ldr w0, [x28] add x1, sp, #328 bl _FT_STREAM_READ_FIELDS cbnz x0, LBB0_2 ; %bb.47: ; in Loop: Header=BB0_45 Depth=1 ldr w8, [sp, #404] tbz w8, #31, LBB0_79 ; %bb.48: ; in Loop: Header=BB0_45 Depth=1 and w8, w8, #0x7fffffff str w8, [sp, #404] ldr w9, [sp, #808] add w22, w9, w8 mov x0, x22 bl _FT_STREAM_SEEK cbnz x0, LBB0_2 ; %bb.49: ; in Loop: Header=BB0_45 Depth=1 ldr w0, [x23] add x1, sp, #536 bl _FT_STREAM_READ_FIELDS cbnz x0, LBB0_2 ; %bb.50: ; in Loop: Header=BB0_45 Depth=1 ldr w8, [sp, #604] ldr w9, [sp, #608] add w8, w9, w8 cmp w8, #1 b.lt LBB0_72 ; %bb.51: ; in Loop: Header=BB0_45 Depth=1 mov w27, #0 add w8, w22, #16 str w8, [sp, #4] ; 4-byte Folded Spill LBB0_52: ; Parent Loop BB0_45 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_61 Depth 3 ldr w8, [sp, #4] ; 4-byte Folded Reload add w0, w8, w27, lsl #3 bl _FT_STREAM_SEEK cbnz x0, LBB0_2 ; %bb.53: ; in Loop: Header=BB0_52 Depth=2 ldr w0, [x28] add x1, sp, #224 bl _FT_STREAM_READ_FIELDS cbnz x0, LBB0_2 ; %bb.54: ; in Loop: Header=BB0_52 Depth=2 ldr w8, [sp, #300] tbz w8, #31, LBB0_79 ; %bb.55: ; in Loop: Header=BB0_52 Depth=2 and w8, w8, #0x7fffffff str w8, [sp, #300] ldr w9, [sp, #808] add w22, w9, w8 mov x0, x22 bl _FT_STREAM_SEEK cbnz x0, LBB0_2 ; %bb.56: ; in Loop: Header=BB0_52 Depth=2 ldr w0, [x23] add x1, sp, #432 bl _FT_STREAM_READ_FIELDS cbnz x0, LBB0_2 ; %bb.57: ; in Loop: Header=BB0_52 Depth=2 ldr w8, [sp, #500] ldr w9, [sp, #504] add w8, w9, w8 cmp w8, #1 b.lt LBB0_71 ; %bb.58: ; in Loop: Header=BB0_52 Depth=2 mov w25, #0 add w22, w22, #16 b LBB0_61 LBB0_59: ; in Loop: Header=BB0_61 Depth=3 add w8, w8, #1 str w8, [x19] LBB0_60: ; in Loop: Header=BB0_61 Depth=3 add w25, w25, #1 ldr w8, [sp, #500] ldr w9, [sp, #504] add w22, w22, #8 add w8, w9, w8 cmp w25, w8 b.ge LBB0_71 LBB0_61: ; Parent Loop BB0_45 Depth=1 ; Parent Loop BB0_52 Depth=2 ; => This Inner Loop Header: Depth=3 mov x0, x22 bl _FT_STREAM_SEEK cbnz x0, LBB0_2 ; %bb.62: ; in Loop: Header=BB0_61 Depth=3 ldr w0, [x28] add x1, sp, #120 bl _FT_STREAM_READ_FIELDS cbnz x0, LBB0_2 ; %bb.63: ; in Loop: Header=BB0_61 Depth=3 ldr w8, [sp, #300] tbnz w8, #31, LBB0_79 ; %bb.64: ; in Loop: Header=BB0_61 Depth=3 ldr w8, [sp, #376] cmp w8, #8 b.ne LBB0_60 ; %bb.65: ; in Loop: Header=BB0_61 Depth=3 ldr w8, [sp, #196] ldr w9, [sp, #12] ; 4-byte Folded Reload add w0, w8, w9 bl _FT_STREAM_SEEK cbnz x0, LBB0_2 ; %bb.66: ; in Loop: Header=BB0_61 Depth=3 Lloh43: adrp x8, _winpe_rsrc_data_entry_fields@GOTPAGE Lloh44: ldr x8, [x8, _winpe_rsrc_data_entry_fields@GOTPAGEOFF] Lloh45: ldr w0, [x8] add x1, sp, #16 bl _FT_STREAM_READ_FIELDS cbnz x0, LBB0_2 ; %bb.67: ; in Loop: Header=BB0_61 Depth=3 ldrsw x0, [sp, #104] bl _FT_TRACE2 ldr w8, [x19] cmp w26, w8 b.ne LBB0_59 ; %bb.68: ; in Loop: Header=BB0_61 Depth=3 ldr x0, [x19, #8] bl _FT_NEW cbnz x0, LBB0_2 ; %bb.69: ; in Loop: Header=BB0_61 Depth=3 ldr w8, [sp, #96] ldr w9, [sp, #808] ldr w10, [sp, #800] add w8, w8, w9 sub w8, w8, w10 ldr x0, [x19, #8] str w8, [x0] ldr w8, [sp, #100] str w8, [x0, #4] mov x1, x21 bl _fnt_font_load mov x20, x0 cbnz x0, LBB0_82 ; %bb.70: ; in Loop: Header=BB0_61 Depth=3 ldrsw x0, [sp, #272] bl _FT_TRACE2 ldr w8, [x19] b LBB0_59 LBB0_71: ; in Loop: Header=BB0_52 Depth=2 add w27, w27, #1 ldr w8, [sp, #604] ldr w9, [sp, #608] add w8, w9, w8 cmp w27, w8 b.lt LBB0_52 LBB0_72: ; in Loop: Header=BB0_45 Depth=1 add w24, w24, #1 ldr w8, [sp, #708] ldr w9, [sp, #712] add w8, w9, w8 cmp w24, w8 b.lt LBB0_45 LBB0_73: ldr w8, [x19] cbz w8, LBB0_77 ; %bb.74: cmp w26, w8 b.ge LBB0_80 LBB0_75: cbz x20, LBB0_2 LBB0_76: mov x0, x19 bl _fnt_font_done b LBB0_2 LBB0_77: Lloh46: adrp x0, l_.str.14@PAGE Lloh47: add x0, x0, l_.str.14@PAGEOFF LBB0_78: bl _FT_TRACE2 LBB0_79: Lloh48: adrp x8, _Invalid_File_Format@GOTPAGE Lloh49: ldr x8, [x8, _Invalid_File_Format@GOTPAGEOFF] b LBB0_81 LBB0_80: Lloh50: adrp x8, _Invalid_Argument@GOTPAGE Lloh51: ldr x8, [x8, _Invalid_Argument@GOTPAGEOFF] LBB0_81: ldr w0, [x8] bl _FT_THROW mov x20, x0 b LBB0_2 LBB0_82: mov x0, x20 bl _FT_TRACE2 b LBB0_76 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpLdrGot Lloh29, Lloh30 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpLdrGot Lloh39, Lloh40 .loh AdrpLdrGot Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpLdrGot Lloh48, Lloh49 .loh AdrpLdrGot Lloh50, Lloh51 .cfi_endproc ; -- End function .comm _winmz_header_fields,4,2 ; @winmz_header_fields .comm _Unknown_File_Format,4,2 ; @Unknown_File_Format .comm _WINFNT_MZ_MAGIC,8,3 ; @WINFNT_MZ_MAGIC .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "MZ signature found\n" .comm _winne_header_fields,4,2 ; @winne_header_fields .comm _WINFNT_NE_MAGIC,8,3 ; @WINFNT_NE_MAGIC l_.str.1: ; @.str.1 .asciz "NE signature found\n" l_.str.2: ; @.str.2 .asciz "invalid alignment shift count for resource data\n" .comm _Invalid_File_Format,4,2 ; @Invalid_File_Format l_.str.3: ; @.str.3 .asciz "this file doesn't contain any FNT resources\n" l_.str.4: ; @.str.4 .asciz "invalid number of faces\n" .comm _Invalid_Argument,4,2 ; @Invalid_Argument .comm _WINFNT_PE_MAGIC,8,3 ; @WINFNT_PE_MAGIC l_.str.5: ; @.str.5 .asciz "PE signature found\n" .comm _winpe32_header_fields,4,2 ; @winpe32_header_fields l_.str.7: ; @.str.7 .asciz "this file has an invalid PE header\n" .comm _winpe32_section_fields,4,2 ; @winpe32_section_fields l_.str.9: ; @.str.9 .asciz "this file doesn't contain any resources\n" .comm _winpe_rsrc_dir_fields,4,2 ; @winpe_rsrc_dir_fields .comm _winpe_rsrc_dir_entry_fields,4,2 ; @winpe_rsrc_dir_entry_fields .comm _winpe_rsrc_data_entry_fields,4,2 ; @winpe_rsrc_data_entry_fields l_.str.14: ; @.str.14 .asciz "this file doesn't contain any RT_FONT resources\n" .no_dead_strip _fnt_face_get_dll_font .subsections_via_symbols
AnghaBench/Cinder/src/freetype/winfonts/extr_winfnt.c_fnt_face_get_dll_font.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fnt_font_done _fnt_font_done: ## @fnt_font_done .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 callq _FT_FACE movq %r14, %rdi callq _FT_FACE movq (%r14), %rbx testq %rbx, %rbx je LBB0_4 ## %bb.1: movq 8(%rbx), %rdi testq %rdi, %rdi je LBB0_3 ## %bb.2: callq _FT_FRAME_RELEASE LBB0_3: movq (%rbx), %rdi callq _FT_FREE movq %rbx, %rdi callq _FT_FREE movq $0, (%r14) LBB0_4: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _fnt_font_done .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fnt_font_done _fnt_font_done: ; @fnt_font_done .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _FT_FACE mov x0, x19 bl _FT_FACE ldr x20, [x19] cbz x20, LBB0_4 ; %bb.1: ldr x0, [x20, #8] cbz x0, LBB0_3 ; %bb.2: bl _FT_FRAME_RELEASE LBB0_3: ldr x0, [x20] bl _FT_FREE mov x0, x20 bl _FT_FREE str xzr, [x19] LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _fnt_font_done .subsections_via_symbols
AnghaBench/Cinder/src/freetype/winfonts/extr_winfnt.c_fnt_font_done.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fnt_font_load _fnt_font_load: ## @fnt_font_load .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movl 4(%rdi), %edi callq _FT_STREAM_SEEK testq %rax, %rax jne LBB0_12 ## %bb.1: leaq 8(%rbx), %r14 movq _winfnt_header_fields@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r14, %rsi callq _FT_STREAM_READ_FIELDS testq %rax, %rax je LBB0_2 LBB0_12: popq %rbx popq %r14 popq %rbp retq LBB0_2: movl (%r14), %eax movl %eax, %ecx orl $256, %ecx ## imm = 0x100 cmpl $768, %ecx ## imm = 0x300 jne LBB0_3 ## %bb.5: xorl %edi, %edi cmpl $768, %eax ## imm = 0x300 sete %dil callq _FT_BOOL testq %rax, %rax movl $118, %eax movl $148, %ecx cmovel %eax, %ecx cmpl %ecx, 12(%rbx) jge LBB0_6 LBB0_3: leaq L_.str(%rip), %rdi LBB0_4: callq _FT_TRACE2 movq _Unknown_File_Format@GOTPCREL(%rip), %rax movl (%rax), %edi popq %rbx popq %r14 popq %rbp jmp _FT_THROW ## TAILCALL LBB0_6: cmpl $512, (%r14) ## imm = 0x200 jne LBB0_8 ## %bb.7: xorps %xmm0, %xmm0 movups %xmm0, 40(%rbx) movups %xmm0, 24(%rbx) movq $0, 56(%rbx) LBB0_8: testb $1, 16(%rbx) jne LBB0_9 ## %bb.10: movl 4(%rbx), %edi callq _FT_STREAM_SEEK testq %rax, %rax jne LBB0_12 ## %bb.11: movl (%rbx), %esi movl 12(%rbx), %edi callq _FT_FRAME_EXTRACT jmp LBB0_12 LBB0_9: leaq L_.str.1(%rip), %rdi jmp LBB0_4 .cfi_endproc ## -- End function .comm _winfnt_header_fields,4,2 ## @winfnt_header_fields .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz " not a Windows FNT file\n" .comm _Unknown_File_Format,4,2 ## @Unknown_File_Format L_.str.1: ## @.str.1 .asciz "[can't handle vector FNT fonts]\n" .no_dead_strip _fnt_font_load .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fnt_font_load _fnt_font_load: ; @fnt_font_load .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w0, [x0, #4] bl _FT_STREAM_SEEK cbnz x0, LBB0_2 ; %bb.1: add x20, x19, #8 Lloh0: adrp x8, _winfnt_header_fields@GOTPAGE Lloh1: ldr x8, [x8, _winfnt_header_fields@GOTPAGEOFF] Lloh2: ldr w0, [x8] mov x1, x20 bl _FT_STREAM_READ_FIELDS cbz x0, LBB0_3 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_3: ldr w8, [x20] orr w9, w8, #0x100 cmp w9, #768 b.ne LBB0_5 ; %bb.4: cmp w8, #768 cset w0, eq bl _FT_BOOL cmp x0, #0 mov w8, #148 mov w9, #118 csel w8, w9, w8, eq ldr w9, [x19, #12] cmp w9, w8 b.ge LBB0_7 LBB0_5: Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF LBB0_6: bl _FT_TRACE2 Lloh5: adrp x8, _Unknown_File_Format@GOTPAGE Lloh6: ldr x8, [x8, _Unknown_File_Format@GOTPAGEOFF] Lloh7: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _FT_THROW LBB0_7: ldr w8, [x20] cmp w8, #512 b.ne LBB0_9 ; %bb.8: str xzr, [x19, #56] movi.2d v0, #0000000000000000 stur q0, [x19, #40] stur q0, [x19, #24] LBB0_9: ldrb w8, [x19, #16] tbnz w8, #0, LBB0_12 ; %bb.10: ldr w0, [x19, #4] bl _FT_STREAM_SEEK cbnz x0, LBB0_2 ; %bb.11: ldr w0, [x19, #12] ldr w1, [x19] bl _FT_FRAME_EXTRACT b LBB0_2 LBB0_12: Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF b LBB0_6 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _winfnt_header_fields,4,2 ; @winfnt_header_fields .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz " not a Windows FNT file\n" .comm _Unknown_File_Format,4,2 ; @Unknown_File_Format l_.str.1: ; @.str.1 .asciz "[can't handle vector FNT fonts]\n" .no_dead_strip _fnt_font_load .subsections_via_symbols
AnghaBench/Cinder/src/freetype/winfonts/extr_winfnt.c_fnt_font_load.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function winfnt_get_header _winfnt_get_header: ## @winfnt_get_header .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movl (%rax), %eax movl %eax, (%rsi) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _winfnt_get_header .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function winfnt_get_header _winfnt_get_header: ; @winfnt_get_header .cfi_startproc ; %bb.0: ldr x8, [x0] ldr w8, [x8] str w8, [x1] mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _winfnt_get_header .subsections_via_symbols
AnghaBench/Cinder/src/freetype/winfonts/extr_winfnt.c_winfnt_get_header.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function winfnt_get_service _winfnt_get_service: ## @winfnt_get_service .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx callq _FT_UNUSED movq _winfnt_services@GOTPCREL(%rip), %rax movl (%rax), %edi movq %rbx, %rsi addq $8, %rsp popq %rbx popq %rbp jmp _ft_service_list_lookup ## TAILCALL .cfi_endproc ## -- End function .comm _winfnt_services,4,2 ## @winfnt_services .no_dead_strip _winfnt_get_service .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function winfnt_get_service _winfnt_get_service: ; @winfnt_get_service .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 bl _FT_UNUSED Lloh0: adrp x8, _winfnt_services@GOTPAGE Lloh1: ldr x8, [x8, _winfnt_services@GOTPAGEOFF] Lloh2: ldr w0, [x8] mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ft_service_list_lookup .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _winfnt_services,4,2 ; @winfnt_services .no_dead_strip _winfnt_get_service .subsections_via_symbols
AnghaBench/Cinder/src/freetype/winfonts/extr_winfnt.c_winfnt_get_service.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _getopt ## -- Begin function getopt .p2align 4, 0x90 _getopt: ## @getopt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _optarg@GOTPCREL(%rip), %rax movq $0, (%rax) movq _opterr@GOTPCREL(%rip), %rax movq $0, (%rax) movq _optopt@GOTPCREL(%rip), %r13 movl $0, (%r13) movq _optind@GOTPCREL(%rip), %rbx movslq (%rbx), %rax cmpl %edi, %eax jge LBB0_6 ## %bb.1: movq %rsi, %r15 movl %edi, %r12d movq (%rsi,%rax,8), %rdi testq %rdi, %rdi je LBB0_6 ## %bb.2: cmpb $45, (%rdi) jne LBB0_6 ## %bb.3: movq %rdx, %r14 leaq L_.str(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_6 ## %bb.4: movslq (%rbx), %rax movq (%r15,%rax,8), %rdi leaq L_.str.1(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_5 ## %bb.7: movq _optcursor@GOTPCREL(%rip), %rcx movq (%rcx), %rdx testq %rdx, %rdx je LBB0_9 ## %bb.8: movb (%rdx), %al testb %al, %al jne LBB0_10 LBB0_9: movslq (%rbx), %rax movq (%r15,%rax,8), %rax leaq 1(%rax), %rdx movq %rdx, (%rcx) movb 1(%rax), %al LBB0_10: movq %rdx, -48(%rbp) ## 8-byte Spill movsbl %al, %ebx movl %ebx, (%r13) movq %r14, %rdi movl %ebx, %esi callq _strchr testq %rax, %rax je LBB0_11 ## %bb.12: cmpb $58, 1(%rax) jne LBB0_13 ## %bb.14: movq -48(%rbp), %rdx ## 8-byte Reload leaq 1(%rdx), %rcx movq _optcursor@GOTPCREL(%rip), %rdi movq %rcx, (%rdi) movq _optarg@GOTPCREL(%rip), %rsi movq %rcx, (%rsi) cmpb $0, 1(%rdx) jne LBB0_20 ## %bb.15: cmpb $58, 2(%rax) jne LBB0_16 ## %bb.19: movq $0, (%rsi) jmp LBB0_20 LBB0_5: incl (%rbx) LBB0_6: movq _optcursor@GOTPCREL(%rip), %rax movq $0, (%rax) movl $-1, %ebx LBB0_22: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_11: movl $63, %ebx LBB0_13: movq _optcursor@GOTPCREL(%rip), %rcx movq -48(%rbp), %rdx ## 8-byte Reload leaq 1(%rdx), %rax movq %rax, (%rcx) cmpb $0, 1(%rdx) jne LBB0_22 jmp LBB0_21 LBB0_16: movq _optind@GOTPCREL(%rip), %rdx movslq (%rdx), %rax leal 1(%rax), %ecx movl %ecx, (%rdx) cmpl %r12d, %ecx jge LBB0_18 ## %bb.17: movq 8(%r15,%rax,8), %rax movq %rax, (%rsi) jmp LBB0_20 LBB0_18: movq $0, (%rsi) xorl %eax, %eax cmpb $58, (%r14) setne %al leal (%rax,%rax,4), %ebx addl $58, %ebx LBB0_20: movq $0, (%rdi) LBB0_21: movq _optind@GOTPCREL(%rip), %rax incl (%rax) jmp LBB0_22 .cfi_endproc ## -- End function .comm _optarg,8,3 ## @optarg .comm _opterr,8,3 ## @opterr .comm _optopt,4,2 ## @optopt .comm _optind,4,2 ## @optind .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "-" L_.str.1: ## @.str.1 .asciz "--" .comm _optcursor,8,3 ## @optcursor .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _getopt ; -- Begin function getopt .p2align 2 _getopt: ; @getopt .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x24, _optarg@GOTPAGE Lloh1: ldr x24, [x24, _optarg@GOTPAGEOFF] str xzr, [x24] Lloh2: adrp x8, _opterr@GOTPAGE Lloh3: ldr x8, [x8, _opterr@GOTPAGEOFF] Lloh4: adrp x26, _optopt@GOTPAGE Lloh5: ldr x26, [x26, _optopt@GOTPAGEOFF] Lloh6: str xzr, [x8] str wzr, [x26] Lloh7: adrp x23, _optind@GOTPAGE Lloh8: ldr x23, [x23, _optind@GOTPAGEOFF] ldrsw x8, [x23] cmp w8, w0 b.ge LBB0_14 ; %bb.1: mov x20, x1 mov x21, x0 ldr x0, [x1, x8, lsl #3] cbz x0, LBB0_14 ; %bb.2: ldrb w8, [x0] cmp w8, #45 b.ne LBB0_14 ; %bb.3: mov x19, x2 Lloh9: adrp x1, l_.str@PAGE Lloh10: add x1, x1, l_.str@PAGEOFF bl _strcmp cbz x0, LBB0_14 ; %bb.4: ldrsw x8, [x23] ldr x0, [x20, x8, lsl #3] Lloh11: adrp x1, l_.str.1@PAGE Lloh12: add x1, x1, l_.str.1@PAGEOFF bl _strcmp cbz x0, LBB0_13 ; %bb.5: Lloh13: adrp x25, _optcursor@GOTPAGE Lloh14: ldr x25, [x25, _optcursor@GOTPAGEOFF] ldr x27, [x25] cbz x27, LBB0_7 ; %bb.6: ldrb w8, [x27] cbnz w8, LBB0_8 LBB0_7: ldrsw x8, [x23] ldr x8, [x20, x8, lsl #3] add x27, x8, #1 str x27, [x25] ldrb w8, [x8, #1] LBB0_8: sxtb w22, w8 str w22, [x26] mov x0, x19 mov x1, x22 bl _strchr cbz x0, LBB0_16 ; %bb.9: ldrb w8, [x0, #1] cmp w8, #58 b.ne LBB0_17 ; %bb.10: add x8, x27, #1 str x8, [x25] str x8, [x24] ldrb w8, [x27, #1] cbnz w8, LBB0_21 ; %bb.11: ldrb w8, [x0, #2] cmp w8, #58 b.ne LBB0_18 ; %bb.12: str xzr, [x24] b LBB0_21 LBB0_13: ldr w8, [x23] add w8, w8, #1 str w8, [x23] LBB0_14: Lloh15: adrp x8, _optcursor@GOTPAGE Lloh16: ldr x8, [x8, _optcursor@GOTPAGEOFF] Lloh17: str xzr, [x8] mov w22, #-1 LBB0_15: mov x0, x22 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_16: mov w22, #63 LBB0_17: add x8, x27, #1 str x8, [x25] ldrb w8, [x27, #1] cbnz w8, LBB0_15 b LBB0_22 LBB0_18: ldrsw x8, [x23] add x8, x8, #1 str w8, [x23] cmp w8, w21 b.ge LBB0_20 ; %bb.19: ldr x8, [x20, x8, lsl #3] str x8, [x24] b LBB0_21 LBB0_20: str xzr, [x24] ldrb w8, [x19] mov w9, #63 cmp w8, #58 csel w22, w8, w9, eq LBB0_21: str xzr, [x25] LBB0_22: ldr w8, [x23] add w8, w8, #1 str w8, [x23] b LBB0_15 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGotStr Lloh2, Lloh3, Lloh6 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _optarg,8,3 ; @optarg .comm _opterr,8,3 ; @opterr .comm _optopt,4,2 ; @optopt .comm _optind,4,2 ; @optind .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "-" l_.str.1: ; @.str.1 .asciz "--" .comm _optcursor,8,3 ; @optcursor .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_getopt.c_getopt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _getopt_long ## -- Begin function getopt_long .p2align 4, 0x90 _getopt_long: ## @getopt_long .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _optarg@GOTPCREL(%rip), %rax movq $0, (%rax) movq _optopt@GOTPCREL(%rip), %rax movq $0, (%rax) movq _optind@GOTPCREL(%rip), %r14 movslq (%r14), %rax movl $-1, %r15d cmpl %edi, %eax jge LBB0_22 ## %bb.1: movq %rdx, %r12 movq %rsi, %rbx movl %edi, %r13d movq %rcx, -64(%rbp) ## 8-byte Spill movq %r8, -72(%rbp) ## 8-byte Spill movq (%rsi,%rax,8), %rdi callq _strlen cmpl $3, %eax jl LBB0_23 ## %bb.2: movslq (%r14), %rax movq (%rbx,%rax,8), %rdi leaq L_.str(%rip), %rsi movl $2, %edx callq _strncmp testq %rax, %rax je LBB0_3 LBB0_23: movl %r13d, %edi movq %rbx, %rsi movq %r12, %rdx addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _getopt ## TAILCALL LBB0_3: movslq (%r14), %rax movq %rbx, -56(%rbp) ## 8-byte Spill movq (%rbx,%rax,8), %rbx addq $2, %rbx leaq L_.str.1(%rip), %rsi movq %rbx, %rdi callq _strcspn movq %rax, %r15 movq -64(%rbp), %rax ## 8-byte Reload movq (%rax), %rdi testq %rdi, %rdi je LBB0_7 ## %bb.4: movl %r13d, -44(%rbp) ## 4-byte Spill xorl %r14d, %r14d xorl %r12d, %r12d movq %rax, %r13 .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rsi movq %r15, %rdx callq _strncmp xorl %ecx, %ecx testq %rax, %rax sete %cl cmoveq %r13, %r12 addl %ecx, %r14d movq 32(%r13), %rdi addq $32, %r13 testq %rdi, %rdi jne LBB0_5 ## %bb.6: cmpl $1, %r14d movq _optind@GOTPCREL(%rip), %r14 movq -64(%rbp), %rdx ## 8-byte Reload jne LBB0_7 ## %bb.8: movq -72(%rbp), %rcx ## 8-byte Reload testq %rcx, %rcx je LBB0_10 ## %bb.9: movq %r12, %rax subq %rdx, %rax shrq $5, %rax movl %eax, (%rcx) LBB0_10: movq 8(%r12), %rax movl 16(%r12), %r15d testq %rax, %rax je LBB0_12 ## %bb.11: movl %r15d, (%rax) xorl %r15d, %r15d LBB0_12: movq 24(%r12), %r12 movq _no_argument@GOTPCREL(%rip), %rax movq (%rax), %r13 movl (%r14), %ebx movslq %ebx, %r14 movq -56(%rbp), %rax ## 8-byte Reload movq (%rax,%r14,8), %rdi movl $61, %esi callq _strchr cmpq %r13, %r12 jne LBB0_13 ## %bb.19: testq %rax, %rax movl $63, %eax cmovnel %eax, %r15d jmp LBB0_20 LBB0_7: movl (%r14), %ebx movl $63, %r15d jmp LBB0_21 LBB0_13: leaq 1(%rax), %rcx testq %rax, %rax movq %rcx, %rdx cmoveq %rax, %rdx movq _optarg@GOTPCREL(%rip), %rsi movq %rdx, (%rsi) movq _required_argument@GOTPCREL(%rip), %rdx cmpq (%rdx), %r12 jne LBB0_20 ## %bb.14: testq %rax, %rax jne LBB0_18 ## %bb.15: incl %ebx cmpl -44(%rbp), %ebx ## 4-byte Folded Reload jge LBB0_16 ## %bb.17: movq -56(%rbp), %rax ## 8-byte Reload movq 8(%rax,%r14,8), %rcx movq %rcx, (%rsi) jmp LBB0_18 LBB0_20: movq _optind@GOTPCREL(%rip), %r14 jmp LBB0_21 LBB0_16: xorl %ecx, %ecx LBB0_18: movq _optind@GOTPCREL(%rip), %r14 testq %rcx, %rcx movl $58, %eax cmovel %eax, %r15d LBB0_21: incl %ebx movl %ebx, (%r14) LBB0_22: movl %r15d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _optarg,8,3 ## @optarg .comm _optopt,8,3 ## @optopt .comm _optind,4,2 ## @optind .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "--" L_.str.1: ## @.str.1 .asciz "=" .comm _no_argument,8,3 ## @no_argument .comm _required_argument,8,3 ## @required_argument .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _getopt_long ; -- Begin function getopt_long .p2align 2 _getopt_long: ; @getopt_long .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x9, _optarg@GOTPAGE Lloh1: ldr x9, [x9, _optarg@GOTPAGEOFF] Lloh2: adrp x8, _optopt@GOTPAGE Lloh3: ldr x8, [x8, _optopt@GOTPAGEOFF] Lloh4: str xzr, [x9] Lloh5: str xzr, [x8] Lloh6: adrp x25, _optind@GOTPAGE Lloh7: ldr x25, [x25, _optind@GOTPAGEOFF] ldrsw x8, [x25] cmp w8, w0 b.ge LBB0_4 ; %bb.1: mov x21, x4 mov x26, x3 mov x23, x2 mov x19, x1 mov x20, x0 ldr x0, [x1, x8, lsl #3] bl _strlen cmp w0, #3 b.lt LBB0_3 ; %bb.2: ldrsw x8, [x25] ldr x0, [x19, x8, lsl #3] Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF mov w2, #2 bl _strncmp cbz x0, LBB0_6 LBB0_3: mov x0, x20 mov x1, x19 mov x2, x23 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _getopt LBB0_4: mov w21, #-1 LBB0_5: mov x0, x21 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_6: ldrsw x8, [x25] ldr x8, [x19, x8, lsl #3] add x23, x8, #2 Lloh10: adrp x1, l_.str.1@PAGE Lloh11: add x1, x1, l_.str.1@PAGEOFF mov x0, x23 bl _strcspn mov x24, x0 ldr x0, [x26] cbz x0, LBB0_16 ; %bb.7: mov w28, #0 mov x27, #0 mov x22, x26 LBB0_8: ; =>This Inner Loop Header: Depth=1 mov x1, x23 mov x2, x24 bl _strncmp cmp x0, #0 csel x27, x22, x27, eq cinc w28, w28, eq ldr x0, [x22, #32]! cbnz x0, LBB0_8 ; %bb.9: cmp w28, #1 b.ne LBB0_16 ; %bb.10: cbz x21, LBB0_12 ; %bb.11: sub x8, x27, x26 lsr x8, x8, #5 str w8, [x21] LBB0_12: ldr x8, [x27, #8] ldr w21, [x27, #16] cbz x8, LBB0_14 ; %bb.13: str w21, [x8] mov w21, #0 LBB0_14: ldr x23, [x27, #24] Lloh12: adrp x8, _no_argument@GOTPAGE Lloh13: ldr x8, [x8, _no_argument@GOTPAGEOFF] Lloh14: ldr x24, [x8] ldrsw x22, [x25] ldr x0, [x19, x22, lsl #3] mov w1, #61 bl _strchr cmp x23, x24 b.ne LBB0_18 ; %bb.15: cmp x0, #0 mov w8, #63 csel w21, w21, w8, eq b LBB0_17 LBB0_16: ldr w22, [x25] mov w21, #63 LBB0_17: add w8, w22, #1 str w8, [x25] b LBB0_5 LBB0_18: cmp x0, #0 csinc x8, xzr, x0, eq Lloh15: adrp x9, _optarg@GOTPAGE Lloh16: ldr x9, [x9, _optarg@GOTPAGEOFF] str x8, [x9] Lloh17: adrp x8, _required_argument@GOTPAGE Lloh18: ldr x8, [x8, _required_argument@GOTPAGEOFF] Lloh19: ldr x8, [x8] cmp x23, x8 b.ne LBB0_17 ; %bb.19: cbz x0, LBB0_21 ; %bb.20: add x8, x0, #1 b LBB0_24 LBB0_21: add w22, w22, #1 cmp w22, w20 b.ge LBB0_23 ; %bb.22: ldr x8, [x19, w22, sxtw #3] str x8, [x9] b LBB0_24 LBB0_23: mov x8, #0 LBB0_24: cmp x8, #0 mov w8, #58 csel w21, w8, w21, eq b LBB0_17 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotStr Lloh2, Lloh3, Lloh5 .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh4 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGot Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _optarg,8,3 ; @optarg .comm _optopt,8,3 ; @optopt .comm _optind,4,2 ; @optind .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "--" l_.str.1: ; @.str.1 .asciz "=" .comm _no_argument,8,3 ; @no_argument .comm _required_argument,8,3 ; @required_argument .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_getopt.c_getopt_long.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function find_coreGL _find_coreGL: ## @find_coreGL .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _GL_VERSION@GOTPCREL(%rip), %rax movl (%rax), %edi callq _glGetString testq %rax, %rax je LBB0_6 ## %bb.1: movq %rax, %rbx leaq L_.str(%rip), %rsi movl $13, %r14d movl $13, %edx movq %rax, %rdi callq _strncmp testq %rax, %rax je LBB0_4 ## %bb.2: leaq L_.str.1(%rip), %rsi movl $13, %r14d movl $13, %edx movq %rbx, %rdi callq _strncmp testq %rax, %rax je LBB0_4 ## %bb.3: leaq L_.str.2(%rip), %rsi movl $10, %r14d movl $10, %edx movq %rbx, %rdi callq _strncmp testq %rax, %rax jne LBB0_5 LBB0_4: addq %r14, %rbx LBB0_5: leaq L_.str.3(%rip), %rsi leaq -56(%rbp), %rdx leaq -52(%rbp), %rcx movq %rbx, %rdi callq _sscanf movl -56(%rbp), %esi movl -52(%rbp), %r10d xorl %eax, %eax cmpl $2, %esi setge %al xorl %ebx, %ebx cmpl $4, %esi setge %bl cmpl $2, %r10d movl $1, %edx movl %eax, %ecx cmovgel %edx, %ecx movl %ecx, -44(%rbp) ## 4-byte Spill movl %ebx, %edi cmovgel %edx, %edi xorl %ecx, %ecx cmpl $3, %esi setge %cl cmovnel %ebx, %edi movl %edi, -48(%rbp) ## 4-byte Spill testl %r10d, %r10d movl %eax, %r9d cmovnsl %edx, %r9d movl %eax, %r13d cmovgl %edx, %r13d movl %ecx, %r12d cmovnsl %edx, %r12d movl %ecx, %r11d cmovgl %edx, %r11d movl %ebx, %r14d cmovnsl %edx, %r14d movl %ebx, %r15d cmovgl %edx, %r15d cmpl $3, %esi cmovnel %ebx, %r14d cmovnel %ebx, %r15d cmpl $2, %esi cmovnel %ecx, %r12d cmovnel %ecx, %r11d cmpl $3, %r10d movl %eax, %ecx cmovgel %edx, %ecx movl %eax, %ebx cmovgl %edx, %ebx movq _GLVersion@GOTPCREL(%rip), %r8 movl %esi, (%r8) cmpl $5, %r10d cmovll %eax, %edx movq _GLVersion@GOTPCREL(%rip), %rdi movl %r10d, 4(%rdi) cmpl $1, %esi cmovnel %eax, %r9d movq _GLAD_GL_VERSION_1_0@GOTPCREL(%rip), %rsi movl %r9d, (%rsi) cmovnel %eax, %r13d movq _GLAD_GL_VERSION_1_1@GOTPCREL(%rip), %rsi movl %r13d, (%rsi) movl -44(%rbp), %edi ## 4-byte Reload cmovnel %eax, %edi movq _GLAD_GL_VERSION_1_2@GOTPCREL(%rip), %rsi movl %edi, (%rsi) cmovnel %eax, %ecx movq _GLAD_GL_VERSION_1_3@GOTPCREL(%rip), %rsi movl %ecx, (%rsi) cmovnel %eax, %ebx movq _GLAD_GL_VERSION_1_4@GOTPCREL(%rip), %rcx movl %ebx, (%rcx) cmovnel %eax, %edx movq _GLAD_GL_VERSION_1_5@GOTPCREL(%rip), %rax movl %edx, (%rax) movq _GLAD_GL_VERSION_2_0@GOTPCREL(%rip), %rax movl %r12d, (%rax) movq _GLAD_GL_VERSION_2_1@GOTPCREL(%rip), %rax movl %r11d, (%rax) movq _GLAD_GL_VERSION_3_0@GOTPCREL(%rip), %rax movl %r14d, (%rax) movq _GLAD_GL_VERSION_3_1@GOTPCREL(%rip), %rax movl %r15d, (%rax) movq _GLAD_GL_VERSION_3_2@GOTPCREL(%rip), %rax movl -48(%rbp), %ecx ## 4-byte Reload movl %ecx, (%rax) LBB0_6: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "OpenGL ES-CM " L_.str.1: ## @.str.1 .asciz "OpenGL ES-CL " L_.str.2: ## @.str.2 .asciz "OpenGL ES " .comm _GL_VERSION,4,2 ## @GL_VERSION L_.str.3: ## @.str.3 .asciz "%d.%d" .comm _GLVersion,8,2 ## @GLVersion .comm _GLAD_GL_VERSION_1_0,4,2 ## @GLAD_GL_VERSION_1_0 .comm _GLAD_GL_VERSION_1_1,4,2 ## @GLAD_GL_VERSION_1_1 .comm _GLAD_GL_VERSION_1_2,4,2 ## @GLAD_GL_VERSION_1_2 .comm _GLAD_GL_VERSION_1_3,4,2 ## @GLAD_GL_VERSION_1_3 .comm _GLAD_GL_VERSION_1_4,4,2 ## @GLAD_GL_VERSION_1_4 .comm _GLAD_GL_VERSION_1_5,4,2 ## @GLAD_GL_VERSION_1_5 .comm _GLAD_GL_VERSION_2_0,4,2 ## @GLAD_GL_VERSION_2_0 .comm _GLAD_GL_VERSION_2_1,4,2 ## @GLAD_GL_VERSION_2_1 .comm _GLAD_GL_VERSION_3_0,4,2 ## @GLAD_GL_VERSION_3_0 .comm _GLAD_GL_VERSION_3_1,4,2 ## @GLAD_GL_VERSION_3_1 .comm _GLAD_GL_VERSION_3_2,4,2 ## @GLAD_GL_VERSION_3_2 .no_dead_strip _find_coreGL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function find_coreGL _find_coreGL: ; @find_coreGL .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _GL_VERSION@GOTPAGE Lloh1: ldr x8, [x8, _GL_VERSION@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _glGetString cbz x0, LBB0_6 ; %bb.1: mov x19, x0 Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov w20, #13 mov w2, #13 bl _strncmp cbz x0, LBB0_4 ; %bb.2: Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF mov w20, #13 mov x0, x19 mov w2, #13 bl _strncmp cbz x0, LBB0_4 ; %bb.3: Lloh7: adrp x1, l_.str.2@PAGE Lloh8: add x1, x1, l_.str.2@PAGEOFF mov w20, #10 mov x0, x19 mov w2, #10 bl _strncmp cbnz x0, LBB0_5 LBB0_4: add x19, x19, x20 LBB0_5: Lloh9: adrp x1, l_.str.3@PAGE Lloh10: add x1, x1, l_.str.3@PAGEOFF add x2, sp, #12 add x3, sp, #8 mov x0, x19 bl _sscanf ldp w10, w8, [sp, #8] Lloh11: adrp x9, _GLVersion@GOTPAGE Lloh12: ldr x9, [x9, _GLVersion@GOTPAGEOFF] stp w8, w10, [x9] cmp w8, #1 cset w9, eq cset w11, gt cmp w10, #0 cset w12, ge cset w13, gt tst w9, w12 Lloh13: adrp x14, _GLAD_GL_VERSION_1_0@GOTPAGE Lloh14: ldr x14, [x14, _GLAD_GL_VERSION_1_0@GOTPAGEOFF] csinc w15, w11, wzr, eq Lloh15: str w15, [x14] tst w9, w13 csinc w14, w11, wzr, eq Lloh16: adrp x15, _GLAD_GL_VERSION_1_1@GOTPAGE Lloh17: ldr x15, [x15, _GLAD_GL_VERSION_1_1@GOTPAGEOFF] Lloh18: str w14, [x15] cmp w10, #1 cset w14, gt tst w9, w14 Lloh19: adrp x15, _GLAD_GL_VERSION_1_2@GOTPAGE Lloh20: ldr x15, [x15, _GLAD_GL_VERSION_1_2@GOTPAGEOFF] csinc w16, w11, wzr, eq Lloh21: str w16, [x15] cmp w10, #2 cset w15, gt tst w9, w15 csinc w15, w11, wzr, eq Lloh22: adrp x16, _GLAD_GL_VERSION_1_3@GOTPAGE Lloh23: ldr x16, [x16, _GLAD_GL_VERSION_1_3@GOTPAGEOFF] Lloh24: str w15, [x16] cmp w10, #3 cset w15, gt tst w9, w15 csinc w15, w11, wzr, eq Lloh25: adrp x16, _GLAD_GL_VERSION_1_4@GOTPAGE Lloh26: ldr x16, [x16, _GLAD_GL_VERSION_1_4@GOTPAGEOFF] Lloh27: str w15, [x16] cmp w10, #4 cset w10, gt tst w9, w10 csinc w9, w11, wzr, eq Lloh28: adrp x10, _GLAD_GL_VERSION_1_5@GOTPAGE Lloh29: ldr x10, [x10, _GLAD_GL_VERSION_1_5@GOTPAGEOFF] Lloh30: str w9, [x10] cmp w8, #2 cset w9, eq cset w10, gt tst w9, w12 csinc w11, w10, wzr, eq Lloh31: adrp x15, _GLAD_GL_VERSION_2_0@GOTPAGE Lloh32: ldr x15, [x15, _GLAD_GL_VERSION_2_0@GOTPAGEOFF] Lloh33: str w11, [x15] tst w9, w13 csinc w9, w10, wzr, eq Lloh34: adrp x10, _GLAD_GL_VERSION_2_1@GOTPAGE Lloh35: ldr x10, [x10, _GLAD_GL_VERSION_2_1@GOTPAGEOFF] Lloh36: str w9, [x10] cmp w8, #3 cset w8, eq cset w9, gt tst w8, w12 Lloh37: adrp x10, _GLAD_GL_VERSION_3_0@GOTPAGE Lloh38: ldr x10, [x10, _GLAD_GL_VERSION_3_0@GOTPAGEOFF] csinc w11, w9, wzr, eq Lloh39: str w11, [x10] tst w8, w13 csinc w10, w9, wzr, eq Lloh40: adrp x11, _GLAD_GL_VERSION_3_1@GOTPAGE Lloh41: ldr x11, [x11, _GLAD_GL_VERSION_3_1@GOTPAGEOFF] Lloh42: str w10, [x11] tst w8, w14 csinc w8, w9, wzr, eq Lloh43: adrp x9, _GLAD_GL_VERSION_3_2@GOTPAGE Lloh44: ldr x9, [x9, _GLAD_GL_VERSION_3_2@GOTPAGEOFF] Lloh45: str w8, [x9] LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotStr Lloh43, Lloh44, Lloh45 .loh AdrpLdrGotStr Lloh40, Lloh41, Lloh42 .loh AdrpLdrGotStr Lloh37, Lloh38, Lloh39 .loh AdrpLdrGotStr Lloh34, Lloh35, Lloh36 .loh AdrpLdrGotStr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGotStr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotStr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotStr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotStr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotStr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "OpenGL ES-CM " l_.str.1: ; @.str.1 .asciz "OpenGL ES-CL " l_.str.2: ; @.str.2 .asciz "OpenGL ES " .comm _GL_VERSION,4,2 ; @GL_VERSION l_.str.3: ; @.str.3 .asciz "%d.%d" .comm _GLVersion,8,2 ; @GLVersion .comm _GLAD_GL_VERSION_1_0,4,2 ; @GLAD_GL_VERSION_1_0 .comm _GLAD_GL_VERSION_1_1,4,2 ; @GLAD_GL_VERSION_1_1 .comm _GLAD_GL_VERSION_1_2,4,2 ; @GLAD_GL_VERSION_1_2 .comm _GLAD_GL_VERSION_1_3,4,2 ; @GLAD_GL_VERSION_1_3 .comm _GLAD_GL_VERSION_1_4,4,2 ; @GLAD_GL_VERSION_1_4 .comm _GLAD_GL_VERSION_1_5,4,2 ; @GLAD_GL_VERSION_1_5 .comm _GLAD_GL_VERSION_2_0,4,2 ; @GLAD_GL_VERSION_2_0 .comm _GLAD_GL_VERSION_2_1,4,2 ; @GLAD_GL_VERSION_2_1 .comm _GLAD_GL_VERSION_3_0,4,2 ; @GLAD_GL_VERSION_3_0 .comm _GLAD_GL_VERSION_3_1,4,2 ; @GLAD_GL_VERSION_3_1 .comm _GLAD_GL_VERSION_3_2,4,2 ; @GLAD_GL_VERSION_3_2 .no_dead_strip _find_coreGL .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_glad.c_find_coreGL.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function find_extensionsGL _find_extensionsGL: ## @find_extensionsGL .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi callq _has_ext movq _GLAD_GL_EXT_separate_specular_color@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.1(%rip), %rdi callq _has_ext movq _GLAD_GL_ARB_multisample@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.2(%rip), %rdi callq _has_ext movq _GLAD_GL_ARB_robustness@GOTPCREL(%rip), %rcx movq %rax, (%rcx) popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "GL_EXT_separate_specular_color" .comm _GLAD_GL_EXT_separate_specular_color,8,3 ## @GLAD_GL_EXT_separate_specular_color L_.str.1: ## @.str.1 .asciz "GL_ARB_multisample" .comm _GLAD_GL_ARB_multisample,8,3 ## @GLAD_GL_ARB_multisample L_.str.2: ## @.str.2 .asciz "GL_ARB_robustness" .comm _GLAD_GL_ARB_robustness,8,3 ## @GLAD_GL_ARB_robustness .no_dead_strip _find_extensionsGL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function find_extensionsGL _find_extensionsGL: ; @find_extensionsGL .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _has_ext Lloh2: adrp x8, _GLAD_GL_EXT_separate_specular_color@GOTPAGE Lloh3: ldr x8, [x8, _GLAD_GL_EXT_separate_specular_color@GOTPAGEOFF] Lloh4: str x0, [x8] Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _has_ext Lloh7: adrp x8, _GLAD_GL_ARB_multisample@GOTPAGE Lloh8: ldr x8, [x8, _GLAD_GL_ARB_multisample@GOTPAGEOFF] Lloh9: str x0, [x8] Lloh10: adrp x0, l_.str.2@PAGE Lloh11: add x0, x0, l_.str.2@PAGEOFF bl _has_ext Lloh12: adrp x8, _GLAD_GL_ARB_robustness@GOTPAGE Lloh13: ldr x8, [x8, _GLAD_GL_ARB_robustness@GOTPAGEOFF] Lloh14: str x0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotStr Lloh12, Lloh13, Lloh14 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotStr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "GL_EXT_separate_specular_color" .comm _GLAD_GL_EXT_separate_specular_color,8,3 ; @GLAD_GL_EXT_separate_specular_color l_.str.1: ; @.str.1 .asciz "GL_ARB_multisample" .comm _GLAD_GL_ARB_multisample,8,3 ; @GLAD_GL_ARB_multisample l_.str.2: ; @.str.2 .asciz "GL_ARB_robustness" .comm _GLAD_GL_ARB_robustness,8,3 ; @GLAD_GL_ARB_robustness .no_dead_strip _find_extensionsGL .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_glad.c_find_extensionsGL.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function has_ext _has_ext: ## @has_ext .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 movq _GL_EXTENSIONS@GOTPCREL(%rip), %rax movl (%rax), %edi callq _glGetString xorl %r14d, %r14d testq %r15, %r15 je LBB0_9 ## %bb.1: movq %rax, %r12 testq %rax, %rax je LBB0_9 ## %bb.2: movq %r12, %rdi movq %r15, %rsi callq _strstr testq %rax, %rax je LBB0_9 ## %bb.3: movq %rax, %rbx jmp LBB0_4 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_4 Depth=1 testb $-33, (%r12) je LBB0_7 LBB0_8: ## in Loop: Header=BB0_4 Depth=1 movq %r12, %rdi movq %r15, %rsi callq _strstr movq %rax, %rbx testq %rax, %rax je LBB0_9 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq %r12, %r13 movq %r15, %rdi callq _strlen movslq %eax, %r12 addq %rbx, %r12 cmpq %r13, %rbx je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 cmpb $32, -1(%rbx) je LBB0_6 jmp LBB0_8 LBB0_7: movl $1, %r14d LBB0_9: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GL_EXTENSIONS,4,2 ## @GL_EXTENSIONS .comm _GLVersion,4,2 ## @GLVersion .comm _GL_NUM_EXTENSIONS,4,2 ## @GL_NUM_EXTENSIONS .no_dead_strip _has_ext .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function has_ext _has_ext: ; @has_ext .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh0: adrp x8, _GL_EXTENSIONS@GOTPAGE Lloh1: ldr x8, [x8, _GL_EXTENSIONS@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _glGetString mov x20, x0 mov w0, #0 cbz x19, LBB0_9 ; %bb.1: cbz x20, LBB0_9 ; %bb.2: mov x0, x20 mov x1, x19 bl _strstr cbz x0, LBB0_9 ; %bb.3: mov x21, x0 b LBB0_6 LBB0_4: ; in Loop: Header=BB0_6 Depth=1 ldrb w8, [x20] orr w8, w8, #0x20 cmp w8, #32 b.eq LBB0_8 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 mov x0, x20 mov x1, x19 bl _strstr mov x21, x0 cbz x0, LBB0_9 LBB0_6: ; =>This Inner Loop Header: Depth=1 mov x22, x20 mov x0, x19 bl _strlen add x20, x21, w0, sxtw cmp x21, x22 b.eq LBB0_4 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldurb w8, [x21, #-1] cmp w8, #32 b.eq LBB0_4 b LBB0_5 LBB0_8: mov w0, #1 LBB0_9: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _GL_EXTENSIONS,4,2 ; @GL_EXTENSIONS .comm _GLVersion,4,2 ; @GLVersion .comm _GL_NUM_EXTENSIONS,4,2 ; @GL_NUM_EXTENSIONS .no_dead_strip _has_ext .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_glad.c_has_ext.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function load_GL_ARB_multisample _load_GL_ARB_multisample: ## @load_GL_ARB_multisample .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _GLAD_GL_ARB_multisample@GOTPCREL(%rip), %rcx cmpl $0, (%rcx) je LBB0_2 ## %bb.1: movq %rdi, %rax leaq L_.str(%rip), %rdi callq *%rax movq _glad_glSampleCoverageARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) LBB0_2: popq %rbp retq .cfi_endproc ## -- End function .comm _GLAD_GL_ARB_multisample,4,2 ## @GLAD_GL_ARB_multisample .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "glSampleCoverageARB" .comm _glad_glSampleCoverageARB,8,3 ## @glad_glSampleCoverageARB .no_dead_strip _load_GL_ARB_multisample .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function load_GL_ARB_multisample _load_GL_ARB_multisample: ; @load_GL_ARB_multisample .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x9, _GLAD_GL_ARB_multisample@GOTPAGE Lloh1: ldr x9, [x9, _GLAD_GL_ARB_multisample@GOTPAGEOFF] Lloh2: ldr w9, [x9] cbz w9, LBB0_2 ; %bb.1: mov x8, x0 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF blr x8 Lloh5: adrp x8, _glad_glSampleCoverageARB@GOTPAGE Lloh6: ldr x8, [x8, _glad_glSampleCoverageARB@GOTPAGEOFF] Lloh7: str x0, [x8] LBB0_2: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _GLAD_GL_ARB_multisample,4,2 ; @GLAD_GL_ARB_multisample .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "glSampleCoverageARB" .comm _glad_glSampleCoverageARB,8,3 ; @glad_glSampleCoverageARB .no_dead_strip _load_GL_ARB_multisample .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_glad.c_load_GL_ARB_multisample.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function load_GL_ARB_robustness _load_GL_ARB_robustness: ## @load_GL_ARB_robustness .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _GLAD_GL_ARB_robustness@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_2 ## %bb.1: movq %rdi, %rbx leaq L_.str(%rip), %rdi callq *%rbx movq _glad_glGetGraphicsResetStatusARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.1(%rip), %rdi callq *%rbx movq _glad_glGetnTexImageARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.2(%rip), %rdi callq *%rbx movq _glad_glReadnPixelsARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.3(%rip), %rdi callq *%rbx movq _glad_glGetnCompressedTexImageARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.4(%rip), %rdi callq *%rbx movq _glad_glGetnUniformfvARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.5(%rip), %rdi callq *%rbx movq _glad_glGetnUniformivARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.6(%rip), %rdi callq *%rbx movq _glad_glGetnUniformuivARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.7(%rip), %rdi callq *%rbx movq _glad_glGetnUniformdvARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.8(%rip), %rdi callq *%rbx movq _glad_glGetnMapdvARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.9(%rip), %rdi callq *%rbx movq _glad_glGetnMapfvARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.10(%rip), %rdi callq *%rbx movq _glad_glGetnMapivARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.11(%rip), %rdi callq *%rbx movq _glad_glGetnPixelMapfvARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.12(%rip), %rdi callq *%rbx movq _glad_glGetnPixelMapuivARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.13(%rip), %rdi callq *%rbx movq _glad_glGetnPixelMapusvARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.14(%rip), %rdi callq *%rbx movq _glad_glGetnPolygonStippleARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.15(%rip), %rdi callq *%rbx movq _glad_glGetnColorTableARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.16(%rip), %rdi callq *%rbx movq _glad_glGetnConvolutionFilterARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.17(%rip), %rdi callq *%rbx movq _glad_glGetnSeparableFilterARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.18(%rip), %rdi callq *%rbx movq _glad_glGetnHistogramARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.19(%rip), %rdi callq *%rbx movq _glad_glGetnMinmaxARB@GOTPCREL(%rip), %rcx movq %rax, (%rcx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _GLAD_GL_ARB_robustness,4,2 ## @GLAD_GL_ARB_robustness .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "glGetGraphicsResetStatusARB" .comm _glad_glGetGraphicsResetStatusARB,8,3 ## @glad_glGetGraphicsResetStatusARB L_.str.1: ## @.str.1 .asciz "glGetnTexImageARB" .comm _glad_glGetnTexImageARB,8,3 ## @glad_glGetnTexImageARB L_.str.2: ## @.str.2 .asciz "glReadnPixelsARB" .comm _glad_glReadnPixelsARB,8,3 ## @glad_glReadnPixelsARB L_.str.3: ## @.str.3 .asciz "glGetnCompressedTexImageARB" .comm _glad_glGetnCompressedTexImageARB,8,3 ## @glad_glGetnCompressedTexImageARB L_.str.4: ## @.str.4 .asciz "glGetnUniformfvARB" .comm _glad_glGetnUniformfvARB,8,3 ## @glad_glGetnUniformfvARB L_.str.5: ## @.str.5 .asciz "glGetnUniformivARB" .comm _glad_glGetnUniformivARB,8,3 ## @glad_glGetnUniformivARB L_.str.6: ## @.str.6 .asciz "glGetnUniformuivARB" .comm _glad_glGetnUniformuivARB,8,3 ## @glad_glGetnUniformuivARB L_.str.7: ## @.str.7 .asciz "glGetnUniformdvARB" .comm _glad_glGetnUniformdvARB,8,3 ## @glad_glGetnUniformdvARB L_.str.8: ## @.str.8 .asciz "glGetnMapdvARB" .comm _glad_glGetnMapdvARB,8,3 ## @glad_glGetnMapdvARB L_.str.9: ## @.str.9 .asciz "glGetnMapfvARB" .comm _glad_glGetnMapfvARB,8,3 ## @glad_glGetnMapfvARB L_.str.10: ## @.str.10 .asciz "glGetnMapivARB" .comm _glad_glGetnMapivARB,8,3 ## @glad_glGetnMapivARB L_.str.11: ## @.str.11 .asciz "glGetnPixelMapfvARB" .comm _glad_glGetnPixelMapfvARB,8,3 ## @glad_glGetnPixelMapfvARB L_.str.12: ## @.str.12 .asciz "glGetnPixelMapuivARB" .comm _glad_glGetnPixelMapuivARB,8,3 ## @glad_glGetnPixelMapuivARB L_.str.13: ## @.str.13 .asciz "glGetnPixelMapusvARB" .comm _glad_glGetnPixelMapusvARB,8,3 ## @glad_glGetnPixelMapusvARB L_.str.14: ## @.str.14 .asciz "glGetnPolygonStippleARB" .comm _glad_glGetnPolygonStippleARB,8,3 ## @glad_glGetnPolygonStippleARB L_.str.15: ## @.str.15 .asciz "glGetnColorTableARB" .comm _glad_glGetnColorTableARB,8,3 ## @glad_glGetnColorTableARB L_.str.16: ## @.str.16 .asciz "glGetnConvolutionFilterARB" .comm _glad_glGetnConvolutionFilterARB,8,3 ## @glad_glGetnConvolutionFilterARB L_.str.17: ## @.str.17 .asciz "glGetnSeparableFilterARB" .comm _glad_glGetnSeparableFilterARB,8,3 ## @glad_glGetnSeparableFilterARB L_.str.18: ## @.str.18 .asciz "glGetnHistogramARB" .comm _glad_glGetnHistogramARB,8,3 ## @glad_glGetnHistogramARB L_.str.19: ## @.str.19 .asciz "glGetnMinmaxARB" .comm _glad_glGetnMinmaxARB,8,3 ## @glad_glGetnMinmaxARB .no_dead_strip _load_GL_ARB_robustness .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function load_GL_ARB_robustness _load_GL_ARB_robustness: ; @load_GL_ARB_robustness .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _GLAD_GL_ARB_robustness@GOTPAGE Lloh1: ldr x8, [x8, _GLAD_GL_ARB_robustness@GOTPAGEOFF] Lloh2: ldr w8, [x8] cbz w8, LBB0_2 ; %bb.1: mov x19, x0 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF blr x19 Lloh5: adrp x8, _glad_glGetGraphicsResetStatusARB@GOTPAGE Lloh6: ldr x8, [x8, _glad_glGetGraphicsResetStatusARB@GOTPAGEOFF] Lloh7: str x0, [x8] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF blr x19 Lloh10: adrp x8, _glad_glGetnTexImageARB@GOTPAGE Lloh11: ldr x8, [x8, _glad_glGetnTexImageARB@GOTPAGEOFF] Lloh12: str x0, [x8] Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF blr x19 Lloh15: adrp x8, _glad_glReadnPixelsARB@GOTPAGE Lloh16: ldr x8, [x8, _glad_glReadnPixelsARB@GOTPAGEOFF] Lloh17: str x0, [x8] Lloh18: adrp x0, l_.str.3@PAGE Lloh19: add x0, x0, l_.str.3@PAGEOFF blr x19 Lloh20: adrp x8, _glad_glGetnCompressedTexImageARB@GOTPAGE Lloh21: ldr x8, [x8, _glad_glGetnCompressedTexImageARB@GOTPAGEOFF] Lloh22: str x0, [x8] Lloh23: adrp x0, l_.str.4@PAGE Lloh24: add x0, x0, l_.str.4@PAGEOFF blr x19 Lloh25: adrp x8, _glad_glGetnUniformfvARB@GOTPAGE Lloh26: ldr x8, [x8, _glad_glGetnUniformfvARB@GOTPAGEOFF] Lloh27: str x0, [x8] Lloh28: adrp x0, l_.str.5@PAGE Lloh29: add x0, x0, l_.str.5@PAGEOFF blr x19 Lloh30: adrp x8, _glad_glGetnUniformivARB@GOTPAGE Lloh31: ldr x8, [x8, _glad_glGetnUniformivARB@GOTPAGEOFF] Lloh32: str x0, [x8] Lloh33: adrp x0, l_.str.6@PAGE Lloh34: add x0, x0, l_.str.6@PAGEOFF blr x19 Lloh35: adrp x8, _glad_glGetnUniformuivARB@GOTPAGE Lloh36: ldr x8, [x8, _glad_glGetnUniformuivARB@GOTPAGEOFF] Lloh37: str x0, [x8] Lloh38: adrp x0, l_.str.7@PAGE Lloh39: add x0, x0, l_.str.7@PAGEOFF blr x19 Lloh40: adrp x8, _glad_glGetnUniformdvARB@GOTPAGE Lloh41: ldr x8, [x8, _glad_glGetnUniformdvARB@GOTPAGEOFF] Lloh42: str x0, [x8] Lloh43: adrp x0, l_.str.8@PAGE Lloh44: add x0, x0, l_.str.8@PAGEOFF blr x19 Lloh45: adrp x8, _glad_glGetnMapdvARB@GOTPAGE Lloh46: ldr x8, [x8, _glad_glGetnMapdvARB@GOTPAGEOFF] Lloh47: str x0, [x8] Lloh48: adrp x0, l_.str.9@PAGE Lloh49: add x0, x0, l_.str.9@PAGEOFF blr x19 Lloh50: adrp x8, _glad_glGetnMapfvARB@GOTPAGE Lloh51: ldr x8, [x8, _glad_glGetnMapfvARB@GOTPAGEOFF] Lloh52: str x0, [x8] Lloh53: adrp x0, l_.str.10@PAGE Lloh54: add x0, x0, l_.str.10@PAGEOFF blr x19 Lloh55: adrp x8, _glad_glGetnMapivARB@GOTPAGE Lloh56: ldr x8, [x8, _glad_glGetnMapivARB@GOTPAGEOFF] Lloh57: str x0, [x8] Lloh58: adrp x0, l_.str.11@PAGE Lloh59: add x0, x0, l_.str.11@PAGEOFF blr x19 Lloh60: adrp x8, _glad_glGetnPixelMapfvARB@GOTPAGE Lloh61: ldr x8, [x8, _glad_glGetnPixelMapfvARB@GOTPAGEOFF] Lloh62: str x0, [x8] Lloh63: adrp x0, l_.str.12@PAGE Lloh64: add x0, x0, l_.str.12@PAGEOFF blr x19 Lloh65: adrp x8, _glad_glGetnPixelMapuivARB@GOTPAGE Lloh66: ldr x8, [x8, _glad_glGetnPixelMapuivARB@GOTPAGEOFF] Lloh67: str x0, [x8] Lloh68: adrp x0, l_.str.13@PAGE Lloh69: add x0, x0, l_.str.13@PAGEOFF blr x19 Lloh70: adrp x8, _glad_glGetnPixelMapusvARB@GOTPAGE Lloh71: ldr x8, [x8, _glad_glGetnPixelMapusvARB@GOTPAGEOFF] Lloh72: str x0, [x8] Lloh73: adrp x0, l_.str.14@PAGE Lloh74: add x0, x0, l_.str.14@PAGEOFF blr x19 Lloh75: adrp x8, _glad_glGetnPolygonStippleARB@GOTPAGE Lloh76: ldr x8, [x8, _glad_glGetnPolygonStippleARB@GOTPAGEOFF] Lloh77: str x0, [x8] Lloh78: adrp x0, l_.str.15@PAGE Lloh79: add x0, x0, l_.str.15@PAGEOFF blr x19 Lloh80: adrp x8, _glad_glGetnColorTableARB@GOTPAGE Lloh81: ldr x8, [x8, _glad_glGetnColorTableARB@GOTPAGEOFF] Lloh82: str x0, [x8] Lloh83: adrp x0, l_.str.16@PAGE Lloh84: add x0, x0, l_.str.16@PAGEOFF blr x19 Lloh85: adrp x8, _glad_glGetnConvolutionFilterARB@GOTPAGE Lloh86: ldr x8, [x8, _glad_glGetnConvolutionFilterARB@GOTPAGEOFF] Lloh87: str x0, [x8] Lloh88: adrp x0, l_.str.17@PAGE Lloh89: add x0, x0, l_.str.17@PAGEOFF blr x19 Lloh90: adrp x8, _glad_glGetnSeparableFilterARB@GOTPAGE Lloh91: ldr x8, [x8, _glad_glGetnSeparableFilterARB@GOTPAGEOFF] Lloh92: str x0, [x8] Lloh93: adrp x0, l_.str.18@PAGE Lloh94: add x0, x0, l_.str.18@PAGEOFF blr x19 Lloh95: adrp x8, _glad_glGetnHistogramARB@GOTPAGE Lloh96: ldr x8, [x8, _glad_glGetnHistogramARB@GOTPAGEOFF] Lloh97: str x0, [x8] Lloh98: adrp x0, l_.str.19@PAGE Lloh99: add x0, x0, l_.str.19@PAGEOFF blr x19 Lloh100: adrp x8, _glad_glGetnMinmaxARB@GOTPAGE Lloh101: ldr x8, [x8, _glad_glGetnMinmaxARB@GOTPAGEOFF] Lloh102: str x0, [x8] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh100, Lloh101, Lloh102 .loh AdrpAdd Lloh98, Lloh99 .loh AdrpLdrGotStr Lloh95, Lloh96, Lloh97 .loh AdrpAdd Lloh93, Lloh94 .loh AdrpLdrGotStr Lloh90, Lloh91, Lloh92 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpLdrGotStr Lloh85, Lloh86, Lloh87 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpLdrGotStr Lloh80, Lloh81, Lloh82 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpLdrGotStr Lloh75, Lloh76, Lloh77 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpLdrGotStr Lloh70, Lloh71, Lloh72 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpLdrGotStr Lloh65, Lloh66, Lloh67 .loh AdrpAdd Lloh63, Lloh64 .loh AdrpLdrGotStr Lloh60, Lloh61, Lloh62 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpLdrGotStr Lloh55, Lloh56, Lloh57 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotStr Lloh50, Lloh51, Lloh52 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpLdrGotStr Lloh45, Lloh46, Lloh47 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpLdrGotStr Lloh40, Lloh41, Lloh42 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGotStr Lloh35, Lloh36, Lloh37 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotStr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotStr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _GLAD_GL_ARB_robustness,4,2 ; @GLAD_GL_ARB_robustness .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "glGetGraphicsResetStatusARB" .comm _glad_glGetGraphicsResetStatusARB,8,3 ; @glad_glGetGraphicsResetStatusARB l_.str.1: ; @.str.1 .asciz "glGetnTexImageARB" .comm _glad_glGetnTexImageARB,8,3 ; @glad_glGetnTexImageARB l_.str.2: ; @.str.2 .asciz "glReadnPixelsARB" .comm _glad_glReadnPixelsARB,8,3 ; @glad_glReadnPixelsARB l_.str.3: ; @.str.3 .asciz "glGetnCompressedTexImageARB" .comm _glad_glGetnCompressedTexImageARB,8,3 ; @glad_glGetnCompressedTexImageARB l_.str.4: ; @.str.4 .asciz "glGetnUniformfvARB" .comm _glad_glGetnUniformfvARB,8,3 ; @glad_glGetnUniformfvARB l_.str.5: ; @.str.5 .asciz "glGetnUniformivARB" .comm _glad_glGetnUniformivARB,8,3 ; @glad_glGetnUniformivARB l_.str.6: ; @.str.6 .asciz "glGetnUniformuivARB" .comm _glad_glGetnUniformuivARB,8,3 ; @glad_glGetnUniformuivARB l_.str.7: ; @.str.7 .asciz "glGetnUniformdvARB" .comm _glad_glGetnUniformdvARB,8,3 ; @glad_glGetnUniformdvARB l_.str.8: ; @.str.8 .asciz "glGetnMapdvARB" .comm _glad_glGetnMapdvARB,8,3 ; @glad_glGetnMapdvARB l_.str.9: ; @.str.9 .asciz "glGetnMapfvARB" .comm _glad_glGetnMapfvARB,8,3 ; @glad_glGetnMapfvARB l_.str.10: ; @.str.10 .asciz "glGetnMapivARB" .comm _glad_glGetnMapivARB,8,3 ; @glad_glGetnMapivARB l_.str.11: ; @.str.11 .asciz "glGetnPixelMapfvARB" .comm _glad_glGetnPixelMapfvARB,8,3 ; @glad_glGetnPixelMapfvARB l_.str.12: ; @.str.12 .asciz "glGetnPixelMapuivARB" .comm _glad_glGetnPixelMapuivARB,8,3 ; @glad_glGetnPixelMapuivARB l_.str.13: ; @.str.13 .asciz "glGetnPixelMapusvARB" .comm _glad_glGetnPixelMapusvARB,8,3 ; @glad_glGetnPixelMapusvARB l_.str.14: ; @.str.14 .asciz "glGetnPolygonStippleARB" .comm _glad_glGetnPolygonStippleARB,8,3 ; @glad_glGetnPolygonStippleARB l_.str.15: ; @.str.15 .asciz "glGetnColorTableARB" .comm _glad_glGetnColorTableARB,8,3 ; @glad_glGetnColorTableARB l_.str.16: ; @.str.16 .asciz "glGetnConvolutionFilterARB" .comm _glad_glGetnConvolutionFilterARB,8,3 ; @glad_glGetnConvolutionFilterARB l_.str.17: ; @.str.17 .asciz "glGetnSeparableFilterARB" .comm _glad_glGetnSeparableFilterARB,8,3 ; @glad_glGetnSeparableFilterARB l_.str.18: ; @.str.18 .asciz "glGetnHistogramARB" .comm _glad_glGetnHistogramARB,8,3 ; @glad_glGetnHistogramARB l_.str.19: ; @.str.19 .asciz "glGetnMinmaxARB" .comm _glad_glGetnMinmaxARB,8,3 ; @glad_glGetnMinmaxARB .no_dead_strip _load_GL_ARB_robustness .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_glad.c_load_GL_ARB_robustness.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function load_GL_VERSION_1_1 _load_GL_VERSION_1_1: ## @load_GL_VERSION_1_1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _GLAD_GL_VERSION_1_1@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_2 ## %bb.1: movq %rdi, %rbx leaq L_.str(%rip), %rdi callq *%rbx movq _glad_glDrawArrays@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.1(%rip), %rdi callq *%rbx movq _glad_glDrawElements@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.2(%rip), %rdi callq *%rbx movq _glad_glGetPointerv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.3(%rip), %rdi callq *%rbx movq _glad_glPolygonOffset@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.4(%rip), %rdi callq *%rbx movq _glad_glCopyTexImage1D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.5(%rip), %rdi callq *%rbx movq _glad_glCopyTexImage2D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.6(%rip), %rdi callq *%rbx movq _glad_glCopyTexSubImage1D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.7(%rip), %rdi callq *%rbx movq _glad_glCopyTexSubImage2D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.8(%rip), %rdi callq *%rbx movq _glad_glTexSubImage1D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.9(%rip), %rdi callq *%rbx movq _glad_glTexSubImage2D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.10(%rip), %rdi callq *%rbx movq _glad_glBindTexture@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.11(%rip), %rdi callq *%rbx movq _glad_glDeleteTextures@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.12(%rip), %rdi callq *%rbx movq _glad_glGenTextures@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.13(%rip), %rdi callq *%rbx movq _glad_glIsTexture@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.14(%rip), %rdi callq *%rbx movq _glad_glArrayElement@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.15(%rip), %rdi callq *%rbx movq _glad_glColorPointer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.16(%rip), %rdi callq *%rbx movq _glad_glDisableClientState@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.17(%rip), %rdi callq *%rbx movq _glad_glEdgeFlagPointer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.18(%rip), %rdi callq *%rbx movq _glad_glEnableClientState@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.19(%rip), %rdi callq *%rbx movq _glad_glIndexPointer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.20(%rip), %rdi callq *%rbx movq _glad_glInterleavedArrays@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.21(%rip), %rdi callq *%rbx movq _glad_glNormalPointer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.22(%rip), %rdi callq *%rbx movq _glad_glTexCoordPointer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.23(%rip), %rdi callq *%rbx movq _glad_glVertexPointer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.24(%rip), %rdi callq *%rbx movq _glad_glAreTexturesResident@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.25(%rip), %rdi callq *%rbx movq _glad_glPrioritizeTextures@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.26(%rip), %rdi callq *%rbx movq _glad_glIndexub@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.27(%rip), %rdi callq *%rbx movq _glad_glIndexubv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.28(%rip), %rdi callq *%rbx movq _glad_glPopClientAttrib@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.29(%rip), %rdi callq *%rbx movq _glad_glPushClientAttrib@GOTPCREL(%rip), %rcx movq %rax, (%rcx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _GLAD_GL_VERSION_1_1,4,2 ## @GLAD_GL_VERSION_1_1 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "glDrawArrays" .comm _glad_glDrawArrays,8,3 ## @glad_glDrawArrays L_.str.1: ## @.str.1 .asciz "glDrawElements" .comm _glad_glDrawElements,8,3 ## @glad_glDrawElements L_.str.2: ## @.str.2 .asciz "glGetPointerv" .comm _glad_glGetPointerv,8,3 ## @glad_glGetPointerv L_.str.3: ## @.str.3 .asciz "glPolygonOffset" .comm _glad_glPolygonOffset,8,3 ## @glad_glPolygonOffset L_.str.4: ## @.str.4 .asciz "glCopyTexImage1D" .comm _glad_glCopyTexImage1D,8,3 ## @glad_glCopyTexImage1D L_.str.5: ## @.str.5 .asciz "glCopyTexImage2D" .comm _glad_glCopyTexImage2D,8,3 ## @glad_glCopyTexImage2D L_.str.6: ## @.str.6 .asciz "glCopyTexSubImage1D" .comm _glad_glCopyTexSubImage1D,8,3 ## @glad_glCopyTexSubImage1D L_.str.7: ## @.str.7 .asciz "glCopyTexSubImage2D" .comm _glad_glCopyTexSubImage2D,8,3 ## @glad_glCopyTexSubImage2D L_.str.8: ## @.str.8 .asciz "glTexSubImage1D" .comm _glad_glTexSubImage1D,8,3 ## @glad_glTexSubImage1D L_.str.9: ## @.str.9 .asciz "glTexSubImage2D" .comm _glad_glTexSubImage2D,8,3 ## @glad_glTexSubImage2D L_.str.10: ## @.str.10 .asciz "glBindTexture" .comm _glad_glBindTexture,8,3 ## @glad_glBindTexture L_.str.11: ## @.str.11 .asciz "glDeleteTextures" .comm _glad_glDeleteTextures,8,3 ## @glad_glDeleteTextures L_.str.12: ## @.str.12 .asciz "glGenTextures" .comm _glad_glGenTextures,8,3 ## @glad_glGenTextures L_.str.13: ## @.str.13 .asciz "glIsTexture" .comm _glad_glIsTexture,8,3 ## @glad_glIsTexture L_.str.14: ## @.str.14 .asciz "glArrayElement" .comm _glad_glArrayElement,8,3 ## @glad_glArrayElement L_.str.15: ## @.str.15 .asciz "glColorPointer" .comm _glad_glColorPointer,8,3 ## @glad_glColorPointer L_.str.16: ## @.str.16 .asciz "glDisableClientState" .comm _glad_glDisableClientState,8,3 ## @glad_glDisableClientState L_.str.17: ## @.str.17 .asciz "glEdgeFlagPointer" .comm _glad_glEdgeFlagPointer,8,3 ## @glad_glEdgeFlagPointer L_.str.18: ## @.str.18 .asciz "glEnableClientState" .comm _glad_glEnableClientState,8,3 ## @glad_glEnableClientState L_.str.19: ## @.str.19 .asciz "glIndexPointer" .comm _glad_glIndexPointer,8,3 ## @glad_glIndexPointer L_.str.20: ## @.str.20 .asciz "glInterleavedArrays" .comm _glad_glInterleavedArrays,8,3 ## @glad_glInterleavedArrays L_.str.21: ## @.str.21 .asciz "glNormalPointer" .comm _glad_glNormalPointer,8,3 ## @glad_glNormalPointer L_.str.22: ## @.str.22 .asciz "glTexCoordPointer" .comm _glad_glTexCoordPointer,8,3 ## @glad_glTexCoordPointer L_.str.23: ## @.str.23 .asciz "glVertexPointer" .comm _glad_glVertexPointer,8,3 ## @glad_glVertexPointer L_.str.24: ## @.str.24 .asciz "glAreTexturesResident" .comm _glad_glAreTexturesResident,8,3 ## @glad_glAreTexturesResident L_.str.25: ## @.str.25 .asciz "glPrioritizeTextures" .comm _glad_glPrioritizeTextures,8,3 ## @glad_glPrioritizeTextures L_.str.26: ## @.str.26 .asciz "glIndexub" .comm _glad_glIndexub,8,3 ## @glad_glIndexub L_.str.27: ## @.str.27 .asciz "glIndexubv" .comm _glad_glIndexubv,8,3 ## @glad_glIndexubv L_.str.28: ## @.str.28 .asciz "glPopClientAttrib" .comm _glad_glPopClientAttrib,8,3 ## @glad_glPopClientAttrib L_.str.29: ## @.str.29 .asciz "glPushClientAttrib" .comm _glad_glPushClientAttrib,8,3 ## @glad_glPushClientAttrib .no_dead_strip _load_GL_VERSION_1_1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function load_GL_VERSION_1_1 _load_GL_VERSION_1_1: ; @load_GL_VERSION_1_1 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _GLAD_GL_VERSION_1_1@GOTPAGE Lloh1: ldr x8, [x8, _GLAD_GL_VERSION_1_1@GOTPAGEOFF] Lloh2: ldr w8, [x8] cbz w8, LBB0_2 ; %bb.1: mov x19, x0 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF blr x19 Lloh5: adrp x8, _glad_glDrawArrays@GOTPAGE Lloh6: ldr x8, [x8, _glad_glDrawArrays@GOTPAGEOFF] Lloh7: str x0, [x8] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF blr x19 Lloh10: adrp x8, _glad_glDrawElements@GOTPAGE Lloh11: ldr x8, [x8, _glad_glDrawElements@GOTPAGEOFF] Lloh12: str x0, [x8] Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF blr x19 Lloh15: adrp x8, _glad_glGetPointerv@GOTPAGE Lloh16: ldr x8, [x8, _glad_glGetPointerv@GOTPAGEOFF] Lloh17: str x0, [x8] Lloh18: adrp x0, l_.str.3@PAGE Lloh19: add x0, x0, l_.str.3@PAGEOFF blr x19 Lloh20: adrp x8, _glad_glPolygonOffset@GOTPAGE Lloh21: ldr x8, [x8, _glad_glPolygonOffset@GOTPAGEOFF] Lloh22: str x0, [x8] Lloh23: adrp x0, l_.str.4@PAGE Lloh24: add x0, x0, l_.str.4@PAGEOFF blr x19 Lloh25: adrp x8, _glad_glCopyTexImage1D@GOTPAGE Lloh26: ldr x8, [x8, _glad_glCopyTexImage1D@GOTPAGEOFF] Lloh27: str x0, [x8] Lloh28: adrp x0, l_.str.5@PAGE Lloh29: add x0, x0, l_.str.5@PAGEOFF blr x19 Lloh30: adrp x8, _glad_glCopyTexImage2D@GOTPAGE Lloh31: ldr x8, [x8, _glad_glCopyTexImage2D@GOTPAGEOFF] Lloh32: str x0, [x8] Lloh33: adrp x0, l_.str.6@PAGE Lloh34: add x0, x0, l_.str.6@PAGEOFF blr x19 Lloh35: adrp x8, _glad_glCopyTexSubImage1D@GOTPAGE Lloh36: ldr x8, [x8, _glad_glCopyTexSubImage1D@GOTPAGEOFF] Lloh37: str x0, [x8] Lloh38: adrp x0, l_.str.7@PAGE Lloh39: add x0, x0, l_.str.7@PAGEOFF blr x19 Lloh40: adrp x8, _glad_glCopyTexSubImage2D@GOTPAGE Lloh41: ldr x8, [x8, _glad_glCopyTexSubImage2D@GOTPAGEOFF] Lloh42: str x0, [x8] Lloh43: adrp x0, l_.str.8@PAGE Lloh44: add x0, x0, l_.str.8@PAGEOFF blr x19 Lloh45: adrp x8, _glad_glTexSubImage1D@GOTPAGE Lloh46: ldr x8, [x8, _glad_glTexSubImage1D@GOTPAGEOFF] Lloh47: str x0, [x8] Lloh48: adrp x0, l_.str.9@PAGE Lloh49: add x0, x0, l_.str.9@PAGEOFF blr x19 Lloh50: adrp x8, _glad_glTexSubImage2D@GOTPAGE Lloh51: ldr x8, [x8, _glad_glTexSubImage2D@GOTPAGEOFF] Lloh52: str x0, [x8] Lloh53: adrp x0, l_.str.10@PAGE Lloh54: add x0, x0, l_.str.10@PAGEOFF blr x19 Lloh55: adrp x8, _glad_glBindTexture@GOTPAGE Lloh56: ldr x8, [x8, _glad_glBindTexture@GOTPAGEOFF] Lloh57: str x0, [x8] Lloh58: adrp x0, l_.str.11@PAGE Lloh59: add x0, x0, l_.str.11@PAGEOFF blr x19 Lloh60: adrp x8, _glad_glDeleteTextures@GOTPAGE Lloh61: ldr x8, [x8, _glad_glDeleteTextures@GOTPAGEOFF] Lloh62: str x0, [x8] Lloh63: adrp x0, l_.str.12@PAGE Lloh64: add x0, x0, l_.str.12@PAGEOFF blr x19 Lloh65: adrp x8, _glad_glGenTextures@GOTPAGE Lloh66: ldr x8, [x8, _glad_glGenTextures@GOTPAGEOFF] Lloh67: str x0, [x8] Lloh68: adrp x0, l_.str.13@PAGE Lloh69: add x0, x0, l_.str.13@PAGEOFF blr x19 Lloh70: adrp x8, _glad_glIsTexture@GOTPAGE Lloh71: ldr x8, [x8, _glad_glIsTexture@GOTPAGEOFF] Lloh72: str x0, [x8] Lloh73: adrp x0, l_.str.14@PAGE Lloh74: add x0, x0, l_.str.14@PAGEOFF blr x19 Lloh75: adrp x8, _glad_glArrayElement@GOTPAGE Lloh76: ldr x8, [x8, _glad_glArrayElement@GOTPAGEOFF] Lloh77: str x0, [x8] Lloh78: adrp x0, l_.str.15@PAGE Lloh79: add x0, x0, l_.str.15@PAGEOFF blr x19 Lloh80: adrp x8, _glad_glColorPointer@GOTPAGE Lloh81: ldr x8, [x8, _glad_glColorPointer@GOTPAGEOFF] Lloh82: str x0, [x8] Lloh83: adrp x0, l_.str.16@PAGE Lloh84: add x0, x0, l_.str.16@PAGEOFF blr x19 Lloh85: adrp x8, _glad_glDisableClientState@GOTPAGE Lloh86: ldr x8, [x8, _glad_glDisableClientState@GOTPAGEOFF] Lloh87: str x0, [x8] Lloh88: adrp x0, l_.str.17@PAGE Lloh89: add x0, x0, l_.str.17@PAGEOFF blr x19 Lloh90: adrp x8, _glad_glEdgeFlagPointer@GOTPAGE Lloh91: ldr x8, [x8, _glad_glEdgeFlagPointer@GOTPAGEOFF] Lloh92: str x0, [x8] Lloh93: adrp x0, l_.str.18@PAGE Lloh94: add x0, x0, l_.str.18@PAGEOFF blr x19 Lloh95: adrp x8, _glad_glEnableClientState@GOTPAGE Lloh96: ldr x8, [x8, _glad_glEnableClientState@GOTPAGEOFF] Lloh97: str x0, [x8] Lloh98: adrp x0, l_.str.19@PAGE Lloh99: add x0, x0, l_.str.19@PAGEOFF blr x19 Lloh100: adrp x8, _glad_glIndexPointer@GOTPAGE Lloh101: ldr x8, [x8, _glad_glIndexPointer@GOTPAGEOFF] Lloh102: str x0, [x8] Lloh103: adrp x0, l_.str.20@PAGE Lloh104: add x0, x0, l_.str.20@PAGEOFF blr x19 Lloh105: adrp x8, _glad_glInterleavedArrays@GOTPAGE Lloh106: ldr x8, [x8, _glad_glInterleavedArrays@GOTPAGEOFF] Lloh107: str x0, [x8] Lloh108: adrp x0, l_.str.21@PAGE Lloh109: add x0, x0, l_.str.21@PAGEOFF blr x19 Lloh110: adrp x8, _glad_glNormalPointer@GOTPAGE Lloh111: ldr x8, [x8, _glad_glNormalPointer@GOTPAGEOFF] Lloh112: str x0, [x8] Lloh113: adrp x0, l_.str.22@PAGE Lloh114: add x0, x0, l_.str.22@PAGEOFF blr x19 Lloh115: adrp x8, _glad_glTexCoordPointer@GOTPAGE Lloh116: ldr x8, [x8, _glad_glTexCoordPointer@GOTPAGEOFF] Lloh117: str x0, [x8] Lloh118: adrp x0, l_.str.23@PAGE Lloh119: add x0, x0, l_.str.23@PAGEOFF blr x19 Lloh120: adrp x8, _glad_glVertexPointer@GOTPAGE Lloh121: ldr x8, [x8, _glad_glVertexPointer@GOTPAGEOFF] Lloh122: str x0, [x8] Lloh123: adrp x0, l_.str.24@PAGE Lloh124: add x0, x0, l_.str.24@PAGEOFF blr x19 Lloh125: adrp x8, _glad_glAreTexturesResident@GOTPAGE Lloh126: ldr x8, [x8, _glad_glAreTexturesResident@GOTPAGEOFF] Lloh127: str x0, [x8] Lloh128: adrp x0, l_.str.25@PAGE Lloh129: add x0, x0, l_.str.25@PAGEOFF blr x19 Lloh130: adrp x8, _glad_glPrioritizeTextures@GOTPAGE Lloh131: ldr x8, [x8, _glad_glPrioritizeTextures@GOTPAGEOFF] Lloh132: str x0, [x8] Lloh133: adrp x0, l_.str.26@PAGE Lloh134: add x0, x0, l_.str.26@PAGEOFF blr x19 Lloh135: adrp x8, _glad_glIndexub@GOTPAGE Lloh136: ldr x8, [x8, _glad_glIndexub@GOTPAGEOFF] Lloh137: str x0, [x8] Lloh138: adrp x0, l_.str.27@PAGE Lloh139: add x0, x0, l_.str.27@PAGEOFF blr x19 Lloh140: adrp x8, _glad_glIndexubv@GOTPAGE Lloh141: ldr x8, [x8, _glad_glIndexubv@GOTPAGEOFF] Lloh142: str x0, [x8] Lloh143: adrp x0, l_.str.28@PAGE Lloh144: add x0, x0, l_.str.28@PAGEOFF blr x19 Lloh145: adrp x8, _glad_glPopClientAttrib@GOTPAGE Lloh146: ldr x8, [x8, _glad_glPopClientAttrib@GOTPAGEOFF] Lloh147: str x0, [x8] Lloh148: adrp x0, l_.str.29@PAGE Lloh149: add x0, x0, l_.str.29@PAGEOFF blr x19 Lloh150: adrp x8, _glad_glPushClientAttrib@GOTPAGE Lloh151: ldr x8, [x8, _glad_glPushClientAttrib@GOTPAGEOFF] Lloh152: str x0, [x8] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh150, Lloh151, Lloh152 .loh AdrpAdd Lloh148, Lloh149 .loh AdrpLdrGotStr Lloh145, Lloh146, Lloh147 .loh AdrpAdd Lloh143, Lloh144 .loh AdrpLdrGotStr Lloh140, Lloh141, Lloh142 .loh AdrpAdd Lloh138, Lloh139 .loh AdrpLdrGotStr Lloh135, Lloh136, Lloh137 .loh AdrpAdd Lloh133, Lloh134 .loh AdrpLdrGotStr Lloh130, Lloh131, Lloh132 .loh AdrpAdd Lloh128, Lloh129 .loh AdrpLdrGotStr Lloh125, Lloh126, Lloh127 .loh AdrpAdd Lloh123, Lloh124 .loh AdrpLdrGotStr Lloh120, Lloh121, Lloh122 .loh AdrpAdd Lloh118, Lloh119 .loh AdrpLdrGotStr Lloh115, Lloh116, Lloh117 .loh AdrpAdd Lloh113, Lloh114 .loh AdrpLdrGotStr Lloh110, Lloh111, Lloh112 .loh AdrpAdd Lloh108, Lloh109 .loh AdrpLdrGotStr Lloh105, Lloh106, Lloh107 .loh AdrpAdd Lloh103, Lloh104 .loh AdrpLdrGotStr Lloh100, Lloh101, Lloh102 .loh AdrpAdd Lloh98, Lloh99 .loh AdrpLdrGotStr Lloh95, Lloh96, Lloh97 .loh AdrpAdd Lloh93, Lloh94 .loh AdrpLdrGotStr Lloh90, Lloh91, Lloh92 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpLdrGotStr Lloh85, Lloh86, Lloh87 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpLdrGotStr Lloh80, Lloh81, Lloh82 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpLdrGotStr Lloh75, Lloh76, Lloh77 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpLdrGotStr Lloh70, Lloh71, Lloh72 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpLdrGotStr Lloh65, Lloh66, Lloh67 .loh AdrpAdd Lloh63, Lloh64 .loh AdrpLdrGotStr Lloh60, Lloh61, Lloh62 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpLdrGotStr Lloh55, Lloh56, Lloh57 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotStr Lloh50, Lloh51, Lloh52 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpLdrGotStr Lloh45, Lloh46, Lloh47 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpLdrGotStr Lloh40, Lloh41, Lloh42 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGotStr Lloh35, Lloh36, Lloh37 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotStr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotStr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _GLAD_GL_VERSION_1_1,4,2 ; @GLAD_GL_VERSION_1_1 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "glDrawArrays" .comm _glad_glDrawArrays,8,3 ; @glad_glDrawArrays l_.str.1: ; @.str.1 .asciz "glDrawElements" .comm _glad_glDrawElements,8,3 ; @glad_glDrawElements l_.str.2: ; @.str.2 .asciz "glGetPointerv" .comm _glad_glGetPointerv,8,3 ; @glad_glGetPointerv l_.str.3: ; @.str.3 .asciz "glPolygonOffset" .comm _glad_glPolygonOffset,8,3 ; @glad_glPolygonOffset l_.str.4: ; @.str.4 .asciz "glCopyTexImage1D" .comm _glad_glCopyTexImage1D,8,3 ; @glad_glCopyTexImage1D l_.str.5: ; @.str.5 .asciz "glCopyTexImage2D" .comm _glad_glCopyTexImage2D,8,3 ; @glad_glCopyTexImage2D l_.str.6: ; @.str.6 .asciz "glCopyTexSubImage1D" .comm _glad_glCopyTexSubImage1D,8,3 ; @glad_glCopyTexSubImage1D l_.str.7: ; @.str.7 .asciz "glCopyTexSubImage2D" .comm _glad_glCopyTexSubImage2D,8,3 ; @glad_glCopyTexSubImage2D l_.str.8: ; @.str.8 .asciz "glTexSubImage1D" .comm _glad_glTexSubImage1D,8,3 ; @glad_glTexSubImage1D l_.str.9: ; @.str.9 .asciz "glTexSubImage2D" .comm _glad_glTexSubImage2D,8,3 ; @glad_glTexSubImage2D l_.str.10: ; @.str.10 .asciz "glBindTexture" .comm _glad_glBindTexture,8,3 ; @glad_glBindTexture l_.str.11: ; @.str.11 .asciz "glDeleteTextures" .comm _glad_glDeleteTextures,8,3 ; @glad_glDeleteTextures l_.str.12: ; @.str.12 .asciz "glGenTextures" .comm _glad_glGenTextures,8,3 ; @glad_glGenTextures l_.str.13: ; @.str.13 .asciz "glIsTexture" .comm _glad_glIsTexture,8,3 ; @glad_glIsTexture l_.str.14: ; @.str.14 .asciz "glArrayElement" .comm _glad_glArrayElement,8,3 ; @glad_glArrayElement l_.str.15: ; @.str.15 .asciz "glColorPointer" .comm _glad_glColorPointer,8,3 ; @glad_glColorPointer l_.str.16: ; @.str.16 .asciz "glDisableClientState" .comm _glad_glDisableClientState,8,3 ; @glad_glDisableClientState l_.str.17: ; @.str.17 .asciz "glEdgeFlagPointer" .comm _glad_glEdgeFlagPointer,8,3 ; @glad_glEdgeFlagPointer l_.str.18: ; @.str.18 .asciz "glEnableClientState" .comm _glad_glEnableClientState,8,3 ; @glad_glEnableClientState l_.str.19: ; @.str.19 .asciz "glIndexPointer" .comm _glad_glIndexPointer,8,3 ; @glad_glIndexPointer l_.str.20: ; @.str.20 .asciz "glInterleavedArrays" .comm _glad_glInterleavedArrays,8,3 ; @glad_glInterleavedArrays l_.str.21: ; @.str.21 .asciz "glNormalPointer" .comm _glad_glNormalPointer,8,3 ; @glad_glNormalPointer l_.str.22: ; @.str.22 .asciz "glTexCoordPointer" .comm _glad_glTexCoordPointer,8,3 ; @glad_glTexCoordPointer l_.str.23: ; @.str.23 .asciz "glVertexPointer" .comm _glad_glVertexPointer,8,3 ; @glad_glVertexPointer l_.str.24: ; @.str.24 .asciz "glAreTexturesResident" .comm _glad_glAreTexturesResident,8,3 ; @glad_glAreTexturesResident l_.str.25: ; @.str.25 .asciz "glPrioritizeTextures" .comm _glad_glPrioritizeTextures,8,3 ; @glad_glPrioritizeTextures l_.str.26: ; @.str.26 .asciz "glIndexub" .comm _glad_glIndexub,8,3 ; @glad_glIndexub l_.str.27: ; @.str.27 .asciz "glIndexubv" .comm _glad_glIndexubv,8,3 ; @glad_glIndexubv l_.str.28: ; @.str.28 .asciz "glPopClientAttrib" .comm _glad_glPopClientAttrib,8,3 ; @glad_glPopClientAttrib l_.str.29: ; @.str.29 .asciz "glPushClientAttrib" .comm _glad_glPushClientAttrib,8,3 ; @glad_glPushClientAttrib .no_dead_strip _load_GL_VERSION_1_1 .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_glad.c_load_GL_VERSION_1_1.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function load_GL_VERSION_1_2 _load_GL_VERSION_1_2: ## @load_GL_VERSION_1_2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _GLAD_GL_VERSION_1_2@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_2 ## %bb.1: movq %rdi, %rbx leaq L_.str(%rip), %rdi callq *%rbx movq _glad_glDrawRangeElements@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.1(%rip), %rdi callq *%rbx movq _glad_glTexImage3D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.2(%rip), %rdi callq *%rbx movq _glad_glTexSubImage3D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.3(%rip), %rdi callq *%rbx movq _glad_glCopyTexSubImage3D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _GLAD_GL_VERSION_1_2,4,2 ## @GLAD_GL_VERSION_1_2 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "glDrawRangeElements" .comm _glad_glDrawRangeElements,8,3 ## @glad_glDrawRangeElements L_.str.1: ## @.str.1 .asciz "glTexImage3D" .comm _glad_glTexImage3D,8,3 ## @glad_glTexImage3D L_.str.2: ## @.str.2 .asciz "glTexSubImage3D" .comm _glad_glTexSubImage3D,8,3 ## @glad_glTexSubImage3D L_.str.3: ## @.str.3 .asciz "glCopyTexSubImage3D" .comm _glad_glCopyTexSubImage3D,8,3 ## @glad_glCopyTexSubImage3D .no_dead_strip _load_GL_VERSION_1_2 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function load_GL_VERSION_1_2 _load_GL_VERSION_1_2: ; @load_GL_VERSION_1_2 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _GLAD_GL_VERSION_1_2@GOTPAGE Lloh1: ldr x8, [x8, _GLAD_GL_VERSION_1_2@GOTPAGEOFF] Lloh2: ldr w8, [x8] cbz w8, LBB0_2 ; %bb.1: mov x19, x0 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF blr x19 Lloh5: adrp x8, _glad_glDrawRangeElements@GOTPAGE Lloh6: ldr x8, [x8, _glad_glDrawRangeElements@GOTPAGEOFF] Lloh7: str x0, [x8] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF blr x19 Lloh10: adrp x8, _glad_glTexImage3D@GOTPAGE Lloh11: ldr x8, [x8, _glad_glTexImage3D@GOTPAGEOFF] Lloh12: str x0, [x8] Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF blr x19 Lloh15: adrp x8, _glad_glTexSubImage3D@GOTPAGE Lloh16: ldr x8, [x8, _glad_glTexSubImage3D@GOTPAGEOFF] Lloh17: str x0, [x8] Lloh18: adrp x0, l_.str.3@PAGE Lloh19: add x0, x0, l_.str.3@PAGEOFF blr x19 Lloh20: adrp x8, _glad_glCopyTexSubImage3D@GOTPAGE Lloh21: ldr x8, [x8, _glad_glCopyTexSubImage3D@GOTPAGEOFF] Lloh22: str x0, [x8] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _GLAD_GL_VERSION_1_2,4,2 ; @GLAD_GL_VERSION_1_2 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "glDrawRangeElements" .comm _glad_glDrawRangeElements,8,3 ; @glad_glDrawRangeElements l_.str.1: ; @.str.1 .asciz "glTexImage3D" .comm _glad_glTexImage3D,8,3 ; @glad_glTexImage3D l_.str.2: ; @.str.2 .asciz "glTexSubImage3D" .comm _glad_glTexSubImage3D,8,3 ; @glad_glTexSubImage3D l_.str.3: ; @.str.3 .asciz "glCopyTexSubImage3D" .comm _glad_glCopyTexSubImage3D,8,3 ; @glad_glCopyTexSubImage3D .no_dead_strip _load_GL_VERSION_1_2 .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_glad.c_load_GL_VERSION_1_2.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function load_GL_VERSION_1_3 _load_GL_VERSION_1_3: ## @load_GL_VERSION_1_3 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _GLAD_GL_VERSION_1_3@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_2 ## %bb.1: movq %rdi, %rbx leaq L_.str(%rip), %rdi callq *%rbx movq _glad_glActiveTexture@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.1(%rip), %rdi callq *%rbx movq _glad_glSampleCoverage@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.2(%rip), %rdi callq *%rbx movq _glad_glCompressedTexImage3D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.3(%rip), %rdi callq *%rbx movq _glad_glCompressedTexImage2D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.4(%rip), %rdi callq *%rbx movq _glad_glCompressedTexImage1D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.5(%rip), %rdi callq *%rbx movq _glad_glCompressedTexSubImage3D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.6(%rip), %rdi callq *%rbx movq _glad_glCompressedTexSubImage2D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.7(%rip), %rdi callq *%rbx movq _glad_glCompressedTexSubImage1D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.8(%rip), %rdi callq *%rbx movq _glad_glGetCompressedTexImage@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.9(%rip), %rdi callq *%rbx movq _glad_glClientActiveTexture@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.10(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord1d@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.11(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord1dv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.12(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord1f@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.13(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord1fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.14(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord1i@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.15(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord1iv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.16(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord1s@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.17(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord1sv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.18(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord2d@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.19(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord2dv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.20(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord2f@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.21(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord2fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.22(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord2i@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.23(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord2iv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.24(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord2s@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.25(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord2sv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.26(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord3d@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.27(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord3dv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.28(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord3f@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.29(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord3fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.30(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord3i@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.31(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord3iv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.32(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord3s@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.33(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord3sv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.34(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord4d@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.35(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord4dv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.36(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord4f@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.37(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord4fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.38(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord4i@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.39(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord4iv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.40(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord4s@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.41(%rip), %rdi callq *%rbx movq _glad_glMultiTexCoord4sv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.42(%rip), %rdi callq *%rbx movq _glad_glLoadTransposeMatrixf@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.43(%rip), %rdi callq *%rbx movq _glad_glLoadTransposeMatrixd@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.44(%rip), %rdi callq *%rbx movq _glad_glMultTransposeMatrixf@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.45(%rip), %rdi callq *%rbx movq _glad_glMultTransposeMatrixd@GOTPCREL(%rip), %rcx movq %rax, (%rcx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _GLAD_GL_VERSION_1_3,4,2 ## @GLAD_GL_VERSION_1_3 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "glActiveTexture" .comm _glad_glActiveTexture,8,3 ## @glad_glActiveTexture L_.str.1: ## @.str.1 .asciz "glSampleCoverage" .comm _glad_glSampleCoverage,8,3 ## @glad_glSampleCoverage L_.str.2: ## @.str.2 .asciz "glCompressedTexImage3D" .comm _glad_glCompressedTexImage3D,8,3 ## @glad_glCompressedTexImage3D L_.str.3: ## @.str.3 .asciz "glCompressedTexImage2D" .comm _glad_glCompressedTexImage2D,8,3 ## @glad_glCompressedTexImage2D L_.str.4: ## @.str.4 .asciz "glCompressedTexImage1D" .comm _glad_glCompressedTexImage1D,8,3 ## @glad_glCompressedTexImage1D L_.str.5: ## @.str.5 .asciz "glCompressedTexSubImage3D" .comm _glad_glCompressedTexSubImage3D,8,3 ## @glad_glCompressedTexSubImage3D L_.str.6: ## @.str.6 .asciz "glCompressedTexSubImage2D" .comm _glad_glCompressedTexSubImage2D,8,3 ## @glad_glCompressedTexSubImage2D L_.str.7: ## @.str.7 .asciz "glCompressedTexSubImage1D" .comm _glad_glCompressedTexSubImage1D,8,3 ## @glad_glCompressedTexSubImage1D L_.str.8: ## @.str.8 .asciz "glGetCompressedTexImage" .comm _glad_glGetCompressedTexImage,8,3 ## @glad_glGetCompressedTexImage L_.str.9: ## @.str.9 .asciz "glClientActiveTexture" .comm _glad_glClientActiveTexture,8,3 ## @glad_glClientActiveTexture L_.str.10: ## @.str.10 .asciz "glMultiTexCoord1d" .comm _glad_glMultiTexCoord1d,8,3 ## @glad_glMultiTexCoord1d L_.str.11: ## @.str.11 .asciz "glMultiTexCoord1dv" .comm _glad_glMultiTexCoord1dv,8,3 ## @glad_glMultiTexCoord1dv L_.str.12: ## @.str.12 .asciz "glMultiTexCoord1f" .comm _glad_glMultiTexCoord1f,8,3 ## @glad_glMultiTexCoord1f L_.str.13: ## @.str.13 .asciz "glMultiTexCoord1fv" .comm _glad_glMultiTexCoord1fv,8,3 ## @glad_glMultiTexCoord1fv L_.str.14: ## @.str.14 .asciz "glMultiTexCoord1i" .comm _glad_glMultiTexCoord1i,8,3 ## @glad_glMultiTexCoord1i L_.str.15: ## @.str.15 .asciz "glMultiTexCoord1iv" .comm _glad_glMultiTexCoord1iv,8,3 ## @glad_glMultiTexCoord1iv L_.str.16: ## @.str.16 .asciz "glMultiTexCoord1s" .comm _glad_glMultiTexCoord1s,8,3 ## @glad_glMultiTexCoord1s L_.str.17: ## @.str.17 .asciz "glMultiTexCoord1sv" .comm _glad_glMultiTexCoord1sv,8,3 ## @glad_glMultiTexCoord1sv L_.str.18: ## @.str.18 .asciz "glMultiTexCoord2d" .comm _glad_glMultiTexCoord2d,8,3 ## @glad_glMultiTexCoord2d L_.str.19: ## @.str.19 .asciz "glMultiTexCoord2dv" .comm _glad_glMultiTexCoord2dv,8,3 ## @glad_glMultiTexCoord2dv L_.str.20: ## @.str.20 .asciz "glMultiTexCoord2f" .comm _glad_glMultiTexCoord2f,8,3 ## @glad_glMultiTexCoord2f L_.str.21: ## @.str.21 .asciz "glMultiTexCoord2fv" .comm _glad_glMultiTexCoord2fv,8,3 ## @glad_glMultiTexCoord2fv L_.str.22: ## @.str.22 .asciz "glMultiTexCoord2i" .comm _glad_glMultiTexCoord2i,8,3 ## @glad_glMultiTexCoord2i L_.str.23: ## @.str.23 .asciz "glMultiTexCoord2iv" .comm _glad_glMultiTexCoord2iv,8,3 ## @glad_glMultiTexCoord2iv L_.str.24: ## @.str.24 .asciz "glMultiTexCoord2s" .comm _glad_glMultiTexCoord2s,8,3 ## @glad_glMultiTexCoord2s L_.str.25: ## @.str.25 .asciz "glMultiTexCoord2sv" .comm _glad_glMultiTexCoord2sv,8,3 ## @glad_glMultiTexCoord2sv L_.str.26: ## @.str.26 .asciz "glMultiTexCoord3d" .comm _glad_glMultiTexCoord3d,8,3 ## @glad_glMultiTexCoord3d L_.str.27: ## @.str.27 .asciz "glMultiTexCoord3dv" .comm _glad_glMultiTexCoord3dv,8,3 ## @glad_glMultiTexCoord3dv L_.str.28: ## @.str.28 .asciz "glMultiTexCoord3f" .comm _glad_glMultiTexCoord3f,8,3 ## @glad_glMultiTexCoord3f L_.str.29: ## @.str.29 .asciz "glMultiTexCoord3fv" .comm _glad_glMultiTexCoord3fv,8,3 ## @glad_glMultiTexCoord3fv L_.str.30: ## @.str.30 .asciz "glMultiTexCoord3i" .comm _glad_glMultiTexCoord3i,8,3 ## @glad_glMultiTexCoord3i L_.str.31: ## @.str.31 .asciz "glMultiTexCoord3iv" .comm _glad_glMultiTexCoord3iv,8,3 ## @glad_glMultiTexCoord3iv L_.str.32: ## @.str.32 .asciz "glMultiTexCoord3s" .comm _glad_glMultiTexCoord3s,8,3 ## @glad_glMultiTexCoord3s L_.str.33: ## @.str.33 .asciz "glMultiTexCoord3sv" .comm _glad_glMultiTexCoord3sv,8,3 ## @glad_glMultiTexCoord3sv L_.str.34: ## @.str.34 .asciz "glMultiTexCoord4d" .comm _glad_glMultiTexCoord4d,8,3 ## @glad_glMultiTexCoord4d L_.str.35: ## @.str.35 .asciz "glMultiTexCoord4dv" .comm _glad_glMultiTexCoord4dv,8,3 ## @glad_glMultiTexCoord4dv L_.str.36: ## @.str.36 .asciz "glMultiTexCoord4f" .comm _glad_glMultiTexCoord4f,8,3 ## @glad_glMultiTexCoord4f L_.str.37: ## @.str.37 .asciz "glMultiTexCoord4fv" .comm _glad_glMultiTexCoord4fv,8,3 ## @glad_glMultiTexCoord4fv L_.str.38: ## @.str.38 .asciz "glMultiTexCoord4i" .comm _glad_glMultiTexCoord4i,8,3 ## @glad_glMultiTexCoord4i L_.str.39: ## @.str.39 .asciz "glMultiTexCoord4iv" .comm _glad_glMultiTexCoord4iv,8,3 ## @glad_glMultiTexCoord4iv L_.str.40: ## @.str.40 .asciz "glMultiTexCoord4s" .comm _glad_glMultiTexCoord4s,8,3 ## @glad_glMultiTexCoord4s L_.str.41: ## @.str.41 .asciz "glMultiTexCoord4sv" .comm _glad_glMultiTexCoord4sv,8,3 ## @glad_glMultiTexCoord4sv L_.str.42: ## @.str.42 .asciz "glLoadTransposeMatrixf" .comm _glad_glLoadTransposeMatrixf,8,3 ## @glad_glLoadTransposeMatrixf L_.str.43: ## @.str.43 .asciz "glLoadTransposeMatrixd" .comm _glad_glLoadTransposeMatrixd,8,3 ## @glad_glLoadTransposeMatrixd L_.str.44: ## @.str.44 .asciz "glMultTransposeMatrixf" .comm _glad_glMultTransposeMatrixf,8,3 ## @glad_glMultTransposeMatrixf L_.str.45: ## @.str.45 .asciz "glMultTransposeMatrixd" .comm _glad_glMultTransposeMatrixd,8,3 ## @glad_glMultTransposeMatrixd .no_dead_strip _load_GL_VERSION_1_3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function load_GL_VERSION_1_3 _load_GL_VERSION_1_3: ; @load_GL_VERSION_1_3 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _GLAD_GL_VERSION_1_3@GOTPAGE Lloh1: ldr x8, [x8, _GLAD_GL_VERSION_1_3@GOTPAGEOFF] Lloh2: ldr w8, [x8] cbz w8, LBB0_2 ; %bb.1: mov x19, x0 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF blr x19 Lloh5: adrp x8, _glad_glActiveTexture@GOTPAGE Lloh6: ldr x8, [x8, _glad_glActiveTexture@GOTPAGEOFF] Lloh7: str x0, [x8] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF blr x19 Lloh10: adrp x8, _glad_glSampleCoverage@GOTPAGE Lloh11: ldr x8, [x8, _glad_glSampleCoverage@GOTPAGEOFF] Lloh12: str x0, [x8] Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF blr x19 Lloh15: adrp x8, _glad_glCompressedTexImage3D@GOTPAGE Lloh16: ldr x8, [x8, _glad_glCompressedTexImage3D@GOTPAGEOFF] Lloh17: str x0, [x8] Lloh18: adrp x0, l_.str.3@PAGE Lloh19: add x0, x0, l_.str.3@PAGEOFF blr x19 Lloh20: adrp x8, _glad_glCompressedTexImage2D@GOTPAGE Lloh21: ldr x8, [x8, _glad_glCompressedTexImage2D@GOTPAGEOFF] Lloh22: str x0, [x8] Lloh23: adrp x0, l_.str.4@PAGE Lloh24: add x0, x0, l_.str.4@PAGEOFF blr x19 Lloh25: adrp x8, _glad_glCompressedTexImage1D@GOTPAGE Lloh26: ldr x8, [x8, _glad_glCompressedTexImage1D@GOTPAGEOFF] Lloh27: str x0, [x8] Lloh28: adrp x0, l_.str.5@PAGE Lloh29: add x0, x0, l_.str.5@PAGEOFF blr x19 Lloh30: adrp x8, _glad_glCompressedTexSubImage3D@GOTPAGE Lloh31: ldr x8, [x8, _glad_glCompressedTexSubImage3D@GOTPAGEOFF] Lloh32: str x0, [x8] Lloh33: adrp x0, l_.str.6@PAGE Lloh34: add x0, x0, l_.str.6@PAGEOFF blr x19 Lloh35: adrp x8, _glad_glCompressedTexSubImage2D@GOTPAGE Lloh36: ldr x8, [x8, _glad_glCompressedTexSubImage2D@GOTPAGEOFF] Lloh37: str x0, [x8] Lloh38: adrp x0, l_.str.7@PAGE Lloh39: add x0, x0, l_.str.7@PAGEOFF blr x19 Lloh40: adrp x8, _glad_glCompressedTexSubImage1D@GOTPAGE Lloh41: ldr x8, [x8, _glad_glCompressedTexSubImage1D@GOTPAGEOFF] Lloh42: str x0, [x8] Lloh43: adrp x0, l_.str.8@PAGE Lloh44: add x0, x0, l_.str.8@PAGEOFF blr x19 Lloh45: adrp x8, _glad_glGetCompressedTexImage@GOTPAGE Lloh46: ldr x8, [x8, _glad_glGetCompressedTexImage@GOTPAGEOFF] Lloh47: str x0, [x8] Lloh48: adrp x0, l_.str.9@PAGE Lloh49: add x0, x0, l_.str.9@PAGEOFF blr x19 Lloh50: adrp x8, _glad_glClientActiveTexture@GOTPAGE Lloh51: ldr x8, [x8, _glad_glClientActiveTexture@GOTPAGEOFF] Lloh52: str x0, [x8] Lloh53: adrp x0, l_.str.10@PAGE Lloh54: add x0, x0, l_.str.10@PAGEOFF blr x19 Lloh55: adrp x8, _glad_glMultiTexCoord1d@GOTPAGE Lloh56: ldr x8, [x8, _glad_glMultiTexCoord1d@GOTPAGEOFF] Lloh57: str x0, [x8] Lloh58: adrp x0, l_.str.11@PAGE Lloh59: add x0, x0, l_.str.11@PAGEOFF blr x19 Lloh60: adrp x8, _glad_glMultiTexCoord1dv@GOTPAGE Lloh61: ldr x8, [x8, _glad_glMultiTexCoord1dv@GOTPAGEOFF] Lloh62: str x0, [x8] Lloh63: adrp x0, l_.str.12@PAGE Lloh64: add x0, x0, l_.str.12@PAGEOFF blr x19 Lloh65: adrp x8, _glad_glMultiTexCoord1f@GOTPAGE Lloh66: ldr x8, [x8, _glad_glMultiTexCoord1f@GOTPAGEOFF] Lloh67: str x0, [x8] Lloh68: adrp x0, l_.str.13@PAGE Lloh69: add x0, x0, l_.str.13@PAGEOFF blr x19 Lloh70: adrp x8, _glad_glMultiTexCoord1fv@GOTPAGE Lloh71: ldr x8, [x8, _glad_glMultiTexCoord1fv@GOTPAGEOFF] Lloh72: str x0, [x8] Lloh73: adrp x0, l_.str.14@PAGE Lloh74: add x0, x0, l_.str.14@PAGEOFF blr x19 Lloh75: adrp x8, _glad_glMultiTexCoord1i@GOTPAGE Lloh76: ldr x8, [x8, _glad_glMultiTexCoord1i@GOTPAGEOFF] Lloh77: str x0, [x8] Lloh78: adrp x0, l_.str.15@PAGE Lloh79: add x0, x0, l_.str.15@PAGEOFF blr x19 Lloh80: adrp x8, _glad_glMultiTexCoord1iv@GOTPAGE Lloh81: ldr x8, [x8, _glad_glMultiTexCoord1iv@GOTPAGEOFF] Lloh82: str x0, [x8] Lloh83: adrp x0, l_.str.16@PAGE Lloh84: add x0, x0, l_.str.16@PAGEOFF blr x19 Lloh85: adrp x8, _glad_glMultiTexCoord1s@GOTPAGE Lloh86: ldr x8, [x8, _glad_glMultiTexCoord1s@GOTPAGEOFF] Lloh87: str x0, [x8] Lloh88: adrp x0, l_.str.17@PAGE Lloh89: add x0, x0, l_.str.17@PAGEOFF blr x19 Lloh90: adrp x8, _glad_glMultiTexCoord1sv@GOTPAGE Lloh91: ldr x8, [x8, _glad_glMultiTexCoord1sv@GOTPAGEOFF] Lloh92: str x0, [x8] Lloh93: adrp x0, l_.str.18@PAGE Lloh94: add x0, x0, l_.str.18@PAGEOFF blr x19 Lloh95: adrp x8, _glad_glMultiTexCoord2d@GOTPAGE Lloh96: ldr x8, [x8, _glad_glMultiTexCoord2d@GOTPAGEOFF] Lloh97: str x0, [x8] Lloh98: adrp x0, l_.str.19@PAGE Lloh99: add x0, x0, l_.str.19@PAGEOFF blr x19 Lloh100: adrp x8, _glad_glMultiTexCoord2dv@GOTPAGE Lloh101: ldr x8, [x8, _glad_glMultiTexCoord2dv@GOTPAGEOFF] Lloh102: str x0, [x8] Lloh103: adrp x0, l_.str.20@PAGE Lloh104: add x0, x0, l_.str.20@PAGEOFF blr x19 Lloh105: adrp x8, _glad_glMultiTexCoord2f@GOTPAGE Lloh106: ldr x8, [x8, _glad_glMultiTexCoord2f@GOTPAGEOFF] Lloh107: str x0, [x8] Lloh108: adrp x0, l_.str.21@PAGE Lloh109: add x0, x0, l_.str.21@PAGEOFF blr x19 Lloh110: adrp x8, _glad_glMultiTexCoord2fv@GOTPAGE Lloh111: ldr x8, [x8, _glad_glMultiTexCoord2fv@GOTPAGEOFF] Lloh112: str x0, [x8] Lloh113: adrp x0, l_.str.22@PAGE Lloh114: add x0, x0, l_.str.22@PAGEOFF blr x19 Lloh115: adrp x8, _glad_glMultiTexCoord2i@GOTPAGE Lloh116: ldr x8, [x8, _glad_glMultiTexCoord2i@GOTPAGEOFF] Lloh117: str x0, [x8] Lloh118: adrp x0, l_.str.23@PAGE Lloh119: add x0, x0, l_.str.23@PAGEOFF blr x19 Lloh120: adrp x8, _glad_glMultiTexCoord2iv@GOTPAGE Lloh121: ldr x8, [x8, _glad_glMultiTexCoord2iv@GOTPAGEOFF] Lloh122: str x0, [x8] Lloh123: adrp x0, l_.str.24@PAGE Lloh124: add x0, x0, l_.str.24@PAGEOFF blr x19 Lloh125: adrp x8, _glad_glMultiTexCoord2s@GOTPAGE Lloh126: ldr x8, [x8, _glad_glMultiTexCoord2s@GOTPAGEOFF] Lloh127: str x0, [x8] Lloh128: adrp x0, l_.str.25@PAGE Lloh129: add x0, x0, l_.str.25@PAGEOFF blr x19 Lloh130: adrp x8, _glad_glMultiTexCoord2sv@GOTPAGE Lloh131: ldr x8, [x8, _glad_glMultiTexCoord2sv@GOTPAGEOFF] Lloh132: str x0, [x8] Lloh133: adrp x0, l_.str.26@PAGE Lloh134: add x0, x0, l_.str.26@PAGEOFF blr x19 Lloh135: adrp x8, _glad_glMultiTexCoord3d@GOTPAGE Lloh136: ldr x8, [x8, _glad_glMultiTexCoord3d@GOTPAGEOFF] Lloh137: str x0, [x8] Lloh138: adrp x0, l_.str.27@PAGE Lloh139: add x0, x0, l_.str.27@PAGEOFF blr x19 Lloh140: adrp x8, _glad_glMultiTexCoord3dv@GOTPAGE Lloh141: ldr x8, [x8, _glad_glMultiTexCoord3dv@GOTPAGEOFF] Lloh142: str x0, [x8] Lloh143: adrp x0, l_.str.28@PAGE Lloh144: add x0, x0, l_.str.28@PAGEOFF blr x19 Lloh145: adrp x8, _glad_glMultiTexCoord3f@GOTPAGE Lloh146: ldr x8, [x8, _glad_glMultiTexCoord3f@GOTPAGEOFF] Lloh147: str x0, [x8] Lloh148: adrp x0, l_.str.29@PAGE Lloh149: add x0, x0, l_.str.29@PAGEOFF blr x19 Lloh150: adrp x8, _glad_glMultiTexCoord3fv@GOTPAGE Lloh151: ldr x8, [x8, _glad_glMultiTexCoord3fv@GOTPAGEOFF] Lloh152: str x0, [x8] Lloh153: adrp x0, l_.str.30@PAGE Lloh154: add x0, x0, l_.str.30@PAGEOFF blr x19 Lloh155: adrp x8, _glad_glMultiTexCoord3i@GOTPAGE Lloh156: ldr x8, [x8, _glad_glMultiTexCoord3i@GOTPAGEOFF] Lloh157: str x0, [x8] Lloh158: adrp x0, l_.str.31@PAGE Lloh159: add x0, x0, l_.str.31@PAGEOFF blr x19 Lloh160: adrp x8, _glad_glMultiTexCoord3iv@GOTPAGE Lloh161: ldr x8, [x8, _glad_glMultiTexCoord3iv@GOTPAGEOFF] Lloh162: str x0, [x8] Lloh163: adrp x0, l_.str.32@PAGE Lloh164: add x0, x0, l_.str.32@PAGEOFF blr x19 Lloh165: adrp x8, _glad_glMultiTexCoord3s@GOTPAGE Lloh166: ldr x8, [x8, _glad_glMultiTexCoord3s@GOTPAGEOFF] Lloh167: str x0, [x8] Lloh168: adrp x0, l_.str.33@PAGE Lloh169: add x0, x0, l_.str.33@PAGEOFF blr x19 Lloh170: adrp x8, _glad_glMultiTexCoord3sv@GOTPAGE Lloh171: ldr x8, [x8, _glad_glMultiTexCoord3sv@GOTPAGEOFF] Lloh172: str x0, [x8] Lloh173: adrp x0, l_.str.34@PAGE Lloh174: add x0, x0, l_.str.34@PAGEOFF blr x19 Lloh175: adrp x8, _glad_glMultiTexCoord4d@GOTPAGE Lloh176: ldr x8, [x8, _glad_glMultiTexCoord4d@GOTPAGEOFF] Lloh177: str x0, [x8] Lloh178: adrp x0, l_.str.35@PAGE Lloh179: add x0, x0, l_.str.35@PAGEOFF blr x19 Lloh180: adrp x8, _glad_glMultiTexCoord4dv@GOTPAGE Lloh181: ldr x8, [x8, _glad_glMultiTexCoord4dv@GOTPAGEOFF] Lloh182: str x0, [x8] Lloh183: adrp x0, l_.str.36@PAGE Lloh184: add x0, x0, l_.str.36@PAGEOFF blr x19 Lloh185: adrp x8, _glad_glMultiTexCoord4f@GOTPAGE Lloh186: ldr x8, [x8, _glad_glMultiTexCoord4f@GOTPAGEOFF] Lloh187: str x0, [x8] Lloh188: adrp x0, l_.str.37@PAGE Lloh189: add x0, x0, l_.str.37@PAGEOFF blr x19 Lloh190: adrp x8, _glad_glMultiTexCoord4fv@GOTPAGE Lloh191: ldr x8, [x8, _glad_glMultiTexCoord4fv@GOTPAGEOFF] Lloh192: str x0, [x8] Lloh193: adrp x0, l_.str.38@PAGE Lloh194: add x0, x0, l_.str.38@PAGEOFF blr x19 Lloh195: adrp x8, _glad_glMultiTexCoord4i@GOTPAGE Lloh196: ldr x8, [x8, _glad_glMultiTexCoord4i@GOTPAGEOFF] Lloh197: str x0, [x8] Lloh198: adrp x0, l_.str.39@PAGE Lloh199: add x0, x0, l_.str.39@PAGEOFF blr x19 Lloh200: adrp x8, _glad_glMultiTexCoord4iv@GOTPAGE Lloh201: ldr x8, [x8, _glad_glMultiTexCoord4iv@GOTPAGEOFF] Lloh202: str x0, [x8] Lloh203: adrp x0, l_.str.40@PAGE Lloh204: add x0, x0, l_.str.40@PAGEOFF blr x19 Lloh205: adrp x8, _glad_glMultiTexCoord4s@GOTPAGE Lloh206: ldr x8, [x8, _glad_glMultiTexCoord4s@GOTPAGEOFF] Lloh207: str x0, [x8] Lloh208: adrp x0, l_.str.41@PAGE Lloh209: add x0, x0, l_.str.41@PAGEOFF blr x19 Lloh210: adrp x8, _glad_glMultiTexCoord4sv@GOTPAGE Lloh211: ldr x8, [x8, _glad_glMultiTexCoord4sv@GOTPAGEOFF] Lloh212: str x0, [x8] Lloh213: adrp x0, l_.str.42@PAGE Lloh214: add x0, x0, l_.str.42@PAGEOFF blr x19 Lloh215: adrp x8, _glad_glLoadTransposeMatrixf@GOTPAGE Lloh216: ldr x8, [x8, _glad_glLoadTransposeMatrixf@GOTPAGEOFF] Lloh217: str x0, [x8] Lloh218: adrp x0, l_.str.43@PAGE Lloh219: add x0, x0, l_.str.43@PAGEOFF blr x19 Lloh220: adrp x8, _glad_glLoadTransposeMatrixd@GOTPAGE Lloh221: ldr x8, [x8, _glad_glLoadTransposeMatrixd@GOTPAGEOFF] Lloh222: str x0, [x8] Lloh223: adrp x0, l_.str.44@PAGE Lloh224: add x0, x0, l_.str.44@PAGEOFF blr x19 Lloh225: adrp x8, _glad_glMultTransposeMatrixf@GOTPAGE Lloh226: ldr x8, [x8, _glad_glMultTransposeMatrixf@GOTPAGEOFF] Lloh227: str x0, [x8] Lloh228: adrp x0, l_.str.45@PAGE Lloh229: add x0, x0, l_.str.45@PAGEOFF blr x19 Lloh230: adrp x8, _glad_glMultTransposeMatrixd@GOTPAGE Lloh231: ldr x8, [x8, _glad_glMultTransposeMatrixd@GOTPAGEOFF] Lloh232: str x0, [x8] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh230, Lloh231, Lloh232 .loh AdrpAdd Lloh228, Lloh229 .loh AdrpLdrGotStr Lloh225, Lloh226, Lloh227 .loh AdrpAdd Lloh223, Lloh224 .loh AdrpLdrGotStr Lloh220, Lloh221, Lloh222 .loh AdrpAdd Lloh218, Lloh219 .loh AdrpLdrGotStr Lloh215, Lloh216, Lloh217 .loh AdrpAdd Lloh213, Lloh214 .loh AdrpLdrGotStr Lloh210, Lloh211, Lloh212 .loh AdrpAdd Lloh208, Lloh209 .loh AdrpLdrGotStr Lloh205, Lloh206, Lloh207 .loh AdrpAdd Lloh203, Lloh204 .loh AdrpLdrGotStr Lloh200, Lloh201, Lloh202 .loh AdrpAdd Lloh198, Lloh199 .loh AdrpLdrGotStr Lloh195, Lloh196, Lloh197 .loh AdrpAdd Lloh193, Lloh194 .loh AdrpLdrGotStr Lloh190, Lloh191, Lloh192 .loh AdrpAdd Lloh188, Lloh189 .loh AdrpLdrGotStr Lloh185, Lloh186, Lloh187 .loh AdrpAdd Lloh183, Lloh184 .loh AdrpLdrGotStr Lloh180, Lloh181, Lloh182 .loh AdrpAdd Lloh178, Lloh179 .loh AdrpLdrGotStr Lloh175, Lloh176, Lloh177 .loh AdrpAdd Lloh173, Lloh174 .loh AdrpLdrGotStr Lloh170, Lloh171, Lloh172 .loh AdrpAdd Lloh168, Lloh169 .loh AdrpLdrGotStr Lloh165, Lloh166, Lloh167 .loh AdrpAdd Lloh163, Lloh164 .loh AdrpLdrGotStr Lloh160, Lloh161, Lloh162 .loh AdrpAdd Lloh158, Lloh159 .loh AdrpLdrGotStr Lloh155, Lloh156, Lloh157 .loh AdrpAdd Lloh153, Lloh154 .loh AdrpLdrGotStr Lloh150, Lloh151, Lloh152 .loh AdrpAdd Lloh148, Lloh149 .loh AdrpLdrGotStr Lloh145, Lloh146, Lloh147 .loh AdrpAdd Lloh143, Lloh144 .loh AdrpLdrGotStr Lloh140, Lloh141, Lloh142 .loh AdrpAdd Lloh138, Lloh139 .loh AdrpLdrGotStr Lloh135, Lloh136, Lloh137 .loh AdrpAdd Lloh133, Lloh134 .loh AdrpLdrGotStr Lloh130, Lloh131, Lloh132 .loh AdrpAdd Lloh128, Lloh129 .loh AdrpLdrGotStr Lloh125, Lloh126, Lloh127 .loh AdrpAdd Lloh123, Lloh124 .loh AdrpLdrGotStr Lloh120, Lloh121, Lloh122 .loh AdrpAdd Lloh118, Lloh119 .loh AdrpLdrGotStr Lloh115, Lloh116, Lloh117 .loh AdrpAdd Lloh113, Lloh114 .loh AdrpLdrGotStr Lloh110, Lloh111, Lloh112 .loh AdrpAdd Lloh108, Lloh109 .loh AdrpLdrGotStr Lloh105, Lloh106, Lloh107 .loh AdrpAdd Lloh103, Lloh104 .loh AdrpLdrGotStr Lloh100, Lloh101, Lloh102 .loh AdrpAdd Lloh98, Lloh99 .loh AdrpLdrGotStr Lloh95, Lloh96, Lloh97 .loh AdrpAdd Lloh93, Lloh94 .loh AdrpLdrGotStr Lloh90, Lloh91, Lloh92 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpLdrGotStr Lloh85, Lloh86, Lloh87 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpLdrGotStr Lloh80, Lloh81, Lloh82 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpLdrGotStr Lloh75, Lloh76, Lloh77 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpLdrGotStr Lloh70, Lloh71, Lloh72 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpLdrGotStr Lloh65, Lloh66, Lloh67 .loh AdrpAdd Lloh63, Lloh64 .loh AdrpLdrGotStr Lloh60, Lloh61, Lloh62 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpLdrGotStr Lloh55, Lloh56, Lloh57 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotStr Lloh50, Lloh51, Lloh52 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpLdrGotStr Lloh45, Lloh46, Lloh47 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpLdrGotStr Lloh40, Lloh41, Lloh42 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGotStr Lloh35, Lloh36, Lloh37 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotStr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotStr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _GLAD_GL_VERSION_1_3,4,2 ; @GLAD_GL_VERSION_1_3 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "glActiveTexture" .comm _glad_glActiveTexture,8,3 ; @glad_glActiveTexture l_.str.1: ; @.str.1 .asciz "glSampleCoverage" .comm _glad_glSampleCoverage,8,3 ; @glad_glSampleCoverage l_.str.2: ; @.str.2 .asciz "glCompressedTexImage3D" .comm _glad_glCompressedTexImage3D,8,3 ; @glad_glCompressedTexImage3D l_.str.3: ; @.str.3 .asciz "glCompressedTexImage2D" .comm _glad_glCompressedTexImage2D,8,3 ; @glad_glCompressedTexImage2D l_.str.4: ; @.str.4 .asciz "glCompressedTexImage1D" .comm _glad_glCompressedTexImage1D,8,3 ; @glad_glCompressedTexImage1D l_.str.5: ; @.str.5 .asciz "glCompressedTexSubImage3D" .comm _glad_glCompressedTexSubImage3D,8,3 ; @glad_glCompressedTexSubImage3D l_.str.6: ; @.str.6 .asciz "glCompressedTexSubImage2D" .comm _glad_glCompressedTexSubImage2D,8,3 ; @glad_glCompressedTexSubImage2D l_.str.7: ; @.str.7 .asciz "glCompressedTexSubImage1D" .comm _glad_glCompressedTexSubImage1D,8,3 ; @glad_glCompressedTexSubImage1D l_.str.8: ; @.str.8 .asciz "glGetCompressedTexImage" .comm _glad_glGetCompressedTexImage,8,3 ; @glad_glGetCompressedTexImage l_.str.9: ; @.str.9 .asciz "glClientActiveTexture" .comm _glad_glClientActiveTexture,8,3 ; @glad_glClientActiveTexture l_.str.10: ; @.str.10 .asciz "glMultiTexCoord1d" .comm _glad_glMultiTexCoord1d,8,3 ; @glad_glMultiTexCoord1d l_.str.11: ; @.str.11 .asciz "glMultiTexCoord1dv" .comm _glad_glMultiTexCoord1dv,8,3 ; @glad_glMultiTexCoord1dv l_.str.12: ; @.str.12 .asciz "glMultiTexCoord1f" .comm _glad_glMultiTexCoord1f,8,3 ; @glad_glMultiTexCoord1f l_.str.13: ; @.str.13 .asciz "glMultiTexCoord1fv" .comm _glad_glMultiTexCoord1fv,8,3 ; @glad_glMultiTexCoord1fv l_.str.14: ; @.str.14 .asciz "glMultiTexCoord1i" .comm _glad_glMultiTexCoord1i,8,3 ; @glad_glMultiTexCoord1i l_.str.15: ; @.str.15 .asciz "glMultiTexCoord1iv" .comm _glad_glMultiTexCoord1iv,8,3 ; @glad_glMultiTexCoord1iv l_.str.16: ; @.str.16 .asciz "glMultiTexCoord1s" .comm _glad_glMultiTexCoord1s,8,3 ; @glad_glMultiTexCoord1s l_.str.17: ; @.str.17 .asciz "glMultiTexCoord1sv" .comm _glad_glMultiTexCoord1sv,8,3 ; @glad_glMultiTexCoord1sv l_.str.18: ; @.str.18 .asciz "glMultiTexCoord2d" .comm _glad_glMultiTexCoord2d,8,3 ; @glad_glMultiTexCoord2d l_.str.19: ; @.str.19 .asciz "glMultiTexCoord2dv" .comm _glad_glMultiTexCoord2dv,8,3 ; @glad_glMultiTexCoord2dv l_.str.20: ; @.str.20 .asciz "glMultiTexCoord2f" .comm _glad_glMultiTexCoord2f,8,3 ; @glad_glMultiTexCoord2f l_.str.21: ; @.str.21 .asciz "glMultiTexCoord2fv" .comm _glad_glMultiTexCoord2fv,8,3 ; @glad_glMultiTexCoord2fv l_.str.22: ; @.str.22 .asciz "glMultiTexCoord2i" .comm _glad_glMultiTexCoord2i,8,3 ; @glad_glMultiTexCoord2i l_.str.23: ; @.str.23 .asciz "glMultiTexCoord2iv" .comm _glad_glMultiTexCoord2iv,8,3 ; @glad_glMultiTexCoord2iv l_.str.24: ; @.str.24 .asciz "glMultiTexCoord2s" .comm _glad_glMultiTexCoord2s,8,3 ; @glad_glMultiTexCoord2s l_.str.25: ; @.str.25 .asciz "glMultiTexCoord2sv" .comm _glad_glMultiTexCoord2sv,8,3 ; @glad_glMultiTexCoord2sv l_.str.26: ; @.str.26 .asciz "glMultiTexCoord3d" .comm _glad_glMultiTexCoord3d,8,3 ; @glad_glMultiTexCoord3d l_.str.27: ; @.str.27 .asciz "glMultiTexCoord3dv" .comm _glad_glMultiTexCoord3dv,8,3 ; @glad_glMultiTexCoord3dv l_.str.28: ; @.str.28 .asciz "glMultiTexCoord3f" .comm _glad_glMultiTexCoord3f,8,3 ; @glad_glMultiTexCoord3f l_.str.29: ; @.str.29 .asciz "glMultiTexCoord3fv" .comm _glad_glMultiTexCoord3fv,8,3 ; @glad_glMultiTexCoord3fv l_.str.30: ; @.str.30 .asciz "glMultiTexCoord3i" .comm _glad_glMultiTexCoord3i,8,3 ; @glad_glMultiTexCoord3i l_.str.31: ; @.str.31 .asciz "glMultiTexCoord3iv" .comm _glad_glMultiTexCoord3iv,8,3 ; @glad_glMultiTexCoord3iv l_.str.32: ; @.str.32 .asciz "glMultiTexCoord3s" .comm _glad_glMultiTexCoord3s,8,3 ; @glad_glMultiTexCoord3s l_.str.33: ; @.str.33 .asciz "glMultiTexCoord3sv" .comm _glad_glMultiTexCoord3sv,8,3 ; @glad_glMultiTexCoord3sv l_.str.34: ; @.str.34 .asciz "glMultiTexCoord4d" .comm _glad_glMultiTexCoord4d,8,3 ; @glad_glMultiTexCoord4d l_.str.35: ; @.str.35 .asciz "glMultiTexCoord4dv" .comm _glad_glMultiTexCoord4dv,8,3 ; @glad_glMultiTexCoord4dv l_.str.36: ; @.str.36 .asciz "glMultiTexCoord4f" .comm _glad_glMultiTexCoord4f,8,3 ; @glad_glMultiTexCoord4f l_.str.37: ; @.str.37 .asciz "glMultiTexCoord4fv" .comm _glad_glMultiTexCoord4fv,8,3 ; @glad_glMultiTexCoord4fv l_.str.38: ; @.str.38 .asciz "glMultiTexCoord4i" .comm _glad_glMultiTexCoord4i,8,3 ; @glad_glMultiTexCoord4i l_.str.39: ; @.str.39 .asciz "glMultiTexCoord4iv" .comm _glad_glMultiTexCoord4iv,8,3 ; @glad_glMultiTexCoord4iv l_.str.40: ; @.str.40 .asciz "glMultiTexCoord4s" .comm _glad_glMultiTexCoord4s,8,3 ; @glad_glMultiTexCoord4s l_.str.41: ; @.str.41 .asciz "glMultiTexCoord4sv" .comm _glad_glMultiTexCoord4sv,8,3 ; @glad_glMultiTexCoord4sv l_.str.42: ; @.str.42 .asciz "glLoadTransposeMatrixf" .comm _glad_glLoadTransposeMatrixf,8,3 ; @glad_glLoadTransposeMatrixf l_.str.43: ; @.str.43 .asciz "glLoadTransposeMatrixd" .comm _glad_glLoadTransposeMatrixd,8,3 ; @glad_glLoadTransposeMatrixd l_.str.44: ; @.str.44 .asciz "glMultTransposeMatrixf" .comm _glad_glMultTransposeMatrixf,8,3 ; @glad_glMultTransposeMatrixf l_.str.45: ; @.str.45 .asciz "glMultTransposeMatrixd" .comm _glad_glMultTransposeMatrixd,8,3 ; @glad_glMultTransposeMatrixd .no_dead_strip _load_GL_VERSION_1_3 .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_glad.c_load_GL_VERSION_1_3.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function load_GL_VERSION_1_4 _load_GL_VERSION_1_4: ## @load_GL_VERSION_1_4 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _GLAD_GL_VERSION_1_4@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_2 ## %bb.1: movq %rdi, %rbx leaq L_.str(%rip), %rdi callq *%rbx movq _glad_glBlendFuncSeparate@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.1(%rip), %rdi callq *%rbx movq _glad_glMultiDrawArrays@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.2(%rip), %rdi callq *%rbx movq _glad_glMultiDrawElements@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.3(%rip), %rdi callq *%rbx movq _glad_glPointParameterf@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.4(%rip), %rdi callq *%rbx movq _glad_glPointParameterfv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.5(%rip), %rdi callq *%rbx movq _glad_glPointParameteri@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.6(%rip), %rdi callq *%rbx movq _glad_glPointParameteriv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.7(%rip), %rdi callq *%rbx movq _glad_glFogCoordf@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.8(%rip), %rdi callq *%rbx movq _glad_glFogCoordfv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.9(%rip), %rdi callq *%rbx movq _glad_glFogCoordd@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.10(%rip), %rdi callq *%rbx movq _glad_glFogCoorddv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.11(%rip), %rdi callq *%rbx movq _glad_glFogCoordPointer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.12(%rip), %rdi callq *%rbx movq _glad_glSecondaryColor3b@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.13(%rip), %rdi callq *%rbx movq _glad_glSecondaryColor3bv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.14(%rip), %rdi callq *%rbx movq _glad_glSecondaryColor3d@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.15(%rip), %rdi callq *%rbx movq _glad_glSecondaryColor3dv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.16(%rip), %rdi callq *%rbx movq _glad_glSecondaryColor3f@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.17(%rip), %rdi callq *%rbx movq _glad_glSecondaryColor3fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.18(%rip), %rdi callq *%rbx movq _glad_glSecondaryColor3i@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.19(%rip), %rdi callq *%rbx movq _glad_glSecondaryColor3iv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.20(%rip), %rdi callq *%rbx movq _glad_glSecondaryColor3s@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.21(%rip), %rdi callq *%rbx movq _glad_glSecondaryColor3sv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.22(%rip), %rdi callq *%rbx movq _glad_glSecondaryColor3ub@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.23(%rip), %rdi callq *%rbx movq _glad_glSecondaryColor3ubv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.24(%rip), %rdi callq *%rbx movq _glad_glSecondaryColor3ui@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.25(%rip), %rdi callq *%rbx movq _glad_glSecondaryColor3uiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.26(%rip), %rdi callq *%rbx movq _glad_glSecondaryColor3us@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.27(%rip), %rdi callq *%rbx movq _glad_glSecondaryColor3usv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.28(%rip), %rdi callq *%rbx movq _glad_glSecondaryColorPointer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.29(%rip), %rdi callq *%rbx movq _glad_glWindowPos2d@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.30(%rip), %rdi callq *%rbx movq _glad_glWindowPos2dv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.31(%rip), %rdi callq *%rbx movq _glad_glWindowPos2f@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.32(%rip), %rdi callq *%rbx movq _glad_glWindowPos2fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.33(%rip), %rdi callq *%rbx movq _glad_glWindowPos2i@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.34(%rip), %rdi callq *%rbx movq _glad_glWindowPos2iv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.35(%rip), %rdi callq *%rbx movq _glad_glWindowPos2s@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.36(%rip), %rdi callq *%rbx movq _glad_glWindowPos2sv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.37(%rip), %rdi callq *%rbx movq _glad_glWindowPos3d@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.38(%rip), %rdi callq *%rbx movq _glad_glWindowPos3dv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.39(%rip), %rdi callq *%rbx movq _glad_glWindowPos3f@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.40(%rip), %rdi callq *%rbx movq _glad_glWindowPos3fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.41(%rip), %rdi callq *%rbx movq _glad_glWindowPos3i@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.42(%rip), %rdi callq *%rbx movq _glad_glWindowPos3iv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.43(%rip), %rdi callq *%rbx movq _glad_glWindowPos3s@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.44(%rip), %rdi callq *%rbx movq _glad_glWindowPos3sv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.45(%rip), %rdi callq *%rbx movq _glad_glBlendColor@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.46(%rip), %rdi callq *%rbx movq _glad_glBlendEquation@GOTPCREL(%rip), %rcx movq %rax, (%rcx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _GLAD_GL_VERSION_1_4,4,2 ## @GLAD_GL_VERSION_1_4 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "glBlendFuncSeparate" .comm _glad_glBlendFuncSeparate,8,3 ## @glad_glBlendFuncSeparate L_.str.1: ## @.str.1 .asciz "glMultiDrawArrays" .comm _glad_glMultiDrawArrays,8,3 ## @glad_glMultiDrawArrays L_.str.2: ## @.str.2 .asciz "glMultiDrawElements" .comm _glad_glMultiDrawElements,8,3 ## @glad_glMultiDrawElements L_.str.3: ## @.str.3 .asciz "glPointParameterf" .comm _glad_glPointParameterf,8,3 ## @glad_glPointParameterf L_.str.4: ## @.str.4 .asciz "glPointParameterfv" .comm _glad_glPointParameterfv,8,3 ## @glad_glPointParameterfv L_.str.5: ## @.str.5 .asciz "glPointParameteri" .comm _glad_glPointParameteri,8,3 ## @glad_glPointParameteri L_.str.6: ## @.str.6 .asciz "glPointParameteriv" .comm _glad_glPointParameteriv,8,3 ## @glad_glPointParameteriv L_.str.7: ## @.str.7 .asciz "glFogCoordf" .comm _glad_glFogCoordf,8,3 ## @glad_glFogCoordf L_.str.8: ## @.str.8 .asciz "glFogCoordfv" .comm _glad_glFogCoordfv,8,3 ## @glad_glFogCoordfv L_.str.9: ## @.str.9 .asciz "glFogCoordd" .comm _glad_glFogCoordd,8,3 ## @glad_glFogCoordd L_.str.10: ## @.str.10 .asciz "glFogCoorddv" .comm _glad_glFogCoorddv,8,3 ## @glad_glFogCoorddv L_.str.11: ## @.str.11 .asciz "glFogCoordPointer" .comm _glad_glFogCoordPointer,8,3 ## @glad_glFogCoordPointer L_.str.12: ## @.str.12 .asciz "glSecondaryColor3b" .comm _glad_glSecondaryColor3b,8,3 ## @glad_glSecondaryColor3b L_.str.13: ## @.str.13 .asciz "glSecondaryColor3bv" .comm _glad_glSecondaryColor3bv,8,3 ## @glad_glSecondaryColor3bv L_.str.14: ## @.str.14 .asciz "glSecondaryColor3d" .comm _glad_glSecondaryColor3d,8,3 ## @glad_glSecondaryColor3d L_.str.15: ## @.str.15 .asciz "glSecondaryColor3dv" .comm _glad_glSecondaryColor3dv,8,3 ## @glad_glSecondaryColor3dv L_.str.16: ## @.str.16 .asciz "glSecondaryColor3f" .comm _glad_glSecondaryColor3f,8,3 ## @glad_glSecondaryColor3f L_.str.17: ## @.str.17 .asciz "glSecondaryColor3fv" .comm _glad_glSecondaryColor3fv,8,3 ## @glad_glSecondaryColor3fv L_.str.18: ## @.str.18 .asciz "glSecondaryColor3i" .comm _glad_glSecondaryColor3i,8,3 ## @glad_glSecondaryColor3i L_.str.19: ## @.str.19 .asciz "glSecondaryColor3iv" .comm _glad_glSecondaryColor3iv,8,3 ## @glad_glSecondaryColor3iv L_.str.20: ## @.str.20 .asciz "glSecondaryColor3s" .comm _glad_glSecondaryColor3s,8,3 ## @glad_glSecondaryColor3s L_.str.21: ## @.str.21 .asciz "glSecondaryColor3sv" .comm _glad_glSecondaryColor3sv,8,3 ## @glad_glSecondaryColor3sv L_.str.22: ## @.str.22 .asciz "glSecondaryColor3ub" .comm _glad_glSecondaryColor3ub,8,3 ## @glad_glSecondaryColor3ub L_.str.23: ## @.str.23 .asciz "glSecondaryColor3ubv" .comm _glad_glSecondaryColor3ubv,8,3 ## @glad_glSecondaryColor3ubv L_.str.24: ## @.str.24 .asciz "glSecondaryColor3ui" .comm _glad_glSecondaryColor3ui,8,3 ## @glad_glSecondaryColor3ui L_.str.25: ## @.str.25 .asciz "glSecondaryColor3uiv" .comm _glad_glSecondaryColor3uiv,8,3 ## @glad_glSecondaryColor3uiv L_.str.26: ## @.str.26 .asciz "glSecondaryColor3us" .comm _glad_glSecondaryColor3us,8,3 ## @glad_glSecondaryColor3us L_.str.27: ## @.str.27 .asciz "glSecondaryColor3usv" .comm _glad_glSecondaryColor3usv,8,3 ## @glad_glSecondaryColor3usv L_.str.28: ## @.str.28 .asciz "glSecondaryColorPointer" .comm _glad_glSecondaryColorPointer,8,3 ## @glad_glSecondaryColorPointer L_.str.29: ## @.str.29 .asciz "glWindowPos2d" .comm _glad_glWindowPos2d,8,3 ## @glad_glWindowPos2d L_.str.30: ## @.str.30 .asciz "glWindowPos2dv" .comm _glad_glWindowPos2dv,8,3 ## @glad_glWindowPos2dv L_.str.31: ## @.str.31 .asciz "glWindowPos2f" .comm _glad_glWindowPos2f,8,3 ## @glad_glWindowPos2f L_.str.32: ## @.str.32 .asciz "glWindowPos2fv" .comm _glad_glWindowPos2fv,8,3 ## @glad_glWindowPos2fv L_.str.33: ## @.str.33 .asciz "glWindowPos2i" .comm _glad_glWindowPos2i,8,3 ## @glad_glWindowPos2i L_.str.34: ## @.str.34 .asciz "glWindowPos2iv" .comm _glad_glWindowPos2iv,8,3 ## @glad_glWindowPos2iv L_.str.35: ## @.str.35 .asciz "glWindowPos2s" .comm _glad_glWindowPos2s,8,3 ## @glad_glWindowPos2s L_.str.36: ## @.str.36 .asciz "glWindowPos2sv" .comm _glad_glWindowPos2sv,8,3 ## @glad_glWindowPos2sv L_.str.37: ## @.str.37 .asciz "glWindowPos3d" .comm _glad_glWindowPos3d,8,3 ## @glad_glWindowPos3d L_.str.38: ## @.str.38 .asciz "glWindowPos3dv" .comm _glad_glWindowPos3dv,8,3 ## @glad_glWindowPos3dv L_.str.39: ## @.str.39 .asciz "glWindowPos3f" .comm _glad_glWindowPos3f,8,3 ## @glad_glWindowPos3f L_.str.40: ## @.str.40 .asciz "glWindowPos3fv" .comm _glad_glWindowPos3fv,8,3 ## @glad_glWindowPos3fv L_.str.41: ## @.str.41 .asciz "glWindowPos3i" .comm _glad_glWindowPos3i,8,3 ## @glad_glWindowPos3i L_.str.42: ## @.str.42 .asciz "glWindowPos3iv" .comm _glad_glWindowPos3iv,8,3 ## @glad_glWindowPos3iv L_.str.43: ## @.str.43 .asciz "glWindowPos3s" .comm _glad_glWindowPos3s,8,3 ## @glad_glWindowPos3s L_.str.44: ## @.str.44 .asciz "glWindowPos3sv" .comm _glad_glWindowPos3sv,8,3 ## @glad_glWindowPos3sv L_.str.45: ## @.str.45 .asciz "glBlendColor" .comm _glad_glBlendColor,8,3 ## @glad_glBlendColor L_.str.46: ## @.str.46 .asciz "glBlendEquation" .comm _glad_glBlendEquation,8,3 ## @glad_glBlendEquation .no_dead_strip _load_GL_VERSION_1_4 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function load_GL_VERSION_1_4 _load_GL_VERSION_1_4: ; @load_GL_VERSION_1_4 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _GLAD_GL_VERSION_1_4@GOTPAGE Lloh1: ldr x8, [x8, _GLAD_GL_VERSION_1_4@GOTPAGEOFF] Lloh2: ldr w8, [x8] cbz w8, LBB0_2 ; %bb.1: mov x19, x0 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF blr x19 Lloh5: adrp x8, _glad_glBlendFuncSeparate@GOTPAGE Lloh6: ldr x8, [x8, _glad_glBlendFuncSeparate@GOTPAGEOFF] Lloh7: str x0, [x8] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF blr x19 Lloh10: adrp x8, _glad_glMultiDrawArrays@GOTPAGE Lloh11: ldr x8, [x8, _glad_glMultiDrawArrays@GOTPAGEOFF] Lloh12: str x0, [x8] Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF blr x19 Lloh15: adrp x8, _glad_glMultiDrawElements@GOTPAGE Lloh16: ldr x8, [x8, _glad_glMultiDrawElements@GOTPAGEOFF] Lloh17: str x0, [x8] Lloh18: adrp x0, l_.str.3@PAGE Lloh19: add x0, x0, l_.str.3@PAGEOFF blr x19 Lloh20: adrp x8, _glad_glPointParameterf@GOTPAGE Lloh21: ldr x8, [x8, _glad_glPointParameterf@GOTPAGEOFF] Lloh22: str x0, [x8] Lloh23: adrp x0, l_.str.4@PAGE Lloh24: add x0, x0, l_.str.4@PAGEOFF blr x19 Lloh25: adrp x8, _glad_glPointParameterfv@GOTPAGE Lloh26: ldr x8, [x8, _glad_glPointParameterfv@GOTPAGEOFF] Lloh27: str x0, [x8] Lloh28: adrp x0, l_.str.5@PAGE Lloh29: add x0, x0, l_.str.5@PAGEOFF blr x19 Lloh30: adrp x8, _glad_glPointParameteri@GOTPAGE Lloh31: ldr x8, [x8, _glad_glPointParameteri@GOTPAGEOFF] Lloh32: str x0, [x8] Lloh33: adrp x0, l_.str.6@PAGE Lloh34: add x0, x0, l_.str.6@PAGEOFF blr x19 Lloh35: adrp x8, _glad_glPointParameteriv@GOTPAGE Lloh36: ldr x8, [x8, _glad_glPointParameteriv@GOTPAGEOFF] Lloh37: str x0, [x8] Lloh38: adrp x0, l_.str.7@PAGE Lloh39: add x0, x0, l_.str.7@PAGEOFF blr x19 Lloh40: adrp x8, _glad_glFogCoordf@GOTPAGE Lloh41: ldr x8, [x8, _glad_glFogCoordf@GOTPAGEOFF] Lloh42: str x0, [x8] Lloh43: adrp x0, l_.str.8@PAGE Lloh44: add x0, x0, l_.str.8@PAGEOFF blr x19 Lloh45: adrp x8, _glad_glFogCoordfv@GOTPAGE Lloh46: ldr x8, [x8, _glad_glFogCoordfv@GOTPAGEOFF] Lloh47: str x0, [x8] Lloh48: adrp x0, l_.str.9@PAGE Lloh49: add x0, x0, l_.str.9@PAGEOFF blr x19 Lloh50: adrp x8, _glad_glFogCoordd@GOTPAGE Lloh51: ldr x8, [x8, _glad_glFogCoordd@GOTPAGEOFF] Lloh52: str x0, [x8] Lloh53: adrp x0, l_.str.10@PAGE Lloh54: add x0, x0, l_.str.10@PAGEOFF blr x19 Lloh55: adrp x8, _glad_glFogCoorddv@GOTPAGE Lloh56: ldr x8, [x8, _glad_glFogCoorddv@GOTPAGEOFF] Lloh57: str x0, [x8] Lloh58: adrp x0, l_.str.11@PAGE Lloh59: add x0, x0, l_.str.11@PAGEOFF blr x19 Lloh60: adrp x8, _glad_glFogCoordPointer@GOTPAGE Lloh61: ldr x8, [x8, _glad_glFogCoordPointer@GOTPAGEOFF] Lloh62: str x0, [x8] Lloh63: adrp x0, l_.str.12@PAGE Lloh64: add x0, x0, l_.str.12@PAGEOFF blr x19 Lloh65: adrp x8, _glad_glSecondaryColor3b@GOTPAGE Lloh66: ldr x8, [x8, _glad_glSecondaryColor3b@GOTPAGEOFF] Lloh67: str x0, [x8] Lloh68: adrp x0, l_.str.13@PAGE Lloh69: add x0, x0, l_.str.13@PAGEOFF blr x19 Lloh70: adrp x8, _glad_glSecondaryColor3bv@GOTPAGE Lloh71: ldr x8, [x8, _glad_glSecondaryColor3bv@GOTPAGEOFF] Lloh72: str x0, [x8] Lloh73: adrp x0, l_.str.14@PAGE Lloh74: add x0, x0, l_.str.14@PAGEOFF blr x19 Lloh75: adrp x8, _glad_glSecondaryColor3d@GOTPAGE Lloh76: ldr x8, [x8, _glad_glSecondaryColor3d@GOTPAGEOFF] Lloh77: str x0, [x8] Lloh78: adrp x0, l_.str.15@PAGE Lloh79: add x0, x0, l_.str.15@PAGEOFF blr x19 Lloh80: adrp x8, _glad_glSecondaryColor3dv@GOTPAGE Lloh81: ldr x8, [x8, _glad_glSecondaryColor3dv@GOTPAGEOFF] Lloh82: str x0, [x8] Lloh83: adrp x0, l_.str.16@PAGE Lloh84: add x0, x0, l_.str.16@PAGEOFF blr x19 Lloh85: adrp x8, _glad_glSecondaryColor3f@GOTPAGE Lloh86: ldr x8, [x8, _glad_glSecondaryColor3f@GOTPAGEOFF] Lloh87: str x0, [x8] Lloh88: adrp x0, l_.str.17@PAGE Lloh89: add x0, x0, l_.str.17@PAGEOFF blr x19 Lloh90: adrp x8, _glad_glSecondaryColor3fv@GOTPAGE Lloh91: ldr x8, [x8, _glad_glSecondaryColor3fv@GOTPAGEOFF] Lloh92: str x0, [x8] Lloh93: adrp x0, l_.str.18@PAGE Lloh94: add x0, x0, l_.str.18@PAGEOFF blr x19 Lloh95: adrp x8, _glad_glSecondaryColor3i@GOTPAGE Lloh96: ldr x8, [x8, _glad_glSecondaryColor3i@GOTPAGEOFF] Lloh97: str x0, [x8] Lloh98: adrp x0, l_.str.19@PAGE Lloh99: add x0, x0, l_.str.19@PAGEOFF blr x19 Lloh100: adrp x8, _glad_glSecondaryColor3iv@GOTPAGE Lloh101: ldr x8, [x8, _glad_glSecondaryColor3iv@GOTPAGEOFF] Lloh102: str x0, [x8] Lloh103: adrp x0, l_.str.20@PAGE Lloh104: add x0, x0, l_.str.20@PAGEOFF blr x19 Lloh105: adrp x8, _glad_glSecondaryColor3s@GOTPAGE Lloh106: ldr x8, [x8, _glad_glSecondaryColor3s@GOTPAGEOFF] Lloh107: str x0, [x8] Lloh108: adrp x0, l_.str.21@PAGE Lloh109: add x0, x0, l_.str.21@PAGEOFF blr x19 Lloh110: adrp x8, _glad_glSecondaryColor3sv@GOTPAGE Lloh111: ldr x8, [x8, _glad_glSecondaryColor3sv@GOTPAGEOFF] Lloh112: str x0, [x8] Lloh113: adrp x0, l_.str.22@PAGE Lloh114: add x0, x0, l_.str.22@PAGEOFF blr x19 Lloh115: adrp x8, _glad_glSecondaryColor3ub@GOTPAGE Lloh116: ldr x8, [x8, _glad_glSecondaryColor3ub@GOTPAGEOFF] Lloh117: str x0, [x8] Lloh118: adrp x0, l_.str.23@PAGE Lloh119: add x0, x0, l_.str.23@PAGEOFF blr x19 Lloh120: adrp x8, _glad_glSecondaryColor3ubv@GOTPAGE Lloh121: ldr x8, [x8, _glad_glSecondaryColor3ubv@GOTPAGEOFF] Lloh122: str x0, [x8] Lloh123: adrp x0, l_.str.24@PAGE Lloh124: add x0, x0, l_.str.24@PAGEOFF blr x19 Lloh125: adrp x8, _glad_glSecondaryColor3ui@GOTPAGE Lloh126: ldr x8, [x8, _glad_glSecondaryColor3ui@GOTPAGEOFF] Lloh127: str x0, [x8] Lloh128: adrp x0, l_.str.25@PAGE Lloh129: add x0, x0, l_.str.25@PAGEOFF blr x19 Lloh130: adrp x8, _glad_glSecondaryColor3uiv@GOTPAGE Lloh131: ldr x8, [x8, _glad_glSecondaryColor3uiv@GOTPAGEOFF] Lloh132: str x0, [x8] Lloh133: adrp x0, l_.str.26@PAGE Lloh134: add x0, x0, l_.str.26@PAGEOFF blr x19 Lloh135: adrp x8, _glad_glSecondaryColor3us@GOTPAGE Lloh136: ldr x8, [x8, _glad_glSecondaryColor3us@GOTPAGEOFF] Lloh137: str x0, [x8] Lloh138: adrp x0, l_.str.27@PAGE Lloh139: add x0, x0, l_.str.27@PAGEOFF blr x19 Lloh140: adrp x8, _glad_glSecondaryColor3usv@GOTPAGE Lloh141: ldr x8, [x8, _glad_glSecondaryColor3usv@GOTPAGEOFF] Lloh142: str x0, [x8] Lloh143: adrp x0, l_.str.28@PAGE Lloh144: add x0, x0, l_.str.28@PAGEOFF blr x19 Lloh145: adrp x8, _glad_glSecondaryColorPointer@GOTPAGE Lloh146: ldr x8, [x8, _glad_glSecondaryColorPointer@GOTPAGEOFF] Lloh147: str x0, [x8] Lloh148: adrp x0, l_.str.29@PAGE Lloh149: add x0, x0, l_.str.29@PAGEOFF blr x19 Lloh150: adrp x8, _glad_glWindowPos2d@GOTPAGE Lloh151: ldr x8, [x8, _glad_glWindowPos2d@GOTPAGEOFF] Lloh152: str x0, [x8] Lloh153: adrp x0, l_.str.30@PAGE Lloh154: add x0, x0, l_.str.30@PAGEOFF blr x19 Lloh155: adrp x8, _glad_glWindowPos2dv@GOTPAGE Lloh156: ldr x8, [x8, _glad_glWindowPos2dv@GOTPAGEOFF] Lloh157: str x0, [x8] Lloh158: adrp x0, l_.str.31@PAGE Lloh159: add x0, x0, l_.str.31@PAGEOFF blr x19 Lloh160: adrp x8, _glad_glWindowPos2f@GOTPAGE Lloh161: ldr x8, [x8, _glad_glWindowPos2f@GOTPAGEOFF] Lloh162: str x0, [x8] Lloh163: adrp x0, l_.str.32@PAGE Lloh164: add x0, x0, l_.str.32@PAGEOFF blr x19 Lloh165: adrp x8, _glad_glWindowPos2fv@GOTPAGE Lloh166: ldr x8, [x8, _glad_glWindowPos2fv@GOTPAGEOFF] Lloh167: str x0, [x8] Lloh168: adrp x0, l_.str.33@PAGE Lloh169: add x0, x0, l_.str.33@PAGEOFF blr x19 Lloh170: adrp x8, _glad_glWindowPos2i@GOTPAGE Lloh171: ldr x8, [x8, _glad_glWindowPos2i@GOTPAGEOFF] Lloh172: str x0, [x8] Lloh173: adrp x0, l_.str.34@PAGE Lloh174: add x0, x0, l_.str.34@PAGEOFF blr x19 Lloh175: adrp x8, _glad_glWindowPos2iv@GOTPAGE Lloh176: ldr x8, [x8, _glad_glWindowPos2iv@GOTPAGEOFF] Lloh177: str x0, [x8] Lloh178: adrp x0, l_.str.35@PAGE Lloh179: add x0, x0, l_.str.35@PAGEOFF blr x19 Lloh180: adrp x8, _glad_glWindowPos2s@GOTPAGE Lloh181: ldr x8, [x8, _glad_glWindowPos2s@GOTPAGEOFF] Lloh182: str x0, [x8] Lloh183: adrp x0, l_.str.36@PAGE Lloh184: add x0, x0, l_.str.36@PAGEOFF blr x19 Lloh185: adrp x8, _glad_glWindowPos2sv@GOTPAGE Lloh186: ldr x8, [x8, _glad_glWindowPos2sv@GOTPAGEOFF] Lloh187: str x0, [x8] Lloh188: adrp x0, l_.str.37@PAGE Lloh189: add x0, x0, l_.str.37@PAGEOFF blr x19 Lloh190: adrp x8, _glad_glWindowPos3d@GOTPAGE Lloh191: ldr x8, [x8, _glad_glWindowPos3d@GOTPAGEOFF] Lloh192: str x0, [x8] Lloh193: adrp x0, l_.str.38@PAGE Lloh194: add x0, x0, l_.str.38@PAGEOFF blr x19 Lloh195: adrp x8, _glad_glWindowPos3dv@GOTPAGE Lloh196: ldr x8, [x8, _glad_glWindowPos3dv@GOTPAGEOFF] Lloh197: str x0, [x8] Lloh198: adrp x0, l_.str.39@PAGE Lloh199: add x0, x0, l_.str.39@PAGEOFF blr x19 Lloh200: adrp x8, _glad_glWindowPos3f@GOTPAGE Lloh201: ldr x8, [x8, _glad_glWindowPos3f@GOTPAGEOFF] Lloh202: str x0, [x8] Lloh203: adrp x0, l_.str.40@PAGE Lloh204: add x0, x0, l_.str.40@PAGEOFF blr x19 Lloh205: adrp x8, _glad_glWindowPos3fv@GOTPAGE Lloh206: ldr x8, [x8, _glad_glWindowPos3fv@GOTPAGEOFF] Lloh207: str x0, [x8] Lloh208: adrp x0, l_.str.41@PAGE Lloh209: add x0, x0, l_.str.41@PAGEOFF blr x19 Lloh210: adrp x8, _glad_glWindowPos3i@GOTPAGE Lloh211: ldr x8, [x8, _glad_glWindowPos3i@GOTPAGEOFF] Lloh212: str x0, [x8] Lloh213: adrp x0, l_.str.42@PAGE Lloh214: add x0, x0, l_.str.42@PAGEOFF blr x19 Lloh215: adrp x8, _glad_glWindowPos3iv@GOTPAGE Lloh216: ldr x8, [x8, _glad_glWindowPos3iv@GOTPAGEOFF] Lloh217: str x0, [x8] Lloh218: adrp x0, l_.str.43@PAGE Lloh219: add x0, x0, l_.str.43@PAGEOFF blr x19 Lloh220: adrp x8, _glad_glWindowPos3s@GOTPAGE Lloh221: ldr x8, [x8, _glad_glWindowPos3s@GOTPAGEOFF] Lloh222: str x0, [x8] Lloh223: adrp x0, l_.str.44@PAGE Lloh224: add x0, x0, l_.str.44@PAGEOFF blr x19 Lloh225: adrp x8, _glad_glWindowPos3sv@GOTPAGE Lloh226: ldr x8, [x8, _glad_glWindowPos3sv@GOTPAGEOFF] Lloh227: str x0, [x8] Lloh228: adrp x0, l_.str.45@PAGE Lloh229: add x0, x0, l_.str.45@PAGEOFF blr x19 Lloh230: adrp x8, _glad_glBlendColor@GOTPAGE Lloh231: ldr x8, [x8, _glad_glBlendColor@GOTPAGEOFF] Lloh232: str x0, [x8] Lloh233: adrp x0, l_.str.46@PAGE Lloh234: add x0, x0, l_.str.46@PAGEOFF blr x19 Lloh235: adrp x8, _glad_glBlendEquation@GOTPAGE Lloh236: ldr x8, [x8, _glad_glBlendEquation@GOTPAGEOFF] Lloh237: str x0, [x8] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh235, Lloh236, Lloh237 .loh AdrpAdd Lloh233, Lloh234 .loh AdrpLdrGotStr Lloh230, Lloh231, Lloh232 .loh AdrpAdd Lloh228, Lloh229 .loh AdrpLdrGotStr Lloh225, Lloh226, Lloh227 .loh AdrpAdd Lloh223, Lloh224 .loh AdrpLdrGotStr Lloh220, Lloh221, Lloh222 .loh AdrpAdd Lloh218, Lloh219 .loh AdrpLdrGotStr Lloh215, Lloh216, Lloh217 .loh AdrpAdd Lloh213, Lloh214 .loh AdrpLdrGotStr Lloh210, Lloh211, Lloh212 .loh AdrpAdd Lloh208, Lloh209 .loh AdrpLdrGotStr Lloh205, Lloh206, Lloh207 .loh AdrpAdd Lloh203, Lloh204 .loh AdrpLdrGotStr Lloh200, Lloh201, Lloh202 .loh AdrpAdd Lloh198, Lloh199 .loh AdrpLdrGotStr Lloh195, Lloh196, Lloh197 .loh AdrpAdd Lloh193, Lloh194 .loh AdrpLdrGotStr Lloh190, Lloh191, Lloh192 .loh AdrpAdd Lloh188, Lloh189 .loh AdrpLdrGotStr Lloh185, Lloh186, Lloh187 .loh AdrpAdd Lloh183, Lloh184 .loh AdrpLdrGotStr Lloh180, Lloh181, Lloh182 .loh AdrpAdd Lloh178, Lloh179 .loh AdrpLdrGotStr Lloh175, Lloh176, Lloh177 .loh AdrpAdd Lloh173, Lloh174 .loh AdrpLdrGotStr Lloh170, Lloh171, Lloh172 .loh AdrpAdd Lloh168, Lloh169 .loh AdrpLdrGotStr Lloh165, Lloh166, Lloh167 .loh AdrpAdd Lloh163, Lloh164 .loh AdrpLdrGotStr Lloh160, Lloh161, Lloh162 .loh AdrpAdd Lloh158, Lloh159 .loh AdrpLdrGotStr Lloh155, Lloh156, Lloh157 .loh AdrpAdd Lloh153, Lloh154 .loh AdrpLdrGotStr Lloh150, Lloh151, Lloh152 .loh AdrpAdd Lloh148, Lloh149 .loh AdrpLdrGotStr Lloh145, Lloh146, Lloh147 .loh AdrpAdd Lloh143, Lloh144 .loh AdrpLdrGotStr Lloh140, Lloh141, Lloh142 .loh AdrpAdd Lloh138, Lloh139 .loh AdrpLdrGotStr Lloh135, Lloh136, Lloh137 .loh AdrpAdd Lloh133, Lloh134 .loh AdrpLdrGotStr Lloh130, Lloh131, Lloh132 .loh AdrpAdd Lloh128, Lloh129 .loh AdrpLdrGotStr Lloh125, Lloh126, Lloh127 .loh AdrpAdd Lloh123, Lloh124 .loh AdrpLdrGotStr Lloh120, Lloh121, Lloh122 .loh AdrpAdd Lloh118, Lloh119 .loh AdrpLdrGotStr Lloh115, Lloh116, Lloh117 .loh AdrpAdd Lloh113, Lloh114 .loh AdrpLdrGotStr Lloh110, Lloh111, Lloh112 .loh AdrpAdd Lloh108, Lloh109 .loh AdrpLdrGotStr Lloh105, Lloh106, Lloh107 .loh AdrpAdd Lloh103, Lloh104 .loh AdrpLdrGotStr Lloh100, Lloh101, Lloh102 .loh AdrpAdd Lloh98, Lloh99 .loh AdrpLdrGotStr Lloh95, Lloh96, Lloh97 .loh AdrpAdd Lloh93, Lloh94 .loh AdrpLdrGotStr Lloh90, Lloh91, Lloh92 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpLdrGotStr Lloh85, Lloh86, Lloh87 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpLdrGotStr Lloh80, Lloh81, Lloh82 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpLdrGotStr Lloh75, Lloh76, Lloh77 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpLdrGotStr Lloh70, Lloh71, Lloh72 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpLdrGotStr Lloh65, Lloh66, Lloh67 .loh AdrpAdd Lloh63, Lloh64 .loh AdrpLdrGotStr Lloh60, Lloh61, Lloh62 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpLdrGotStr Lloh55, Lloh56, Lloh57 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotStr Lloh50, Lloh51, Lloh52 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpLdrGotStr Lloh45, Lloh46, Lloh47 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpLdrGotStr Lloh40, Lloh41, Lloh42 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGotStr Lloh35, Lloh36, Lloh37 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotStr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotStr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _GLAD_GL_VERSION_1_4,4,2 ; @GLAD_GL_VERSION_1_4 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "glBlendFuncSeparate" .comm _glad_glBlendFuncSeparate,8,3 ; @glad_glBlendFuncSeparate l_.str.1: ; @.str.1 .asciz "glMultiDrawArrays" .comm _glad_glMultiDrawArrays,8,3 ; @glad_glMultiDrawArrays l_.str.2: ; @.str.2 .asciz "glMultiDrawElements" .comm _glad_glMultiDrawElements,8,3 ; @glad_glMultiDrawElements l_.str.3: ; @.str.3 .asciz "glPointParameterf" .comm _glad_glPointParameterf,8,3 ; @glad_glPointParameterf l_.str.4: ; @.str.4 .asciz "glPointParameterfv" .comm _glad_glPointParameterfv,8,3 ; @glad_glPointParameterfv l_.str.5: ; @.str.5 .asciz "glPointParameteri" .comm _glad_glPointParameteri,8,3 ; @glad_glPointParameteri l_.str.6: ; @.str.6 .asciz "glPointParameteriv" .comm _glad_glPointParameteriv,8,3 ; @glad_glPointParameteriv l_.str.7: ; @.str.7 .asciz "glFogCoordf" .comm _glad_glFogCoordf,8,3 ; @glad_glFogCoordf l_.str.8: ; @.str.8 .asciz "glFogCoordfv" .comm _glad_glFogCoordfv,8,3 ; @glad_glFogCoordfv l_.str.9: ; @.str.9 .asciz "glFogCoordd" .comm _glad_glFogCoordd,8,3 ; @glad_glFogCoordd l_.str.10: ; @.str.10 .asciz "glFogCoorddv" .comm _glad_glFogCoorddv,8,3 ; @glad_glFogCoorddv l_.str.11: ; @.str.11 .asciz "glFogCoordPointer" .comm _glad_glFogCoordPointer,8,3 ; @glad_glFogCoordPointer l_.str.12: ; @.str.12 .asciz "glSecondaryColor3b" .comm _glad_glSecondaryColor3b,8,3 ; @glad_glSecondaryColor3b l_.str.13: ; @.str.13 .asciz "glSecondaryColor3bv" .comm _glad_glSecondaryColor3bv,8,3 ; @glad_glSecondaryColor3bv l_.str.14: ; @.str.14 .asciz "glSecondaryColor3d" .comm _glad_glSecondaryColor3d,8,3 ; @glad_glSecondaryColor3d l_.str.15: ; @.str.15 .asciz "glSecondaryColor3dv" .comm _glad_glSecondaryColor3dv,8,3 ; @glad_glSecondaryColor3dv l_.str.16: ; @.str.16 .asciz "glSecondaryColor3f" .comm _glad_glSecondaryColor3f,8,3 ; @glad_glSecondaryColor3f l_.str.17: ; @.str.17 .asciz "glSecondaryColor3fv" .comm _glad_glSecondaryColor3fv,8,3 ; @glad_glSecondaryColor3fv l_.str.18: ; @.str.18 .asciz "glSecondaryColor3i" .comm _glad_glSecondaryColor3i,8,3 ; @glad_glSecondaryColor3i l_.str.19: ; @.str.19 .asciz "glSecondaryColor3iv" .comm _glad_glSecondaryColor3iv,8,3 ; @glad_glSecondaryColor3iv l_.str.20: ; @.str.20 .asciz "glSecondaryColor3s" .comm _glad_glSecondaryColor3s,8,3 ; @glad_glSecondaryColor3s l_.str.21: ; @.str.21 .asciz "glSecondaryColor3sv" .comm _glad_glSecondaryColor3sv,8,3 ; @glad_glSecondaryColor3sv l_.str.22: ; @.str.22 .asciz "glSecondaryColor3ub" .comm _glad_glSecondaryColor3ub,8,3 ; @glad_glSecondaryColor3ub l_.str.23: ; @.str.23 .asciz "glSecondaryColor3ubv" .comm _glad_glSecondaryColor3ubv,8,3 ; @glad_glSecondaryColor3ubv l_.str.24: ; @.str.24 .asciz "glSecondaryColor3ui" .comm _glad_glSecondaryColor3ui,8,3 ; @glad_glSecondaryColor3ui l_.str.25: ; @.str.25 .asciz "glSecondaryColor3uiv" .comm _glad_glSecondaryColor3uiv,8,3 ; @glad_glSecondaryColor3uiv l_.str.26: ; @.str.26 .asciz "glSecondaryColor3us" .comm _glad_glSecondaryColor3us,8,3 ; @glad_glSecondaryColor3us l_.str.27: ; @.str.27 .asciz "glSecondaryColor3usv" .comm _glad_glSecondaryColor3usv,8,3 ; @glad_glSecondaryColor3usv l_.str.28: ; @.str.28 .asciz "glSecondaryColorPointer" .comm _glad_glSecondaryColorPointer,8,3 ; @glad_glSecondaryColorPointer l_.str.29: ; @.str.29 .asciz "glWindowPos2d" .comm _glad_glWindowPos2d,8,3 ; @glad_glWindowPos2d l_.str.30: ; @.str.30 .asciz "glWindowPos2dv" .comm _glad_glWindowPos2dv,8,3 ; @glad_glWindowPos2dv l_.str.31: ; @.str.31 .asciz "glWindowPos2f" .comm _glad_glWindowPos2f,8,3 ; @glad_glWindowPos2f l_.str.32: ; @.str.32 .asciz "glWindowPos2fv" .comm _glad_glWindowPos2fv,8,3 ; @glad_glWindowPos2fv l_.str.33: ; @.str.33 .asciz "glWindowPos2i" .comm _glad_glWindowPos2i,8,3 ; @glad_glWindowPos2i l_.str.34: ; @.str.34 .asciz "glWindowPos2iv" .comm _glad_glWindowPos2iv,8,3 ; @glad_glWindowPos2iv l_.str.35: ; @.str.35 .asciz "glWindowPos2s" .comm _glad_glWindowPos2s,8,3 ; @glad_glWindowPos2s l_.str.36: ; @.str.36 .asciz "glWindowPos2sv" .comm _glad_glWindowPos2sv,8,3 ; @glad_glWindowPos2sv l_.str.37: ; @.str.37 .asciz "glWindowPos3d" .comm _glad_glWindowPos3d,8,3 ; @glad_glWindowPos3d l_.str.38: ; @.str.38 .asciz "glWindowPos3dv" .comm _glad_glWindowPos3dv,8,3 ; @glad_glWindowPos3dv l_.str.39: ; @.str.39 .asciz "glWindowPos3f" .comm _glad_glWindowPos3f,8,3 ; @glad_glWindowPos3f l_.str.40: ; @.str.40 .asciz "glWindowPos3fv" .comm _glad_glWindowPos3fv,8,3 ; @glad_glWindowPos3fv l_.str.41: ; @.str.41 .asciz "glWindowPos3i" .comm _glad_glWindowPos3i,8,3 ; @glad_glWindowPos3i l_.str.42: ; @.str.42 .asciz "glWindowPos3iv" .comm _glad_glWindowPos3iv,8,3 ; @glad_glWindowPos3iv l_.str.43: ; @.str.43 .asciz "glWindowPos3s" .comm _glad_glWindowPos3s,8,3 ; @glad_glWindowPos3s l_.str.44: ; @.str.44 .asciz "glWindowPos3sv" .comm _glad_glWindowPos3sv,8,3 ; @glad_glWindowPos3sv l_.str.45: ; @.str.45 .asciz "glBlendColor" .comm _glad_glBlendColor,8,3 ; @glad_glBlendColor l_.str.46: ; @.str.46 .asciz "glBlendEquation" .comm _glad_glBlendEquation,8,3 ; @glad_glBlendEquation .no_dead_strip _load_GL_VERSION_1_4 .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_glad.c_load_GL_VERSION_1_4.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function load_GL_VERSION_1_5 _load_GL_VERSION_1_5: ## @load_GL_VERSION_1_5 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _GLAD_GL_VERSION_1_5@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_2 ## %bb.1: movq %rdi, %rbx leaq L_.str(%rip), %rdi callq *%rbx movq _glad_glGenQueries@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.1(%rip), %rdi callq *%rbx movq _glad_glDeleteQueries@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.2(%rip), %rdi callq *%rbx movq _glad_glIsQuery@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.3(%rip), %rdi callq *%rbx movq _glad_glBeginQuery@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.4(%rip), %rdi callq *%rbx movq _glad_glEndQuery@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.5(%rip), %rdi callq *%rbx movq _glad_glGetQueryiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.6(%rip), %rdi callq *%rbx movq _glad_glGetQueryObjectiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.7(%rip), %rdi callq *%rbx movq _glad_glGetQueryObjectuiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.8(%rip), %rdi callq *%rbx movq _glad_glBindBuffer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.9(%rip), %rdi callq *%rbx movq _glad_glDeleteBuffers@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.10(%rip), %rdi callq *%rbx movq _glad_glGenBuffers@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.11(%rip), %rdi callq *%rbx movq _glad_glIsBuffer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.12(%rip), %rdi callq *%rbx movq _glad_glBufferData@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.13(%rip), %rdi callq *%rbx movq _glad_glBufferSubData@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.14(%rip), %rdi callq *%rbx movq _glad_glGetBufferSubData@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.15(%rip), %rdi callq *%rbx movq _glad_glMapBuffer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.16(%rip), %rdi callq *%rbx movq _glad_glUnmapBuffer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.17(%rip), %rdi callq *%rbx movq _glad_glGetBufferParameteriv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.18(%rip), %rdi callq *%rbx movq _glad_glGetBufferPointerv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _GLAD_GL_VERSION_1_5,4,2 ## @GLAD_GL_VERSION_1_5 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "glGenQueries" .comm _glad_glGenQueries,8,3 ## @glad_glGenQueries L_.str.1: ## @.str.1 .asciz "glDeleteQueries" .comm _glad_glDeleteQueries,8,3 ## @glad_glDeleteQueries L_.str.2: ## @.str.2 .asciz "glIsQuery" .comm _glad_glIsQuery,8,3 ## @glad_glIsQuery L_.str.3: ## @.str.3 .asciz "glBeginQuery" .comm _glad_glBeginQuery,8,3 ## @glad_glBeginQuery L_.str.4: ## @.str.4 .asciz "glEndQuery" .comm _glad_glEndQuery,8,3 ## @glad_glEndQuery L_.str.5: ## @.str.5 .asciz "glGetQueryiv" .comm _glad_glGetQueryiv,8,3 ## @glad_glGetQueryiv L_.str.6: ## @.str.6 .asciz "glGetQueryObjectiv" .comm _glad_glGetQueryObjectiv,8,3 ## @glad_glGetQueryObjectiv L_.str.7: ## @.str.7 .asciz "glGetQueryObjectuiv" .comm _glad_glGetQueryObjectuiv,8,3 ## @glad_glGetQueryObjectuiv L_.str.8: ## @.str.8 .asciz "glBindBuffer" .comm _glad_glBindBuffer,8,3 ## @glad_glBindBuffer L_.str.9: ## @.str.9 .asciz "glDeleteBuffers" .comm _glad_glDeleteBuffers,8,3 ## @glad_glDeleteBuffers L_.str.10: ## @.str.10 .asciz "glGenBuffers" .comm _glad_glGenBuffers,8,3 ## @glad_glGenBuffers L_.str.11: ## @.str.11 .asciz "glIsBuffer" .comm _glad_glIsBuffer,8,3 ## @glad_glIsBuffer L_.str.12: ## @.str.12 .asciz "glBufferData" .comm _glad_glBufferData,8,3 ## @glad_glBufferData L_.str.13: ## @.str.13 .asciz "glBufferSubData" .comm _glad_glBufferSubData,8,3 ## @glad_glBufferSubData L_.str.14: ## @.str.14 .asciz "glGetBufferSubData" .comm _glad_glGetBufferSubData,8,3 ## @glad_glGetBufferSubData L_.str.15: ## @.str.15 .asciz "glMapBuffer" .comm _glad_glMapBuffer,8,3 ## @glad_glMapBuffer L_.str.16: ## @.str.16 .asciz "glUnmapBuffer" .comm _glad_glUnmapBuffer,8,3 ## @glad_glUnmapBuffer L_.str.17: ## @.str.17 .asciz "glGetBufferParameteriv" .comm _glad_glGetBufferParameteriv,8,3 ## @glad_glGetBufferParameteriv L_.str.18: ## @.str.18 .asciz "glGetBufferPointerv" .comm _glad_glGetBufferPointerv,8,3 ## @glad_glGetBufferPointerv .no_dead_strip _load_GL_VERSION_1_5 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function load_GL_VERSION_1_5 _load_GL_VERSION_1_5: ; @load_GL_VERSION_1_5 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _GLAD_GL_VERSION_1_5@GOTPAGE Lloh1: ldr x8, [x8, _GLAD_GL_VERSION_1_5@GOTPAGEOFF] Lloh2: ldr w8, [x8] cbz w8, LBB0_2 ; %bb.1: mov x19, x0 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF blr x19 Lloh5: adrp x8, _glad_glGenQueries@GOTPAGE Lloh6: ldr x8, [x8, _glad_glGenQueries@GOTPAGEOFF] Lloh7: str x0, [x8] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF blr x19 Lloh10: adrp x8, _glad_glDeleteQueries@GOTPAGE Lloh11: ldr x8, [x8, _glad_glDeleteQueries@GOTPAGEOFF] Lloh12: str x0, [x8] Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF blr x19 Lloh15: adrp x8, _glad_glIsQuery@GOTPAGE Lloh16: ldr x8, [x8, _glad_glIsQuery@GOTPAGEOFF] Lloh17: str x0, [x8] Lloh18: adrp x0, l_.str.3@PAGE Lloh19: add x0, x0, l_.str.3@PAGEOFF blr x19 Lloh20: adrp x8, _glad_glBeginQuery@GOTPAGE Lloh21: ldr x8, [x8, _glad_glBeginQuery@GOTPAGEOFF] Lloh22: str x0, [x8] Lloh23: adrp x0, l_.str.4@PAGE Lloh24: add x0, x0, l_.str.4@PAGEOFF blr x19 Lloh25: adrp x8, _glad_glEndQuery@GOTPAGE Lloh26: ldr x8, [x8, _glad_glEndQuery@GOTPAGEOFF] Lloh27: str x0, [x8] Lloh28: adrp x0, l_.str.5@PAGE Lloh29: add x0, x0, l_.str.5@PAGEOFF blr x19 Lloh30: adrp x8, _glad_glGetQueryiv@GOTPAGE Lloh31: ldr x8, [x8, _glad_glGetQueryiv@GOTPAGEOFF] Lloh32: str x0, [x8] Lloh33: adrp x0, l_.str.6@PAGE Lloh34: add x0, x0, l_.str.6@PAGEOFF blr x19 Lloh35: adrp x8, _glad_glGetQueryObjectiv@GOTPAGE Lloh36: ldr x8, [x8, _glad_glGetQueryObjectiv@GOTPAGEOFF] Lloh37: str x0, [x8] Lloh38: adrp x0, l_.str.7@PAGE Lloh39: add x0, x0, l_.str.7@PAGEOFF blr x19 Lloh40: adrp x8, _glad_glGetQueryObjectuiv@GOTPAGE Lloh41: ldr x8, [x8, _glad_glGetQueryObjectuiv@GOTPAGEOFF] Lloh42: str x0, [x8] Lloh43: adrp x0, l_.str.8@PAGE Lloh44: add x0, x0, l_.str.8@PAGEOFF blr x19 Lloh45: adrp x8, _glad_glBindBuffer@GOTPAGE Lloh46: ldr x8, [x8, _glad_glBindBuffer@GOTPAGEOFF] Lloh47: str x0, [x8] Lloh48: adrp x0, l_.str.9@PAGE Lloh49: add x0, x0, l_.str.9@PAGEOFF blr x19 Lloh50: adrp x8, _glad_glDeleteBuffers@GOTPAGE Lloh51: ldr x8, [x8, _glad_glDeleteBuffers@GOTPAGEOFF] Lloh52: str x0, [x8] Lloh53: adrp x0, l_.str.10@PAGE Lloh54: add x0, x0, l_.str.10@PAGEOFF blr x19 Lloh55: adrp x8, _glad_glGenBuffers@GOTPAGE Lloh56: ldr x8, [x8, _glad_glGenBuffers@GOTPAGEOFF] Lloh57: str x0, [x8] Lloh58: adrp x0, l_.str.11@PAGE Lloh59: add x0, x0, l_.str.11@PAGEOFF blr x19 Lloh60: adrp x8, _glad_glIsBuffer@GOTPAGE Lloh61: ldr x8, [x8, _glad_glIsBuffer@GOTPAGEOFF] Lloh62: str x0, [x8] Lloh63: adrp x0, l_.str.12@PAGE Lloh64: add x0, x0, l_.str.12@PAGEOFF blr x19 Lloh65: adrp x8, _glad_glBufferData@GOTPAGE Lloh66: ldr x8, [x8, _glad_glBufferData@GOTPAGEOFF] Lloh67: str x0, [x8] Lloh68: adrp x0, l_.str.13@PAGE Lloh69: add x0, x0, l_.str.13@PAGEOFF blr x19 Lloh70: adrp x8, _glad_glBufferSubData@GOTPAGE Lloh71: ldr x8, [x8, _glad_glBufferSubData@GOTPAGEOFF] Lloh72: str x0, [x8] Lloh73: adrp x0, l_.str.14@PAGE Lloh74: add x0, x0, l_.str.14@PAGEOFF blr x19 Lloh75: adrp x8, _glad_glGetBufferSubData@GOTPAGE Lloh76: ldr x8, [x8, _glad_glGetBufferSubData@GOTPAGEOFF] Lloh77: str x0, [x8] Lloh78: adrp x0, l_.str.15@PAGE Lloh79: add x0, x0, l_.str.15@PAGEOFF blr x19 Lloh80: adrp x8, _glad_glMapBuffer@GOTPAGE Lloh81: ldr x8, [x8, _glad_glMapBuffer@GOTPAGEOFF] Lloh82: str x0, [x8] Lloh83: adrp x0, l_.str.16@PAGE Lloh84: add x0, x0, l_.str.16@PAGEOFF blr x19 Lloh85: adrp x8, _glad_glUnmapBuffer@GOTPAGE Lloh86: ldr x8, [x8, _glad_glUnmapBuffer@GOTPAGEOFF] Lloh87: str x0, [x8] Lloh88: adrp x0, l_.str.17@PAGE Lloh89: add x0, x0, l_.str.17@PAGEOFF blr x19 Lloh90: adrp x8, _glad_glGetBufferParameteriv@GOTPAGE Lloh91: ldr x8, [x8, _glad_glGetBufferParameteriv@GOTPAGEOFF] Lloh92: str x0, [x8] Lloh93: adrp x0, l_.str.18@PAGE Lloh94: add x0, x0, l_.str.18@PAGEOFF blr x19 Lloh95: adrp x8, _glad_glGetBufferPointerv@GOTPAGE Lloh96: ldr x8, [x8, _glad_glGetBufferPointerv@GOTPAGEOFF] Lloh97: str x0, [x8] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh95, Lloh96, Lloh97 .loh AdrpAdd Lloh93, Lloh94 .loh AdrpLdrGotStr Lloh90, Lloh91, Lloh92 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpLdrGotStr Lloh85, Lloh86, Lloh87 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpLdrGotStr Lloh80, Lloh81, Lloh82 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpLdrGotStr Lloh75, Lloh76, Lloh77 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpLdrGotStr Lloh70, Lloh71, Lloh72 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpLdrGotStr Lloh65, Lloh66, Lloh67 .loh AdrpAdd Lloh63, Lloh64 .loh AdrpLdrGotStr Lloh60, Lloh61, Lloh62 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpLdrGotStr Lloh55, Lloh56, Lloh57 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotStr Lloh50, Lloh51, Lloh52 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpLdrGotStr Lloh45, Lloh46, Lloh47 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpLdrGotStr Lloh40, Lloh41, Lloh42 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGotStr Lloh35, Lloh36, Lloh37 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotStr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotStr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _GLAD_GL_VERSION_1_5,4,2 ; @GLAD_GL_VERSION_1_5 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "glGenQueries" .comm _glad_glGenQueries,8,3 ; @glad_glGenQueries l_.str.1: ; @.str.1 .asciz "glDeleteQueries" .comm _glad_glDeleteQueries,8,3 ; @glad_glDeleteQueries l_.str.2: ; @.str.2 .asciz "glIsQuery" .comm _glad_glIsQuery,8,3 ; @glad_glIsQuery l_.str.3: ; @.str.3 .asciz "glBeginQuery" .comm _glad_glBeginQuery,8,3 ; @glad_glBeginQuery l_.str.4: ; @.str.4 .asciz "glEndQuery" .comm _glad_glEndQuery,8,3 ; @glad_glEndQuery l_.str.5: ; @.str.5 .asciz "glGetQueryiv" .comm _glad_glGetQueryiv,8,3 ; @glad_glGetQueryiv l_.str.6: ; @.str.6 .asciz "glGetQueryObjectiv" .comm _glad_glGetQueryObjectiv,8,3 ; @glad_glGetQueryObjectiv l_.str.7: ; @.str.7 .asciz "glGetQueryObjectuiv" .comm _glad_glGetQueryObjectuiv,8,3 ; @glad_glGetQueryObjectuiv l_.str.8: ; @.str.8 .asciz "glBindBuffer" .comm _glad_glBindBuffer,8,3 ; @glad_glBindBuffer l_.str.9: ; @.str.9 .asciz "glDeleteBuffers" .comm _glad_glDeleteBuffers,8,3 ; @glad_glDeleteBuffers l_.str.10: ; @.str.10 .asciz "glGenBuffers" .comm _glad_glGenBuffers,8,3 ; @glad_glGenBuffers l_.str.11: ; @.str.11 .asciz "glIsBuffer" .comm _glad_glIsBuffer,8,3 ; @glad_glIsBuffer l_.str.12: ; @.str.12 .asciz "glBufferData" .comm _glad_glBufferData,8,3 ; @glad_glBufferData l_.str.13: ; @.str.13 .asciz "glBufferSubData" .comm _glad_glBufferSubData,8,3 ; @glad_glBufferSubData l_.str.14: ; @.str.14 .asciz "glGetBufferSubData" .comm _glad_glGetBufferSubData,8,3 ; @glad_glGetBufferSubData l_.str.15: ; @.str.15 .asciz "glMapBuffer" .comm _glad_glMapBuffer,8,3 ; @glad_glMapBuffer l_.str.16: ; @.str.16 .asciz "glUnmapBuffer" .comm _glad_glUnmapBuffer,8,3 ; @glad_glUnmapBuffer l_.str.17: ; @.str.17 .asciz "glGetBufferParameteriv" .comm _glad_glGetBufferParameteriv,8,3 ; @glad_glGetBufferParameteriv l_.str.18: ; @.str.18 .asciz "glGetBufferPointerv" .comm _glad_glGetBufferPointerv,8,3 ; @glad_glGetBufferPointerv .no_dead_strip _load_GL_VERSION_1_5 .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_glad.c_load_GL_VERSION_1_5.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function load_GL_VERSION_2_0 _load_GL_VERSION_2_0: ## @load_GL_VERSION_2_0 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _GLAD_GL_VERSION_2_0@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_2 ## %bb.1: movq %rdi, %rbx leaq L_.str(%rip), %rdi callq *%rbx movq _glad_glBlendEquationSeparate@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.1(%rip), %rdi callq *%rbx movq _glad_glDrawBuffers@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.2(%rip), %rdi callq *%rbx movq _glad_glStencilOpSeparate@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.3(%rip), %rdi callq *%rbx movq _glad_glStencilFuncSeparate@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.4(%rip), %rdi callq *%rbx movq _glad_glStencilMaskSeparate@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.5(%rip), %rdi callq *%rbx movq _glad_glAttachShader@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.6(%rip), %rdi callq *%rbx movq _glad_glBindAttribLocation@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.7(%rip), %rdi callq *%rbx movq _glad_glCompileShader@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.8(%rip), %rdi callq *%rbx movq _glad_glCreateProgram@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.9(%rip), %rdi callq *%rbx movq _glad_glCreateShader@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.10(%rip), %rdi callq *%rbx movq _glad_glDeleteProgram@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.11(%rip), %rdi callq *%rbx movq _glad_glDeleteShader@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.12(%rip), %rdi callq *%rbx movq _glad_glDetachShader@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.13(%rip), %rdi callq *%rbx movq _glad_glDisableVertexAttribArray@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.14(%rip), %rdi callq *%rbx movq _glad_glEnableVertexAttribArray@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.15(%rip), %rdi callq *%rbx movq _glad_glGetActiveAttrib@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.16(%rip), %rdi callq *%rbx movq _glad_glGetActiveUniform@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.17(%rip), %rdi callq *%rbx movq _glad_glGetAttachedShaders@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.18(%rip), %rdi callq *%rbx movq _glad_glGetAttribLocation@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.19(%rip), %rdi callq *%rbx movq _glad_glGetProgramiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.20(%rip), %rdi callq *%rbx movq _glad_glGetProgramInfoLog@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.21(%rip), %rdi callq *%rbx movq _glad_glGetShaderiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.22(%rip), %rdi callq *%rbx movq _glad_glGetShaderInfoLog@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.23(%rip), %rdi callq *%rbx movq _glad_glGetShaderSource@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.24(%rip), %rdi callq *%rbx movq _glad_glGetUniformLocation@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.25(%rip), %rdi callq *%rbx movq _glad_glGetUniformfv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.26(%rip), %rdi callq *%rbx movq _glad_glGetUniformiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.27(%rip), %rdi callq *%rbx movq _glad_glGetVertexAttribdv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.28(%rip), %rdi callq *%rbx movq _glad_glGetVertexAttribfv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.29(%rip), %rdi callq *%rbx movq _glad_glGetVertexAttribiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.30(%rip), %rdi callq *%rbx movq _glad_glGetVertexAttribPointerv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.31(%rip), %rdi callq *%rbx movq _glad_glIsProgram@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.32(%rip), %rdi callq *%rbx movq _glad_glIsShader@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.33(%rip), %rdi callq *%rbx movq _glad_glLinkProgram@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.34(%rip), %rdi callq *%rbx movq _glad_glShaderSource@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.35(%rip), %rdi callq *%rbx movq _glad_glUseProgram@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.36(%rip), %rdi callq *%rbx movq _glad_glUniform1f@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.37(%rip), %rdi callq *%rbx movq _glad_glUniform2f@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.38(%rip), %rdi callq *%rbx movq _glad_glUniform3f@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.39(%rip), %rdi callq *%rbx movq _glad_glUniform4f@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.40(%rip), %rdi callq *%rbx movq _glad_glUniform1i@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.41(%rip), %rdi callq *%rbx movq _glad_glUniform2i@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.42(%rip), %rdi callq *%rbx movq _glad_glUniform3i@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.43(%rip), %rdi callq *%rbx movq _glad_glUniform4i@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.44(%rip), %rdi callq *%rbx movq _glad_glUniform1fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.45(%rip), %rdi callq *%rbx movq _glad_glUniform2fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.46(%rip), %rdi callq *%rbx movq _glad_glUniform3fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.47(%rip), %rdi callq *%rbx movq _glad_glUniform4fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.48(%rip), %rdi callq *%rbx movq _glad_glUniform1iv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.49(%rip), %rdi callq *%rbx movq _glad_glUniform2iv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.50(%rip), %rdi callq *%rbx movq _glad_glUniform3iv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.51(%rip), %rdi callq *%rbx movq _glad_glUniform4iv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.52(%rip), %rdi callq *%rbx movq _glad_glUniformMatrix2fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.53(%rip), %rdi callq *%rbx movq _glad_glUniformMatrix3fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.54(%rip), %rdi callq *%rbx movq _glad_glUniformMatrix4fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.55(%rip), %rdi callq *%rbx movq _glad_glValidateProgram@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.56(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib1d@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.57(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib1dv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.58(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib1f@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.59(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib1fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.60(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib1s@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.61(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib1sv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.62(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib2d@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.63(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib2dv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.64(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib2f@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.65(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib2fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.66(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib2s@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.67(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib2sv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.68(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib3d@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.69(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib3dv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.70(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib3f@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.71(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib3fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.72(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib3s@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.73(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib3sv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.74(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4Nbv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.75(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4Niv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.76(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4Nsv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.77(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4Nub@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.78(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4Nubv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.79(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4Nuiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.80(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4Nusv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.81(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4bv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.82(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4d@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.83(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4dv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.84(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4f@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.85(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.86(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4iv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.87(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4s@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.88(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4sv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.89(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4ubv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.90(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4uiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.91(%rip), %rdi callq *%rbx movq _glad_glVertexAttrib4usv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.92(%rip), %rdi callq *%rbx movq _glad_glVertexAttribPointer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _GLAD_GL_VERSION_2_0,4,2 ## @GLAD_GL_VERSION_2_0 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "glBlendEquationSeparate" .comm _glad_glBlendEquationSeparate,8,3 ## @glad_glBlendEquationSeparate L_.str.1: ## @.str.1 .asciz "glDrawBuffers" .comm _glad_glDrawBuffers,8,3 ## @glad_glDrawBuffers L_.str.2: ## @.str.2 .asciz "glStencilOpSeparate" .comm _glad_glStencilOpSeparate,8,3 ## @glad_glStencilOpSeparate L_.str.3: ## @.str.3 .asciz "glStencilFuncSeparate" .comm _glad_glStencilFuncSeparate,8,3 ## @glad_glStencilFuncSeparate L_.str.4: ## @.str.4 .asciz "glStencilMaskSeparate" .comm _glad_glStencilMaskSeparate,8,3 ## @glad_glStencilMaskSeparate L_.str.5: ## @.str.5 .asciz "glAttachShader" .comm _glad_glAttachShader,8,3 ## @glad_glAttachShader L_.str.6: ## @.str.6 .asciz "glBindAttribLocation" .comm _glad_glBindAttribLocation,8,3 ## @glad_glBindAttribLocation L_.str.7: ## @.str.7 .asciz "glCompileShader" .comm _glad_glCompileShader,8,3 ## @glad_glCompileShader L_.str.8: ## @.str.8 .asciz "glCreateProgram" .comm _glad_glCreateProgram,8,3 ## @glad_glCreateProgram L_.str.9: ## @.str.9 .asciz "glCreateShader" .comm _glad_glCreateShader,8,3 ## @glad_glCreateShader L_.str.10: ## @.str.10 .asciz "glDeleteProgram" .comm _glad_glDeleteProgram,8,3 ## @glad_glDeleteProgram L_.str.11: ## @.str.11 .asciz "glDeleteShader" .comm _glad_glDeleteShader,8,3 ## @glad_glDeleteShader L_.str.12: ## @.str.12 .asciz "glDetachShader" .comm _glad_glDetachShader,8,3 ## @glad_glDetachShader L_.str.13: ## @.str.13 .asciz "glDisableVertexAttribArray" .comm _glad_glDisableVertexAttribArray,8,3 ## @glad_glDisableVertexAttribArray L_.str.14: ## @.str.14 .asciz "glEnableVertexAttribArray" .comm _glad_glEnableVertexAttribArray,8,3 ## @glad_glEnableVertexAttribArray L_.str.15: ## @.str.15 .asciz "glGetActiveAttrib" .comm _glad_glGetActiveAttrib,8,3 ## @glad_glGetActiveAttrib L_.str.16: ## @.str.16 .asciz "glGetActiveUniform" .comm _glad_glGetActiveUniform,8,3 ## @glad_glGetActiveUniform L_.str.17: ## @.str.17 .asciz "glGetAttachedShaders" .comm _glad_glGetAttachedShaders,8,3 ## @glad_glGetAttachedShaders L_.str.18: ## @.str.18 .asciz "glGetAttribLocation" .comm _glad_glGetAttribLocation,8,3 ## @glad_glGetAttribLocation L_.str.19: ## @.str.19 .asciz "glGetProgramiv" .comm _glad_glGetProgramiv,8,3 ## @glad_glGetProgramiv L_.str.20: ## @.str.20 .asciz "glGetProgramInfoLog" .comm _glad_glGetProgramInfoLog,8,3 ## @glad_glGetProgramInfoLog L_.str.21: ## @.str.21 .asciz "glGetShaderiv" .comm _glad_glGetShaderiv,8,3 ## @glad_glGetShaderiv L_.str.22: ## @.str.22 .asciz "glGetShaderInfoLog" .comm _glad_glGetShaderInfoLog,8,3 ## @glad_glGetShaderInfoLog L_.str.23: ## @.str.23 .asciz "glGetShaderSource" .comm _glad_glGetShaderSource,8,3 ## @glad_glGetShaderSource L_.str.24: ## @.str.24 .asciz "glGetUniformLocation" .comm _glad_glGetUniformLocation,8,3 ## @glad_glGetUniformLocation L_.str.25: ## @.str.25 .asciz "glGetUniformfv" .comm _glad_glGetUniformfv,8,3 ## @glad_glGetUniformfv L_.str.26: ## @.str.26 .asciz "glGetUniformiv" .comm _glad_glGetUniformiv,8,3 ## @glad_glGetUniformiv L_.str.27: ## @.str.27 .asciz "glGetVertexAttribdv" .comm _glad_glGetVertexAttribdv,8,3 ## @glad_glGetVertexAttribdv L_.str.28: ## @.str.28 .asciz "glGetVertexAttribfv" .comm _glad_glGetVertexAttribfv,8,3 ## @glad_glGetVertexAttribfv L_.str.29: ## @.str.29 .asciz "glGetVertexAttribiv" .comm _glad_glGetVertexAttribiv,8,3 ## @glad_glGetVertexAttribiv L_.str.30: ## @.str.30 .asciz "glGetVertexAttribPointerv" .comm _glad_glGetVertexAttribPointerv,8,3 ## @glad_glGetVertexAttribPointerv L_.str.31: ## @.str.31 .asciz "glIsProgram" .comm _glad_glIsProgram,8,3 ## @glad_glIsProgram L_.str.32: ## @.str.32 .asciz "glIsShader" .comm _glad_glIsShader,8,3 ## @glad_glIsShader L_.str.33: ## @.str.33 .asciz "glLinkProgram" .comm _glad_glLinkProgram,8,3 ## @glad_glLinkProgram L_.str.34: ## @.str.34 .asciz "glShaderSource" .comm _glad_glShaderSource,8,3 ## @glad_glShaderSource L_.str.35: ## @.str.35 .asciz "glUseProgram" .comm _glad_glUseProgram,8,3 ## @glad_glUseProgram L_.str.36: ## @.str.36 .asciz "glUniform1f" .comm _glad_glUniform1f,8,3 ## @glad_glUniform1f L_.str.37: ## @.str.37 .asciz "glUniform2f" .comm _glad_glUniform2f,8,3 ## @glad_glUniform2f L_.str.38: ## @.str.38 .asciz "glUniform3f" .comm _glad_glUniform3f,8,3 ## @glad_glUniform3f L_.str.39: ## @.str.39 .asciz "glUniform4f" .comm _glad_glUniform4f,8,3 ## @glad_glUniform4f L_.str.40: ## @.str.40 .asciz "glUniform1i" .comm _glad_glUniform1i,8,3 ## @glad_glUniform1i L_.str.41: ## @.str.41 .asciz "glUniform2i" .comm _glad_glUniform2i,8,3 ## @glad_glUniform2i L_.str.42: ## @.str.42 .asciz "glUniform3i" .comm _glad_glUniform3i,8,3 ## @glad_glUniform3i L_.str.43: ## @.str.43 .asciz "glUniform4i" .comm _glad_glUniform4i,8,3 ## @glad_glUniform4i L_.str.44: ## @.str.44 .asciz "glUniform1fv" .comm _glad_glUniform1fv,8,3 ## @glad_glUniform1fv L_.str.45: ## @.str.45 .asciz "glUniform2fv" .comm _glad_glUniform2fv,8,3 ## @glad_glUniform2fv L_.str.46: ## @.str.46 .asciz "glUniform3fv" .comm _glad_glUniform3fv,8,3 ## @glad_glUniform3fv L_.str.47: ## @.str.47 .asciz "glUniform4fv" .comm _glad_glUniform4fv,8,3 ## @glad_glUniform4fv L_.str.48: ## @.str.48 .asciz "glUniform1iv" .comm _glad_glUniform1iv,8,3 ## @glad_glUniform1iv L_.str.49: ## @.str.49 .asciz "glUniform2iv" .comm _glad_glUniform2iv,8,3 ## @glad_glUniform2iv L_.str.50: ## @.str.50 .asciz "glUniform3iv" .comm _glad_glUniform3iv,8,3 ## @glad_glUniform3iv L_.str.51: ## @.str.51 .asciz "glUniform4iv" .comm _glad_glUniform4iv,8,3 ## @glad_glUniform4iv L_.str.52: ## @.str.52 .asciz "glUniformMatrix2fv" .comm _glad_glUniformMatrix2fv,8,3 ## @glad_glUniformMatrix2fv L_.str.53: ## @.str.53 .asciz "glUniformMatrix3fv" .comm _glad_glUniformMatrix3fv,8,3 ## @glad_glUniformMatrix3fv L_.str.54: ## @.str.54 .asciz "glUniformMatrix4fv" .comm _glad_glUniformMatrix4fv,8,3 ## @glad_glUniformMatrix4fv L_.str.55: ## @.str.55 .asciz "glValidateProgram" .comm _glad_glValidateProgram,8,3 ## @glad_glValidateProgram L_.str.56: ## @.str.56 .asciz "glVertexAttrib1d" .comm _glad_glVertexAttrib1d,8,3 ## @glad_glVertexAttrib1d L_.str.57: ## @.str.57 .asciz "glVertexAttrib1dv" .comm _glad_glVertexAttrib1dv,8,3 ## @glad_glVertexAttrib1dv L_.str.58: ## @.str.58 .asciz "glVertexAttrib1f" .comm _glad_glVertexAttrib1f,8,3 ## @glad_glVertexAttrib1f L_.str.59: ## @.str.59 .asciz "glVertexAttrib1fv" .comm _glad_glVertexAttrib1fv,8,3 ## @glad_glVertexAttrib1fv L_.str.60: ## @.str.60 .asciz "glVertexAttrib1s" .comm _glad_glVertexAttrib1s,8,3 ## @glad_glVertexAttrib1s L_.str.61: ## @.str.61 .asciz "glVertexAttrib1sv" .comm _glad_glVertexAttrib1sv,8,3 ## @glad_glVertexAttrib1sv L_.str.62: ## @.str.62 .asciz "glVertexAttrib2d" .comm _glad_glVertexAttrib2d,8,3 ## @glad_glVertexAttrib2d L_.str.63: ## @.str.63 .asciz "glVertexAttrib2dv" .comm _glad_glVertexAttrib2dv,8,3 ## @glad_glVertexAttrib2dv L_.str.64: ## @.str.64 .asciz "glVertexAttrib2f" .comm _glad_glVertexAttrib2f,8,3 ## @glad_glVertexAttrib2f L_.str.65: ## @.str.65 .asciz "glVertexAttrib2fv" .comm _glad_glVertexAttrib2fv,8,3 ## @glad_glVertexAttrib2fv L_.str.66: ## @.str.66 .asciz "glVertexAttrib2s" .comm _glad_glVertexAttrib2s,8,3 ## @glad_glVertexAttrib2s L_.str.67: ## @.str.67 .asciz "glVertexAttrib2sv" .comm _glad_glVertexAttrib2sv,8,3 ## @glad_glVertexAttrib2sv L_.str.68: ## @.str.68 .asciz "glVertexAttrib3d" .comm _glad_glVertexAttrib3d,8,3 ## @glad_glVertexAttrib3d L_.str.69: ## @.str.69 .asciz "glVertexAttrib3dv" .comm _glad_glVertexAttrib3dv,8,3 ## @glad_glVertexAttrib3dv L_.str.70: ## @.str.70 .asciz "glVertexAttrib3f" .comm _glad_glVertexAttrib3f,8,3 ## @glad_glVertexAttrib3f L_.str.71: ## @.str.71 .asciz "glVertexAttrib3fv" .comm _glad_glVertexAttrib3fv,8,3 ## @glad_glVertexAttrib3fv L_.str.72: ## @.str.72 .asciz "glVertexAttrib3s" .comm _glad_glVertexAttrib3s,8,3 ## @glad_glVertexAttrib3s L_.str.73: ## @.str.73 .asciz "glVertexAttrib3sv" .comm _glad_glVertexAttrib3sv,8,3 ## @glad_glVertexAttrib3sv L_.str.74: ## @.str.74 .asciz "glVertexAttrib4Nbv" .comm _glad_glVertexAttrib4Nbv,8,3 ## @glad_glVertexAttrib4Nbv L_.str.75: ## @.str.75 .asciz "glVertexAttrib4Niv" .comm _glad_glVertexAttrib4Niv,8,3 ## @glad_glVertexAttrib4Niv L_.str.76: ## @.str.76 .asciz "glVertexAttrib4Nsv" .comm _glad_glVertexAttrib4Nsv,8,3 ## @glad_glVertexAttrib4Nsv L_.str.77: ## @.str.77 .asciz "glVertexAttrib4Nub" .comm _glad_glVertexAttrib4Nub,8,3 ## @glad_glVertexAttrib4Nub L_.str.78: ## @.str.78 .asciz "glVertexAttrib4Nubv" .comm _glad_glVertexAttrib4Nubv,8,3 ## @glad_glVertexAttrib4Nubv L_.str.79: ## @.str.79 .asciz "glVertexAttrib4Nuiv" .comm _glad_glVertexAttrib4Nuiv,8,3 ## @glad_glVertexAttrib4Nuiv L_.str.80: ## @.str.80 .asciz "glVertexAttrib4Nusv" .comm _glad_glVertexAttrib4Nusv,8,3 ## @glad_glVertexAttrib4Nusv L_.str.81: ## @.str.81 .asciz "glVertexAttrib4bv" .comm _glad_glVertexAttrib4bv,8,3 ## @glad_glVertexAttrib4bv L_.str.82: ## @.str.82 .asciz "glVertexAttrib4d" .comm _glad_glVertexAttrib4d,8,3 ## @glad_glVertexAttrib4d L_.str.83: ## @.str.83 .asciz "glVertexAttrib4dv" .comm _glad_glVertexAttrib4dv,8,3 ## @glad_glVertexAttrib4dv L_.str.84: ## @.str.84 .asciz "glVertexAttrib4f" .comm _glad_glVertexAttrib4f,8,3 ## @glad_glVertexAttrib4f L_.str.85: ## @.str.85 .asciz "glVertexAttrib4fv" .comm _glad_glVertexAttrib4fv,8,3 ## @glad_glVertexAttrib4fv L_.str.86: ## @.str.86 .asciz "glVertexAttrib4iv" .comm _glad_glVertexAttrib4iv,8,3 ## @glad_glVertexAttrib4iv L_.str.87: ## @.str.87 .asciz "glVertexAttrib4s" .comm _glad_glVertexAttrib4s,8,3 ## @glad_glVertexAttrib4s L_.str.88: ## @.str.88 .asciz "glVertexAttrib4sv" .comm _glad_glVertexAttrib4sv,8,3 ## @glad_glVertexAttrib4sv L_.str.89: ## @.str.89 .asciz "glVertexAttrib4ubv" .comm _glad_glVertexAttrib4ubv,8,3 ## @glad_glVertexAttrib4ubv L_.str.90: ## @.str.90 .asciz "glVertexAttrib4uiv" .comm _glad_glVertexAttrib4uiv,8,3 ## @glad_glVertexAttrib4uiv L_.str.91: ## @.str.91 .asciz "glVertexAttrib4usv" .comm _glad_glVertexAttrib4usv,8,3 ## @glad_glVertexAttrib4usv L_.str.92: ## @.str.92 .asciz "glVertexAttribPointer" .comm _glad_glVertexAttribPointer,8,3 ## @glad_glVertexAttribPointer .no_dead_strip _load_GL_VERSION_2_0 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function load_GL_VERSION_2_0 _load_GL_VERSION_2_0: ; @load_GL_VERSION_2_0 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _GLAD_GL_VERSION_2_0@GOTPAGE Lloh1: ldr x8, [x8, _GLAD_GL_VERSION_2_0@GOTPAGEOFF] Lloh2: ldr w8, [x8] cbz w8, LBB0_2 ; %bb.1: mov x19, x0 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF blr x19 Lloh5: adrp x8, _glad_glBlendEquationSeparate@GOTPAGE Lloh6: ldr x8, [x8, _glad_glBlendEquationSeparate@GOTPAGEOFF] Lloh7: str x0, [x8] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF blr x19 Lloh10: adrp x8, _glad_glDrawBuffers@GOTPAGE Lloh11: ldr x8, [x8, _glad_glDrawBuffers@GOTPAGEOFF] Lloh12: str x0, [x8] Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF blr x19 Lloh15: adrp x8, _glad_glStencilOpSeparate@GOTPAGE Lloh16: ldr x8, [x8, _glad_glStencilOpSeparate@GOTPAGEOFF] Lloh17: str x0, [x8] Lloh18: adrp x0, l_.str.3@PAGE Lloh19: add x0, x0, l_.str.3@PAGEOFF blr x19 Lloh20: adrp x8, _glad_glStencilFuncSeparate@GOTPAGE Lloh21: ldr x8, [x8, _glad_glStencilFuncSeparate@GOTPAGEOFF] Lloh22: str x0, [x8] Lloh23: adrp x0, l_.str.4@PAGE Lloh24: add x0, x0, l_.str.4@PAGEOFF blr x19 Lloh25: adrp x8, _glad_glStencilMaskSeparate@GOTPAGE Lloh26: ldr x8, [x8, _glad_glStencilMaskSeparate@GOTPAGEOFF] Lloh27: str x0, [x8] Lloh28: adrp x0, l_.str.5@PAGE Lloh29: add x0, x0, l_.str.5@PAGEOFF blr x19 Lloh30: adrp x8, _glad_glAttachShader@GOTPAGE Lloh31: ldr x8, [x8, _glad_glAttachShader@GOTPAGEOFF] Lloh32: str x0, [x8] Lloh33: adrp x0, l_.str.6@PAGE Lloh34: add x0, x0, l_.str.6@PAGEOFF blr x19 Lloh35: adrp x8, _glad_glBindAttribLocation@GOTPAGE Lloh36: ldr x8, [x8, _glad_glBindAttribLocation@GOTPAGEOFF] Lloh37: str x0, [x8] Lloh38: adrp x0, l_.str.7@PAGE Lloh39: add x0, x0, l_.str.7@PAGEOFF blr x19 Lloh40: adrp x8, _glad_glCompileShader@GOTPAGE Lloh41: ldr x8, [x8, _glad_glCompileShader@GOTPAGEOFF] Lloh42: str x0, [x8] Lloh43: adrp x0, l_.str.8@PAGE Lloh44: add x0, x0, l_.str.8@PAGEOFF blr x19 Lloh45: adrp x8, _glad_glCreateProgram@GOTPAGE Lloh46: ldr x8, [x8, _glad_glCreateProgram@GOTPAGEOFF] Lloh47: str x0, [x8] Lloh48: adrp x0, l_.str.9@PAGE Lloh49: add x0, x0, l_.str.9@PAGEOFF blr x19 Lloh50: adrp x8, _glad_glCreateShader@GOTPAGE Lloh51: ldr x8, [x8, _glad_glCreateShader@GOTPAGEOFF] Lloh52: str x0, [x8] Lloh53: adrp x0, l_.str.10@PAGE Lloh54: add x0, x0, l_.str.10@PAGEOFF blr x19 Lloh55: adrp x8, _glad_glDeleteProgram@GOTPAGE Lloh56: ldr x8, [x8, _glad_glDeleteProgram@GOTPAGEOFF] Lloh57: str x0, [x8] Lloh58: adrp x0, l_.str.11@PAGE Lloh59: add x0, x0, l_.str.11@PAGEOFF blr x19 Lloh60: adrp x8, _glad_glDeleteShader@GOTPAGE Lloh61: ldr x8, [x8, _glad_glDeleteShader@GOTPAGEOFF] Lloh62: str x0, [x8] Lloh63: adrp x0, l_.str.12@PAGE Lloh64: add x0, x0, l_.str.12@PAGEOFF blr x19 Lloh65: adrp x8, _glad_glDetachShader@GOTPAGE Lloh66: ldr x8, [x8, _glad_glDetachShader@GOTPAGEOFF] Lloh67: str x0, [x8] Lloh68: adrp x0, l_.str.13@PAGE Lloh69: add x0, x0, l_.str.13@PAGEOFF blr x19 Lloh70: adrp x8, _glad_glDisableVertexAttribArray@GOTPAGE Lloh71: ldr x8, [x8, _glad_glDisableVertexAttribArray@GOTPAGEOFF] Lloh72: str x0, [x8] Lloh73: adrp x0, l_.str.14@PAGE Lloh74: add x0, x0, l_.str.14@PAGEOFF blr x19 Lloh75: adrp x8, _glad_glEnableVertexAttribArray@GOTPAGE Lloh76: ldr x8, [x8, _glad_glEnableVertexAttribArray@GOTPAGEOFF] Lloh77: str x0, [x8] Lloh78: adrp x0, l_.str.15@PAGE Lloh79: add x0, x0, l_.str.15@PAGEOFF blr x19 Lloh80: adrp x8, _glad_glGetActiveAttrib@GOTPAGE Lloh81: ldr x8, [x8, _glad_glGetActiveAttrib@GOTPAGEOFF] Lloh82: str x0, [x8] Lloh83: adrp x0, l_.str.16@PAGE Lloh84: add x0, x0, l_.str.16@PAGEOFF blr x19 Lloh85: adrp x8, _glad_glGetActiveUniform@GOTPAGE Lloh86: ldr x8, [x8, _glad_glGetActiveUniform@GOTPAGEOFF] Lloh87: str x0, [x8] Lloh88: adrp x0, l_.str.17@PAGE Lloh89: add x0, x0, l_.str.17@PAGEOFF blr x19 Lloh90: adrp x8, _glad_glGetAttachedShaders@GOTPAGE Lloh91: ldr x8, [x8, _glad_glGetAttachedShaders@GOTPAGEOFF] Lloh92: str x0, [x8] Lloh93: adrp x0, l_.str.18@PAGE Lloh94: add x0, x0, l_.str.18@PAGEOFF blr x19 Lloh95: adrp x8, _glad_glGetAttribLocation@GOTPAGE Lloh96: ldr x8, [x8, _glad_glGetAttribLocation@GOTPAGEOFF] Lloh97: str x0, [x8] Lloh98: adrp x0, l_.str.19@PAGE Lloh99: add x0, x0, l_.str.19@PAGEOFF blr x19 Lloh100: adrp x8, _glad_glGetProgramiv@GOTPAGE Lloh101: ldr x8, [x8, _glad_glGetProgramiv@GOTPAGEOFF] Lloh102: str x0, [x8] Lloh103: adrp x0, l_.str.20@PAGE Lloh104: add x0, x0, l_.str.20@PAGEOFF blr x19 Lloh105: adrp x8, _glad_glGetProgramInfoLog@GOTPAGE Lloh106: ldr x8, [x8, _glad_glGetProgramInfoLog@GOTPAGEOFF] Lloh107: str x0, [x8] Lloh108: adrp x0, l_.str.21@PAGE Lloh109: add x0, x0, l_.str.21@PAGEOFF blr x19 Lloh110: adrp x8, _glad_glGetShaderiv@GOTPAGE Lloh111: ldr x8, [x8, _glad_glGetShaderiv@GOTPAGEOFF] Lloh112: str x0, [x8] Lloh113: adrp x0, l_.str.22@PAGE Lloh114: add x0, x0, l_.str.22@PAGEOFF blr x19 Lloh115: adrp x8, _glad_glGetShaderInfoLog@GOTPAGE Lloh116: ldr x8, [x8, _glad_glGetShaderInfoLog@GOTPAGEOFF] Lloh117: str x0, [x8] Lloh118: adrp x0, l_.str.23@PAGE Lloh119: add x0, x0, l_.str.23@PAGEOFF blr x19 Lloh120: adrp x8, _glad_glGetShaderSource@GOTPAGE Lloh121: ldr x8, [x8, _glad_glGetShaderSource@GOTPAGEOFF] Lloh122: str x0, [x8] Lloh123: adrp x0, l_.str.24@PAGE Lloh124: add x0, x0, l_.str.24@PAGEOFF blr x19 Lloh125: adrp x8, _glad_glGetUniformLocation@GOTPAGE Lloh126: ldr x8, [x8, _glad_glGetUniformLocation@GOTPAGEOFF] Lloh127: str x0, [x8] Lloh128: adrp x0, l_.str.25@PAGE Lloh129: add x0, x0, l_.str.25@PAGEOFF blr x19 Lloh130: adrp x8, _glad_glGetUniformfv@GOTPAGE Lloh131: ldr x8, [x8, _glad_glGetUniformfv@GOTPAGEOFF] Lloh132: str x0, [x8] Lloh133: adrp x0, l_.str.26@PAGE Lloh134: add x0, x0, l_.str.26@PAGEOFF blr x19 Lloh135: adrp x8, _glad_glGetUniformiv@GOTPAGE Lloh136: ldr x8, [x8, _glad_glGetUniformiv@GOTPAGEOFF] Lloh137: str x0, [x8] Lloh138: adrp x0, l_.str.27@PAGE Lloh139: add x0, x0, l_.str.27@PAGEOFF blr x19 Lloh140: adrp x8, _glad_glGetVertexAttribdv@GOTPAGE Lloh141: ldr x8, [x8, _glad_glGetVertexAttribdv@GOTPAGEOFF] Lloh142: str x0, [x8] Lloh143: adrp x0, l_.str.28@PAGE Lloh144: add x0, x0, l_.str.28@PAGEOFF blr x19 Lloh145: adrp x8, _glad_glGetVertexAttribfv@GOTPAGE Lloh146: ldr x8, [x8, _glad_glGetVertexAttribfv@GOTPAGEOFF] Lloh147: str x0, [x8] Lloh148: adrp x0, l_.str.29@PAGE Lloh149: add x0, x0, l_.str.29@PAGEOFF blr x19 Lloh150: adrp x8, _glad_glGetVertexAttribiv@GOTPAGE Lloh151: ldr x8, [x8, _glad_glGetVertexAttribiv@GOTPAGEOFF] Lloh152: str x0, [x8] Lloh153: adrp x0, l_.str.30@PAGE Lloh154: add x0, x0, l_.str.30@PAGEOFF blr x19 Lloh155: adrp x8, _glad_glGetVertexAttribPointerv@GOTPAGE Lloh156: ldr x8, [x8, _glad_glGetVertexAttribPointerv@GOTPAGEOFF] Lloh157: str x0, [x8] Lloh158: adrp x0, l_.str.31@PAGE Lloh159: add x0, x0, l_.str.31@PAGEOFF blr x19 Lloh160: adrp x8, _glad_glIsProgram@GOTPAGE Lloh161: ldr x8, [x8, _glad_glIsProgram@GOTPAGEOFF] Lloh162: str x0, [x8] Lloh163: adrp x0, l_.str.32@PAGE Lloh164: add x0, x0, l_.str.32@PAGEOFF blr x19 Lloh165: adrp x8, _glad_glIsShader@GOTPAGE Lloh166: ldr x8, [x8, _glad_glIsShader@GOTPAGEOFF] Lloh167: str x0, [x8] Lloh168: adrp x0, l_.str.33@PAGE Lloh169: add x0, x0, l_.str.33@PAGEOFF blr x19 Lloh170: adrp x8, _glad_glLinkProgram@GOTPAGE Lloh171: ldr x8, [x8, _glad_glLinkProgram@GOTPAGEOFF] Lloh172: str x0, [x8] Lloh173: adrp x0, l_.str.34@PAGE Lloh174: add x0, x0, l_.str.34@PAGEOFF blr x19 Lloh175: adrp x8, _glad_glShaderSource@GOTPAGE Lloh176: ldr x8, [x8, _glad_glShaderSource@GOTPAGEOFF] Lloh177: str x0, [x8] Lloh178: adrp x0, l_.str.35@PAGE Lloh179: add x0, x0, l_.str.35@PAGEOFF blr x19 Lloh180: adrp x8, _glad_glUseProgram@GOTPAGE Lloh181: ldr x8, [x8, _glad_glUseProgram@GOTPAGEOFF] Lloh182: str x0, [x8] Lloh183: adrp x0, l_.str.36@PAGE Lloh184: add x0, x0, l_.str.36@PAGEOFF blr x19 Lloh185: adrp x8, _glad_glUniform1f@GOTPAGE Lloh186: ldr x8, [x8, _glad_glUniform1f@GOTPAGEOFF] Lloh187: str x0, [x8] Lloh188: adrp x0, l_.str.37@PAGE Lloh189: add x0, x0, l_.str.37@PAGEOFF blr x19 Lloh190: adrp x8, _glad_glUniform2f@GOTPAGE Lloh191: ldr x8, [x8, _glad_glUniform2f@GOTPAGEOFF] Lloh192: str x0, [x8] Lloh193: adrp x0, l_.str.38@PAGE Lloh194: add x0, x0, l_.str.38@PAGEOFF blr x19 Lloh195: adrp x8, _glad_glUniform3f@GOTPAGE Lloh196: ldr x8, [x8, _glad_glUniform3f@GOTPAGEOFF] Lloh197: str x0, [x8] Lloh198: adrp x0, l_.str.39@PAGE Lloh199: add x0, x0, l_.str.39@PAGEOFF blr x19 Lloh200: adrp x8, _glad_glUniform4f@GOTPAGE Lloh201: ldr x8, [x8, _glad_glUniform4f@GOTPAGEOFF] Lloh202: str x0, [x8] Lloh203: adrp x0, l_.str.40@PAGE Lloh204: add x0, x0, l_.str.40@PAGEOFF blr x19 Lloh205: adrp x8, _glad_glUniform1i@GOTPAGE Lloh206: ldr x8, [x8, _glad_glUniform1i@GOTPAGEOFF] Lloh207: str x0, [x8] Lloh208: adrp x0, l_.str.41@PAGE Lloh209: add x0, x0, l_.str.41@PAGEOFF blr x19 Lloh210: adrp x8, _glad_glUniform2i@GOTPAGE Lloh211: ldr x8, [x8, _glad_glUniform2i@GOTPAGEOFF] Lloh212: str x0, [x8] Lloh213: adrp x0, l_.str.42@PAGE Lloh214: add x0, x0, l_.str.42@PAGEOFF blr x19 Lloh215: adrp x8, _glad_glUniform3i@GOTPAGE Lloh216: ldr x8, [x8, _glad_glUniform3i@GOTPAGEOFF] Lloh217: str x0, [x8] Lloh218: adrp x0, l_.str.43@PAGE Lloh219: add x0, x0, l_.str.43@PAGEOFF blr x19 Lloh220: adrp x8, _glad_glUniform4i@GOTPAGE Lloh221: ldr x8, [x8, _glad_glUniform4i@GOTPAGEOFF] Lloh222: str x0, [x8] Lloh223: adrp x0, l_.str.44@PAGE Lloh224: add x0, x0, l_.str.44@PAGEOFF blr x19 Lloh225: adrp x8, _glad_glUniform1fv@GOTPAGE Lloh226: ldr x8, [x8, _glad_glUniform1fv@GOTPAGEOFF] Lloh227: str x0, [x8] Lloh228: adrp x0, l_.str.45@PAGE Lloh229: add x0, x0, l_.str.45@PAGEOFF blr x19 Lloh230: adrp x8, _glad_glUniform2fv@GOTPAGE Lloh231: ldr x8, [x8, _glad_glUniform2fv@GOTPAGEOFF] Lloh232: str x0, [x8] Lloh233: adrp x0, l_.str.46@PAGE Lloh234: add x0, x0, l_.str.46@PAGEOFF blr x19 Lloh235: adrp x8, _glad_glUniform3fv@GOTPAGE Lloh236: ldr x8, [x8, _glad_glUniform3fv@GOTPAGEOFF] Lloh237: str x0, [x8] Lloh238: adrp x0, l_.str.47@PAGE Lloh239: add x0, x0, l_.str.47@PAGEOFF blr x19 Lloh240: adrp x8, _glad_glUniform4fv@GOTPAGE Lloh241: ldr x8, [x8, _glad_glUniform4fv@GOTPAGEOFF] Lloh242: str x0, [x8] Lloh243: adrp x0, l_.str.48@PAGE Lloh244: add x0, x0, l_.str.48@PAGEOFF blr x19 Lloh245: adrp x8, _glad_glUniform1iv@GOTPAGE Lloh246: ldr x8, [x8, _glad_glUniform1iv@GOTPAGEOFF] Lloh247: str x0, [x8] Lloh248: adrp x0, l_.str.49@PAGE Lloh249: add x0, x0, l_.str.49@PAGEOFF blr x19 Lloh250: adrp x8, _glad_glUniform2iv@GOTPAGE Lloh251: ldr x8, [x8, _glad_glUniform2iv@GOTPAGEOFF] Lloh252: str x0, [x8] Lloh253: adrp x0, l_.str.50@PAGE Lloh254: add x0, x0, l_.str.50@PAGEOFF blr x19 Lloh255: adrp x8, _glad_glUniform3iv@GOTPAGE Lloh256: ldr x8, [x8, _glad_glUniform3iv@GOTPAGEOFF] Lloh257: str x0, [x8] Lloh258: adrp x0, l_.str.51@PAGE Lloh259: add x0, x0, l_.str.51@PAGEOFF blr x19 Lloh260: adrp x8, _glad_glUniform4iv@GOTPAGE Lloh261: ldr x8, [x8, _glad_glUniform4iv@GOTPAGEOFF] Lloh262: str x0, [x8] Lloh263: adrp x0, l_.str.52@PAGE Lloh264: add x0, x0, l_.str.52@PAGEOFF blr x19 Lloh265: adrp x8, _glad_glUniformMatrix2fv@GOTPAGE Lloh266: ldr x8, [x8, _glad_glUniformMatrix2fv@GOTPAGEOFF] Lloh267: str x0, [x8] Lloh268: adrp x0, l_.str.53@PAGE Lloh269: add x0, x0, l_.str.53@PAGEOFF blr x19 Lloh270: adrp x8, _glad_glUniformMatrix3fv@GOTPAGE Lloh271: ldr x8, [x8, _glad_glUniformMatrix3fv@GOTPAGEOFF] Lloh272: str x0, [x8] Lloh273: adrp x0, l_.str.54@PAGE Lloh274: add x0, x0, l_.str.54@PAGEOFF blr x19 Lloh275: adrp x8, _glad_glUniformMatrix4fv@GOTPAGE Lloh276: ldr x8, [x8, _glad_glUniformMatrix4fv@GOTPAGEOFF] Lloh277: str x0, [x8] Lloh278: adrp x0, l_.str.55@PAGE Lloh279: add x0, x0, l_.str.55@PAGEOFF blr x19 Lloh280: adrp x8, _glad_glValidateProgram@GOTPAGE Lloh281: ldr x8, [x8, _glad_glValidateProgram@GOTPAGEOFF] Lloh282: str x0, [x8] Lloh283: adrp x0, l_.str.56@PAGE Lloh284: add x0, x0, l_.str.56@PAGEOFF blr x19 Lloh285: adrp x8, _glad_glVertexAttrib1d@GOTPAGE Lloh286: ldr x8, [x8, _glad_glVertexAttrib1d@GOTPAGEOFF] Lloh287: str x0, [x8] Lloh288: adrp x0, l_.str.57@PAGE Lloh289: add x0, x0, l_.str.57@PAGEOFF blr x19 Lloh290: adrp x8, _glad_glVertexAttrib1dv@GOTPAGE Lloh291: ldr x8, [x8, _glad_glVertexAttrib1dv@GOTPAGEOFF] Lloh292: str x0, [x8] Lloh293: adrp x0, l_.str.58@PAGE Lloh294: add x0, x0, l_.str.58@PAGEOFF blr x19 Lloh295: adrp x8, _glad_glVertexAttrib1f@GOTPAGE Lloh296: ldr x8, [x8, _glad_glVertexAttrib1f@GOTPAGEOFF] Lloh297: str x0, [x8] Lloh298: adrp x0, l_.str.59@PAGE Lloh299: add x0, x0, l_.str.59@PAGEOFF blr x19 Lloh300: adrp x8, _glad_glVertexAttrib1fv@GOTPAGE Lloh301: ldr x8, [x8, _glad_glVertexAttrib1fv@GOTPAGEOFF] Lloh302: str x0, [x8] Lloh303: adrp x0, l_.str.60@PAGE Lloh304: add x0, x0, l_.str.60@PAGEOFF blr x19 Lloh305: adrp x8, _glad_glVertexAttrib1s@GOTPAGE Lloh306: ldr x8, [x8, _glad_glVertexAttrib1s@GOTPAGEOFF] Lloh307: str x0, [x8] Lloh308: adrp x0, l_.str.61@PAGE Lloh309: add x0, x0, l_.str.61@PAGEOFF blr x19 Lloh310: adrp x8, _glad_glVertexAttrib1sv@GOTPAGE Lloh311: ldr x8, [x8, _glad_glVertexAttrib1sv@GOTPAGEOFF] Lloh312: str x0, [x8] Lloh313: adrp x0, l_.str.62@PAGE Lloh314: add x0, x0, l_.str.62@PAGEOFF blr x19 Lloh315: adrp x8, _glad_glVertexAttrib2d@GOTPAGE Lloh316: ldr x8, [x8, _glad_glVertexAttrib2d@GOTPAGEOFF] Lloh317: str x0, [x8] Lloh318: adrp x0, l_.str.63@PAGE Lloh319: add x0, x0, l_.str.63@PAGEOFF blr x19 Lloh320: adrp x8, _glad_glVertexAttrib2dv@GOTPAGE Lloh321: ldr x8, [x8, _glad_glVertexAttrib2dv@GOTPAGEOFF] Lloh322: str x0, [x8] Lloh323: adrp x0, l_.str.64@PAGE Lloh324: add x0, x0, l_.str.64@PAGEOFF blr x19 Lloh325: adrp x8, _glad_glVertexAttrib2f@GOTPAGE Lloh326: ldr x8, [x8, _glad_glVertexAttrib2f@GOTPAGEOFF] Lloh327: str x0, [x8] Lloh328: adrp x0, l_.str.65@PAGE Lloh329: add x0, x0, l_.str.65@PAGEOFF blr x19 Lloh330: adrp x8, _glad_glVertexAttrib2fv@GOTPAGE Lloh331: ldr x8, [x8, _glad_glVertexAttrib2fv@GOTPAGEOFF] Lloh332: str x0, [x8] Lloh333: adrp x0, l_.str.66@PAGE Lloh334: add x0, x0, l_.str.66@PAGEOFF blr x19 Lloh335: adrp x8, _glad_glVertexAttrib2s@GOTPAGE Lloh336: ldr x8, [x8, _glad_glVertexAttrib2s@GOTPAGEOFF] Lloh337: str x0, [x8] Lloh338: adrp x0, l_.str.67@PAGE Lloh339: add x0, x0, l_.str.67@PAGEOFF blr x19 Lloh340: adrp x8, _glad_glVertexAttrib2sv@GOTPAGE Lloh341: ldr x8, [x8, _glad_glVertexAttrib2sv@GOTPAGEOFF] Lloh342: str x0, [x8] Lloh343: adrp x0, l_.str.68@PAGE Lloh344: add x0, x0, l_.str.68@PAGEOFF blr x19 Lloh345: adrp x8, _glad_glVertexAttrib3d@GOTPAGE Lloh346: ldr x8, [x8, _glad_glVertexAttrib3d@GOTPAGEOFF] Lloh347: str x0, [x8] Lloh348: adrp x0, l_.str.69@PAGE Lloh349: add x0, x0, l_.str.69@PAGEOFF blr x19 Lloh350: adrp x8, _glad_glVertexAttrib3dv@GOTPAGE Lloh351: ldr x8, [x8, _glad_glVertexAttrib3dv@GOTPAGEOFF] Lloh352: str x0, [x8] Lloh353: adrp x0, l_.str.70@PAGE Lloh354: add x0, x0, l_.str.70@PAGEOFF blr x19 Lloh355: adrp x8, _glad_glVertexAttrib3f@GOTPAGE Lloh356: ldr x8, [x8, _glad_glVertexAttrib3f@GOTPAGEOFF] Lloh357: str x0, [x8] Lloh358: adrp x0, l_.str.71@PAGE Lloh359: add x0, x0, l_.str.71@PAGEOFF blr x19 Lloh360: adrp x8, _glad_glVertexAttrib3fv@GOTPAGE Lloh361: ldr x8, [x8, _glad_glVertexAttrib3fv@GOTPAGEOFF] Lloh362: str x0, [x8] Lloh363: adrp x0, l_.str.72@PAGE Lloh364: add x0, x0, l_.str.72@PAGEOFF blr x19 Lloh365: adrp x8, _glad_glVertexAttrib3s@GOTPAGE Lloh366: ldr x8, [x8, _glad_glVertexAttrib3s@GOTPAGEOFF] Lloh367: str x0, [x8] Lloh368: adrp x0, l_.str.73@PAGE Lloh369: add x0, x0, l_.str.73@PAGEOFF blr x19 Lloh370: adrp x8, _glad_glVertexAttrib3sv@GOTPAGE Lloh371: ldr x8, [x8, _glad_glVertexAttrib3sv@GOTPAGEOFF] Lloh372: str x0, [x8] Lloh373: adrp x0, l_.str.74@PAGE Lloh374: add x0, x0, l_.str.74@PAGEOFF blr x19 Lloh375: adrp x8, _glad_glVertexAttrib4Nbv@GOTPAGE Lloh376: ldr x8, [x8, _glad_glVertexAttrib4Nbv@GOTPAGEOFF] Lloh377: str x0, [x8] Lloh378: adrp x0, l_.str.75@PAGE Lloh379: add x0, x0, l_.str.75@PAGEOFF blr x19 Lloh380: adrp x8, _glad_glVertexAttrib4Niv@GOTPAGE Lloh381: ldr x8, [x8, _glad_glVertexAttrib4Niv@GOTPAGEOFF] Lloh382: str x0, [x8] Lloh383: adrp x0, l_.str.76@PAGE Lloh384: add x0, x0, l_.str.76@PAGEOFF blr x19 Lloh385: adrp x8, _glad_glVertexAttrib4Nsv@GOTPAGE Lloh386: ldr x8, [x8, _glad_glVertexAttrib4Nsv@GOTPAGEOFF] Lloh387: str x0, [x8] Lloh388: adrp x0, l_.str.77@PAGE Lloh389: add x0, x0, l_.str.77@PAGEOFF blr x19 Lloh390: adrp x8, _glad_glVertexAttrib4Nub@GOTPAGE Lloh391: ldr x8, [x8, _glad_glVertexAttrib4Nub@GOTPAGEOFF] Lloh392: str x0, [x8] Lloh393: adrp x0, l_.str.78@PAGE Lloh394: add x0, x0, l_.str.78@PAGEOFF blr x19 Lloh395: adrp x8, _glad_glVertexAttrib4Nubv@GOTPAGE Lloh396: ldr x8, [x8, _glad_glVertexAttrib4Nubv@GOTPAGEOFF] Lloh397: str x0, [x8] Lloh398: adrp x0, l_.str.79@PAGE Lloh399: add x0, x0, l_.str.79@PAGEOFF blr x19 Lloh400: adrp x8, _glad_glVertexAttrib4Nuiv@GOTPAGE Lloh401: ldr x8, [x8, _glad_glVertexAttrib4Nuiv@GOTPAGEOFF] Lloh402: str x0, [x8] Lloh403: adrp x0, l_.str.80@PAGE Lloh404: add x0, x0, l_.str.80@PAGEOFF blr x19 Lloh405: adrp x8, _glad_glVertexAttrib4Nusv@GOTPAGE Lloh406: ldr x8, [x8, _glad_glVertexAttrib4Nusv@GOTPAGEOFF] Lloh407: str x0, [x8] Lloh408: adrp x0, l_.str.81@PAGE Lloh409: add x0, x0, l_.str.81@PAGEOFF blr x19 Lloh410: adrp x8, _glad_glVertexAttrib4bv@GOTPAGE Lloh411: ldr x8, [x8, _glad_glVertexAttrib4bv@GOTPAGEOFF] Lloh412: str x0, [x8] Lloh413: adrp x0, l_.str.82@PAGE Lloh414: add x0, x0, l_.str.82@PAGEOFF blr x19 Lloh415: adrp x8, _glad_glVertexAttrib4d@GOTPAGE Lloh416: ldr x8, [x8, _glad_glVertexAttrib4d@GOTPAGEOFF] Lloh417: str x0, [x8] Lloh418: adrp x0, l_.str.83@PAGE Lloh419: add x0, x0, l_.str.83@PAGEOFF blr x19 Lloh420: adrp x8, _glad_glVertexAttrib4dv@GOTPAGE Lloh421: ldr x8, [x8, _glad_glVertexAttrib4dv@GOTPAGEOFF] Lloh422: str x0, [x8] Lloh423: adrp x0, l_.str.84@PAGE Lloh424: add x0, x0, l_.str.84@PAGEOFF blr x19 Lloh425: adrp x8, _glad_glVertexAttrib4f@GOTPAGE Lloh426: ldr x8, [x8, _glad_glVertexAttrib4f@GOTPAGEOFF] Lloh427: str x0, [x8] Lloh428: adrp x0, l_.str.85@PAGE Lloh429: add x0, x0, l_.str.85@PAGEOFF blr x19 Lloh430: adrp x8, _glad_glVertexAttrib4fv@GOTPAGE Lloh431: ldr x8, [x8, _glad_glVertexAttrib4fv@GOTPAGEOFF] Lloh432: str x0, [x8] Lloh433: adrp x0, l_.str.86@PAGE Lloh434: add x0, x0, l_.str.86@PAGEOFF blr x19 Lloh435: adrp x8, _glad_glVertexAttrib4iv@GOTPAGE Lloh436: ldr x8, [x8, _glad_glVertexAttrib4iv@GOTPAGEOFF] Lloh437: str x0, [x8] Lloh438: adrp x0, l_.str.87@PAGE Lloh439: add x0, x0, l_.str.87@PAGEOFF blr x19 Lloh440: adrp x8, _glad_glVertexAttrib4s@GOTPAGE Lloh441: ldr x8, [x8, _glad_glVertexAttrib4s@GOTPAGEOFF] Lloh442: str x0, [x8] Lloh443: adrp x0, l_.str.88@PAGE Lloh444: add x0, x0, l_.str.88@PAGEOFF blr x19 Lloh445: adrp x8, _glad_glVertexAttrib4sv@GOTPAGE Lloh446: ldr x8, [x8, _glad_glVertexAttrib4sv@GOTPAGEOFF] Lloh447: str x0, [x8] Lloh448: adrp x0, l_.str.89@PAGE Lloh449: add x0, x0, l_.str.89@PAGEOFF blr x19 Lloh450: adrp x8, _glad_glVertexAttrib4ubv@GOTPAGE Lloh451: ldr x8, [x8, _glad_glVertexAttrib4ubv@GOTPAGEOFF] Lloh452: str x0, [x8] Lloh453: adrp x0, l_.str.90@PAGE Lloh454: add x0, x0, l_.str.90@PAGEOFF blr x19 Lloh455: adrp x8, _glad_glVertexAttrib4uiv@GOTPAGE Lloh456: ldr x8, [x8, _glad_glVertexAttrib4uiv@GOTPAGEOFF] Lloh457: str x0, [x8] Lloh458: adrp x0, l_.str.91@PAGE Lloh459: add x0, x0, l_.str.91@PAGEOFF blr x19 Lloh460: adrp x8, _glad_glVertexAttrib4usv@GOTPAGE Lloh461: ldr x8, [x8, _glad_glVertexAttrib4usv@GOTPAGEOFF] Lloh462: str x0, [x8] Lloh463: adrp x0, l_.str.92@PAGE Lloh464: add x0, x0, l_.str.92@PAGEOFF blr x19 Lloh465: adrp x8, _glad_glVertexAttribPointer@GOTPAGE Lloh466: ldr x8, [x8, _glad_glVertexAttribPointer@GOTPAGEOFF] Lloh467: str x0, [x8] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh465, Lloh466, Lloh467 .loh AdrpAdd Lloh463, Lloh464 .loh AdrpLdrGotStr Lloh460, Lloh461, Lloh462 .loh AdrpAdd Lloh458, Lloh459 .loh AdrpLdrGotStr Lloh455, Lloh456, Lloh457 .loh AdrpAdd Lloh453, Lloh454 .loh AdrpLdrGotStr Lloh450, Lloh451, Lloh452 .loh AdrpAdd Lloh448, Lloh449 .loh AdrpLdrGotStr Lloh445, Lloh446, Lloh447 .loh AdrpAdd Lloh443, Lloh444 .loh AdrpLdrGotStr Lloh440, Lloh441, Lloh442 .loh AdrpAdd Lloh438, Lloh439 .loh AdrpLdrGotStr Lloh435, Lloh436, Lloh437 .loh AdrpAdd Lloh433, Lloh434 .loh AdrpLdrGotStr Lloh430, Lloh431, Lloh432 .loh AdrpAdd Lloh428, Lloh429 .loh AdrpLdrGotStr Lloh425, Lloh426, Lloh427 .loh AdrpAdd Lloh423, Lloh424 .loh AdrpLdrGotStr Lloh420, Lloh421, Lloh422 .loh AdrpAdd Lloh418, Lloh419 .loh AdrpLdrGotStr Lloh415, Lloh416, Lloh417 .loh AdrpAdd Lloh413, Lloh414 .loh AdrpLdrGotStr Lloh410, Lloh411, Lloh412 .loh AdrpAdd Lloh408, Lloh409 .loh AdrpLdrGotStr Lloh405, Lloh406, Lloh407 .loh AdrpAdd Lloh403, Lloh404 .loh AdrpLdrGotStr Lloh400, Lloh401, Lloh402 .loh AdrpAdd Lloh398, Lloh399 .loh AdrpLdrGotStr Lloh395, Lloh396, Lloh397 .loh AdrpAdd Lloh393, Lloh394 .loh AdrpLdrGotStr Lloh390, Lloh391, Lloh392 .loh AdrpAdd Lloh388, Lloh389 .loh AdrpLdrGotStr Lloh385, Lloh386, Lloh387 .loh AdrpAdd Lloh383, Lloh384 .loh AdrpLdrGotStr Lloh380, Lloh381, Lloh382 .loh AdrpAdd Lloh378, Lloh379 .loh AdrpLdrGotStr Lloh375, Lloh376, Lloh377 .loh AdrpAdd Lloh373, Lloh374 .loh AdrpLdrGotStr Lloh370, Lloh371, Lloh372 .loh AdrpAdd Lloh368, Lloh369 .loh AdrpLdrGotStr Lloh365, Lloh366, Lloh367 .loh AdrpAdd Lloh363, Lloh364 .loh AdrpLdrGotStr Lloh360, Lloh361, Lloh362 .loh AdrpAdd Lloh358, Lloh359 .loh AdrpLdrGotStr Lloh355, Lloh356, Lloh357 .loh AdrpAdd Lloh353, Lloh354 .loh AdrpLdrGotStr Lloh350, Lloh351, Lloh352 .loh AdrpAdd Lloh348, Lloh349 .loh AdrpLdrGotStr Lloh345, Lloh346, Lloh347 .loh AdrpAdd Lloh343, Lloh344 .loh AdrpLdrGotStr Lloh340, Lloh341, Lloh342 .loh AdrpAdd Lloh338, Lloh339 .loh AdrpLdrGotStr Lloh335, Lloh336, Lloh337 .loh AdrpAdd Lloh333, Lloh334 .loh AdrpLdrGotStr Lloh330, Lloh331, Lloh332 .loh AdrpAdd Lloh328, Lloh329 .loh AdrpLdrGotStr Lloh325, Lloh326, Lloh327 .loh AdrpAdd Lloh323, Lloh324 .loh AdrpLdrGotStr Lloh320, Lloh321, Lloh322 .loh AdrpAdd Lloh318, Lloh319 .loh AdrpLdrGotStr Lloh315, Lloh316, Lloh317 .loh AdrpAdd Lloh313, Lloh314 .loh AdrpLdrGotStr Lloh310, Lloh311, Lloh312 .loh AdrpAdd Lloh308, Lloh309 .loh AdrpLdrGotStr Lloh305, Lloh306, Lloh307 .loh AdrpAdd Lloh303, Lloh304 .loh AdrpLdrGotStr Lloh300, Lloh301, Lloh302 .loh AdrpAdd Lloh298, Lloh299 .loh AdrpLdrGotStr Lloh295, Lloh296, Lloh297 .loh AdrpAdd Lloh293, Lloh294 .loh AdrpLdrGotStr Lloh290, Lloh291, Lloh292 .loh AdrpAdd Lloh288, Lloh289 .loh AdrpLdrGotStr Lloh285, Lloh286, Lloh287 .loh AdrpAdd Lloh283, Lloh284 .loh AdrpLdrGotStr Lloh280, Lloh281, Lloh282 .loh AdrpAdd Lloh278, Lloh279 .loh AdrpLdrGotStr Lloh275, Lloh276, Lloh277 .loh AdrpAdd Lloh273, Lloh274 .loh AdrpLdrGotStr Lloh270, Lloh271, Lloh272 .loh AdrpAdd Lloh268, Lloh269 .loh AdrpLdrGotStr Lloh265, Lloh266, Lloh267 .loh AdrpAdd Lloh263, Lloh264 .loh AdrpLdrGotStr Lloh260, Lloh261, Lloh262 .loh AdrpAdd Lloh258, Lloh259 .loh AdrpLdrGotStr Lloh255, Lloh256, Lloh257 .loh AdrpAdd Lloh253, Lloh254 .loh AdrpLdrGotStr Lloh250, Lloh251, Lloh252 .loh AdrpAdd Lloh248, Lloh249 .loh AdrpLdrGotStr Lloh245, Lloh246, Lloh247 .loh AdrpAdd Lloh243, Lloh244 .loh AdrpLdrGotStr Lloh240, Lloh241, Lloh242 .loh AdrpAdd Lloh238, Lloh239 .loh AdrpLdrGotStr Lloh235, Lloh236, Lloh237 .loh AdrpAdd Lloh233, Lloh234 .loh AdrpLdrGotStr Lloh230, Lloh231, Lloh232 .loh AdrpAdd Lloh228, Lloh229 .loh AdrpLdrGotStr Lloh225, Lloh226, Lloh227 .loh AdrpAdd Lloh223, Lloh224 .loh AdrpLdrGotStr Lloh220, Lloh221, Lloh222 .loh AdrpAdd Lloh218, Lloh219 .loh AdrpLdrGotStr Lloh215, Lloh216, Lloh217 .loh AdrpAdd Lloh213, Lloh214 .loh AdrpLdrGotStr Lloh210, Lloh211, Lloh212 .loh AdrpAdd Lloh208, Lloh209 .loh AdrpLdrGotStr Lloh205, Lloh206, Lloh207 .loh AdrpAdd Lloh203, Lloh204 .loh AdrpLdrGotStr Lloh200, Lloh201, Lloh202 .loh AdrpAdd Lloh198, Lloh199 .loh AdrpLdrGotStr Lloh195, Lloh196, Lloh197 .loh AdrpAdd Lloh193, Lloh194 .loh AdrpLdrGotStr Lloh190, Lloh191, Lloh192 .loh AdrpAdd Lloh188, Lloh189 .loh AdrpLdrGotStr Lloh185, Lloh186, Lloh187 .loh AdrpAdd Lloh183, Lloh184 .loh AdrpLdrGotStr Lloh180, Lloh181, Lloh182 .loh AdrpAdd Lloh178, Lloh179 .loh AdrpLdrGotStr Lloh175, Lloh176, Lloh177 .loh AdrpAdd Lloh173, Lloh174 .loh AdrpLdrGotStr Lloh170, Lloh171, Lloh172 .loh AdrpAdd Lloh168, Lloh169 .loh AdrpLdrGotStr Lloh165, Lloh166, Lloh167 .loh AdrpAdd Lloh163, Lloh164 .loh AdrpLdrGotStr Lloh160, Lloh161, Lloh162 .loh AdrpAdd Lloh158, Lloh159 .loh AdrpLdrGotStr Lloh155, Lloh156, Lloh157 .loh AdrpAdd Lloh153, Lloh154 .loh AdrpLdrGotStr Lloh150, Lloh151, Lloh152 .loh AdrpAdd Lloh148, Lloh149 .loh AdrpLdrGotStr Lloh145, Lloh146, Lloh147 .loh AdrpAdd Lloh143, Lloh144 .loh AdrpLdrGotStr Lloh140, Lloh141, Lloh142 .loh AdrpAdd Lloh138, Lloh139 .loh AdrpLdrGotStr Lloh135, Lloh136, Lloh137 .loh AdrpAdd Lloh133, Lloh134 .loh AdrpLdrGotStr Lloh130, Lloh131, Lloh132 .loh AdrpAdd Lloh128, Lloh129 .loh AdrpLdrGotStr Lloh125, Lloh126, Lloh127 .loh AdrpAdd Lloh123, Lloh124 .loh AdrpLdrGotStr Lloh120, Lloh121, Lloh122 .loh AdrpAdd Lloh118, Lloh119 .loh AdrpLdrGotStr Lloh115, Lloh116, Lloh117 .loh AdrpAdd Lloh113, Lloh114 .loh AdrpLdrGotStr Lloh110, Lloh111, Lloh112 .loh AdrpAdd Lloh108, Lloh109 .loh AdrpLdrGotStr Lloh105, Lloh106, Lloh107 .loh AdrpAdd Lloh103, Lloh104 .loh AdrpLdrGotStr Lloh100, Lloh101, Lloh102 .loh AdrpAdd Lloh98, Lloh99 .loh AdrpLdrGotStr Lloh95, Lloh96, Lloh97 .loh AdrpAdd Lloh93, Lloh94 .loh AdrpLdrGotStr Lloh90, Lloh91, Lloh92 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpLdrGotStr Lloh85, Lloh86, Lloh87 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpLdrGotStr Lloh80, Lloh81, Lloh82 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpLdrGotStr Lloh75, Lloh76, Lloh77 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpLdrGotStr Lloh70, Lloh71, Lloh72 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpLdrGotStr Lloh65, Lloh66, Lloh67 .loh AdrpAdd Lloh63, Lloh64 .loh AdrpLdrGotStr Lloh60, Lloh61, Lloh62 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpLdrGotStr Lloh55, Lloh56, Lloh57 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotStr Lloh50, Lloh51, Lloh52 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpLdrGotStr Lloh45, Lloh46, Lloh47 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpLdrGotStr Lloh40, Lloh41, Lloh42 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGotStr Lloh35, Lloh36, Lloh37 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotStr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotStr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _GLAD_GL_VERSION_2_0,4,2 ; @GLAD_GL_VERSION_2_0 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "glBlendEquationSeparate" .comm _glad_glBlendEquationSeparate,8,3 ; @glad_glBlendEquationSeparate l_.str.1: ; @.str.1 .asciz "glDrawBuffers" .comm _glad_glDrawBuffers,8,3 ; @glad_glDrawBuffers l_.str.2: ; @.str.2 .asciz "glStencilOpSeparate" .comm _glad_glStencilOpSeparate,8,3 ; @glad_glStencilOpSeparate l_.str.3: ; @.str.3 .asciz "glStencilFuncSeparate" .comm _glad_glStencilFuncSeparate,8,3 ; @glad_glStencilFuncSeparate l_.str.4: ; @.str.4 .asciz "glStencilMaskSeparate" .comm _glad_glStencilMaskSeparate,8,3 ; @glad_glStencilMaskSeparate l_.str.5: ; @.str.5 .asciz "glAttachShader" .comm _glad_glAttachShader,8,3 ; @glad_glAttachShader l_.str.6: ; @.str.6 .asciz "glBindAttribLocation" .comm _glad_glBindAttribLocation,8,3 ; @glad_glBindAttribLocation l_.str.7: ; @.str.7 .asciz "glCompileShader" .comm _glad_glCompileShader,8,3 ; @glad_glCompileShader l_.str.8: ; @.str.8 .asciz "glCreateProgram" .comm _glad_glCreateProgram,8,3 ; @glad_glCreateProgram l_.str.9: ; @.str.9 .asciz "glCreateShader" .comm _glad_glCreateShader,8,3 ; @glad_glCreateShader l_.str.10: ; @.str.10 .asciz "glDeleteProgram" .comm _glad_glDeleteProgram,8,3 ; @glad_glDeleteProgram l_.str.11: ; @.str.11 .asciz "glDeleteShader" .comm _glad_glDeleteShader,8,3 ; @glad_glDeleteShader l_.str.12: ; @.str.12 .asciz "glDetachShader" .comm _glad_glDetachShader,8,3 ; @glad_glDetachShader l_.str.13: ; @.str.13 .asciz "glDisableVertexAttribArray" .comm _glad_glDisableVertexAttribArray,8,3 ; @glad_glDisableVertexAttribArray l_.str.14: ; @.str.14 .asciz "glEnableVertexAttribArray" .comm _glad_glEnableVertexAttribArray,8,3 ; @glad_glEnableVertexAttribArray l_.str.15: ; @.str.15 .asciz "glGetActiveAttrib" .comm _glad_glGetActiveAttrib,8,3 ; @glad_glGetActiveAttrib l_.str.16: ; @.str.16 .asciz "glGetActiveUniform" .comm _glad_glGetActiveUniform,8,3 ; @glad_glGetActiveUniform l_.str.17: ; @.str.17 .asciz "glGetAttachedShaders" .comm _glad_glGetAttachedShaders,8,3 ; @glad_glGetAttachedShaders l_.str.18: ; @.str.18 .asciz "glGetAttribLocation" .comm _glad_glGetAttribLocation,8,3 ; @glad_glGetAttribLocation l_.str.19: ; @.str.19 .asciz "glGetProgramiv" .comm _glad_glGetProgramiv,8,3 ; @glad_glGetProgramiv l_.str.20: ; @.str.20 .asciz "glGetProgramInfoLog" .comm _glad_glGetProgramInfoLog,8,3 ; @glad_glGetProgramInfoLog l_.str.21: ; @.str.21 .asciz "glGetShaderiv" .comm _glad_glGetShaderiv,8,3 ; @glad_glGetShaderiv l_.str.22: ; @.str.22 .asciz "glGetShaderInfoLog" .comm _glad_glGetShaderInfoLog,8,3 ; @glad_glGetShaderInfoLog l_.str.23: ; @.str.23 .asciz "glGetShaderSource" .comm _glad_glGetShaderSource,8,3 ; @glad_glGetShaderSource l_.str.24: ; @.str.24 .asciz "glGetUniformLocation" .comm _glad_glGetUniformLocation,8,3 ; @glad_glGetUniformLocation l_.str.25: ; @.str.25 .asciz "glGetUniformfv" .comm _glad_glGetUniformfv,8,3 ; @glad_glGetUniformfv l_.str.26: ; @.str.26 .asciz "glGetUniformiv" .comm _glad_glGetUniformiv,8,3 ; @glad_glGetUniformiv l_.str.27: ; @.str.27 .asciz "glGetVertexAttribdv" .comm _glad_glGetVertexAttribdv,8,3 ; @glad_glGetVertexAttribdv l_.str.28: ; @.str.28 .asciz "glGetVertexAttribfv" .comm _glad_glGetVertexAttribfv,8,3 ; @glad_glGetVertexAttribfv l_.str.29: ; @.str.29 .asciz "glGetVertexAttribiv" .comm _glad_glGetVertexAttribiv,8,3 ; @glad_glGetVertexAttribiv l_.str.30: ; @.str.30 .asciz "glGetVertexAttribPointerv" .comm _glad_glGetVertexAttribPointerv,8,3 ; @glad_glGetVertexAttribPointerv l_.str.31: ; @.str.31 .asciz "glIsProgram" .comm _glad_glIsProgram,8,3 ; @glad_glIsProgram l_.str.32: ; @.str.32 .asciz "glIsShader" .comm _glad_glIsShader,8,3 ; @glad_glIsShader l_.str.33: ; @.str.33 .asciz "glLinkProgram" .comm _glad_glLinkProgram,8,3 ; @glad_glLinkProgram l_.str.34: ; @.str.34 .asciz "glShaderSource" .comm _glad_glShaderSource,8,3 ; @glad_glShaderSource l_.str.35: ; @.str.35 .asciz "glUseProgram" .comm _glad_glUseProgram,8,3 ; @glad_glUseProgram l_.str.36: ; @.str.36 .asciz "glUniform1f" .comm _glad_glUniform1f,8,3 ; @glad_glUniform1f l_.str.37: ; @.str.37 .asciz "glUniform2f" .comm _glad_glUniform2f,8,3 ; @glad_glUniform2f l_.str.38: ; @.str.38 .asciz "glUniform3f" .comm _glad_glUniform3f,8,3 ; @glad_glUniform3f l_.str.39: ; @.str.39 .asciz "glUniform4f" .comm _glad_glUniform4f,8,3 ; @glad_glUniform4f l_.str.40: ; @.str.40 .asciz "glUniform1i" .comm _glad_glUniform1i,8,3 ; @glad_glUniform1i l_.str.41: ; @.str.41 .asciz "glUniform2i" .comm _glad_glUniform2i,8,3 ; @glad_glUniform2i l_.str.42: ; @.str.42 .asciz "glUniform3i" .comm _glad_glUniform3i,8,3 ; @glad_glUniform3i l_.str.43: ; @.str.43 .asciz "glUniform4i" .comm _glad_glUniform4i,8,3 ; @glad_glUniform4i l_.str.44: ; @.str.44 .asciz "glUniform1fv" .comm _glad_glUniform1fv,8,3 ; @glad_glUniform1fv l_.str.45: ; @.str.45 .asciz "glUniform2fv" .comm _glad_glUniform2fv,8,3 ; @glad_glUniform2fv l_.str.46: ; @.str.46 .asciz "glUniform3fv" .comm _glad_glUniform3fv,8,3 ; @glad_glUniform3fv l_.str.47: ; @.str.47 .asciz "glUniform4fv" .comm _glad_glUniform4fv,8,3 ; @glad_glUniform4fv l_.str.48: ; @.str.48 .asciz "glUniform1iv" .comm _glad_glUniform1iv,8,3 ; @glad_glUniform1iv l_.str.49: ; @.str.49 .asciz "glUniform2iv" .comm _glad_glUniform2iv,8,3 ; @glad_glUniform2iv l_.str.50: ; @.str.50 .asciz "glUniform3iv" .comm _glad_glUniform3iv,8,3 ; @glad_glUniform3iv l_.str.51: ; @.str.51 .asciz "glUniform4iv" .comm _glad_glUniform4iv,8,3 ; @glad_glUniform4iv l_.str.52: ; @.str.52 .asciz "glUniformMatrix2fv" .comm _glad_glUniformMatrix2fv,8,3 ; @glad_glUniformMatrix2fv l_.str.53: ; @.str.53 .asciz "glUniformMatrix3fv" .comm _glad_glUniformMatrix3fv,8,3 ; @glad_glUniformMatrix3fv l_.str.54: ; @.str.54 .asciz "glUniformMatrix4fv" .comm _glad_glUniformMatrix4fv,8,3 ; @glad_glUniformMatrix4fv l_.str.55: ; @.str.55 .asciz "glValidateProgram" .comm _glad_glValidateProgram,8,3 ; @glad_glValidateProgram l_.str.56: ; @.str.56 .asciz "glVertexAttrib1d" .comm _glad_glVertexAttrib1d,8,3 ; @glad_glVertexAttrib1d l_.str.57: ; @.str.57 .asciz "glVertexAttrib1dv" .comm _glad_glVertexAttrib1dv,8,3 ; @glad_glVertexAttrib1dv l_.str.58: ; @.str.58 .asciz "glVertexAttrib1f" .comm _glad_glVertexAttrib1f,8,3 ; @glad_glVertexAttrib1f l_.str.59: ; @.str.59 .asciz "glVertexAttrib1fv" .comm _glad_glVertexAttrib1fv,8,3 ; @glad_glVertexAttrib1fv l_.str.60: ; @.str.60 .asciz "glVertexAttrib1s" .comm _glad_glVertexAttrib1s,8,3 ; @glad_glVertexAttrib1s l_.str.61: ; @.str.61 .asciz "glVertexAttrib1sv" .comm _glad_glVertexAttrib1sv,8,3 ; @glad_glVertexAttrib1sv l_.str.62: ; @.str.62 .asciz "glVertexAttrib2d" .comm _glad_glVertexAttrib2d,8,3 ; @glad_glVertexAttrib2d l_.str.63: ; @.str.63 .asciz "glVertexAttrib2dv" .comm _glad_glVertexAttrib2dv,8,3 ; @glad_glVertexAttrib2dv l_.str.64: ; @.str.64 .asciz "glVertexAttrib2f" .comm _glad_glVertexAttrib2f,8,3 ; @glad_glVertexAttrib2f l_.str.65: ; @.str.65 .asciz "glVertexAttrib2fv" .comm _glad_glVertexAttrib2fv,8,3 ; @glad_glVertexAttrib2fv l_.str.66: ; @.str.66 .asciz "glVertexAttrib2s" .comm _glad_glVertexAttrib2s,8,3 ; @glad_glVertexAttrib2s l_.str.67: ; @.str.67 .asciz "glVertexAttrib2sv" .comm _glad_glVertexAttrib2sv,8,3 ; @glad_glVertexAttrib2sv l_.str.68: ; @.str.68 .asciz "glVertexAttrib3d" .comm _glad_glVertexAttrib3d,8,3 ; @glad_glVertexAttrib3d l_.str.69: ; @.str.69 .asciz "glVertexAttrib3dv" .comm _glad_glVertexAttrib3dv,8,3 ; @glad_glVertexAttrib3dv l_.str.70: ; @.str.70 .asciz "glVertexAttrib3f" .comm _glad_glVertexAttrib3f,8,3 ; @glad_glVertexAttrib3f l_.str.71: ; @.str.71 .asciz "glVertexAttrib3fv" .comm _glad_glVertexAttrib3fv,8,3 ; @glad_glVertexAttrib3fv l_.str.72: ; @.str.72 .asciz "glVertexAttrib3s" .comm _glad_glVertexAttrib3s,8,3 ; @glad_glVertexAttrib3s l_.str.73: ; @.str.73 .asciz "glVertexAttrib3sv" .comm _glad_glVertexAttrib3sv,8,3 ; @glad_glVertexAttrib3sv l_.str.74: ; @.str.74 .asciz "glVertexAttrib4Nbv" .comm _glad_glVertexAttrib4Nbv,8,3 ; @glad_glVertexAttrib4Nbv l_.str.75: ; @.str.75 .asciz "glVertexAttrib4Niv" .comm _glad_glVertexAttrib4Niv,8,3 ; @glad_glVertexAttrib4Niv l_.str.76: ; @.str.76 .asciz "glVertexAttrib4Nsv" .comm _glad_glVertexAttrib4Nsv,8,3 ; @glad_glVertexAttrib4Nsv l_.str.77: ; @.str.77 .asciz "glVertexAttrib4Nub" .comm _glad_glVertexAttrib4Nub,8,3 ; @glad_glVertexAttrib4Nub l_.str.78: ; @.str.78 .asciz "glVertexAttrib4Nubv" .comm _glad_glVertexAttrib4Nubv,8,3 ; @glad_glVertexAttrib4Nubv l_.str.79: ; @.str.79 .asciz "glVertexAttrib4Nuiv" .comm _glad_glVertexAttrib4Nuiv,8,3 ; @glad_glVertexAttrib4Nuiv l_.str.80: ; @.str.80 .asciz "glVertexAttrib4Nusv" .comm _glad_glVertexAttrib4Nusv,8,3 ; @glad_glVertexAttrib4Nusv l_.str.81: ; @.str.81 .asciz "glVertexAttrib4bv" .comm _glad_glVertexAttrib4bv,8,3 ; @glad_glVertexAttrib4bv l_.str.82: ; @.str.82 .asciz "glVertexAttrib4d" .comm _glad_glVertexAttrib4d,8,3 ; @glad_glVertexAttrib4d l_.str.83: ; @.str.83 .asciz "glVertexAttrib4dv" .comm _glad_glVertexAttrib4dv,8,3 ; @glad_glVertexAttrib4dv l_.str.84: ; @.str.84 .asciz "glVertexAttrib4f" .comm _glad_glVertexAttrib4f,8,3 ; @glad_glVertexAttrib4f l_.str.85: ; @.str.85 .asciz "glVertexAttrib4fv" .comm _glad_glVertexAttrib4fv,8,3 ; @glad_glVertexAttrib4fv l_.str.86: ; @.str.86 .asciz "glVertexAttrib4iv" .comm _glad_glVertexAttrib4iv,8,3 ; @glad_glVertexAttrib4iv l_.str.87: ; @.str.87 .asciz "glVertexAttrib4s" .comm _glad_glVertexAttrib4s,8,3 ; @glad_glVertexAttrib4s l_.str.88: ; @.str.88 .asciz "glVertexAttrib4sv" .comm _glad_glVertexAttrib4sv,8,3 ; @glad_glVertexAttrib4sv l_.str.89: ; @.str.89 .asciz "glVertexAttrib4ubv" .comm _glad_glVertexAttrib4ubv,8,3 ; @glad_glVertexAttrib4ubv l_.str.90: ; @.str.90 .asciz "glVertexAttrib4uiv" .comm _glad_glVertexAttrib4uiv,8,3 ; @glad_glVertexAttrib4uiv l_.str.91: ; @.str.91 .asciz "glVertexAttrib4usv" .comm _glad_glVertexAttrib4usv,8,3 ; @glad_glVertexAttrib4usv l_.str.92: ; @.str.92 .asciz "glVertexAttribPointer" .comm _glad_glVertexAttribPointer,8,3 ; @glad_glVertexAttribPointer .no_dead_strip _load_GL_VERSION_2_0 .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_glad.c_load_GL_VERSION_2_0.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function load_GL_VERSION_2_1 _load_GL_VERSION_2_1: ## @load_GL_VERSION_2_1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _GLAD_GL_VERSION_2_1@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_2 ## %bb.1: movq %rdi, %rbx leaq L_.str(%rip), %rdi callq *%rbx movq _glad_glUniformMatrix2x3fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.1(%rip), %rdi callq *%rbx movq _glad_glUniformMatrix3x2fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.2(%rip), %rdi callq *%rbx movq _glad_glUniformMatrix2x4fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.3(%rip), %rdi callq *%rbx movq _glad_glUniformMatrix4x2fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.4(%rip), %rdi callq *%rbx movq _glad_glUniformMatrix3x4fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.5(%rip), %rdi callq *%rbx movq _glad_glUniformMatrix4x3fv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _GLAD_GL_VERSION_2_1,4,2 ## @GLAD_GL_VERSION_2_1 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "glUniformMatrix2x3fv" .comm _glad_glUniformMatrix2x3fv,8,3 ## @glad_glUniformMatrix2x3fv L_.str.1: ## @.str.1 .asciz "glUniformMatrix3x2fv" .comm _glad_glUniformMatrix3x2fv,8,3 ## @glad_glUniformMatrix3x2fv L_.str.2: ## @.str.2 .asciz "glUniformMatrix2x4fv" .comm _glad_glUniformMatrix2x4fv,8,3 ## @glad_glUniformMatrix2x4fv L_.str.3: ## @.str.3 .asciz "glUniformMatrix4x2fv" .comm _glad_glUniformMatrix4x2fv,8,3 ## @glad_glUniformMatrix4x2fv L_.str.4: ## @.str.4 .asciz "glUniformMatrix3x4fv" .comm _glad_glUniformMatrix3x4fv,8,3 ## @glad_glUniformMatrix3x4fv L_.str.5: ## @.str.5 .asciz "glUniformMatrix4x3fv" .comm _glad_glUniformMatrix4x3fv,8,3 ## @glad_glUniformMatrix4x3fv .no_dead_strip _load_GL_VERSION_2_1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function load_GL_VERSION_2_1 _load_GL_VERSION_2_1: ; @load_GL_VERSION_2_1 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _GLAD_GL_VERSION_2_1@GOTPAGE Lloh1: ldr x8, [x8, _GLAD_GL_VERSION_2_1@GOTPAGEOFF] Lloh2: ldr w8, [x8] cbz w8, LBB0_2 ; %bb.1: mov x19, x0 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF blr x19 Lloh5: adrp x8, _glad_glUniformMatrix2x3fv@GOTPAGE Lloh6: ldr x8, [x8, _glad_glUniformMatrix2x3fv@GOTPAGEOFF] Lloh7: str x0, [x8] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF blr x19 Lloh10: adrp x8, _glad_glUniformMatrix3x2fv@GOTPAGE Lloh11: ldr x8, [x8, _glad_glUniformMatrix3x2fv@GOTPAGEOFF] Lloh12: str x0, [x8] Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF blr x19 Lloh15: adrp x8, _glad_glUniformMatrix2x4fv@GOTPAGE Lloh16: ldr x8, [x8, _glad_glUniformMatrix2x4fv@GOTPAGEOFF] Lloh17: str x0, [x8] Lloh18: adrp x0, l_.str.3@PAGE Lloh19: add x0, x0, l_.str.3@PAGEOFF blr x19 Lloh20: adrp x8, _glad_glUniformMatrix4x2fv@GOTPAGE Lloh21: ldr x8, [x8, _glad_glUniformMatrix4x2fv@GOTPAGEOFF] Lloh22: str x0, [x8] Lloh23: adrp x0, l_.str.4@PAGE Lloh24: add x0, x0, l_.str.4@PAGEOFF blr x19 Lloh25: adrp x8, _glad_glUniformMatrix3x4fv@GOTPAGE Lloh26: ldr x8, [x8, _glad_glUniformMatrix3x4fv@GOTPAGEOFF] Lloh27: str x0, [x8] Lloh28: adrp x0, l_.str.5@PAGE Lloh29: add x0, x0, l_.str.5@PAGEOFF blr x19 Lloh30: adrp x8, _glad_glUniformMatrix4x3fv@GOTPAGE Lloh31: ldr x8, [x8, _glad_glUniformMatrix4x3fv@GOTPAGEOFF] Lloh32: str x0, [x8] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotStr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _GLAD_GL_VERSION_2_1,4,2 ; @GLAD_GL_VERSION_2_1 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "glUniformMatrix2x3fv" .comm _glad_glUniformMatrix2x3fv,8,3 ; @glad_glUniformMatrix2x3fv l_.str.1: ; @.str.1 .asciz "glUniformMatrix3x2fv" .comm _glad_glUniformMatrix3x2fv,8,3 ; @glad_glUniformMatrix3x2fv l_.str.2: ; @.str.2 .asciz "glUniformMatrix2x4fv" .comm _glad_glUniformMatrix2x4fv,8,3 ; @glad_glUniformMatrix2x4fv l_.str.3: ; @.str.3 .asciz "glUniformMatrix4x2fv" .comm _glad_glUniformMatrix4x2fv,8,3 ; @glad_glUniformMatrix4x2fv l_.str.4: ; @.str.4 .asciz "glUniformMatrix3x4fv" .comm _glad_glUniformMatrix3x4fv,8,3 ; @glad_glUniformMatrix3x4fv l_.str.5: ; @.str.5 .asciz "glUniformMatrix4x3fv" .comm _glad_glUniformMatrix4x3fv,8,3 ; @glad_glUniformMatrix4x3fv .no_dead_strip _load_GL_VERSION_2_1 .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_glad.c_load_GL_VERSION_2_1.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function load_GL_VERSION_3_0 _load_GL_VERSION_3_0: ## @load_GL_VERSION_3_0 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _GLAD_GL_VERSION_3_0@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_2 ## %bb.1: movq %rdi, %rbx leaq L_.str(%rip), %rdi callq *%rbx movq _glad_glColorMaski@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.1(%rip), %rdi callq *%rbx movq _glad_glGetBooleani_v@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.2(%rip), %rdi callq *%rbx movq _glad_glGetIntegeri_v@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.3(%rip), %rdi callq *%rbx movq _glad_glEnablei@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.4(%rip), %rdi callq *%rbx movq _glad_glDisablei@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.5(%rip), %rdi callq *%rbx movq _glad_glIsEnabledi@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.6(%rip), %rdi callq *%rbx movq _glad_glBeginTransformFeedback@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.7(%rip), %rdi callq *%rbx movq _glad_glEndTransformFeedback@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.8(%rip), %rdi callq *%rbx movq _glad_glBindBufferRange@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.9(%rip), %rdi callq *%rbx movq _glad_glBindBufferBase@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.10(%rip), %rdi callq *%rbx movq _glad_glTransformFeedbackVaryings@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.11(%rip), %rdi callq *%rbx movq _glad_glGetTransformFeedbackVarying@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.12(%rip), %rdi callq *%rbx movq _glad_glClampColor@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.13(%rip), %rdi callq *%rbx movq _glad_glBeginConditionalRender@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.14(%rip), %rdi callq *%rbx movq _glad_glEndConditionalRender@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.15(%rip), %rdi callq *%rbx movq _glad_glVertexAttribIPointer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.16(%rip), %rdi callq *%rbx movq _glad_glGetVertexAttribIiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.17(%rip), %rdi callq *%rbx movq _glad_glGetVertexAttribIuiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.18(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI1i@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.19(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI2i@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.20(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI3i@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.21(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI4i@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.22(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI1ui@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.23(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI2ui@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.24(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI3ui@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.25(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI4ui@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.26(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI1iv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.27(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI2iv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.28(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI3iv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.29(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI4iv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.30(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI1uiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.31(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI2uiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.32(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI3uiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.33(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI4uiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.34(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI4bv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.35(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI4sv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.36(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI4ubv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.37(%rip), %rdi callq *%rbx movq _glad_glVertexAttribI4usv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.38(%rip), %rdi callq *%rbx movq _glad_glGetUniformuiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.39(%rip), %rdi callq *%rbx movq _glad_glBindFragDataLocation@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.40(%rip), %rdi callq *%rbx movq _glad_glGetFragDataLocation@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.41(%rip), %rdi callq *%rbx movq _glad_glUniform1ui@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.42(%rip), %rdi callq *%rbx movq _glad_glUniform2ui@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.43(%rip), %rdi callq *%rbx movq _glad_glUniform3ui@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.44(%rip), %rdi callq *%rbx movq _glad_glUniform4ui@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.45(%rip), %rdi callq *%rbx movq _glad_glUniform1uiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.46(%rip), %rdi callq *%rbx movq _glad_glUniform2uiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.47(%rip), %rdi callq *%rbx movq _glad_glUniform3uiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.48(%rip), %rdi callq *%rbx movq _glad_glUniform4uiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.49(%rip), %rdi callq *%rbx movq _glad_glTexParameterIiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.50(%rip), %rdi callq *%rbx movq _glad_glTexParameterIuiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.51(%rip), %rdi callq *%rbx movq _glad_glGetTexParameterIiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.52(%rip), %rdi callq *%rbx movq _glad_glGetTexParameterIuiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.53(%rip), %rdi callq *%rbx movq _glad_glClearBufferiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.54(%rip), %rdi callq *%rbx movq _glad_glClearBufferuiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.55(%rip), %rdi callq *%rbx movq _glad_glClearBufferfv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.56(%rip), %rdi callq *%rbx movq _glad_glClearBufferfi@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.57(%rip), %rdi callq *%rbx movq _glad_glGetStringi@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.58(%rip), %rdi callq *%rbx movq _glad_glIsRenderbuffer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.59(%rip), %rdi callq *%rbx movq _glad_glBindRenderbuffer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.60(%rip), %rdi callq *%rbx movq _glad_glDeleteRenderbuffers@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.61(%rip), %rdi callq *%rbx movq _glad_glGenRenderbuffers@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.62(%rip), %rdi callq *%rbx movq _glad_glRenderbufferStorage@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.63(%rip), %rdi callq *%rbx movq _glad_glGetRenderbufferParameteriv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.64(%rip), %rdi callq *%rbx movq _glad_glIsFramebuffer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.65(%rip), %rdi callq *%rbx movq _glad_glBindFramebuffer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.66(%rip), %rdi callq *%rbx movq _glad_glDeleteFramebuffers@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.67(%rip), %rdi callq *%rbx movq _glad_glGenFramebuffers@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.68(%rip), %rdi callq *%rbx movq _glad_glCheckFramebufferStatus@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.69(%rip), %rdi callq *%rbx movq _glad_glFramebufferTexture1D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.70(%rip), %rdi callq *%rbx movq _glad_glFramebufferTexture2D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.71(%rip), %rdi callq *%rbx movq _glad_glFramebufferTexture3D@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.72(%rip), %rdi callq *%rbx movq _glad_glFramebufferRenderbuffer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.73(%rip), %rdi callq *%rbx movq _glad_glGetFramebufferAttachmentParameteriv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.74(%rip), %rdi callq *%rbx movq _glad_glGenerateMipmap@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.75(%rip), %rdi callq *%rbx movq _glad_glBlitFramebuffer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.76(%rip), %rdi callq *%rbx movq _glad_glRenderbufferStorageMultisample@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.77(%rip), %rdi callq *%rbx movq _glad_glFramebufferTextureLayer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.78(%rip), %rdi callq *%rbx movq _glad_glMapBufferRange@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.79(%rip), %rdi callq *%rbx movq _glad_glFlushMappedBufferRange@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.80(%rip), %rdi callq *%rbx movq _glad_glBindVertexArray@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.81(%rip), %rdi callq *%rbx movq _glad_glDeleteVertexArrays@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.82(%rip), %rdi callq *%rbx movq _glad_glGenVertexArrays@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.83(%rip), %rdi callq *%rbx movq _glad_glIsVertexArray@GOTPCREL(%rip), %rcx movq %rax, (%rcx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _GLAD_GL_VERSION_3_0,4,2 ## @GLAD_GL_VERSION_3_0 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "glColorMaski" .comm _glad_glColorMaski,8,3 ## @glad_glColorMaski L_.str.1: ## @.str.1 .asciz "glGetBooleani_v" .comm _glad_glGetBooleani_v,8,3 ## @glad_glGetBooleani_v L_.str.2: ## @.str.2 .asciz "glGetIntegeri_v" .comm _glad_glGetIntegeri_v,8,3 ## @glad_glGetIntegeri_v L_.str.3: ## @.str.3 .asciz "glEnablei" .comm _glad_glEnablei,8,3 ## @glad_glEnablei L_.str.4: ## @.str.4 .asciz "glDisablei" .comm _glad_glDisablei,8,3 ## @glad_glDisablei L_.str.5: ## @.str.5 .asciz "glIsEnabledi" .comm _glad_glIsEnabledi,8,3 ## @glad_glIsEnabledi L_.str.6: ## @.str.6 .asciz "glBeginTransformFeedback" .comm _glad_glBeginTransformFeedback,8,3 ## @glad_glBeginTransformFeedback L_.str.7: ## @.str.7 .asciz "glEndTransformFeedback" .comm _glad_glEndTransformFeedback,8,3 ## @glad_glEndTransformFeedback L_.str.8: ## @.str.8 .asciz "glBindBufferRange" .comm _glad_glBindBufferRange,8,3 ## @glad_glBindBufferRange L_.str.9: ## @.str.9 .asciz "glBindBufferBase" .comm _glad_glBindBufferBase,8,3 ## @glad_glBindBufferBase L_.str.10: ## @.str.10 .asciz "glTransformFeedbackVaryings" .comm _glad_glTransformFeedbackVaryings,8,3 ## @glad_glTransformFeedbackVaryings L_.str.11: ## @.str.11 .asciz "glGetTransformFeedbackVarying" .comm _glad_glGetTransformFeedbackVarying,8,3 ## @glad_glGetTransformFeedbackVarying L_.str.12: ## @.str.12 .asciz "glClampColor" .comm _glad_glClampColor,8,3 ## @glad_glClampColor L_.str.13: ## @.str.13 .asciz "glBeginConditionalRender" .comm _glad_glBeginConditionalRender,8,3 ## @glad_glBeginConditionalRender L_.str.14: ## @.str.14 .asciz "glEndConditionalRender" .comm _glad_glEndConditionalRender,8,3 ## @glad_glEndConditionalRender L_.str.15: ## @.str.15 .asciz "glVertexAttribIPointer" .comm _glad_glVertexAttribIPointer,8,3 ## @glad_glVertexAttribIPointer L_.str.16: ## @.str.16 .asciz "glGetVertexAttribIiv" .comm _glad_glGetVertexAttribIiv,8,3 ## @glad_glGetVertexAttribIiv L_.str.17: ## @.str.17 .asciz "glGetVertexAttribIuiv" .comm _glad_glGetVertexAttribIuiv,8,3 ## @glad_glGetVertexAttribIuiv L_.str.18: ## @.str.18 .asciz "glVertexAttribI1i" .comm _glad_glVertexAttribI1i,8,3 ## @glad_glVertexAttribI1i L_.str.19: ## @.str.19 .asciz "glVertexAttribI2i" .comm _glad_glVertexAttribI2i,8,3 ## @glad_glVertexAttribI2i L_.str.20: ## @.str.20 .asciz "glVertexAttribI3i" .comm _glad_glVertexAttribI3i,8,3 ## @glad_glVertexAttribI3i L_.str.21: ## @.str.21 .asciz "glVertexAttribI4i" .comm _glad_glVertexAttribI4i,8,3 ## @glad_glVertexAttribI4i L_.str.22: ## @.str.22 .asciz "glVertexAttribI1ui" .comm _glad_glVertexAttribI1ui,8,3 ## @glad_glVertexAttribI1ui L_.str.23: ## @.str.23 .asciz "glVertexAttribI2ui" .comm _glad_glVertexAttribI2ui,8,3 ## @glad_glVertexAttribI2ui L_.str.24: ## @.str.24 .asciz "glVertexAttribI3ui" .comm _glad_glVertexAttribI3ui,8,3 ## @glad_glVertexAttribI3ui L_.str.25: ## @.str.25 .asciz "glVertexAttribI4ui" .comm _glad_glVertexAttribI4ui,8,3 ## @glad_glVertexAttribI4ui L_.str.26: ## @.str.26 .asciz "glVertexAttribI1iv" .comm _glad_glVertexAttribI1iv,8,3 ## @glad_glVertexAttribI1iv L_.str.27: ## @.str.27 .asciz "glVertexAttribI2iv" .comm _glad_glVertexAttribI2iv,8,3 ## @glad_glVertexAttribI2iv L_.str.28: ## @.str.28 .asciz "glVertexAttribI3iv" .comm _glad_glVertexAttribI3iv,8,3 ## @glad_glVertexAttribI3iv L_.str.29: ## @.str.29 .asciz "glVertexAttribI4iv" .comm _glad_glVertexAttribI4iv,8,3 ## @glad_glVertexAttribI4iv L_.str.30: ## @.str.30 .asciz "glVertexAttribI1uiv" .comm _glad_glVertexAttribI1uiv,8,3 ## @glad_glVertexAttribI1uiv L_.str.31: ## @.str.31 .asciz "glVertexAttribI2uiv" .comm _glad_glVertexAttribI2uiv,8,3 ## @glad_glVertexAttribI2uiv L_.str.32: ## @.str.32 .asciz "glVertexAttribI3uiv" .comm _glad_glVertexAttribI3uiv,8,3 ## @glad_glVertexAttribI3uiv L_.str.33: ## @.str.33 .asciz "glVertexAttribI4uiv" .comm _glad_glVertexAttribI4uiv,8,3 ## @glad_glVertexAttribI4uiv L_.str.34: ## @.str.34 .asciz "glVertexAttribI4bv" .comm _glad_glVertexAttribI4bv,8,3 ## @glad_glVertexAttribI4bv L_.str.35: ## @.str.35 .asciz "glVertexAttribI4sv" .comm _glad_glVertexAttribI4sv,8,3 ## @glad_glVertexAttribI4sv L_.str.36: ## @.str.36 .asciz "glVertexAttribI4ubv" .comm _glad_glVertexAttribI4ubv,8,3 ## @glad_glVertexAttribI4ubv L_.str.37: ## @.str.37 .asciz "glVertexAttribI4usv" .comm _glad_glVertexAttribI4usv,8,3 ## @glad_glVertexAttribI4usv L_.str.38: ## @.str.38 .asciz "glGetUniformuiv" .comm _glad_glGetUniformuiv,8,3 ## @glad_glGetUniformuiv L_.str.39: ## @.str.39 .asciz "glBindFragDataLocation" .comm _glad_glBindFragDataLocation,8,3 ## @glad_glBindFragDataLocation L_.str.40: ## @.str.40 .asciz "glGetFragDataLocation" .comm _glad_glGetFragDataLocation,8,3 ## @glad_glGetFragDataLocation L_.str.41: ## @.str.41 .asciz "glUniform1ui" .comm _glad_glUniform1ui,8,3 ## @glad_glUniform1ui L_.str.42: ## @.str.42 .asciz "glUniform2ui" .comm _glad_glUniform2ui,8,3 ## @glad_glUniform2ui L_.str.43: ## @.str.43 .asciz "glUniform3ui" .comm _glad_glUniform3ui,8,3 ## @glad_glUniform3ui L_.str.44: ## @.str.44 .asciz "glUniform4ui" .comm _glad_glUniform4ui,8,3 ## @glad_glUniform4ui L_.str.45: ## @.str.45 .asciz "glUniform1uiv" .comm _glad_glUniform1uiv,8,3 ## @glad_glUniform1uiv L_.str.46: ## @.str.46 .asciz "glUniform2uiv" .comm _glad_glUniform2uiv,8,3 ## @glad_glUniform2uiv L_.str.47: ## @.str.47 .asciz "glUniform3uiv" .comm _glad_glUniform3uiv,8,3 ## @glad_glUniform3uiv L_.str.48: ## @.str.48 .asciz "glUniform4uiv" .comm _glad_glUniform4uiv,8,3 ## @glad_glUniform4uiv L_.str.49: ## @.str.49 .asciz "glTexParameterIiv" .comm _glad_glTexParameterIiv,8,3 ## @glad_glTexParameterIiv L_.str.50: ## @.str.50 .asciz "glTexParameterIuiv" .comm _glad_glTexParameterIuiv,8,3 ## @glad_glTexParameterIuiv L_.str.51: ## @.str.51 .asciz "glGetTexParameterIiv" .comm _glad_glGetTexParameterIiv,8,3 ## @glad_glGetTexParameterIiv L_.str.52: ## @.str.52 .asciz "glGetTexParameterIuiv" .comm _glad_glGetTexParameterIuiv,8,3 ## @glad_glGetTexParameterIuiv L_.str.53: ## @.str.53 .asciz "glClearBufferiv" .comm _glad_glClearBufferiv,8,3 ## @glad_glClearBufferiv L_.str.54: ## @.str.54 .asciz "glClearBufferuiv" .comm _glad_glClearBufferuiv,8,3 ## @glad_glClearBufferuiv L_.str.55: ## @.str.55 .asciz "glClearBufferfv" .comm _glad_glClearBufferfv,8,3 ## @glad_glClearBufferfv L_.str.56: ## @.str.56 .asciz "glClearBufferfi" .comm _glad_glClearBufferfi,8,3 ## @glad_glClearBufferfi L_.str.57: ## @.str.57 .asciz "glGetStringi" .comm _glad_glGetStringi,8,3 ## @glad_glGetStringi L_.str.58: ## @.str.58 .asciz "glIsRenderbuffer" .comm _glad_glIsRenderbuffer,8,3 ## @glad_glIsRenderbuffer L_.str.59: ## @.str.59 .asciz "glBindRenderbuffer" .comm _glad_glBindRenderbuffer,8,3 ## @glad_glBindRenderbuffer L_.str.60: ## @.str.60 .asciz "glDeleteRenderbuffers" .comm _glad_glDeleteRenderbuffers,8,3 ## @glad_glDeleteRenderbuffers L_.str.61: ## @.str.61 .asciz "glGenRenderbuffers" .comm _glad_glGenRenderbuffers,8,3 ## @glad_glGenRenderbuffers L_.str.62: ## @.str.62 .asciz "glRenderbufferStorage" .comm _glad_glRenderbufferStorage,8,3 ## @glad_glRenderbufferStorage L_.str.63: ## @.str.63 .asciz "glGetRenderbufferParameteriv" .comm _glad_glGetRenderbufferParameteriv,8,3 ## @glad_glGetRenderbufferParameteriv L_.str.64: ## @.str.64 .asciz "glIsFramebuffer" .comm _glad_glIsFramebuffer,8,3 ## @glad_glIsFramebuffer L_.str.65: ## @.str.65 .asciz "glBindFramebuffer" .comm _glad_glBindFramebuffer,8,3 ## @glad_glBindFramebuffer L_.str.66: ## @.str.66 .asciz "glDeleteFramebuffers" .comm _glad_glDeleteFramebuffers,8,3 ## @glad_glDeleteFramebuffers L_.str.67: ## @.str.67 .asciz "glGenFramebuffers" .comm _glad_glGenFramebuffers,8,3 ## @glad_glGenFramebuffers L_.str.68: ## @.str.68 .asciz "glCheckFramebufferStatus" .comm _glad_glCheckFramebufferStatus,8,3 ## @glad_glCheckFramebufferStatus L_.str.69: ## @.str.69 .asciz "glFramebufferTexture1D" .comm _glad_glFramebufferTexture1D,8,3 ## @glad_glFramebufferTexture1D L_.str.70: ## @.str.70 .asciz "glFramebufferTexture2D" .comm _glad_glFramebufferTexture2D,8,3 ## @glad_glFramebufferTexture2D L_.str.71: ## @.str.71 .asciz "glFramebufferTexture3D" .comm _glad_glFramebufferTexture3D,8,3 ## @glad_glFramebufferTexture3D L_.str.72: ## @.str.72 .asciz "glFramebufferRenderbuffer" .comm _glad_glFramebufferRenderbuffer,8,3 ## @glad_glFramebufferRenderbuffer L_.str.73: ## @.str.73 .asciz "glGetFramebufferAttachmentParameteriv" .comm _glad_glGetFramebufferAttachmentParameteriv,8,3 ## @glad_glGetFramebufferAttachmentParameteriv L_.str.74: ## @.str.74 .asciz "glGenerateMipmap" .comm _glad_glGenerateMipmap,8,3 ## @glad_glGenerateMipmap L_.str.75: ## @.str.75 .asciz "glBlitFramebuffer" .comm _glad_glBlitFramebuffer,8,3 ## @glad_glBlitFramebuffer L_.str.76: ## @.str.76 .asciz "glRenderbufferStorageMultisample" .comm _glad_glRenderbufferStorageMultisample,8,3 ## @glad_glRenderbufferStorageMultisample L_.str.77: ## @.str.77 .asciz "glFramebufferTextureLayer" .comm _glad_glFramebufferTextureLayer,8,3 ## @glad_glFramebufferTextureLayer L_.str.78: ## @.str.78 .asciz "glMapBufferRange" .comm _glad_glMapBufferRange,8,3 ## @glad_glMapBufferRange L_.str.79: ## @.str.79 .asciz "glFlushMappedBufferRange" .comm _glad_glFlushMappedBufferRange,8,3 ## @glad_glFlushMappedBufferRange L_.str.80: ## @.str.80 .asciz "glBindVertexArray" .comm _glad_glBindVertexArray,8,3 ## @glad_glBindVertexArray L_.str.81: ## @.str.81 .asciz "glDeleteVertexArrays" .comm _glad_glDeleteVertexArrays,8,3 ## @glad_glDeleteVertexArrays L_.str.82: ## @.str.82 .asciz "glGenVertexArrays" .comm _glad_glGenVertexArrays,8,3 ## @glad_glGenVertexArrays L_.str.83: ## @.str.83 .asciz "glIsVertexArray" .comm _glad_glIsVertexArray,8,3 ## @glad_glIsVertexArray .no_dead_strip _load_GL_VERSION_3_0 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function load_GL_VERSION_3_0 _load_GL_VERSION_3_0: ; @load_GL_VERSION_3_0 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _GLAD_GL_VERSION_3_0@GOTPAGE Lloh1: ldr x8, [x8, _GLAD_GL_VERSION_3_0@GOTPAGEOFF] Lloh2: ldr w8, [x8] cbz w8, LBB0_2 ; %bb.1: mov x19, x0 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF blr x19 Lloh5: adrp x8, _glad_glColorMaski@GOTPAGE Lloh6: ldr x8, [x8, _glad_glColorMaski@GOTPAGEOFF] Lloh7: str x0, [x8] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF blr x19 Lloh10: adrp x8, _glad_glGetBooleani_v@GOTPAGE Lloh11: ldr x8, [x8, _glad_glGetBooleani_v@GOTPAGEOFF] Lloh12: str x0, [x8] Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF blr x19 Lloh15: adrp x8, _glad_glGetIntegeri_v@GOTPAGE Lloh16: ldr x8, [x8, _glad_glGetIntegeri_v@GOTPAGEOFF] Lloh17: str x0, [x8] Lloh18: adrp x0, l_.str.3@PAGE Lloh19: add x0, x0, l_.str.3@PAGEOFF blr x19 Lloh20: adrp x8, _glad_glEnablei@GOTPAGE Lloh21: ldr x8, [x8, _glad_glEnablei@GOTPAGEOFF] Lloh22: str x0, [x8] Lloh23: adrp x0, l_.str.4@PAGE Lloh24: add x0, x0, l_.str.4@PAGEOFF blr x19 Lloh25: adrp x8, _glad_glDisablei@GOTPAGE Lloh26: ldr x8, [x8, _glad_glDisablei@GOTPAGEOFF] Lloh27: str x0, [x8] Lloh28: adrp x0, l_.str.5@PAGE Lloh29: add x0, x0, l_.str.5@PAGEOFF blr x19 Lloh30: adrp x8, _glad_glIsEnabledi@GOTPAGE Lloh31: ldr x8, [x8, _glad_glIsEnabledi@GOTPAGEOFF] Lloh32: str x0, [x8] Lloh33: adrp x0, l_.str.6@PAGE Lloh34: add x0, x0, l_.str.6@PAGEOFF blr x19 Lloh35: adrp x8, _glad_glBeginTransformFeedback@GOTPAGE Lloh36: ldr x8, [x8, _glad_glBeginTransformFeedback@GOTPAGEOFF] Lloh37: str x0, [x8] Lloh38: adrp x0, l_.str.7@PAGE Lloh39: add x0, x0, l_.str.7@PAGEOFF blr x19 Lloh40: adrp x8, _glad_glEndTransformFeedback@GOTPAGE Lloh41: ldr x8, [x8, _glad_glEndTransformFeedback@GOTPAGEOFF] Lloh42: str x0, [x8] Lloh43: adrp x0, l_.str.8@PAGE Lloh44: add x0, x0, l_.str.8@PAGEOFF blr x19 Lloh45: adrp x8, _glad_glBindBufferRange@GOTPAGE Lloh46: ldr x8, [x8, _glad_glBindBufferRange@GOTPAGEOFF] Lloh47: str x0, [x8] Lloh48: adrp x0, l_.str.9@PAGE Lloh49: add x0, x0, l_.str.9@PAGEOFF blr x19 Lloh50: adrp x8, _glad_glBindBufferBase@GOTPAGE Lloh51: ldr x8, [x8, _glad_glBindBufferBase@GOTPAGEOFF] Lloh52: str x0, [x8] Lloh53: adrp x0, l_.str.10@PAGE Lloh54: add x0, x0, l_.str.10@PAGEOFF blr x19 Lloh55: adrp x8, _glad_glTransformFeedbackVaryings@GOTPAGE Lloh56: ldr x8, [x8, _glad_glTransformFeedbackVaryings@GOTPAGEOFF] Lloh57: str x0, [x8] Lloh58: adrp x0, l_.str.11@PAGE Lloh59: add x0, x0, l_.str.11@PAGEOFF blr x19 Lloh60: adrp x8, _glad_glGetTransformFeedbackVarying@GOTPAGE Lloh61: ldr x8, [x8, _glad_glGetTransformFeedbackVarying@GOTPAGEOFF] Lloh62: str x0, [x8] Lloh63: adrp x0, l_.str.12@PAGE Lloh64: add x0, x0, l_.str.12@PAGEOFF blr x19 Lloh65: adrp x8, _glad_glClampColor@GOTPAGE Lloh66: ldr x8, [x8, _glad_glClampColor@GOTPAGEOFF] Lloh67: str x0, [x8] Lloh68: adrp x0, l_.str.13@PAGE Lloh69: add x0, x0, l_.str.13@PAGEOFF blr x19 Lloh70: adrp x8, _glad_glBeginConditionalRender@GOTPAGE Lloh71: ldr x8, [x8, _glad_glBeginConditionalRender@GOTPAGEOFF] Lloh72: str x0, [x8] Lloh73: adrp x0, l_.str.14@PAGE Lloh74: add x0, x0, l_.str.14@PAGEOFF blr x19 Lloh75: adrp x8, _glad_glEndConditionalRender@GOTPAGE Lloh76: ldr x8, [x8, _glad_glEndConditionalRender@GOTPAGEOFF] Lloh77: str x0, [x8] Lloh78: adrp x0, l_.str.15@PAGE Lloh79: add x0, x0, l_.str.15@PAGEOFF blr x19 Lloh80: adrp x8, _glad_glVertexAttribIPointer@GOTPAGE Lloh81: ldr x8, [x8, _glad_glVertexAttribIPointer@GOTPAGEOFF] Lloh82: str x0, [x8] Lloh83: adrp x0, l_.str.16@PAGE Lloh84: add x0, x0, l_.str.16@PAGEOFF blr x19 Lloh85: adrp x8, _glad_glGetVertexAttribIiv@GOTPAGE Lloh86: ldr x8, [x8, _glad_glGetVertexAttribIiv@GOTPAGEOFF] Lloh87: str x0, [x8] Lloh88: adrp x0, l_.str.17@PAGE Lloh89: add x0, x0, l_.str.17@PAGEOFF blr x19 Lloh90: adrp x8, _glad_glGetVertexAttribIuiv@GOTPAGE Lloh91: ldr x8, [x8, _glad_glGetVertexAttribIuiv@GOTPAGEOFF] Lloh92: str x0, [x8] Lloh93: adrp x0, l_.str.18@PAGE Lloh94: add x0, x0, l_.str.18@PAGEOFF blr x19 Lloh95: adrp x8, _glad_glVertexAttribI1i@GOTPAGE Lloh96: ldr x8, [x8, _glad_glVertexAttribI1i@GOTPAGEOFF] Lloh97: str x0, [x8] Lloh98: adrp x0, l_.str.19@PAGE Lloh99: add x0, x0, l_.str.19@PAGEOFF blr x19 Lloh100: adrp x8, _glad_glVertexAttribI2i@GOTPAGE Lloh101: ldr x8, [x8, _glad_glVertexAttribI2i@GOTPAGEOFF] Lloh102: str x0, [x8] Lloh103: adrp x0, l_.str.20@PAGE Lloh104: add x0, x0, l_.str.20@PAGEOFF blr x19 Lloh105: adrp x8, _glad_glVertexAttribI3i@GOTPAGE Lloh106: ldr x8, [x8, _glad_glVertexAttribI3i@GOTPAGEOFF] Lloh107: str x0, [x8] Lloh108: adrp x0, l_.str.21@PAGE Lloh109: add x0, x0, l_.str.21@PAGEOFF blr x19 Lloh110: adrp x8, _glad_glVertexAttribI4i@GOTPAGE Lloh111: ldr x8, [x8, _glad_glVertexAttribI4i@GOTPAGEOFF] Lloh112: str x0, [x8] Lloh113: adrp x0, l_.str.22@PAGE Lloh114: add x0, x0, l_.str.22@PAGEOFF blr x19 Lloh115: adrp x8, _glad_glVertexAttribI1ui@GOTPAGE Lloh116: ldr x8, [x8, _glad_glVertexAttribI1ui@GOTPAGEOFF] Lloh117: str x0, [x8] Lloh118: adrp x0, l_.str.23@PAGE Lloh119: add x0, x0, l_.str.23@PAGEOFF blr x19 Lloh120: adrp x8, _glad_glVertexAttribI2ui@GOTPAGE Lloh121: ldr x8, [x8, _glad_glVertexAttribI2ui@GOTPAGEOFF] Lloh122: str x0, [x8] Lloh123: adrp x0, l_.str.24@PAGE Lloh124: add x0, x0, l_.str.24@PAGEOFF blr x19 Lloh125: adrp x8, _glad_glVertexAttribI3ui@GOTPAGE Lloh126: ldr x8, [x8, _glad_glVertexAttribI3ui@GOTPAGEOFF] Lloh127: str x0, [x8] Lloh128: adrp x0, l_.str.25@PAGE Lloh129: add x0, x0, l_.str.25@PAGEOFF blr x19 Lloh130: adrp x8, _glad_glVertexAttribI4ui@GOTPAGE Lloh131: ldr x8, [x8, _glad_glVertexAttribI4ui@GOTPAGEOFF] Lloh132: str x0, [x8] Lloh133: adrp x0, l_.str.26@PAGE Lloh134: add x0, x0, l_.str.26@PAGEOFF blr x19 Lloh135: adrp x8, _glad_glVertexAttribI1iv@GOTPAGE Lloh136: ldr x8, [x8, _glad_glVertexAttribI1iv@GOTPAGEOFF] Lloh137: str x0, [x8] Lloh138: adrp x0, l_.str.27@PAGE Lloh139: add x0, x0, l_.str.27@PAGEOFF blr x19 Lloh140: adrp x8, _glad_glVertexAttribI2iv@GOTPAGE Lloh141: ldr x8, [x8, _glad_glVertexAttribI2iv@GOTPAGEOFF] Lloh142: str x0, [x8] Lloh143: adrp x0, l_.str.28@PAGE Lloh144: add x0, x0, l_.str.28@PAGEOFF blr x19 Lloh145: adrp x8, _glad_glVertexAttribI3iv@GOTPAGE Lloh146: ldr x8, [x8, _glad_glVertexAttribI3iv@GOTPAGEOFF] Lloh147: str x0, [x8] Lloh148: adrp x0, l_.str.29@PAGE Lloh149: add x0, x0, l_.str.29@PAGEOFF blr x19 Lloh150: adrp x8, _glad_glVertexAttribI4iv@GOTPAGE Lloh151: ldr x8, [x8, _glad_glVertexAttribI4iv@GOTPAGEOFF] Lloh152: str x0, [x8] Lloh153: adrp x0, l_.str.30@PAGE Lloh154: add x0, x0, l_.str.30@PAGEOFF blr x19 Lloh155: adrp x8, _glad_glVertexAttribI1uiv@GOTPAGE Lloh156: ldr x8, [x8, _glad_glVertexAttribI1uiv@GOTPAGEOFF] Lloh157: str x0, [x8] Lloh158: adrp x0, l_.str.31@PAGE Lloh159: add x0, x0, l_.str.31@PAGEOFF blr x19 Lloh160: adrp x8, _glad_glVertexAttribI2uiv@GOTPAGE Lloh161: ldr x8, [x8, _glad_glVertexAttribI2uiv@GOTPAGEOFF] Lloh162: str x0, [x8] Lloh163: adrp x0, l_.str.32@PAGE Lloh164: add x0, x0, l_.str.32@PAGEOFF blr x19 Lloh165: adrp x8, _glad_glVertexAttribI3uiv@GOTPAGE Lloh166: ldr x8, [x8, _glad_glVertexAttribI3uiv@GOTPAGEOFF] Lloh167: str x0, [x8] Lloh168: adrp x0, l_.str.33@PAGE Lloh169: add x0, x0, l_.str.33@PAGEOFF blr x19 Lloh170: adrp x8, _glad_glVertexAttribI4uiv@GOTPAGE Lloh171: ldr x8, [x8, _glad_glVertexAttribI4uiv@GOTPAGEOFF] Lloh172: str x0, [x8] Lloh173: adrp x0, l_.str.34@PAGE Lloh174: add x0, x0, l_.str.34@PAGEOFF blr x19 Lloh175: adrp x8, _glad_glVertexAttribI4bv@GOTPAGE Lloh176: ldr x8, [x8, _glad_glVertexAttribI4bv@GOTPAGEOFF] Lloh177: str x0, [x8] Lloh178: adrp x0, l_.str.35@PAGE Lloh179: add x0, x0, l_.str.35@PAGEOFF blr x19 Lloh180: adrp x8, _glad_glVertexAttribI4sv@GOTPAGE Lloh181: ldr x8, [x8, _glad_glVertexAttribI4sv@GOTPAGEOFF] Lloh182: str x0, [x8] Lloh183: adrp x0, l_.str.36@PAGE Lloh184: add x0, x0, l_.str.36@PAGEOFF blr x19 Lloh185: adrp x8, _glad_glVertexAttribI4ubv@GOTPAGE Lloh186: ldr x8, [x8, _glad_glVertexAttribI4ubv@GOTPAGEOFF] Lloh187: str x0, [x8] Lloh188: adrp x0, l_.str.37@PAGE Lloh189: add x0, x0, l_.str.37@PAGEOFF blr x19 Lloh190: adrp x8, _glad_glVertexAttribI4usv@GOTPAGE Lloh191: ldr x8, [x8, _glad_glVertexAttribI4usv@GOTPAGEOFF] Lloh192: str x0, [x8] Lloh193: adrp x0, l_.str.38@PAGE Lloh194: add x0, x0, l_.str.38@PAGEOFF blr x19 Lloh195: adrp x8, _glad_glGetUniformuiv@GOTPAGE Lloh196: ldr x8, [x8, _glad_glGetUniformuiv@GOTPAGEOFF] Lloh197: str x0, [x8] Lloh198: adrp x0, l_.str.39@PAGE Lloh199: add x0, x0, l_.str.39@PAGEOFF blr x19 Lloh200: adrp x8, _glad_glBindFragDataLocation@GOTPAGE Lloh201: ldr x8, [x8, _glad_glBindFragDataLocation@GOTPAGEOFF] Lloh202: str x0, [x8] Lloh203: adrp x0, l_.str.40@PAGE Lloh204: add x0, x0, l_.str.40@PAGEOFF blr x19 Lloh205: adrp x8, _glad_glGetFragDataLocation@GOTPAGE Lloh206: ldr x8, [x8, _glad_glGetFragDataLocation@GOTPAGEOFF] Lloh207: str x0, [x8] Lloh208: adrp x0, l_.str.41@PAGE Lloh209: add x0, x0, l_.str.41@PAGEOFF blr x19 Lloh210: adrp x8, _glad_glUniform1ui@GOTPAGE Lloh211: ldr x8, [x8, _glad_glUniform1ui@GOTPAGEOFF] Lloh212: str x0, [x8] Lloh213: adrp x0, l_.str.42@PAGE Lloh214: add x0, x0, l_.str.42@PAGEOFF blr x19 Lloh215: adrp x8, _glad_glUniform2ui@GOTPAGE Lloh216: ldr x8, [x8, _glad_glUniform2ui@GOTPAGEOFF] Lloh217: str x0, [x8] Lloh218: adrp x0, l_.str.43@PAGE Lloh219: add x0, x0, l_.str.43@PAGEOFF blr x19 Lloh220: adrp x8, _glad_glUniform3ui@GOTPAGE Lloh221: ldr x8, [x8, _glad_glUniform3ui@GOTPAGEOFF] Lloh222: str x0, [x8] Lloh223: adrp x0, l_.str.44@PAGE Lloh224: add x0, x0, l_.str.44@PAGEOFF blr x19 Lloh225: adrp x8, _glad_glUniform4ui@GOTPAGE Lloh226: ldr x8, [x8, _glad_glUniform4ui@GOTPAGEOFF] Lloh227: str x0, [x8] Lloh228: adrp x0, l_.str.45@PAGE Lloh229: add x0, x0, l_.str.45@PAGEOFF blr x19 Lloh230: adrp x8, _glad_glUniform1uiv@GOTPAGE Lloh231: ldr x8, [x8, _glad_glUniform1uiv@GOTPAGEOFF] Lloh232: str x0, [x8] Lloh233: adrp x0, l_.str.46@PAGE Lloh234: add x0, x0, l_.str.46@PAGEOFF blr x19 Lloh235: adrp x8, _glad_glUniform2uiv@GOTPAGE Lloh236: ldr x8, [x8, _glad_glUniform2uiv@GOTPAGEOFF] Lloh237: str x0, [x8] Lloh238: adrp x0, l_.str.47@PAGE Lloh239: add x0, x0, l_.str.47@PAGEOFF blr x19 Lloh240: adrp x8, _glad_glUniform3uiv@GOTPAGE Lloh241: ldr x8, [x8, _glad_glUniform3uiv@GOTPAGEOFF] Lloh242: str x0, [x8] Lloh243: adrp x0, l_.str.48@PAGE Lloh244: add x0, x0, l_.str.48@PAGEOFF blr x19 Lloh245: adrp x8, _glad_glUniform4uiv@GOTPAGE Lloh246: ldr x8, [x8, _glad_glUniform4uiv@GOTPAGEOFF] Lloh247: str x0, [x8] Lloh248: adrp x0, l_.str.49@PAGE Lloh249: add x0, x0, l_.str.49@PAGEOFF blr x19 Lloh250: adrp x8, _glad_glTexParameterIiv@GOTPAGE Lloh251: ldr x8, [x8, _glad_glTexParameterIiv@GOTPAGEOFF] Lloh252: str x0, [x8] Lloh253: adrp x0, l_.str.50@PAGE Lloh254: add x0, x0, l_.str.50@PAGEOFF blr x19 Lloh255: adrp x8, _glad_glTexParameterIuiv@GOTPAGE Lloh256: ldr x8, [x8, _glad_glTexParameterIuiv@GOTPAGEOFF] Lloh257: str x0, [x8] Lloh258: adrp x0, l_.str.51@PAGE Lloh259: add x0, x0, l_.str.51@PAGEOFF blr x19 Lloh260: adrp x8, _glad_glGetTexParameterIiv@GOTPAGE Lloh261: ldr x8, [x8, _glad_glGetTexParameterIiv@GOTPAGEOFF] Lloh262: str x0, [x8] Lloh263: adrp x0, l_.str.52@PAGE Lloh264: add x0, x0, l_.str.52@PAGEOFF blr x19 Lloh265: adrp x8, _glad_glGetTexParameterIuiv@GOTPAGE Lloh266: ldr x8, [x8, _glad_glGetTexParameterIuiv@GOTPAGEOFF] Lloh267: str x0, [x8] Lloh268: adrp x0, l_.str.53@PAGE Lloh269: add x0, x0, l_.str.53@PAGEOFF blr x19 Lloh270: adrp x8, _glad_glClearBufferiv@GOTPAGE Lloh271: ldr x8, [x8, _glad_glClearBufferiv@GOTPAGEOFF] Lloh272: str x0, [x8] Lloh273: adrp x0, l_.str.54@PAGE Lloh274: add x0, x0, l_.str.54@PAGEOFF blr x19 Lloh275: adrp x8, _glad_glClearBufferuiv@GOTPAGE Lloh276: ldr x8, [x8, _glad_glClearBufferuiv@GOTPAGEOFF] Lloh277: str x0, [x8] Lloh278: adrp x0, l_.str.55@PAGE Lloh279: add x0, x0, l_.str.55@PAGEOFF blr x19 Lloh280: adrp x8, _glad_glClearBufferfv@GOTPAGE Lloh281: ldr x8, [x8, _glad_glClearBufferfv@GOTPAGEOFF] Lloh282: str x0, [x8] Lloh283: adrp x0, l_.str.56@PAGE Lloh284: add x0, x0, l_.str.56@PAGEOFF blr x19 Lloh285: adrp x8, _glad_glClearBufferfi@GOTPAGE Lloh286: ldr x8, [x8, _glad_glClearBufferfi@GOTPAGEOFF] Lloh287: str x0, [x8] Lloh288: adrp x0, l_.str.57@PAGE Lloh289: add x0, x0, l_.str.57@PAGEOFF blr x19 Lloh290: adrp x8, _glad_glGetStringi@GOTPAGE Lloh291: ldr x8, [x8, _glad_glGetStringi@GOTPAGEOFF] Lloh292: str x0, [x8] Lloh293: adrp x0, l_.str.58@PAGE Lloh294: add x0, x0, l_.str.58@PAGEOFF blr x19 Lloh295: adrp x8, _glad_glIsRenderbuffer@GOTPAGE Lloh296: ldr x8, [x8, _glad_glIsRenderbuffer@GOTPAGEOFF] Lloh297: str x0, [x8] Lloh298: adrp x0, l_.str.59@PAGE Lloh299: add x0, x0, l_.str.59@PAGEOFF blr x19 Lloh300: adrp x8, _glad_glBindRenderbuffer@GOTPAGE Lloh301: ldr x8, [x8, _glad_glBindRenderbuffer@GOTPAGEOFF] Lloh302: str x0, [x8] Lloh303: adrp x0, l_.str.60@PAGE Lloh304: add x0, x0, l_.str.60@PAGEOFF blr x19 Lloh305: adrp x8, _glad_glDeleteRenderbuffers@GOTPAGE Lloh306: ldr x8, [x8, _glad_glDeleteRenderbuffers@GOTPAGEOFF] Lloh307: str x0, [x8] Lloh308: adrp x0, l_.str.61@PAGE Lloh309: add x0, x0, l_.str.61@PAGEOFF blr x19 Lloh310: adrp x8, _glad_glGenRenderbuffers@GOTPAGE Lloh311: ldr x8, [x8, _glad_glGenRenderbuffers@GOTPAGEOFF] Lloh312: str x0, [x8] Lloh313: adrp x0, l_.str.62@PAGE Lloh314: add x0, x0, l_.str.62@PAGEOFF blr x19 Lloh315: adrp x8, _glad_glRenderbufferStorage@GOTPAGE Lloh316: ldr x8, [x8, _glad_glRenderbufferStorage@GOTPAGEOFF] Lloh317: str x0, [x8] Lloh318: adrp x0, l_.str.63@PAGE Lloh319: add x0, x0, l_.str.63@PAGEOFF blr x19 Lloh320: adrp x8, _glad_glGetRenderbufferParameteriv@GOTPAGE Lloh321: ldr x8, [x8, _glad_glGetRenderbufferParameteriv@GOTPAGEOFF] Lloh322: str x0, [x8] Lloh323: adrp x0, l_.str.64@PAGE Lloh324: add x0, x0, l_.str.64@PAGEOFF blr x19 Lloh325: adrp x8, _glad_glIsFramebuffer@GOTPAGE Lloh326: ldr x8, [x8, _glad_glIsFramebuffer@GOTPAGEOFF] Lloh327: str x0, [x8] Lloh328: adrp x0, l_.str.65@PAGE Lloh329: add x0, x0, l_.str.65@PAGEOFF blr x19 Lloh330: adrp x8, _glad_glBindFramebuffer@GOTPAGE Lloh331: ldr x8, [x8, _glad_glBindFramebuffer@GOTPAGEOFF] Lloh332: str x0, [x8] Lloh333: adrp x0, l_.str.66@PAGE Lloh334: add x0, x0, l_.str.66@PAGEOFF blr x19 Lloh335: adrp x8, _glad_glDeleteFramebuffers@GOTPAGE Lloh336: ldr x8, [x8, _glad_glDeleteFramebuffers@GOTPAGEOFF] Lloh337: str x0, [x8] Lloh338: adrp x0, l_.str.67@PAGE Lloh339: add x0, x0, l_.str.67@PAGEOFF blr x19 Lloh340: adrp x8, _glad_glGenFramebuffers@GOTPAGE Lloh341: ldr x8, [x8, _glad_glGenFramebuffers@GOTPAGEOFF] Lloh342: str x0, [x8] Lloh343: adrp x0, l_.str.68@PAGE Lloh344: add x0, x0, l_.str.68@PAGEOFF blr x19 Lloh345: adrp x8, _glad_glCheckFramebufferStatus@GOTPAGE Lloh346: ldr x8, [x8, _glad_glCheckFramebufferStatus@GOTPAGEOFF] Lloh347: str x0, [x8] Lloh348: adrp x0, l_.str.69@PAGE Lloh349: add x0, x0, l_.str.69@PAGEOFF blr x19 Lloh350: adrp x8, _glad_glFramebufferTexture1D@GOTPAGE Lloh351: ldr x8, [x8, _glad_glFramebufferTexture1D@GOTPAGEOFF] Lloh352: str x0, [x8] Lloh353: adrp x0, l_.str.70@PAGE Lloh354: add x0, x0, l_.str.70@PAGEOFF blr x19 Lloh355: adrp x8, _glad_glFramebufferTexture2D@GOTPAGE Lloh356: ldr x8, [x8, _glad_glFramebufferTexture2D@GOTPAGEOFF] Lloh357: str x0, [x8] Lloh358: adrp x0, l_.str.71@PAGE Lloh359: add x0, x0, l_.str.71@PAGEOFF blr x19 Lloh360: adrp x8, _glad_glFramebufferTexture3D@GOTPAGE Lloh361: ldr x8, [x8, _glad_glFramebufferTexture3D@GOTPAGEOFF] Lloh362: str x0, [x8] Lloh363: adrp x0, l_.str.72@PAGE Lloh364: add x0, x0, l_.str.72@PAGEOFF blr x19 Lloh365: adrp x8, _glad_glFramebufferRenderbuffer@GOTPAGE Lloh366: ldr x8, [x8, _glad_glFramebufferRenderbuffer@GOTPAGEOFF] Lloh367: str x0, [x8] Lloh368: adrp x0, l_.str.73@PAGE Lloh369: add x0, x0, l_.str.73@PAGEOFF blr x19 Lloh370: adrp x8, _glad_glGetFramebufferAttachmentParameteriv@GOTPAGE Lloh371: ldr x8, [x8, _glad_glGetFramebufferAttachmentParameteriv@GOTPAGEOFF] Lloh372: str x0, [x8] Lloh373: adrp x0, l_.str.74@PAGE Lloh374: add x0, x0, l_.str.74@PAGEOFF blr x19 Lloh375: adrp x8, _glad_glGenerateMipmap@GOTPAGE Lloh376: ldr x8, [x8, _glad_glGenerateMipmap@GOTPAGEOFF] Lloh377: str x0, [x8] Lloh378: adrp x0, l_.str.75@PAGE Lloh379: add x0, x0, l_.str.75@PAGEOFF blr x19 Lloh380: adrp x8, _glad_glBlitFramebuffer@GOTPAGE Lloh381: ldr x8, [x8, _glad_glBlitFramebuffer@GOTPAGEOFF] Lloh382: str x0, [x8] Lloh383: adrp x0, l_.str.76@PAGE Lloh384: add x0, x0, l_.str.76@PAGEOFF blr x19 Lloh385: adrp x8, _glad_glRenderbufferStorageMultisample@GOTPAGE Lloh386: ldr x8, [x8, _glad_glRenderbufferStorageMultisample@GOTPAGEOFF] Lloh387: str x0, [x8] Lloh388: adrp x0, l_.str.77@PAGE Lloh389: add x0, x0, l_.str.77@PAGEOFF blr x19 Lloh390: adrp x8, _glad_glFramebufferTextureLayer@GOTPAGE Lloh391: ldr x8, [x8, _glad_glFramebufferTextureLayer@GOTPAGEOFF] Lloh392: str x0, [x8] Lloh393: adrp x0, l_.str.78@PAGE Lloh394: add x0, x0, l_.str.78@PAGEOFF blr x19 Lloh395: adrp x8, _glad_glMapBufferRange@GOTPAGE Lloh396: ldr x8, [x8, _glad_glMapBufferRange@GOTPAGEOFF] Lloh397: str x0, [x8] Lloh398: adrp x0, l_.str.79@PAGE Lloh399: add x0, x0, l_.str.79@PAGEOFF blr x19 Lloh400: adrp x8, _glad_glFlushMappedBufferRange@GOTPAGE Lloh401: ldr x8, [x8, _glad_glFlushMappedBufferRange@GOTPAGEOFF] Lloh402: str x0, [x8] Lloh403: adrp x0, l_.str.80@PAGE Lloh404: add x0, x0, l_.str.80@PAGEOFF blr x19 Lloh405: adrp x8, _glad_glBindVertexArray@GOTPAGE Lloh406: ldr x8, [x8, _glad_glBindVertexArray@GOTPAGEOFF] Lloh407: str x0, [x8] Lloh408: adrp x0, l_.str.81@PAGE Lloh409: add x0, x0, l_.str.81@PAGEOFF blr x19 Lloh410: adrp x8, _glad_glDeleteVertexArrays@GOTPAGE Lloh411: ldr x8, [x8, _glad_glDeleteVertexArrays@GOTPAGEOFF] Lloh412: str x0, [x8] Lloh413: adrp x0, l_.str.82@PAGE Lloh414: add x0, x0, l_.str.82@PAGEOFF blr x19 Lloh415: adrp x8, _glad_glGenVertexArrays@GOTPAGE Lloh416: ldr x8, [x8, _glad_glGenVertexArrays@GOTPAGEOFF] Lloh417: str x0, [x8] Lloh418: adrp x0, l_.str.83@PAGE Lloh419: add x0, x0, l_.str.83@PAGEOFF blr x19 Lloh420: adrp x8, _glad_glIsVertexArray@GOTPAGE Lloh421: ldr x8, [x8, _glad_glIsVertexArray@GOTPAGEOFF] Lloh422: str x0, [x8] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh420, Lloh421, Lloh422 .loh AdrpAdd Lloh418, Lloh419 .loh AdrpLdrGotStr Lloh415, Lloh416, Lloh417 .loh AdrpAdd Lloh413, Lloh414 .loh AdrpLdrGotStr Lloh410, Lloh411, Lloh412 .loh AdrpAdd Lloh408, Lloh409 .loh AdrpLdrGotStr Lloh405, Lloh406, Lloh407 .loh AdrpAdd Lloh403, Lloh404 .loh AdrpLdrGotStr Lloh400, Lloh401, Lloh402 .loh AdrpAdd Lloh398, Lloh399 .loh AdrpLdrGotStr Lloh395, Lloh396, Lloh397 .loh AdrpAdd Lloh393, Lloh394 .loh AdrpLdrGotStr Lloh390, Lloh391, Lloh392 .loh AdrpAdd Lloh388, Lloh389 .loh AdrpLdrGotStr Lloh385, Lloh386, Lloh387 .loh AdrpAdd Lloh383, Lloh384 .loh AdrpLdrGotStr Lloh380, Lloh381, Lloh382 .loh AdrpAdd Lloh378, Lloh379 .loh AdrpLdrGotStr Lloh375, Lloh376, Lloh377 .loh AdrpAdd Lloh373, Lloh374 .loh AdrpLdrGotStr Lloh370, Lloh371, Lloh372 .loh AdrpAdd Lloh368, Lloh369 .loh AdrpLdrGotStr Lloh365, Lloh366, Lloh367 .loh AdrpAdd Lloh363, Lloh364 .loh AdrpLdrGotStr Lloh360, Lloh361, Lloh362 .loh AdrpAdd Lloh358, Lloh359 .loh AdrpLdrGotStr Lloh355, Lloh356, Lloh357 .loh AdrpAdd Lloh353, Lloh354 .loh AdrpLdrGotStr Lloh350, Lloh351, Lloh352 .loh AdrpAdd Lloh348, Lloh349 .loh AdrpLdrGotStr Lloh345, Lloh346, Lloh347 .loh AdrpAdd Lloh343, Lloh344 .loh AdrpLdrGotStr Lloh340, Lloh341, Lloh342 .loh AdrpAdd Lloh338, Lloh339 .loh AdrpLdrGotStr Lloh335, Lloh336, Lloh337 .loh AdrpAdd Lloh333, Lloh334 .loh AdrpLdrGotStr Lloh330, Lloh331, Lloh332 .loh AdrpAdd Lloh328, Lloh329 .loh AdrpLdrGotStr Lloh325, Lloh326, Lloh327 .loh AdrpAdd Lloh323, Lloh324 .loh AdrpLdrGotStr Lloh320, Lloh321, Lloh322 .loh AdrpAdd Lloh318, Lloh319 .loh AdrpLdrGotStr Lloh315, Lloh316, Lloh317 .loh AdrpAdd Lloh313, Lloh314 .loh AdrpLdrGotStr Lloh310, Lloh311, Lloh312 .loh AdrpAdd Lloh308, Lloh309 .loh AdrpLdrGotStr Lloh305, Lloh306, Lloh307 .loh AdrpAdd Lloh303, Lloh304 .loh AdrpLdrGotStr Lloh300, Lloh301, Lloh302 .loh AdrpAdd Lloh298, Lloh299 .loh AdrpLdrGotStr Lloh295, Lloh296, Lloh297 .loh AdrpAdd Lloh293, Lloh294 .loh AdrpLdrGotStr Lloh290, Lloh291, Lloh292 .loh AdrpAdd Lloh288, Lloh289 .loh AdrpLdrGotStr Lloh285, Lloh286, Lloh287 .loh AdrpAdd Lloh283, Lloh284 .loh AdrpLdrGotStr Lloh280, Lloh281, Lloh282 .loh AdrpAdd Lloh278, Lloh279 .loh AdrpLdrGotStr Lloh275, Lloh276, Lloh277 .loh AdrpAdd Lloh273, Lloh274 .loh AdrpLdrGotStr Lloh270, Lloh271, Lloh272 .loh AdrpAdd Lloh268, Lloh269 .loh AdrpLdrGotStr Lloh265, Lloh266, Lloh267 .loh AdrpAdd Lloh263, Lloh264 .loh AdrpLdrGotStr Lloh260, Lloh261, Lloh262 .loh AdrpAdd Lloh258, Lloh259 .loh AdrpLdrGotStr Lloh255, Lloh256, Lloh257 .loh AdrpAdd Lloh253, Lloh254 .loh AdrpLdrGotStr Lloh250, Lloh251, Lloh252 .loh AdrpAdd Lloh248, Lloh249 .loh AdrpLdrGotStr Lloh245, Lloh246, Lloh247 .loh AdrpAdd Lloh243, Lloh244 .loh AdrpLdrGotStr Lloh240, Lloh241, Lloh242 .loh AdrpAdd Lloh238, Lloh239 .loh AdrpLdrGotStr Lloh235, Lloh236, Lloh237 .loh AdrpAdd Lloh233, Lloh234 .loh AdrpLdrGotStr Lloh230, Lloh231, Lloh232 .loh AdrpAdd Lloh228, Lloh229 .loh AdrpLdrGotStr Lloh225, Lloh226, Lloh227 .loh AdrpAdd Lloh223, Lloh224 .loh AdrpLdrGotStr Lloh220, Lloh221, Lloh222 .loh AdrpAdd Lloh218, Lloh219 .loh AdrpLdrGotStr Lloh215, Lloh216, Lloh217 .loh AdrpAdd Lloh213, Lloh214 .loh AdrpLdrGotStr Lloh210, Lloh211, Lloh212 .loh AdrpAdd Lloh208, Lloh209 .loh AdrpLdrGotStr Lloh205, Lloh206, Lloh207 .loh AdrpAdd Lloh203, Lloh204 .loh AdrpLdrGotStr Lloh200, Lloh201, Lloh202 .loh AdrpAdd Lloh198, Lloh199 .loh AdrpLdrGotStr Lloh195, Lloh196, Lloh197 .loh AdrpAdd Lloh193, Lloh194 .loh AdrpLdrGotStr Lloh190, Lloh191, Lloh192 .loh AdrpAdd Lloh188, Lloh189 .loh AdrpLdrGotStr Lloh185, Lloh186, Lloh187 .loh AdrpAdd Lloh183, Lloh184 .loh AdrpLdrGotStr Lloh180, Lloh181, Lloh182 .loh AdrpAdd Lloh178, Lloh179 .loh AdrpLdrGotStr Lloh175, Lloh176, Lloh177 .loh AdrpAdd Lloh173, Lloh174 .loh AdrpLdrGotStr Lloh170, Lloh171, Lloh172 .loh AdrpAdd Lloh168, Lloh169 .loh AdrpLdrGotStr Lloh165, Lloh166, Lloh167 .loh AdrpAdd Lloh163, Lloh164 .loh AdrpLdrGotStr Lloh160, Lloh161, Lloh162 .loh AdrpAdd Lloh158, Lloh159 .loh AdrpLdrGotStr Lloh155, Lloh156, Lloh157 .loh AdrpAdd Lloh153, Lloh154 .loh AdrpLdrGotStr Lloh150, Lloh151, Lloh152 .loh AdrpAdd Lloh148, Lloh149 .loh AdrpLdrGotStr Lloh145, Lloh146, Lloh147 .loh AdrpAdd Lloh143, Lloh144 .loh AdrpLdrGotStr Lloh140, Lloh141, Lloh142 .loh AdrpAdd Lloh138, Lloh139 .loh AdrpLdrGotStr Lloh135, Lloh136, Lloh137 .loh AdrpAdd Lloh133, Lloh134 .loh AdrpLdrGotStr Lloh130, Lloh131, Lloh132 .loh AdrpAdd Lloh128, Lloh129 .loh AdrpLdrGotStr Lloh125, Lloh126, Lloh127 .loh AdrpAdd Lloh123, Lloh124 .loh AdrpLdrGotStr Lloh120, Lloh121, Lloh122 .loh AdrpAdd Lloh118, Lloh119 .loh AdrpLdrGotStr Lloh115, Lloh116, Lloh117 .loh AdrpAdd Lloh113, Lloh114 .loh AdrpLdrGotStr Lloh110, Lloh111, Lloh112 .loh AdrpAdd Lloh108, Lloh109 .loh AdrpLdrGotStr Lloh105, Lloh106, Lloh107 .loh AdrpAdd Lloh103, Lloh104 .loh AdrpLdrGotStr Lloh100, Lloh101, Lloh102 .loh AdrpAdd Lloh98, Lloh99 .loh AdrpLdrGotStr Lloh95, Lloh96, Lloh97 .loh AdrpAdd Lloh93, Lloh94 .loh AdrpLdrGotStr Lloh90, Lloh91, Lloh92 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpLdrGotStr Lloh85, Lloh86, Lloh87 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpLdrGotStr Lloh80, Lloh81, Lloh82 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpLdrGotStr Lloh75, Lloh76, Lloh77 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpLdrGotStr Lloh70, Lloh71, Lloh72 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpLdrGotStr Lloh65, Lloh66, Lloh67 .loh AdrpAdd Lloh63, Lloh64 .loh AdrpLdrGotStr Lloh60, Lloh61, Lloh62 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpLdrGotStr Lloh55, Lloh56, Lloh57 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotStr Lloh50, Lloh51, Lloh52 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpLdrGotStr Lloh45, Lloh46, Lloh47 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpLdrGotStr Lloh40, Lloh41, Lloh42 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGotStr Lloh35, Lloh36, Lloh37 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotStr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotStr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _GLAD_GL_VERSION_3_0,4,2 ; @GLAD_GL_VERSION_3_0 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "glColorMaski" .comm _glad_glColorMaski,8,3 ; @glad_glColorMaski l_.str.1: ; @.str.1 .asciz "glGetBooleani_v" .comm _glad_glGetBooleani_v,8,3 ; @glad_glGetBooleani_v l_.str.2: ; @.str.2 .asciz "glGetIntegeri_v" .comm _glad_glGetIntegeri_v,8,3 ; @glad_glGetIntegeri_v l_.str.3: ; @.str.3 .asciz "glEnablei" .comm _glad_glEnablei,8,3 ; @glad_glEnablei l_.str.4: ; @.str.4 .asciz "glDisablei" .comm _glad_glDisablei,8,3 ; @glad_glDisablei l_.str.5: ; @.str.5 .asciz "glIsEnabledi" .comm _glad_glIsEnabledi,8,3 ; @glad_glIsEnabledi l_.str.6: ; @.str.6 .asciz "glBeginTransformFeedback" .comm _glad_glBeginTransformFeedback,8,3 ; @glad_glBeginTransformFeedback l_.str.7: ; @.str.7 .asciz "glEndTransformFeedback" .comm _glad_glEndTransformFeedback,8,3 ; @glad_glEndTransformFeedback l_.str.8: ; @.str.8 .asciz "glBindBufferRange" .comm _glad_glBindBufferRange,8,3 ; @glad_glBindBufferRange l_.str.9: ; @.str.9 .asciz "glBindBufferBase" .comm _glad_glBindBufferBase,8,3 ; @glad_glBindBufferBase l_.str.10: ; @.str.10 .asciz "glTransformFeedbackVaryings" .comm _glad_glTransformFeedbackVaryings,8,3 ; @glad_glTransformFeedbackVaryings l_.str.11: ; @.str.11 .asciz "glGetTransformFeedbackVarying" .comm _glad_glGetTransformFeedbackVarying,8,3 ; @glad_glGetTransformFeedbackVarying l_.str.12: ; @.str.12 .asciz "glClampColor" .comm _glad_glClampColor,8,3 ; @glad_glClampColor l_.str.13: ; @.str.13 .asciz "glBeginConditionalRender" .comm _glad_glBeginConditionalRender,8,3 ; @glad_glBeginConditionalRender l_.str.14: ; @.str.14 .asciz "glEndConditionalRender" .comm _glad_glEndConditionalRender,8,3 ; @glad_glEndConditionalRender l_.str.15: ; @.str.15 .asciz "glVertexAttribIPointer" .comm _glad_glVertexAttribIPointer,8,3 ; @glad_glVertexAttribIPointer l_.str.16: ; @.str.16 .asciz "glGetVertexAttribIiv" .comm _glad_glGetVertexAttribIiv,8,3 ; @glad_glGetVertexAttribIiv l_.str.17: ; @.str.17 .asciz "glGetVertexAttribIuiv" .comm _glad_glGetVertexAttribIuiv,8,3 ; @glad_glGetVertexAttribIuiv l_.str.18: ; @.str.18 .asciz "glVertexAttribI1i" .comm _glad_glVertexAttribI1i,8,3 ; @glad_glVertexAttribI1i l_.str.19: ; @.str.19 .asciz "glVertexAttribI2i" .comm _glad_glVertexAttribI2i,8,3 ; @glad_glVertexAttribI2i l_.str.20: ; @.str.20 .asciz "glVertexAttribI3i" .comm _glad_glVertexAttribI3i,8,3 ; @glad_glVertexAttribI3i l_.str.21: ; @.str.21 .asciz "glVertexAttribI4i" .comm _glad_glVertexAttribI4i,8,3 ; @glad_glVertexAttribI4i l_.str.22: ; @.str.22 .asciz "glVertexAttribI1ui" .comm _glad_glVertexAttribI1ui,8,3 ; @glad_glVertexAttribI1ui l_.str.23: ; @.str.23 .asciz "glVertexAttribI2ui" .comm _glad_glVertexAttribI2ui,8,3 ; @glad_glVertexAttribI2ui l_.str.24: ; @.str.24 .asciz "glVertexAttribI3ui" .comm _glad_glVertexAttribI3ui,8,3 ; @glad_glVertexAttribI3ui l_.str.25: ; @.str.25 .asciz "glVertexAttribI4ui" .comm _glad_glVertexAttribI4ui,8,3 ; @glad_glVertexAttribI4ui l_.str.26: ; @.str.26 .asciz "glVertexAttribI1iv" .comm _glad_glVertexAttribI1iv,8,3 ; @glad_glVertexAttribI1iv l_.str.27: ; @.str.27 .asciz "glVertexAttribI2iv" .comm _glad_glVertexAttribI2iv,8,3 ; @glad_glVertexAttribI2iv l_.str.28: ; @.str.28 .asciz "glVertexAttribI3iv" .comm _glad_glVertexAttribI3iv,8,3 ; @glad_glVertexAttribI3iv l_.str.29: ; @.str.29 .asciz "glVertexAttribI4iv" .comm _glad_glVertexAttribI4iv,8,3 ; @glad_glVertexAttribI4iv l_.str.30: ; @.str.30 .asciz "glVertexAttribI1uiv" .comm _glad_glVertexAttribI1uiv,8,3 ; @glad_glVertexAttribI1uiv l_.str.31: ; @.str.31 .asciz "glVertexAttribI2uiv" .comm _glad_glVertexAttribI2uiv,8,3 ; @glad_glVertexAttribI2uiv l_.str.32: ; @.str.32 .asciz "glVertexAttribI3uiv" .comm _glad_glVertexAttribI3uiv,8,3 ; @glad_glVertexAttribI3uiv l_.str.33: ; @.str.33 .asciz "glVertexAttribI4uiv" .comm _glad_glVertexAttribI4uiv,8,3 ; @glad_glVertexAttribI4uiv l_.str.34: ; @.str.34 .asciz "glVertexAttribI4bv" .comm _glad_glVertexAttribI4bv,8,3 ; @glad_glVertexAttribI4bv l_.str.35: ; @.str.35 .asciz "glVertexAttribI4sv" .comm _glad_glVertexAttribI4sv,8,3 ; @glad_glVertexAttribI4sv l_.str.36: ; @.str.36 .asciz "glVertexAttribI4ubv" .comm _glad_glVertexAttribI4ubv,8,3 ; @glad_glVertexAttribI4ubv l_.str.37: ; @.str.37 .asciz "glVertexAttribI4usv" .comm _glad_glVertexAttribI4usv,8,3 ; @glad_glVertexAttribI4usv l_.str.38: ; @.str.38 .asciz "glGetUniformuiv" .comm _glad_glGetUniformuiv,8,3 ; @glad_glGetUniformuiv l_.str.39: ; @.str.39 .asciz "glBindFragDataLocation" .comm _glad_glBindFragDataLocation,8,3 ; @glad_glBindFragDataLocation l_.str.40: ; @.str.40 .asciz "glGetFragDataLocation" .comm _glad_glGetFragDataLocation,8,3 ; @glad_glGetFragDataLocation l_.str.41: ; @.str.41 .asciz "glUniform1ui" .comm _glad_glUniform1ui,8,3 ; @glad_glUniform1ui l_.str.42: ; @.str.42 .asciz "glUniform2ui" .comm _glad_glUniform2ui,8,3 ; @glad_glUniform2ui l_.str.43: ; @.str.43 .asciz "glUniform3ui" .comm _glad_glUniform3ui,8,3 ; @glad_glUniform3ui l_.str.44: ; @.str.44 .asciz "glUniform4ui" .comm _glad_glUniform4ui,8,3 ; @glad_glUniform4ui l_.str.45: ; @.str.45 .asciz "glUniform1uiv" .comm _glad_glUniform1uiv,8,3 ; @glad_glUniform1uiv l_.str.46: ; @.str.46 .asciz "glUniform2uiv" .comm _glad_glUniform2uiv,8,3 ; @glad_glUniform2uiv l_.str.47: ; @.str.47 .asciz "glUniform3uiv" .comm _glad_glUniform3uiv,8,3 ; @glad_glUniform3uiv l_.str.48: ; @.str.48 .asciz "glUniform4uiv" .comm _glad_glUniform4uiv,8,3 ; @glad_glUniform4uiv l_.str.49: ; @.str.49 .asciz "glTexParameterIiv" .comm _glad_glTexParameterIiv,8,3 ; @glad_glTexParameterIiv l_.str.50: ; @.str.50 .asciz "glTexParameterIuiv" .comm _glad_glTexParameterIuiv,8,3 ; @glad_glTexParameterIuiv l_.str.51: ; @.str.51 .asciz "glGetTexParameterIiv" .comm _glad_glGetTexParameterIiv,8,3 ; @glad_glGetTexParameterIiv l_.str.52: ; @.str.52 .asciz "glGetTexParameterIuiv" .comm _glad_glGetTexParameterIuiv,8,3 ; @glad_glGetTexParameterIuiv l_.str.53: ; @.str.53 .asciz "glClearBufferiv" .comm _glad_glClearBufferiv,8,3 ; @glad_glClearBufferiv l_.str.54: ; @.str.54 .asciz "glClearBufferuiv" .comm _glad_glClearBufferuiv,8,3 ; @glad_glClearBufferuiv l_.str.55: ; @.str.55 .asciz "glClearBufferfv" .comm _glad_glClearBufferfv,8,3 ; @glad_glClearBufferfv l_.str.56: ; @.str.56 .asciz "glClearBufferfi" .comm _glad_glClearBufferfi,8,3 ; @glad_glClearBufferfi l_.str.57: ; @.str.57 .asciz "glGetStringi" .comm _glad_glGetStringi,8,3 ; @glad_glGetStringi l_.str.58: ; @.str.58 .asciz "glIsRenderbuffer" .comm _glad_glIsRenderbuffer,8,3 ; @glad_glIsRenderbuffer l_.str.59: ; @.str.59 .asciz "glBindRenderbuffer" .comm _glad_glBindRenderbuffer,8,3 ; @glad_glBindRenderbuffer l_.str.60: ; @.str.60 .asciz "glDeleteRenderbuffers" .comm _glad_glDeleteRenderbuffers,8,3 ; @glad_glDeleteRenderbuffers l_.str.61: ; @.str.61 .asciz "glGenRenderbuffers" .comm _glad_glGenRenderbuffers,8,3 ; @glad_glGenRenderbuffers l_.str.62: ; @.str.62 .asciz "glRenderbufferStorage" .comm _glad_glRenderbufferStorage,8,3 ; @glad_glRenderbufferStorage l_.str.63: ; @.str.63 .asciz "glGetRenderbufferParameteriv" .comm _glad_glGetRenderbufferParameteriv,8,3 ; @glad_glGetRenderbufferParameteriv l_.str.64: ; @.str.64 .asciz "glIsFramebuffer" .comm _glad_glIsFramebuffer,8,3 ; @glad_glIsFramebuffer l_.str.65: ; @.str.65 .asciz "glBindFramebuffer" .comm _glad_glBindFramebuffer,8,3 ; @glad_glBindFramebuffer l_.str.66: ; @.str.66 .asciz "glDeleteFramebuffers" .comm _glad_glDeleteFramebuffers,8,3 ; @glad_glDeleteFramebuffers l_.str.67: ; @.str.67 .asciz "glGenFramebuffers" .comm _glad_glGenFramebuffers,8,3 ; @glad_glGenFramebuffers l_.str.68: ; @.str.68 .asciz "glCheckFramebufferStatus" .comm _glad_glCheckFramebufferStatus,8,3 ; @glad_glCheckFramebufferStatus l_.str.69: ; @.str.69 .asciz "glFramebufferTexture1D" .comm _glad_glFramebufferTexture1D,8,3 ; @glad_glFramebufferTexture1D l_.str.70: ; @.str.70 .asciz "glFramebufferTexture2D" .comm _glad_glFramebufferTexture2D,8,3 ; @glad_glFramebufferTexture2D l_.str.71: ; @.str.71 .asciz "glFramebufferTexture3D" .comm _glad_glFramebufferTexture3D,8,3 ; @glad_glFramebufferTexture3D l_.str.72: ; @.str.72 .asciz "glFramebufferRenderbuffer" .comm _glad_glFramebufferRenderbuffer,8,3 ; @glad_glFramebufferRenderbuffer l_.str.73: ; @.str.73 .asciz "glGetFramebufferAttachmentParameteriv" .comm _glad_glGetFramebufferAttachmentParameteriv,8,3 ; @glad_glGetFramebufferAttachmentParameteriv l_.str.74: ; @.str.74 .asciz "glGenerateMipmap" .comm _glad_glGenerateMipmap,8,3 ; @glad_glGenerateMipmap l_.str.75: ; @.str.75 .asciz "glBlitFramebuffer" .comm _glad_glBlitFramebuffer,8,3 ; @glad_glBlitFramebuffer l_.str.76: ; @.str.76 .asciz "glRenderbufferStorageMultisample" .comm _glad_glRenderbufferStorageMultisample,8,3 ; @glad_glRenderbufferStorageMultisample l_.str.77: ; @.str.77 .asciz "glFramebufferTextureLayer" .comm _glad_glFramebufferTextureLayer,8,3 ; @glad_glFramebufferTextureLayer l_.str.78: ; @.str.78 .asciz "glMapBufferRange" .comm _glad_glMapBufferRange,8,3 ; @glad_glMapBufferRange l_.str.79: ; @.str.79 .asciz "glFlushMappedBufferRange" .comm _glad_glFlushMappedBufferRange,8,3 ; @glad_glFlushMappedBufferRange l_.str.80: ; @.str.80 .asciz "glBindVertexArray" .comm _glad_glBindVertexArray,8,3 ; @glad_glBindVertexArray l_.str.81: ; @.str.81 .asciz "glDeleteVertexArrays" .comm _glad_glDeleteVertexArrays,8,3 ; @glad_glDeleteVertexArrays l_.str.82: ; @.str.82 .asciz "glGenVertexArrays" .comm _glad_glGenVertexArrays,8,3 ; @glad_glGenVertexArrays l_.str.83: ; @.str.83 .asciz "glIsVertexArray" .comm _glad_glIsVertexArray,8,3 ; @glad_glIsVertexArray .no_dead_strip _load_GL_VERSION_3_0 .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_glad.c_load_GL_VERSION_3_0.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function load_GL_VERSION_3_1 _load_GL_VERSION_3_1: ## @load_GL_VERSION_3_1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _GLAD_GL_VERSION_3_1@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_2 ## %bb.1: movq %rdi, %rbx leaq L_.str(%rip), %rdi callq *%rbx movq _glad_glDrawArraysInstanced@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.1(%rip), %rdi callq *%rbx movq _glad_glDrawElementsInstanced@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.2(%rip), %rdi callq *%rbx movq _glad_glTexBuffer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.3(%rip), %rdi callq *%rbx movq _glad_glPrimitiveRestartIndex@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.4(%rip), %rdi callq *%rbx movq _glad_glCopyBufferSubData@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.5(%rip), %rdi callq *%rbx movq _glad_glGetUniformIndices@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.6(%rip), %rdi callq *%rbx movq _glad_glGetActiveUniformsiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.7(%rip), %rdi callq *%rbx movq _glad_glGetActiveUniformName@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.8(%rip), %rdi callq *%rbx movq _glad_glGetUniformBlockIndex@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.9(%rip), %rdi callq *%rbx movq _glad_glGetActiveUniformBlockiv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.10(%rip), %rdi callq *%rbx movq _glad_glGetActiveUniformBlockName@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.11(%rip), %rdi callq *%rbx movq _glad_glUniformBlockBinding@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.12(%rip), %rdi callq *%rbx movq _glad_glBindBufferRange@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.13(%rip), %rdi callq *%rbx movq _glad_glBindBufferBase@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.14(%rip), %rdi callq *%rbx movq _glad_glGetIntegeri_v@GOTPCREL(%rip), %rcx movq %rax, (%rcx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _GLAD_GL_VERSION_3_1,4,2 ## @GLAD_GL_VERSION_3_1 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "glDrawArraysInstanced" .comm _glad_glDrawArraysInstanced,8,3 ## @glad_glDrawArraysInstanced L_.str.1: ## @.str.1 .asciz "glDrawElementsInstanced" .comm _glad_glDrawElementsInstanced,8,3 ## @glad_glDrawElementsInstanced L_.str.2: ## @.str.2 .asciz "glTexBuffer" .comm _glad_glTexBuffer,8,3 ## @glad_glTexBuffer L_.str.3: ## @.str.3 .asciz "glPrimitiveRestartIndex" .comm _glad_glPrimitiveRestartIndex,8,3 ## @glad_glPrimitiveRestartIndex L_.str.4: ## @.str.4 .asciz "glCopyBufferSubData" .comm _glad_glCopyBufferSubData,8,3 ## @glad_glCopyBufferSubData L_.str.5: ## @.str.5 .asciz "glGetUniformIndices" .comm _glad_glGetUniformIndices,8,3 ## @glad_glGetUniformIndices L_.str.6: ## @.str.6 .asciz "glGetActiveUniformsiv" .comm _glad_glGetActiveUniformsiv,8,3 ## @glad_glGetActiveUniformsiv L_.str.7: ## @.str.7 .asciz "glGetActiveUniformName" .comm _glad_glGetActiveUniformName,8,3 ## @glad_glGetActiveUniformName L_.str.8: ## @.str.8 .asciz "glGetUniformBlockIndex" .comm _glad_glGetUniformBlockIndex,8,3 ## @glad_glGetUniformBlockIndex L_.str.9: ## @.str.9 .asciz "glGetActiveUniformBlockiv" .comm _glad_glGetActiveUniformBlockiv,8,3 ## @glad_glGetActiveUniformBlockiv L_.str.10: ## @.str.10 .asciz "glGetActiveUniformBlockName" .comm _glad_glGetActiveUniformBlockName,8,3 ## @glad_glGetActiveUniformBlockName L_.str.11: ## @.str.11 .asciz "glUniformBlockBinding" .comm _glad_glUniformBlockBinding,8,3 ## @glad_glUniformBlockBinding L_.str.12: ## @.str.12 .asciz "glBindBufferRange" .comm _glad_glBindBufferRange,8,3 ## @glad_glBindBufferRange L_.str.13: ## @.str.13 .asciz "glBindBufferBase" .comm _glad_glBindBufferBase,8,3 ## @glad_glBindBufferBase L_.str.14: ## @.str.14 .asciz "glGetIntegeri_v" .comm _glad_glGetIntegeri_v,8,3 ## @glad_glGetIntegeri_v .no_dead_strip _load_GL_VERSION_3_1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function load_GL_VERSION_3_1 _load_GL_VERSION_3_1: ; @load_GL_VERSION_3_1 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _GLAD_GL_VERSION_3_1@GOTPAGE Lloh1: ldr x8, [x8, _GLAD_GL_VERSION_3_1@GOTPAGEOFF] Lloh2: ldr w8, [x8] cbz w8, LBB0_2 ; %bb.1: mov x19, x0 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF blr x19 Lloh5: adrp x8, _glad_glDrawArraysInstanced@GOTPAGE Lloh6: ldr x8, [x8, _glad_glDrawArraysInstanced@GOTPAGEOFF] Lloh7: str x0, [x8] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF blr x19 Lloh10: adrp x8, _glad_glDrawElementsInstanced@GOTPAGE Lloh11: ldr x8, [x8, _glad_glDrawElementsInstanced@GOTPAGEOFF] Lloh12: str x0, [x8] Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF blr x19 Lloh15: adrp x8, _glad_glTexBuffer@GOTPAGE Lloh16: ldr x8, [x8, _glad_glTexBuffer@GOTPAGEOFF] Lloh17: str x0, [x8] Lloh18: adrp x0, l_.str.3@PAGE Lloh19: add x0, x0, l_.str.3@PAGEOFF blr x19 Lloh20: adrp x8, _glad_glPrimitiveRestartIndex@GOTPAGE Lloh21: ldr x8, [x8, _glad_glPrimitiveRestartIndex@GOTPAGEOFF] Lloh22: str x0, [x8] Lloh23: adrp x0, l_.str.4@PAGE Lloh24: add x0, x0, l_.str.4@PAGEOFF blr x19 Lloh25: adrp x8, _glad_glCopyBufferSubData@GOTPAGE Lloh26: ldr x8, [x8, _glad_glCopyBufferSubData@GOTPAGEOFF] Lloh27: str x0, [x8] Lloh28: adrp x0, l_.str.5@PAGE Lloh29: add x0, x0, l_.str.5@PAGEOFF blr x19 Lloh30: adrp x8, _glad_glGetUniformIndices@GOTPAGE Lloh31: ldr x8, [x8, _glad_glGetUniformIndices@GOTPAGEOFF] Lloh32: str x0, [x8] Lloh33: adrp x0, l_.str.6@PAGE Lloh34: add x0, x0, l_.str.6@PAGEOFF blr x19 Lloh35: adrp x8, _glad_glGetActiveUniformsiv@GOTPAGE Lloh36: ldr x8, [x8, _glad_glGetActiveUniformsiv@GOTPAGEOFF] Lloh37: str x0, [x8] Lloh38: adrp x0, l_.str.7@PAGE Lloh39: add x0, x0, l_.str.7@PAGEOFF blr x19 Lloh40: adrp x8, _glad_glGetActiveUniformName@GOTPAGE Lloh41: ldr x8, [x8, _glad_glGetActiveUniformName@GOTPAGEOFF] Lloh42: str x0, [x8] Lloh43: adrp x0, l_.str.8@PAGE Lloh44: add x0, x0, l_.str.8@PAGEOFF blr x19 Lloh45: adrp x8, _glad_glGetUniformBlockIndex@GOTPAGE Lloh46: ldr x8, [x8, _glad_glGetUniformBlockIndex@GOTPAGEOFF] Lloh47: str x0, [x8] Lloh48: adrp x0, l_.str.9@PAGE Lloh49: add x0, x0, l_.str.9@PAGEOFF blr x19 Lloh50: adrp x8, _glad_glGetActiveUniformBlockiv@GOTPAGE Lloh51: ldr x8, [x8, _glad_glGetActiveUniformBlockiv@GOTPAGEOFF] Lloh52: str x0, [x8] Lloh53: adrp x0, l_.str.10@PAGE Lloh54: add x0, x0, l_.str.10@PAGEOFF blr x19 Lloh55: adrp x8, _glad_glGetActiveUniformBlockName@GOTPAGE Lloh56: ldr x8, [x8, _glad_glGetActiveUniformBlockName@GOTPAGEOFF] Lloh57: str x0, [x8] Lloh58: adrp x0, l_.str.11@PAGE Lloh59: add x0, x0, l_.str.11@PAGEOFF blr x19 Lloh60: adrp x8, _glad_glUniformBlockBinding@GOTPAGE Lloh61: ldr x8, [x8, _glad_glUniformBlockBinding@GOTPAGEOFF] Lloh62: str x0, [x8] Lloh63: adrp x0, l_.str.12@PAGE Lloh64: add x0, x0, l_.str.12@PAGEOFF blr x19 Lloh65: adrp x8, _glad_glBindBufferRange@GOTPAGE Lloh66: ldr x8, [x8, _glad_glBindBufferRange@GOTPAGEOFF] Lloh67: str x0, [x8] Lloh68: adrp x0, l_.str.13@PAGE Lloh69: add x0, x0, l_.str.13@PAGEOFF blr x19 Lloh70: adrp x8, _glad_glBindBufferBase@GOTPAGE Lloh71: ldr x8, [x8, _glad_glBindBufferBase@GOTPAGEOFF] Lloh72: str x0, [x8] Lloh73: adrp x0, l_.str.14@PAGE Lloh74: add x0, x0, l_.str.14@PAGEOFF blr x19 Lloh75: adrp x8, _glad_glGetIntegeri_v@GOTPAGE Lloh76: ldr x8, [x8, _glad_glGetIntegeri_v@GOTPAGEOFF] Lloh77: str x0, [x8] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh75, Lloh76, Lloh77 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpLdrGotStr Lloh70, Lloh71, Lloh72 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpLdrGotStr Lloh65, Lloh66, Lloh67 .loh AdrpAdd Lloh63, Lloh64 .loh AdrpLdrGotStr Lloh60, Lloh61, Lloh62 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpLdrGotStr Lloh55, Lloh56, Lloh57 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotStr Lloh50, Lloh51, Lloh52 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpLdrGotStr Lloh45, Lloh46, Lloh47 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpLdrGotStr Lloh40, Lloh41, Lloh42 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGotStr Lloh35, Lloh36, Lloh37 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotStr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotStr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _GLAD_GL_VERSION_3_1,4,2 ; @GLAD_GL_VERSION_3_1 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "glDrawArraysInstanced" .comm _glad_glDrawArraysInstanced,8,3 ; @glad_glDrawArraysInstanced l_.str.1: ; @.str.1 .asciz "glDrawElementsInstanced" .comm _glad_glDrawElementsInstanced,8,3 ; @glad_glDrawElementsInstanced l_.str.2: ; @.str.2 .asciz "glTexBuffer" .comm _glad_glTexBuffer,8,3 ; @glad_glTexBuffer l_.str.3: ; @.str.3 .asciz "glPrimitiveRestartIndex" .comm _glad_glPrimitiveRestartIndex,8,3 ; @glad_glPrimitiveRestartIndex l_.str.4: ; @.str.4 .asciz "glCopyBufferSubData" .comm _glad_glCopyBufferSubData,8,3 ; @glad_glCopyBufferSubData l_.str.5: ; @.str.5 .asciz "glGetUniformIndices" .comm _glad_glGetUniformIndices,8,3 ; @glad_glGetUniformIndices l_.str.6: ; @.str.6 .asciz "glGetActiveUniformsiv" .comm _glad_glGetActiveUniformsiv,8,3 ; @glad_glGetActiveUniformsiv l_.str.7: ; @.str.7 .asciz "glGetActiveUniformName" .comm _glad_glGetActiveUniformName,8,3 ; @glad_glGetActiveUniformName l_.str.8: ; @.str.8 .asciz "glGetUniformBlockIndex" .comm _glad_glGetUniformBlockIndex,8,3 ; @glad_glGetUniformBlockIndex l_.str.9: ; @.str.9 .asciz "glGetActiveUniformBlockiv" .comm _glad_glGetActiveUniformBlockiv,8,3 ; @glad_glGetActiveUniformBlockiv l_.str.10: ; @.str.10 .asciz "glGetActiveUniformBlockName" .comm _glad_glGetActiveUniformBlockName,8,3 ; @glad_glGetActiveUniformBlockName l_.str.11: ; @.str.11 .asciz "glUniformBlockBinding" .comm _glad_glUniformBlockBinding,8,3 ; @glad_glUniformBlockBinding l_.str.12: ; @.str.12 .asciz "glBindBufferRange" .comm _glad_glBindBufferRange,8,3 ; @glad_glBindBufferRange l_.str.13: ; @.str.13 .asciz "glBindBufferBase" .comm _glad_glBindBufferBase,8,3 ; @glad_glBindBufferBase l_.str.14: ; @.str.14 .asciz "glGetIntegeri_v" .comm _glad_glGetIntegeri_v,8,3 ; @glad_glGetIntegeri_v .no_dead_strip _load_GL_VERSION_3_1 .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_glad.c_load_GL_VERSION_3_1.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function load_GL_VERSION_3_2 _load_GL_VERSION_3_2: ## @load_GL_VERSION_3_2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _GLAD_GL_VERSION_3_2@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_2 ## %bb.1: movq %rdi, %rbx leaq L_.str(%rip), %rdi callq *%rbx movq _glad_glDrawElementsBaseVertex@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.1(%rip), %rdi callq *%rbx movq _glad_glDrawRangeElementsBaseVertex@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.2(%rip), %rdi callq *%rbx movq _glad_glDrawElementsInstancedBaseVertex@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.3(%rip), %rdi callq *%rbx movq _glad_glMultiDrawElementsBaseVertex@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.4(%rip), %rdi callq *%rbx movq _glad_glProvokingVertex@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.5(%rip), %rdi callq *%rbx movq _glad_glFenceSync@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.6(%rip), %rdi callq *%rbx movq _glad_glIsSync@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.7(%rip), %rdi callq *%rbx movq _glad_glDeleteSync@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.8(%rip), %rdi callq *%rbx movq _glad_glClientWaitSync@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.9(%rip), %rdi callq *%rbx movq _glad_glWaitSync@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.10(%rip), %rdi callq *%rbx movq _glad_glGetInteger64v@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.11(%rip), %rdi callq *%rbx movq _glad_glGetSynciv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.12(%rip), %rdi callq *%rbx movq _glad_glGetInteger64i_v@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.13(%rip), %rdi callq *%rbx movq _glad_glGetBufferParameteri64v@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.14(%rip), %rdi callq *%rbx movq _glad_glFramebufferTexture@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.15(%rip), %rdi callq *%rbx movq _glad_glTexImage2DMultisample@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.16(%rip), %rdi callq *%rbx movq _glad_glTexImage3DMultisample@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.17(%rip), %rdi callq *%rbx movq _glad_glGetMultisamplefv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.18(%rip), %rdi callq *%rbx movq _glad_glSampleMaski@GOTPCREL(%rip), %rcx movq %rax, (%rcx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _GLAD_GL_VERSION_3_2,4,2 ## @GLAD_GL_VERSION_3_2 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "glDrawElementsBaseVertex" .comm _glad_glDrawElementsBaseVertex,8,3 ## @glad_glDrawElementsBaseVertex L_.str.1: ## @.str.1 .asciz "glDrawRangeElementsBaseVertex" .comm _glad_glDrawRangeElementsBaseVertex,8,3 ## @glad_glDrawRangeElementsBaseVertex L_.str.2: ## @.str.2 .asciz "glDrawElementsInstancedBaseVertex" .comm _glad_glDrawElementsInstancedBaseVertex,8,3 ## @glad_glDrawElementsInstancedBaseVertex L_.str.3: ## @.str.3 .asciz "glMultiDrawElementsBaseVertex" .comm _glad_glMultiDrawElementsBaseVertex,8,3 ## @glad_glMultiDrawElementsBaseVertex L_.str.4: ## @.str.4 .asciz "glProvokingVertex" .comm _glad_glProvokingVertex,8,3 ## @glad_glProvokingVertex L_.str.5: ## @.str.5 .asciz "glFenceSync" .comm _glad_glFenceSync,8,3 ## @glad_glFenceSync L_.str.6: ## @.str.6 .asciz "glIsSync" .comm _glad_glIsSync,8,3 ## @glad_glIsSync L_.str.7: ## @.str.7 .asciz "glDeleteSync" .comm _glad_glDeleteSync,8,3 ## @glad_glDeleteSync L_.str.8: ## @.str.8 .asciz "glClientWaitSync" .comm _glad_glClientWaitSync,8,3 ## @glad_glClientWaitSync L_.str.9: ## @.str.9 .asciz "glWaitSync" .comm _glad_glWaitSync,8,3 ## @glad_glWaitSync L_.str.10: ## @.str.10 .asciz "glGetInteger64v" .comm _glad_glGetInteger64v,8,3 ## @glad_glGetInteger64v L_.str.11: ## @.str.11 .asciz "glGetSynciv" .comm _glad_glGetSynciv,8,3 ## @glad_glGetSynciv L_.str.12: ## @.str.12 .asciz "glGetInteger64i_v" .comm _glad_glGetInteger64i_v,8,3 ## @glad_glGetInteger64i_v L_.str.13: ## @.str.13 .asciz "glGetBufferParameteri64v" .comm _glad_glGetBufferParameteri64v,8,3 ## @glad_glGetBufferParameteri64v L_.str.14: ## @.str.14 .asciz "glFramebufferTexture" .comm _glad_glFramebufferTexture,8,3 ## @glad_glFramebufferTexture L_.str.15: ## @.str.15 .asciz "glTexImage2DMultisample" .comm _glad_glTexImage2DMultisample,8,3 ## @glad_glTexImage2DMultisample L_.str.16: ## @.str.16 .asciz "glTexImage3DMultisample" .comm _glad_glTexImage3DMultisample,8,3 ## @glad_glTexImage3DMultisample L_.str.17: ## @.str.17 .asciz "glGetMultisamplefv" .comm _glad_glGetMultisamplefv,8,3 ## @glad_glGetMultisamplefv L_.str.18: ## @.str.18 .asciz "glSampleMaski" .comm _glad_glSampleMaski,8,3 ## @glad_glSampleMaski .no_dead_strip _load_GL_VERSION_3_2 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function load_GL_VERSION_3_2 _load_GL_VERSION_3_2: ; @load_GL_VERSION_3_2 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _GLAD_GL_VERSION_3_2@GOTPAGE Lloh1: ldr x8, [x8, _GLAD_GL_VERSION_3_2@GOTPAGEOFF] Lloh2: ldr w8, [x8] cbz w8, LBB0_2 ; %bb.1: mov x19, x0 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF blr x19 Lloh5: adrp x8, _glad_glDrawElementsBaseVertex@GOTPAGE Lloh6: ldr x8, [x8, _glad_glDrawElementsBaseVertex@GOTPAGEOFF] Lloh7: str x0, [x8] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF blr x19 Lloh10: adrp x8, _glad_glDrawRangeElementsBaseVertex@GOTPAGE Lloh11: ldr x8, [x8, _glad_glDrawRangeElementsBaseVertex@GOTPAGEOFF] Lloh12: str x0, [x8] Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF blr x19 Lloh15: adrp x8, _glad_glDrawElementsInstancedBaseVertex@GOTPAGE Lloh16: ldr x8, [x8, _glad_glDrawElementsInstancedBaseVertex@GOTPAGEOFF] Lloh17: str x0, [x8] Lloh18: adrp x0, l_.str.3@PAGE Lloh19: add x0, x0, l_.str.3@PAGEOFF blr x19 Lloh20: adrp x8, _glad_glMultiDrawElementsBaseVertex@GOTPAGE Lloh21: ldr x8, [x8, _glad_glMultiDrawElementsBaseVertex@GOTPAGEOFF] Lloh22: str x0, [x8] Lloh23: adrp x0, l_.str.4@PAGE Lloh24: add x0, x0, l_.str.4@PAGEOFF blr x19 Lloh25: adrp x8, _glad_glProvokingVertex@GOTPAGE Lloh26: ldr x8, [x8, _glad_glProvokingVertex@GOTPAGEOFF] Lloh27: str x0, [x8] Lloh28: adrp x0, l_.str.5@PAGE Lloh29: add x0, x0, l_.str.5@PAGEOFF blr x19 Lloh30: adrp x8, _glad_glFenceSync@GOTPAGE Lloh31: ldr x8, [x8, _glad_glFenceSync@GOTPAGEOFF] Lloh32: str x0, [x8] Lloh33: adrp x0, l_.str.6@PAGE Lloh34: add x0, x0, l_.str.6@PAGEOFF blr x19 Lloh35: adrp x8, _glad_glIsSync@GOTPAGE Lloh36: ldr x8, [x8, _glad_glIsSync@GOTPAGEOFF] Lloh37: str x0, [x8] Lloh38: adrp x0, l_.str.7@PAGE Lloh39: add x0, x0, l_.str.7@PAGEOFF blr x19 Lloh40: adrp x8, _glad_glDeleteSync@GOTPAGE Lloh41: ldr x8, [x8, _glad_glDeleteSync@GOTPAGEOFF] Lloh42: str x0, [x8] Lloh43: adrp x0, l_.str.8@PAGE Lloh44: add x0, x0, l_.str.8@PAGEOFF blr x19 Lloh45: adrp x8, _glad_glClientWaitSync@GOTPAGE Lloh46: ldr x8, [x8, _glad_glClientWaitSync@GOTPAGEOFF] Lloh47: str x0, [x8] Lloh48: adrp x0, l_.str.9@PAGE Lloh49: add x0, x0, l_.str.9@PAGEOFF blr x19 Lloh50: adrp x8, _glad_glWaitSync@GOTPAGE Lloh51: ldr x8, [x8, _glad_glWaitSync@GOTPAGEOFF] Lloh52: str x0, [x8] Lloh53: adrp x0, l_.str.10@PAGE Lloh54: add x0, x0, l_.str.10@PAGEOFF blr x19 Lloh55: adrp x8, _glad_glGetInteger64v@GOTPAGE Lloh56: ldr x8, [x8, _glad_glGetInteger64v@GOTPAGEOFF] Lloh57: str x0, [x8] Lloh58: adrp x0, l_.str.11@PAGE Lloh59: add x0, x0, l_.str.11@PAGEOFF blr x19 Lloh60: adrp x8, _glad_glGetSynciv@GOTPAGE Lloh61: ldr x8, [x8, _glad_glGetSynciv@GOTPAGEOFF] Lloh62: str x0, [x8] Lloh63: adrp x0, l_.str.12@PAGE Lloh64: add x0, x0, l_.str.12@PAGEOFF blr x19 Lloh65: adrp x8, _glad_glGetInteger64i_v@GOTPAGE Lloh66: ldr x8, [x8, _glad_glGetInteger64i_v@GOTPAGEOFF] Lloh67: str x0, [x8] Lloh68: adrp x0, l_.str.13@PAGE Lloh69: add x0, x0, l_.str.13@PAGEOFF blr x19 Lloh70: adrp x8, _glad_glGetBufferParameteri64v@GOTPAGE Lloh71: ldr x8, [x8, _glad_glGetBufferParameteri64v@GOTPAGEOFF] Lloh72: str x0, [x8] Lloh73: adrp x0, l_.str.14@PAGE Lloh74: add x0, x0, l_.str.14@PAGEOFF blr x19 Lloh75: adrp x8, _glad_glFramebufferTexture@GOTPAGE Lloh76: ldr x8, [x8, _glad_glFramebufferTexture@GOTPAGEOFF] Lloh77: str x0, [x8] Lloh78: adrp x0, l_.str.15@PAGE Lloh79: add x0, x0, l_.str.15@PAGEOFF blr x19 Lloh80: adrp x8, _glad_glTexImage2DMultisample@GOTPAGE Lloh81: ldr x8, [x8, _glad_glTexImage2DMultisample@GOTPAGEOFF] Lloh82: str x0, [x8] Lloh83: adrp x0, l_.str.16@PAGE Lloh84: add x0, x0, l_.str.16@PAGEOFF blr x19 Lloh85: adrp x8, _glad_glTexImage3DMultisample@GOTPAGE Lloh86: ldr x8, [x8, _glad_glTexImage3DMultisample@GOTPAGEOFF] Lloh87: str x0, [x8] Lloh88: adrp x0, l_.str.17@PAGE Lloh89: add x0, x0, l_.str.17@PAGEOFF blr x19 Lloh90: adrp x8, _glad_glGetMultisamplefv@GOTPAGE Lloh91: ldr x8, [x8, _glad_glGetMultisamplefv@GOTPAGEOFF] Lloh92: str x0, [x8] Lloh93: adrp x0, l_.str.18@PAGE Lloh94: add x0, x0, l_.str.18@PAGEOFF blr x19 Lloh95: adrp x8, _glad_glSampleMaski@GOTPAGE Lloh96: ldr x8, [x8, _glad_glSampleMaski@GOTPAGEOFF] Lloh97: str x0, [x8] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh95, Lloh96, Lloh97 .loh AdrpAdd Lloh93, Lloh94 .loh AdrpLdrGotStr Lloh90, Lloh91, Lloh92 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpLdrGotStr Lloh85, Lloh86, Lloh87 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpLdrGotStr Lloh80, Lloh81, Lloh82 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpLdrGotStr Lloh75, Lloh76, Lloh77 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpLdrGotStr Lloh70, Lloh71, Lloh72 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpLdrGotStr Lloh65, Lloh66, Lloh67 .loh AdrpAdd Lloh63, Lloh64 .loh AdrpLdrGotStr Lloh60, Lloh61, Lloh62 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpLdrGotStr Lloh55, Lloh56, Lloh57 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotStr Lloh50, Lloh51, Lloh52 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpLdrGotStr Lloh45, Lloh46, Lloh47 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpLdrGotStr Lloh40, Lloh41, Lloh42 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGotStr Lloh35, Lloh36, Lloh37 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotStr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotStr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _GLAD_GL_VERSION_3_2,4,2 ; @GLAD_GL_VERSION_3_2 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "glDrawElementsBaseVertex" .comm _glad_glDrawElementsBaseVertex,8,3 ; @glad_glDrawElementsBaseVertex l_.str.1: ; @.str.1 .asciz "glDrawRangeElementsBaseVertex" .comm _glad_glDrawRangeElementsBaseVertex,8,3 ; @glad_glDrawRangeElementsBaseVertex l_.str.2: ; @.str.2 .asciz "glDrawElementsInstancedBaseVertex" .comm _glad_glDrawElementsInstancedBaseVertex,8,3 ; @glad_glDrawElementsInstancedBaseVertex l_.str.3: ; @.str.3 .asciz "glMultiDrawElementsBaseVertex" .comm _glad_glMultiDrawElementsBaseVertex,8,3 ; @glad_glMultiDrawElementsBaseVertex l_.str.4: ; @.str.4 .asciz "glProvokingVertex" .comm _glad_glProvokingVertex,8,3 ; @glad_glProvokingVertex l_.str.5: ; @.str.5 .asciz "glFenceSync" .comm _glad_glFenceSync,8,3 ; @glad_glFenceSync l_.str.6: ; @.str.6 .asciz "glIsSync" .comm _glad_glIsSync,8,3 ; @glad_glIsSync l_.str.7: ; @.str.7 .asciz "glDeleteSync" .comm _glad_glDeleteSync,8,3 ; @glad_glDeleteSync l_.str.8: ; @.str.8 .asciz "glClientWaitSync" .comm _glad_glClientWaitSync,8,3 ; @glad_glClientWaitSync l_.str.9: ; @.str.9 .asciz "glWaitSync" .comm _glad_glWaitSync,8,3 ; @glad_glWaitSync l_.str.10: ; @.str.10 .asciz "glGetInteger64v" .comm _glad_glGetInteger64v,8,3 ; @glad_glGetInteger64v l_.str.11: ; @.str.11 .asciz "glGetSynciv" .comm _glad_glGetSynciv,8,3 ; @glad_glGetSynciv l_.str.12: ; @.str.12 .asciz "glGetInteger64i_v" .comm _glad_glGetInteger64i_v,8,3 ; @glad_glGetInteger64i_v l_.str.13: ; @.str.13 .asciz "glGetBufferParameteri64v" .comm _glad_glGetBufferParameteri64v,8,3 ; @glad_glGetBufferParameteri64v l_.str.14: ; @.str.14 .asciz "glFramebufferTexture" .comm _glad_glFramebufferTexture,8,3 ; @glad_glFramebufferTexture l_.str.15: ; @.str.15 .asciz "glTexImage2DMultisample" .comm _glad_glTexImage2DMultisample,8,3 ; @glad_glTexImage2DMultisample l_.str.16: ; @.str.16 .asciz "glTexImage3DMultisample" .comm _glad_glTexImage3DMultisample,8,3 ; @glad_glTexImage3DMultisample l_.str.17: ; @.str.17 .asciz "glGetMultisamplefv" .comm _glad_glGetMultisamplefv,8,3 ; @glad_glGetMultisamplefv l_.str.18: ; @.str.18 .asciz "glSampleMaski" .comm _glad_glSampleMaski,8,3 ; @glad_glSampleMaski .no_dead_strip _load_GL_VERSION_3_2 .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_glad.c_load_GL_VERSION_3_2.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cnd_broadcast ## -- Begin function cnd_broadcast .p2align 4, 0x90 _cnd_broadcast: ## @cnd_broadcast .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _pthread_cond_signal testq %rax, %rax jne LBB0_1 ## %bb.2: movq _thrd_success@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _thrd_error@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _thrd_success,4,2 ## @thrd_success .comm _thrd_error,4,2 ## @thrd_error .comm __CONDITION_EVENT_ALL,8,3 ## @_CONDITION_EVENT_ALL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cnd_broadcast ; -- Begin function cnd_broadcast .p2align 2 _cnd_broadcast: ; @cnd_broadcast .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _pthread_cond_signal Lloh0: adrp x8, _thrd_success@GOTPAGE Lloh1: ldr x8, [x8, _thrd_success@GOTPAGEOFF] Lloh2: adrp x9, _thrd_error@GOTPAGE Lloh3: ldr x9, [x9, _thrd_error@GOTPAGEOFF] cmp x0, #0 csel x8, x8, x9, eq ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _thrd_success,4,2 ; @thrd_success .comm _thrd_error,4,2 ; @thrd_error .comm __CONDITION_EVENT_ALL,8,3 ; @_CONDITION_EVENT_ALL .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_cnd_broadcast.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cnd_destroy ## -- Begin function cnd_destroy .p2align 4, 0x90 _cnd_destroy: ## @cnd_destroy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _pthread_cond_destroy ## TAILCALL .cfi_endproc ## -- End function .comm __CONDITION_EVENT_ALL,8,3 ## @_CONDITION_EVENT_ALL .comm __CONDITION_EVENT_ONE,8,3 ## @_CONDITION_EVENT_ONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cnd_destroy ; -- Begin function cnd_destroy .p2align 2 _cnd_destroy: ; @cnd_destroy .cfi_startproc ; %bb.0: b _pthread_cond_destroy .cfi_endproc ; -- End function .comm __CONDITION_EVENT_ALL,8,3 ; @_CONDITION_EVENT_ALL .comm __CONDITION_EVENT_ONE,8,3 ; @_CONDITION_EVENT_ONE .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_cnd_destroy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cnd_init ## -- Begin function cnd_init .p2align 4, 0x90 _cnd_init: ## @cnd_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %esi, %esi callq _pthread_cond_init testq %rax, %rax jne LBB0_1 ## %bb.2: movq _thrd_success@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _thrd_error@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _thrd_success,4,2 ## @thrd_success .comm _thrd_error,4,2 ## @thrd_error .comm _FALSE,4,2 ## @FALSE .comm _TRUE,4,2 ## @TRUE .comm __CONDITION_EVENT_ALL,8,3 ## @_CONDITION_EVENT_ALL .comm __CONDITION_EVENT_ONE,8,3 ## @_CONDITION_EVENT_ONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cnd_init ; -- Begin function cnd_init .p2align 2 _cnd_init: ; @cnd_init .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x1, #0 bl _pthread_cond_init Lloh0: adrp x8, _thrd_success@GOTPAGE Lloh1: ldr x8, [x8, _thrd_success@GOTPAGEOFF] Lloh2: adrp x9, _thrd_error@GOTPAGE Lloh3: ldr x9, [x9, _thrd_error@GOTPAGEOFF] cmp x0, #0 csel x8, x8, x9, eq ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _thrd_success,4,2 ; @thrd_success .comm _thrd_error,4,2 ; @thrd_error .comm _FALSE,4,2 ; @FALSE .comm _TRUE,4,2 ; @TRUE .comm __CONDITION_EVENT_ALL,8,3 ; @_CONDITION_EVENT_ALL .comm __CONDITION_EVENT_ONE,8,3 ; @_CONDITION_EVENT_ONE .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_cnd_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cnd_signal ## -- Begin function cnd_signal .p2align 4, 0x90 _cnd_signal: ## @cnd_signal .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _pthread_cond_signal testq %rax, %rax jne LBB0_1 ## %bb.2: movq _thrd_success@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _thrd_error@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _thrd_success,4,2 ## @thrd_success .comm _thrd_error,4,2 ## @thrd_error .comm __CONDITION_EVENT_ONE,8,3 ## @_CONDITION_EVENT_ONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cnd_signal ; -- Begin function cnd_signal .p2align 2 _cnd_signal: ; @cnd_signal .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _pthread_cond_signal Lloh0: adrp x8, _thrd_success@GOTPAGE Lloh1: ldr x8, [x8, _thrd_success@GOTPAGEOFF] Lloh2: adrp x9, _thrd_error@GOTPAGE Lloh3: ldr x9, [x9, _thrd_error@GOTPAGEOFF] cmp x0, #0 csel x8, x8, x9, eq ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _thrd_success,4,2 ; @thrd_success .comm _thrd_error,4,2 ; @thrd_error .comm __CONDITION_EVENT_ONE,8,3 ; @_CONDITION_EVENT_ONE .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_cnd_signal.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cnd_timedwait ## -- Begin function cnd_timedwait .p2align 4, 0x90 _cnd_timedwait: ## @cnd_timedwait .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _pthread_cond_timedwait movq _ETIMEDOUT@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_2 ## %bb.1: movq _thrd_timeout@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_2: testl %eax, %eax jne LBB0_3 ## %bb.4: movq _thrd_success@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_3: movq _thrd_error@GOTPCREL(%rip), %rax LBB0_5: movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _ETIMEDOUT,4,2 ## @ETIMEDOUT .comm _thrd_timeout,4,2 ## @thrd_timeout .comm _thrd_success,4,2 ## @thrd_success .comm _thrd_error,4,2 ## @thrd_error .comm _CLOCK_REALTIME,4,2 ## @CLOCK_REALTIME .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cnd_timedwait ; -- Begin function cnd_timedwait .p2align 2 _cnd_timedwait: ; @cnd_timedwait .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _pthread_cond_timedwait Lloh0: adrp x8, _ETIMEDOUT@GOTPAGE Lloh1: ldr x8, [x8, _ETIMEDOUT@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w0, w8 b.ne LBB0_2 ; %bb.1: Lloh3: adrp x8, _thrd_timeout@GOTPAGE Lloh4: ldr x8, [x8, _thrd_timeout@GOTPAGEOFF] b LBB0_3 LBB0_2: Lloh5: adrp x8, _thrd_success@GOTPAGE Lloh6: ldr x8, [x8, _thrd_success@GOTPAGEOFF] Lloh7: adrp x9, _thrd_error@GOTPAGE Lloh8: ldr x9, [x9, _thrd_error@GOTPAGEOFF] cmp w0, #0 csel x8, x8, x9, eq LBB0_3: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _ETIMEDOUT,4,2 ; @ETIMEDOUT .comm _thrd_timeout,4,2 ; @thrd_timeout .comm _thrd_success,4,2 ; @thrd_success .comm _thrd_error,4,2 ; @thrd_error .comm _CLOCK_REALTIME,4,2 ; @CLOCK_REALTIME .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_cnd_timedwait.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cnd_wait ## -- Begin function cnd_wait .p2align 4, 0x90 _cnd_wait: ## @cnd_wait .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _pthread_cond_wait testq %rax, %rax jne LBB0_1 ## %bb.2: movq _thrd_success@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _thrd_error@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _thrd_success,4,2 ## @thrd_success .comm _thrd_error,4,2 ## @thrd_error .comm _INFINITE,4,2 ## @INFINITE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cnd_wait ; -- Begin function cnd_wait .p2align 2 _cnd_wait: ; @cnd_wait .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _pthread_cond_wait Lloh0: adrp x8, _thrd_success@GOTPAGE Lloh1: ldr x8, [x8, _thrd_success@GOTPAGEOFF] Lloh2: adrp x9, _thrd_error@GOTPAGE Lloh3: ldr x9, [x9, _thrd_error@GOTPAGEOFF] cmp x0, #0 csel x8, x8, x9, eq ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _thrd_success,4,2 ; @thrd_success .comm _thrd_error,4,2 ; @thrd_error .comm _INFINITE,4,2 ; @INFINITE .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_cnd_wait.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mtx_destroy ## -- Begin function mtx_destroy .p2align 4, 0x90 _mtx_destroy: ## @mtx_destroy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _pthread_mutex_destroy ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mtx_destroy ; -- Begin function mtx_destroy .p2align 2 _mtx_destroy: ; @mtx_destroy .cfi_startproc ; %bb.0: b _pthread_mutex_destroy .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_mtx_destroy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mtx_init ## -- Begin function mtx_init .p2align 4, 0x90 _mtx_init: ## @mtx_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %ebx movq %rdi, %r14 leaq -28(%rbp), %rdi callq _pthread_mutexattr_init movq _mtx_recursive@GOTPCREL(%rip), %rax testl %ebx, (%rax) je LBB0_2 ## %bb.1: movq _PTHREAD_MUTEX_RECURSIVE@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -28(%rbp), %rdi callq _pthread_mutexattr_settype LBB0_2: leaq -28(%rbp), %r15 movq %r14, %rdi movq %r15, %rsi callq _pthread_mutex_init movl %eax, %ebx movq %r15, %rdi callq _pthread_mutexattr_destroy testl %ebx, %ebx jne LBB0_3 ## %bb.4: movq _thrd_success@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_3: movq _thrd_error@GOTPCREL(%rip), %rax LBB0_5: movl (%rax), %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _mtx_recursive,4,2 ## @mtx_recursive .comm _PTHREAD_MUTEX_RECURSIVE,4,2 ## @PTHREAD_MUTEX_RECURSIVE .comm _thrd_success,4,2 ## @thrd_success .comm _thrd_error,4,2 ## @thrd_error .comm _FALSE,4,2 ## @FALSE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mtx_init ; -- Begin function mtx_init .p2align 2 _mtx_init: ; @mtx_init .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x1 mov x19, x0 add x0, sp, #12 bl _pthread_mutexattr_init Lloh0: adrp x8, _mtx_recursive@GOTPAGE Lloh1: ldr x8, [x8, _mtx_recursive@GOTPAGEOFF] Lloh2: ldr w8, [x8] tst w8, w20 b.eq LBB0_2 ; %bb.1: Lloh3: adrp x8, _PTHREAD_MUTEX_RECURSIVE@GOTPAGE Lloh4: ldr x8, [x8, _PTHREAD_MUTEX_RECURSIVE@GOTPAGEOFF] Lloh5: ldr w1, [x8] add x0, sp, #12 bl _pthread_mutexattr_settype LBB0_2: add x1, sp, #12 mov x0, x19 bl _pthread_mutex_init mov x19, x0 add x0, sp, #12 bl _pthread_mutexattr_destroy Lloh6: adrp x8, _thrd_success@GOTPAGE Lloh7: ldr x8, [x8, _thrd_success@GOTPAGEOFF] Lloh8: adrp x9, _thrd_error@GOTPAGE Lloh9: ldr x9, [x9, _thrd_error@GOTPAGEOFF] cmp w19, #0 csel x8, x8, x9, eq ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _mtx_recursive,4,2 ; @mtx_recursive .comm _PTHREAD_MUTEX_RECURSIVE,4,2 ; @PTHREAD_MUTEX_RECURSIVE .comm _thrd_success,4,2 ; @thrd_success .comm _thrd_error,4,2 ; @thrd_error .comm _FALSE,4,2 ; @FALSE .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_mtx_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mtx_lock ## -- Begin function mtx_lock .p2align 4, 0x90 _mtx_lock: ## @mtx_lock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _pthread_mutex_lock testq %rax, %rax jne LBB0_1 ## %bb.2: movq _thrd_success@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _thrd_error@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _thrd_success,4,2 ## @thrd_success .comm _thrd_error,4,2 ## @thrd_error .comm _TRUE,8,3 ## @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mtx_lock ; -- Begin function mtx_lock .p2align 2 _mtx_lock: ; @mtx_lock .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _pthread_mutex_lock Lloh0: adrp x8, _thrd_success@GOTPAGE Lloh1: ldr x8, [x8, _thrd_success@GOTPAGEOFF] Lloh2: adrp x9, _thrd_error@GOTPAGE Lloh3: ldr x9, [x9, _thrd_error@GOTPAGEOFF] cmp x0, #0 csel x8, x8, x9, eq ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _thrd_success,4,2 ; @thrd_success .comm _thrd_error,4,2 ; @thrd_error .comm _TRUE,8,3 ; @TRUE .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_mtx_lock.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mtx_timedlock ## -- Begin function mtx_timedlock .p2align 4, 0x90 _mtx_timedlock: ## @mtx_timedlock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _thrd_error@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _thrd_error,4,2 ## @thrd_error .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mtx_timedlock ; -- Begin function mtx_timedlock .p2align 2 _mtx_timedlock: ; @mtx_timedlock .cfi_startproc ; %bb.0: Lloh0: adrp x8, _thrd_error@GOTPAGE Lloh1: ldr x8, [x8, _thrd_error@GOTPAGEOFF] Lloh2: ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _thrd_error,4,2 ; @thrd_error .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_mtx_timedlock.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mtx_trylock ## -- Begin function mtx_trylock .p2align 4, 0x90 _mtx_trylock: ## @mtx_trylock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _pthread_mutex_trylock testq %rax, %rax jne LBB0_1 ## %bb.2: movq _thrd_success@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _thrd_busy@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _thrd_success,4,2 ## @thrd_success .comm _thrd_busy,4,2 ## @thrd_busy .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mtx_trylock ; -- Begin function mtx_trylock .p2align 2 _mtx_trylock: ; @mtx_trylock .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _pthread_mutex_trylock Lloh0: adrp x8, _thrd_success@GOTPAGE Lloh1: ldr x8, [x8, _thrd_success@GOTPAGEOFF] Lloh2: adrp x9, _thrd_busy@GOTPAGE Lloh3: ldr x9, [x9, _thrd_busy@GOTPAGEOFF] cmp x0, #0 csel x8, x8, x9, eq ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _thrd_success,4,2 ; @thrd_success .comm _thrd_busy,4,2 ; @thrd_busy .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_mtx_trylock.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mtx_unlock ## -- Begin function mtx_unlock .p2align 4, 0x90 _mtx_unlock: ## @mtx_unlock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _pthread_mutex_unlock testq %rax, %rax jne LBB0_1 ## %bb.2: movq _thrd_success@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _thrd_error@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _thrd_success,4,2 ## @thrd_success .comm _thrd_error,4,2 ## @thrd_error .comm _FALSE,4,2 ## @FALSE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mtx_unlock ; -- Begin function mtx_unlock .p2align 2 _mtx_unlock: ; @mtx_unlock .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _pthread_mutex_unlock Lloh0: adrp x8, _thrd_success@GOTPAGE Lloh1: ldr x8, [x8, _thrd_success@GOTPAGEOFF] Lloh2: adrp x9, _thrd_error@GOTPAGE Lloh3: ldr x9, [x9, _thrd_error@GOTPAGEOFF] cmp x0, #0 csel x8, x8, x9, eq ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _thrd_success,4,2 ; @thrd_success .comm _thrd_error,4,2 ; @thrd_error .comm _FALSE,4,2 ; @FALSE .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_mtx_unlock.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thrd_create ## -- Begin function thrd_create .p2align 4, 0x90 _thrd_create: ## @thrd_create .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movl %esi, %ebx movq %rdi, %r15 movl $16, %edi callq _malloc testq %rax, %rax je LBB0_1 ## %bb.2: movl %ebx, 8(%rax) movq %r14, (%rax) cmpq $0, (%r15) je LBB0_4 ## %bb.3: movq _thrd_success@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_1: movq _thrd_nomem@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_4: movq %rax, %rdi callq _free movq _thrd_error@GOTPCREL(%rip), %rax LBB0_5: movl (%rax), %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _thrd_nomem,4,2 ## @thrd_nomem .comm _thrd_error,4,2 ## @thrd_error .comm _thrd_success,4,2 ## @thrd_success .comm __thrd_wrapper_function,4,2 ## @_thrd_wrapper_function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thrd_create ; -- Begin function thrd_create .p2align 2 _thrd_create: ; @thrd_create .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x21, x1 mov x20, x0 mov w0, #16 bl _malloc cbz x0, LBB0_3 ; %bb.1: str w21, [x0, #8] str x19, [x0] ldr x8, [x20] cbz x8, LBB0_4 ; %bb.2: Lloh0: adrp x8, _thrd_success@GOTPAGE Lloh1: ldr x8, [x8, _thrd_success@GOTPAGEOFF] b LBB0_5 LBB0_3: Lloh2: adrp x8, _thrd_nomem@GOTPAGE Lloh3: ldr x8, [x8, _thrd_nomem@GOTPAGEOFF] b LBB0_5 LBB0_4: bl _free Lloh4: adrp x8, _thrd_error@GOTPAGE Lloh5: ldr x8, [x8, _thrd_error@GOTPAGEOFF] LBB0_5: ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _thrd_nomem,4,2 ; @thrd_nomem .comm _thrd_error,4,2 ; @thrd_error .comm _thrd_success,4,2 ; @thrd_success .comm __thrd_wrapper_function,4,2 ; @_thrd_wrapper_function .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_thrd_create.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thrd_current ## -- Begin function thrd_current .p2align 4, 0x90 _thrd_current: ## @thrd_current .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp jmp _pthread_self ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thrd_current ; -- Begin function thrd_current .p2align 2 _thrd_current: ; @thrd_current .cfi_startproc ; %bb.0: b _pthread_self .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_thrd_current.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thrd_detach ## -- Begin function thrd_detach .p2align 4, 0x90 _thrd_detach: ## @thrd_detach .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _thrd_error@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _thrd_error,4,2 ## @thrd_error .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thrd_detach ; -- Begin function thrd_detach .p2align 2 _thrd_detach: ; @thrd_detach .cfi_startproc ; %bb.0: Lloh0: adrp x8, _thrd_error@GOTPAGE Lloh1: ldr x8, [x8, _thrd_error@GOTPAGEOFF] Lloh2: ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _thrd_error,4,2 ; @thrd_error .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_thrd_detach.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thrd_equal ## -- Begin function thrd_equal .p2align 4, 0x90 _thrd_equal: ## @thrd_equal .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _pthread_equal ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thrd_equal ; -- Begin function thrd_equal .p2align 2 _thrd_equal: ; @thrd_equal .cfi_startproc ; %bb.0: b _pthread_equal .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_thrd_equal.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thrd_exit ## -- Begin function thrd_exit .p2align 4, 0x90 _thrd_exit: ## @thrd_exit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx movl $4, %edi callq _malloc testq %rax, %rax je LBB0_2 ## %bb.1: movl %ebx, (%rax) LBB0_2: movq %rax, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _pthread_exit ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thrd_exit ; -- Begin function thrd_exit .p2align 2 _thrd_exit: ; @thrd_exit .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov w0, #4 bl _malloc cbz x0, LBB0_2 ; %bb.1: str w19, [x0] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _pthread_exit .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_thrd_exit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thrd_join ## -- Begin function thrd_join .p2align 4, 0x90 _thrd_join: ## @thrd_join .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _thrd_success@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _thrd_success,4,2 ## @thrd_success .comm _INFINITE,4,2 ## @INFINITE .comm _WAIT_FAILED,8,3 ## @WAIT_FAILED .comm _thrd_error,4,2 ## @thrd_error .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thrd_join ; -- Begin function thrd_join .p2align 2 _thrd_join: ; @thrd_join .cfi_startproc ; %bb.0: Lloh0: adrp x8, _thrd_success@GOTPAGE Lloh1: ldr x8, [x8, _thrd_success@GOTPAGEOFF] Lloh2: ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _thrd_success,4,2 ; @thrd_success .comm _INFINITE,4,2 ; @INFINITE .comm _WAIT_FAILED,8,3 ; @WAIT_FAILED .comm _thrd_error,4,2 ; @thrd_error .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_thrd_join.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thrd_sleep ## -- Begin function thrd_sleep .p2align 4, 0x90 _thrd_sleep: ## @thrd_sleep .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx movq _CLOCK_REALTIME@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -24(%rbp), %rsi callq _clock_gettime movq %rax, %rcx movl $-2, %eax testq %rcx, %rcx jne LBB0_8 ## %bb.1: movslq (%rbx), %rax movslq -24(%rbp), %rcx subq %rcx, %rax imulq $1000000, %rax, %rcx ## imm = 0xF4240 movslq 4(%rbx), %rax movslq -20(%rbp), %rdx subq %rdx, %rax addq $500, %rax ## imm = 0x1F4 movabsq $2361183241434822607, %rdx ## imm = 0x20C49BA5E353F7CF imulq %rdx movq %rdx, %rax shrq $63, %rax sarq $7, %rdx addq %rax, %rdx addq %rcx, %rdx cmpq $1000000, %rdx ## imm = 0xF4240 jl LBB0_4 ## %bb.2: movq %rdx, %rbx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl $999999, %edi ## imm = 0xF423F callq _usleep leaq -999999(%rbx), %rdx cmpq $1999998, %rbx ## imm = 0x1E847E movq %rdx, %rbx ja LBB0_3 jmp LBB0_5 LBB0_4: testq %rdx, %rdx jle LBB0_6 LBB0_5: movl %edx, %edi callq _usleep LBB0_6: xorl %eax, %eax testq %r14, %r14 je LBB0_8 ## %bb.7: movq $0, (%r14) LBB0_8: addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _CLOCK_REALTIME,4,2 ## @CLOCK_REALTIME .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thrd_sleep ; -- Begin function thrd_sleep .p2align 2 _thrd_sleep: ; @thrd_sleep .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 mov x20, x0 Lloh0: adrp x8, _CLOCK_REALTIME@GOTPAGE Lloh1: ldr x8, [x8, _CLOCK_REALTIME@GOTPAGEOFF] Lloh2: ldr w0, [x8] add x1, sp, #8 bl _clock_gettime cbz x0, LBB0_2 ; %bb.1: mov w0, #-2 b LBB0_9 LBB0_2: ldpsw x8, x9, [x20] ldpsw x10, x11, [sp, #8] sub x8, x8, x10 mov w21, #16959 movk w21, #15, lsl #16 madd x8, x8, x21, x8 sub x9, x9, x11 add x9, x9, #500 mov x10, #63439 movk x10, #58195, lsl #16 movk x10, #39845, lsl #32 movk x10, #8388, lsl #48 smulh x9, x9, x10 asr x10, x9, #7 add x9, x10, x9, lsr #63 add x20, x9, x8 cmp x20, x21 b.le LBB0_5 ; %bb.3: mov x22, #-16959 movk x22, #65520, lsl #16 mov w23, #33918 movk w23, #30, lsl #16 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov w0, #16959 movk w0, #15, lsl #16 bl _usleep add x20, x20, x22 add x8, x20, x21 cmp x8, x23 b.hi LBB0_4 b LBB0_6 LBB0_5: cmp x20, #1 b.lt LBB0_7 LBB0_6: mov x0, x20 bl _usleep LBB0_7: mov w0, #0 cbz x19, LBB0_9 ; %bb.8: str xzr, [x19] LBB0_9: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CLOCK_REALTIME,4,2 ; @CLOCK_REALTIME .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_thrd_sleep.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thrd_yield ## -- Begin function thrd_yield .p2align 4, 0x90 _thrd_yield: ## @thrd_yield .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp jmp _sched_yield ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thrd_yield ; -- Begin function thrd_yield .p2align 2 _thrd_yield: ; @thrd_yield .cfi_startproc ; %bb.0: b _sched_yield .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_thrd_yield.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tss_create ## -- Begin function tss_create .p2align 4, 0x90 _tss_create: ## @tss_create .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _pthread_key_create testq %rax, %rax jne LBB0_1 ## %bb.2: movq _thrd_success@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _thrd_error@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _thrd_error,4,2 ## @thrd_error .comm _thrd_success,4,2 ## @thrd_success .comm _TLS_OUT_OF_INDEXES,8,3 ## @TLS_OUT_OF_INDEXES .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tss_create ; -- Begin function tss_create .p2align 2 _tss_create: ; @tss_create .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _pthread_key_create Lloh0: adrp x8, _thrd_success@GOTPAGE Lloh1: ldr x8, [x8, _thrd_success@GOTPAGEOFF] Lloh2: adrp x9, _thrd_error@GOTPAGE Lloh3: ldr x9, [x9, _thrd_error@GOTPAGEOFF] cmp x0, #0 csel x8, x8, x9, eq ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _thrd_error,4,2 ; @thrd_error .comm _thrd_success,4,2 ; @thrd_success .comm _TLS_OUT_OF_INDEXES,8,3 ; @TLS_OUT_OF_INDEXES .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_tss_create.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tss_delete ## -- Begin function tss_delete .p2align 4, 0x90 _tss_delete: ## @tss_delete .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _pthread_key_delete ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tss_delete ; -- Begin function tss_delete .p2align 2 _tss_delete: ; @tss_delete .cfi_startproc ; %bb.0: b _pthread_key_delete .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_tss_delete.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tss_get ## -- Begin function tss_get .p2align 4, 0x90 _tss_get: ## @tss_get .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _pthread_getspecific ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tss_get ; -- Begin function tss_get .p2align 2 _tss_get: ; @tss_get .cfi_startproc ; %bb.0: b _pthread_getspecific .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_tss_get.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tss_set ## -- Begin function tss_set .p2align 4, 0x90 _tss_set: ## @tss_set .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _pthread_setspecific testq %rax, %rax jne LBB0_1 ## %bb.2: movq _thrd_success@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _thrd_error@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _thrd_error,4,2 ## @thrd_error .comm _thrd_success,4,2 ## @thrd_success .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tss_set ; -- Begin function tss_set .p2align 2 _tss_set: ; @tss_set .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _pthread_setspecific Lloh0: adrp x8, _thrd_success@GOTPAGE Lloh1: ldr x8, [x8, _thrd_success@GOTPAGEOFF] Lloh2: adrp x9, _thrd_error@GOTPAGE Lloh3: ldr x9, [x9, _thrd_error@GOTPAGEOFF] cmp x0, #0 csel x8, x8, x9, eq ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _thrd_error,4,2 ; @thrd_error .comm _thrd_success,4,2 ; @thrd_success .subsections_via_symbols
AnghaBench/Cinder/src/glfw/deps/extr_tinycthread.c_tss_set.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function _glfwInitTimerNS LCPI0_0: .quad 0x41cdcd6500000000 ## double 1.0E+9 .section __TEXT,__text,regular,pure_instructions .globl __glfwInitTimerNS .p2align 4, 0x90 __glfwInitTimerNS: ## @_glfwInitTimerNS .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq -8(%rbp), %rdi callq _mach_timebase_info cvtsi2sdl -8(%rbp), %xmm0 mulsd LCPI0_0(%rip), %xmm0 cvtsi2sdl -4(%rbp), %xmm1 divsd %xmm1, %xmm0 cvttsd2si %xmm0, %eax movq __glfw@GOTPCREL(%rip), %rcx movl %eax, (%rcx) addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm __glfw,4,2 ## @_glfw .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInitTimerNS ; -- Begin function _glfwInitTimerNS .p2align 2 __glfwInitTimerNS: ; @_glfwInitTimerNS .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 add x0, sp, #8 bl _mach_timebase_info ldp s0, s1, [sp, #8] sshll.2d v0, v0, #0 scvtf d0, d0 mov x8, #225833675390976 movk x8, #16845, lsl #48 fmov d2, x8 fmul d0, d0, d2 sshll.2d v1, v1, #0 scvtf d1, d1 fdiv d0, d0, d1 fcvtzs w8, d0 Lloh0: adrp x9, __glfw@GOTPAGE Lloh1: ldr x9, [x9, __glfw@GOTPAGEOFF] Lloh2: str w8, [x9] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm __glfw,4,2 ; @_glfw .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_cocoa_time.c__glfwInitTimerNS.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwPlatformGetTimerFrequency ## -- Begin function _glfwPlatformGetTimerFrequency .p2align 4, 0x90 __glfwPlatformGetTimerFrequency: ## @_glfwPlatformGetTimerFrequency .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm __glfw,4,2 ## @_glfw .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwPlatformGetTimerFrequency ; -- Begin function _glfwPlatformGetTimerFrequency .p2align 2 __glfwPlatformGetTimerFrequency: ; @_glfwPlatformGetTimerFrequency .cfi_startproc ; %bb.0: Lloh0: adrp x8, __glfw@GOTPAGE Lloh1: ldr x8, [x8, __glfw@GOTPAGEOFF] Lloh2: ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm __glfw,4,2 ; @_glfw .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_cocoa_time.c__glfwPlatformGetTimerFrequency.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwPlatformGetTimerValue ## -- Begin function _glfwPlatformGetTimerValue .p2align 4, 0x90 __glfwPlatformGetTimerValue: ## @_glfwPlatformGetTimerValue .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp jmp _mach_absolute_time ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwPlatformGetTimerValue ; -- Begin function _glfwPlatformGetTimerValue .p2align 2 __glfwPlatformGetTimerValue: ; @_glfwPlatformGetTimerValue .cfi_startproc ; %bb.0: b _mach_absolute_time .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_cocoa_time.c__glfwPlatformGetTimerValue.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwChooseFBConfig ## -- Begin function _glfwChooseFBConfig .p2align 4, 0x90 __glfwChooseFBConfig: ## @_glfwChooseFBConfig .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 testl %edx, %edx je LBB0_1 ## %bb.2: movq _UINT_MAX@GOTPCREL(%rip), %rax movl (%rax), %ecx movq (%rdi), %r8 movq _GLFW_DONT_CARE@GOTPCREL(%rip), %rax movq (%rax), %r13 movl %edx, %edx xorl %eax, %eax movq %rax, -56(%rbp) ## 8-byte Spill movl %ecx, -48(%rbp) ## 4-byte Spill movl %ecx, -44(%rbp) ## 4-byte Spill movl %ecx, %eax jmp LBB0_3 .p2align 4, 0x90 LBB0_47: ## in Loop: Header=BB0_3 Depth=1 movl %r12d, %eax movl %r14d, -48(%rbp) ## 4-byte Spill movl %ebx, -44(%rbp) ## 4-byte Spill movq %rcx, -56(%rbp) ## 8-byte Spill LBB0_48: ## in Loop: Header=BB0_3 Depth=1 addq $120, %rsi decq %rdx je LBB0_49 LBB0_3: ## =>This Inner Loop Header: Depth=1 testq %r8, %r8 jle LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 cmpq $0, (%rsi) je LBB0_48 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 movq 8(%rdi), %rcx cmpq 8(%rsi), %rcx jne LBB0_48 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movq 16(%rdi), %r10 xorl %r12d, %r12d testq %r10, %r10 jle LBB0_8 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 cmpq $0, 16(%rsi) sete %r12b LBB0_8: ## in Loop: Header=BB0_3 Depth=1 movq 24(%rdi), %r11 testq %r11, %r11 jle LBB0_10 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 cmpq $1, 24(%rsi) adcl $0, %r12d LBB0_10: ## in Loop: Header=BB0_3 Depth=1 movq 32(%rdi), %r9 testq %r9, %r9 jle LBB0_12 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 cmpq $1, 32(%rsi) adcl $0, %r12d LBB0_12: ## in Loop: Header=BB0_3 Depth=1 movq 40(%rdi), %rbx testq %rbx, %rbx jle LBB0_15 ## %bb.13: ## in Loop: Header=BB0_3 Depth=1 movq 40(%rsi), %rcx cmpq %rcx, %rbx jle LBB0_15 ## %bb.14: ## in Loop: Header=BB0_3 Depth=1 subl %ecx, %ebx addl %ebx, %r12d LBB0_15: ## in Loop: Header=BB0_3 Depth=1 movq 48(%rdi), %r15 testq %r15, %r15 jle LBB0_17 ## %bb.16: ## in Loop: Header=BB0_3 Depth=1 cmpq $1, 48(%rsi) adcl $0, %r12d LBB0_17: ## in Loop: Header=BB0_3 Depth=1 movq 56(%rdi), %rbx xorl %r14d, %r14d cmpq %r13, %rbx je LBB0_19 ## %bb.18: ## in Loop: Header=BB0_3 Depth=1 subl 56(%rsi), %ebx imull %ebx, %ebx movl %ebx, %r14d LBB0_19: ## in Loop: Header=BB0_3 Depth=1 movq 64(%rdi), %rbx cmpq %r13, %rbx je LBB0_21 ## %bb.20: ## in Loop: Header=BB0_3 Depth=1 subl 64(%rsi), %ebx imull %ebx, %ebx addl %ebx, %r14d LBB0_21: ## in Loop: Header=BB0_3 Depth=1 movq 72(%rdi), %rbx cmpq %r13, %rbx je LBB0_23 ## %bb.22: ## in Loop: Header=BB0_3 Depth=1 subl 72(%rsi), %ebx imull %ebx, %ebx addl %ebx, %r14d LBB0_23: ## in Loop: Header=BB0_3 Depth=1 xorl %ebx, %ebx cmpq %r13, %r10 jne LBB0_24 ## %bb.25: ## in Loop: Header=BB0_3 Depth=1 cmpq %r13, %r11 jne LBB0_26 LBB0_27: ## in Loop: Header=BB0_3 Depth=1 cmpq %r13, %r9 je LBB0_29 LBB0_28: ## in Loop: Header=BB0_3 Depth=1 subl 32(%rsi), %r9d imull %r9d, %r9d addl %r9d, %ebx LBB0_29: ## in Loop: Header=BB0_3 Depth=1 movq 80(%rdi), %rcx cmpq %r13, %rcx je LBB0_31 ## %bb.30: ## in Loop: Header=BB0_3 Depth=1 subl 80(%rsi), %ecx imull %ecx, %ecx addl %ecx, %ebx LBB0_31: ## in Loop: Header=BB0_3 Depth=1 movq 88(%rdi), %rcx cmpq %r13, %rcx je LBB0_33 ## %bb.32: ## in Loop: Header=BB0_3 Depth=1 subl 88(%rsi), %ecx imull %ecx, %ecx addl %ecx, %ebx LBB0_33: ## in Loop: Header=BB0_3 Depth=1 movq 96(%rdi), %rcx cmpq %r13, %rcx je LBB0_35 ## %bb.34: ## in Loop: Header=BB0_3 Depth=1 subl 96(%rsi), %ecx imull %ecx, %ecx addl %ecx, %ebx LBB0_35: ## in Loop: Header=BB0_3 Depth=1 movq 104(%rdi), %rcx cmpq %r13, %rcx jne LBB0_36 ## %bb.37: ## in Loop: Header=BB0_3 Depth=1 cmpq %r13, %r15 jne LBB0_38 LBB0_39: ## in Loop: Header=BB0_3 Depth=1 cmpq $0, 112(%rdi) je LBB0_41 LBB0_40: ## in Loop: Header=BB0_3 Depth=1 cmpq $1, 112(%rsi) adcl $0, %ebx LBB0_41: ## in Loop: Header=BB0_3 Depth=1 movq %rsi, %rcx cmpl %eax, %r12d jb LBB0_47 ## %bb.42: ## in Loop: Header=BB0_3 Depth=1 jne LBB0_46 ## %bb.43: ## in Loop: Header=BB0_3 Depth=1 movq %rsi, %rcx cmpl -48(%rbp), %r14d ## 4-byte Folded Reload jb LBB0_47 ## %bb.44: ## in Loop: Header=BB0_3 Depth=1 jne LBB0_46 ## %bb.45: ## in Loop: Header=BB0_3 Depth=1 movq %rsi, %rcx cmpl -44(%rbp), %ebx ## 4-byte Folded Reload jb LBB0_47 LBB0_46: ## in Loop: Header=BB0_3 Depth=1 movl %eax, %r9d movq -56(%rbp), %rax ## 8-byte Reload movq %rax, %rcx cmpq %rax, %rsi movl %r9d, %eax jne LBB0_48 jmp LBB0_47 LBB0_24: ## in Loop: Header=BB0_3 Depth=1 subl 16(%rsi), %r10d imull %r10d, %r10d movl %r10d, %ebx cmpq %r13, %r11 je LBB0_27 LBB0_26: ## in Loop: Header=BB0_3 Depth=1 subl 24(%rsi), %r11d imull %r11d, %r11d addl %r11d, %ebx cmpq %r13, %r9 jne LBB0_28 jmp LBB0_29 LBB0_36: ## in Loop: Header=BB0_3 Depth=1 subl 104(%rsi), %ecx imull %ecx, %ecx addl %ecx, %ebx cmpq %r13, %r15 je LBB0_39 LBB0_38: ## in Loop: Header=BB0_3 Depth=1 subl 48(%rsi), %r15d imull %r15d, %r15d addl %r15d, %ebx cmpq $0, 112(%rdi) jne LBB0_40 jmp LBB0_41 LBB0_1: xorl %eax, %eax movq %rax, -56(%rbp) ## 8-byte Spill LBB0_49: movq -56(%rbp), %rax ## 8-byte Reload popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _UINT_MAX,4,2 ## @UINT_MAX .comm _GLFW_DONT_CARE,8,3 ## @GLFW_DONT_CARE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwChooseFBConfig ; -- Begin function _glfwChooseFBConfig .p2align 2 __glfwChooseFBConfig: ; @_glfwChooseFBConfig .cfi_startproc ; %bb.0: mov x8, #0 cbz w2, LBB0_50 ; %bb.1: Lloh0: adrp x9, _UINT_MAX@GOTPAGE Lloh1: ldr x9, [x9, _UINT_MAX@GOTPAGEOFF] Lloh2: ldr w11, [x9] ldr x9, [x0] Lloh3: adrp x10, _GLFW_DONT_CARE@GOTPAGE Lloh4: ldr x10, [x10, _GLFW_DONT_CARE@GOTPAGEOFF] Lloh5: ldr x10, [x10] mov w12, w2 mov x14, x11 mov x13, x11 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 mov x13, x15 mov x14, x16 mov x11, x2 mov x8, x3 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x1, x1, #120 subs x12, x12, #1 b.eq LBB0_50 LBB0_4: ; =>This Inner Loop Header: Depth=1 cmp x9, #1 b.lt LBB0_6 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr x15, [x1] cbz x15, LBB0_3 LBB0_6: ; in Loop: Header=BB0_4 Depth=1 ldr x15, [x0, #8] ldr x16, [x1, #8] cmp x15, x16 b.ne LBB0_3 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 ldr x2, [x0, #16] cmp x2, #1 b.lt LBB0_9 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 ldr x15, [x1, #16] cmp x15, #0 cset w15, eq b LBB0_10 LBB0_9: ; in Loop: Header=BB0_4 Depth=1 mov w15, #0 LBB0_10: ; in Loop: Header=BB0_4 Depth=1 ldr x4, [x0, #24] cmp x4, #1 b.lt LBB0_12 ; %bb.11: ; in Loop: Header=BB0_4 Depth=1 ldr x16, [x1, #24] cmp x16, #0 cinc w15, w15, eq LBB0_12: ; in Loop: Header=BB0_4 Depth=1 ldr x3, [x0, #32] cmp x3, #1 b.lt LBB0_14 ; %bb.13: ; in Loop: Header=BB0_4 Depth=1 ldr x16, [x1, #32] cmp x16, #0 cinc w15, w15, eq LBB0_14: ; in Loop: Header=BB0_4 Depth=1 ldr x16, [x0, #40] cmp x16, #1 b.lt LBB0_17 ; %bb.15: ; in Loop: Header=BB0_4 Depth=1 ldr x17, [x1, #40] cmp x16, x17 b.le LBB0_17 ; %bb.16: ; in Loop: Header=BB0_4 Depth=1 sub w16, w16, w17 add w15, w15, w16 LBB0_17: ; in Loop: Header=BB0_4 Depth=1 ldr x17, [x0, #48] cmp x17, #1 b.lt LBB0_19 ; %bb.18: ; in Loop: Header=BB0_4 Depth=1 ldr x16, [x1, #48] cmp x16, #0 cinc w15, w15, eq LBB0_19: ; in Loop: Header=BB0_4 Depth=1 ldr x16, [x0, #56] cmp x16, x10 b.ne LBB0_21 ; %bb.20: ; in Loop: Header=BB0_4 Depth=1 mov w16, #0 b LBB0_22 LBB0_21: ; in Loop: Header=BB0_4 Depth=1 ldr w5, [x1, #56] sub w16, w16, w5 mul w16, w16, w16 LBB0_22: ; in Loop: Header=BB0_4 Depth=1 ldr x5, [x0, #64] cmp x5, x10 b.eq LBB0_24 ; %bb.23: ; in Loop: Header=BB0_4 Depth=1 ldr w6, [x1, #64] sub w5, w5, w6 madd w16, w5, w5, w16 LBB0_24: ; in Loop: Header=BB0_4 Depth=1 ldr x5, [x0, #72] cmp x5, x10 b.eq LBB0_26 ; %bb.25: ; in Loop: Header=BB0_4 Depth=1 ldr w6, [x1, #72] sub w5, w5, w6 madd w16, w5, w5, w16 LBB0_26: ; in Loop: Header=BB0_4 Depth=1 cmp x2, x10 b.ne LBB0_28 ; %bb.27: ; in Loop: Header=BB0_4 Depth=1 mov w2, #0 cmp x4, x10 b.ne LBB0_29 b LBB0_30 LBB0_28: ; in Loop: Header=BB0_4 Depth=1 ldr w5, [x1, #16] sub w2, w2, w5 mul w2, w2, w2 cmp x4, x10 b.eq LBB0_30 LBB0_29: ; in Loop: Header=BB0_4 Depth=1 ldr w5, [x1, #24] sub w4, w4, w5 madd w2, w4, w4, w2 LBB0_30: ; in Loop: Header=BB0_4 Depth=1 cmp x3, x10 b.eq LBB0_32 ; %bb.31: ; in Loop: Header=BB0_4 Depth=1 ldr w4, [x1, #32] sub w3, w3, w4 madd w2, w3, w3, w2 LBB0_32: ; in Loop: Header=BB0_4 Depth=1 ldr x3, [x0, #80] cmp x3, x10 b.eq LBB0_34 ; %bb.33: ; in Loop: Header=BB0_4 Depth=1 ldr w4, [x1, #80] sub w3, w3, w4 madd w2, w3, w3, w2 LBB0_34: ; in Loop: Header=BB0_4 Depth=1 ldr x3, [x0, #88] cmp x3, x10 b.eq LBB0_36 ; %bb.35: ; in Loop: Header=BB0_4 Depth=1 ldr w4, [x1, #88] sub w3, w3, w4 madd w2, w3, w3, w2 LBB0_36: ; in Loop: Header=BB0_4 Depth=1 ldr x3, [x0, #96] cmp x3, x10 b.eq LBB0_38 ; %bb.37: ; in Loop: Header=BB0_4 Depth=1 ldr w4, [x1, #96] sub w3, w3, w4 madd w2, w3, w3, w2 LBB0_38: ; in Loop: Header=BB0_4 Depth=1 ldr x3, [x0, #104] cmp x3, x10 b.ne LBB0_48 ; %bb.39: ; in Loop: Header=BB0_4 Depth=1 cmp x17, x10 b.ne LBB0_49 LBB0_40: ; in Loop: Header=BB0_4 Depth=1 ldr x17, [x0, #112] cbz x17, LBB0_42 LBB0_41: ; in Loop: Header=BB0_4 Depth=1 ldr x17, [x1, #112] cmp x17, #0 cinc w2, w2, eq LBB0_42: ; in Loop: Header=BB0_4 Depth=1 mov x3, x1 cmp w15, w13 b.lo LBB0_2 ; %bb.43: ; in Loop: Header=BB0_4 Depth=1 b.ne LBB0_47 ; %bb.44: ; in Loop: Header=BB0_4 Depth=1 mov x3, x1 cmp w16, w14 b.lo LBB0_2 ; %bb.45: ; in Loop: Header=BB0_4 Depth=1 b.ne LBB0_47 ; %bb.46: ; in Loop: Header=BB0_4 Depth=1 mov x3, x1 cmp w2, w11 b.lo LBB0_2 LBB0_47: ; in Loop: Header=BB0_4 Depth=1 mov x3, x8 cmp x1, x8 b.ne LBB0_3 b LBB0_2 LBB0_48: ; in Loop: Header=BB0_4 Depth=1 ldr w4, [x1, #104] sub w3, w3, w4 madd w2, w3, w3, w2 cmp x17, x10 b.eq LBB0_40 LBB0_49: ; in Loop: Header=BB0_4 Depth=1 ldr w3, [x1, #48] sub w17, w17, w3 madd w2, w17, w17, w2 ldr x17, [x0, #112] cbnz x17, LBB0_41 b LBB0_42 LBB0_50: mov x0, x8 ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _UINT_MAX,4,2 ; @UINT_MAX .comm _GLFW_DONT_CARE,8,3 ; @GLFW_DONT_CARE .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_context.c__glfwChooseFBConfig.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwIsValidContextConfig ## -- Begin function _glfwIsValidContextConfig .p2align 4, 0x90 __glfwIsValidContextConfig: ## @_glfwIsValidContextConfig .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rdx movq _GLFW_NATIVE_CONTEXT_API@GOTPCREL(%rip), %rax cmpq (%rax), %rdx je LBB0_4 ## %bb.1: movq _GLFW_EGL_CONTEXT_API@GOTPCREL(%rip), %rax cmpq (%rax), %rdx je LBB0_4 ## %bb.2: movq _GLFW_INVALID_ENUM@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi jmp LBB0_3 LBB0_4: movq 8(%rdi), %rdx movq _GLFW_NO_API@GOTPCREL(%rip), %rsi movq _GLFW_OPENGL_API@GOTPCREL(%rip), %rax movq (%rax), %rcx movq _GLFW_OPENGL_ES_API@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq (%rsi), %rdx je LBB0_8 ## %bb.5: cmpq %rcx, %rdx je LBB0_8 ## %bb.6: cmpq %rax, %rdx je LBB0_8 ## %bb.7: movq _GLFW_INVALID_ENUM@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi LBB0_3: xorl %eax, %eax callq __glfwInputError LBB0_48: movq _GLFW_FALSE@GOTPCREL(%rip), %rax LBB0_49: movl (%rax), %eax popq %rbp retq LBB0_8: cmpq %rcx, %rdx jne LBB0_31 ## %bb.9: movl 16(%rdi), %edx movl 20(%rdi), %ecx testl %edx, %edx jle LBB0_22 ## %bb.10: testl %ecx, %ecx js LBB0_22 ## %bb.11: cmpl $1, %edx jne LBB0_13 ## %bb.12: cmpl $5, %ecx jbe LBB0_13 LBB0_22: movq _GLFW_INVALID_VALUE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.2(%rip), %rsi jmp LBB0_23 LBB0_31: cmpq %rax, %rdx jne LBB0_39 ## %bb.32: movl 16(%rdi), %edx movl 20(%rdi), %ecx testl %edx, %edx jle LBB0_38 ## %bb.33: testl %ecx, %ecx js LBB0_38 ## %bb.34: cmpl $1, %edx jne LBB0_36 ## %bb.35: cmpl $1, %ecx ja LBB0_38 LBB0_36: cmpl $2, %edx jne LBB0_39 ## %bb.37: testl %ecx, %ecx je LBB0_39 LBB0_38: movq _GLFW_INVALID_VALUE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.6(%rip), %rsi LBB0_23: xorl %eax, %eax callq __glfwInputError jmp LBB0_48 LBB0_13: cmpl $3, %edx je LBB0_21 ## %bb.14: cmpl $2, %edx jne LBB0_15 ## %bb.20: cmpl $1, %ecx ja LBB0_22 LBB0_15: xorl %r8d, %r8d jmp LBB0_16 LBB0_21: movb $1, %r8b cmpl $4, %ecx jae LBB0_22 LBB0_16: movl 24(%rdi), %eax testl %eax, %eax je LBB0_28 ## %bb.17: movq _GLFW_OPENGL_CORE_PROFILE@GOTPCREL(%rip), %rsi cmpl (%rsi), %eax je LBB0_24 ## %bb.18: movq _GLFW_OPENGL_COMPAT_PROFILE@GOTPCREL(%rip), %rsi cmpl (%rsi), %eax je LBB0_24 ## %bb.19: movq _GLFW_INVALID_ENUM@GOTPCREL(%rip), %rcx movl (%rcx), %edi leaq L_.str.3(%rip), %rsi movl %eax, %edx jmp LBB0_47 LBB0_28: cmpq $0, 40(%rdi) je LBB0_39 ## %bb.29: cmpl $2, %edx ja LBB0_39 ## %bb.30: movq _GLFW_INVALID_VALUE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.5(%rip), %rsi jmp LBB0_27 LBB0_24: cmpl $2, %ecx setb %al cmpl $3, %edx jb LBB0_26 ## %bb.25: andb %al, %r8b jne LBB0_26 LBB0_39: movl 28(%rdi), %edx testl %edx, %edx je LBB0_43 ## %bb.40: movq _GLFW_NO_RESET_NOTIFICATION@GOTPCREL(%rip), %rax cmpl (%rax), %edx je LBB0_43 ## %bb.41: movq _GLFW_LOSE_CONTEXT_ON_RESET@GOTPCREL(%rip), %rax cmpl (%rax), %edx je LBB0_43 ## %bb.42: movq _GLFW_INVALID_ENUM@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.7(%rip), %rsi jmp LBB0_47 LBB0_43: movl 32(%rdi), %edx movq _GLFW_TRUE@GOTPCREL(%rip), %rax testl %edx, %edx je LBB0_49 ## %bb.44: movq _GLFW_RELEASE_BEHAVIOR_NONE@GOTPCREL(%rip), %rcx cmpl (%rcx), %edx je LBB0_49 ## %bb.45: movq _GLFW_RELEASE_BEHAVIOR_FLUSH@GOTPCREL(%rip), %rcx cmpl (%rcx), %edx je LBB0_49 ## %bb.46: movq _GLFW_INVALID_ENUM@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.8(%rip), %rsi LBB0_47: xorl %eax, %eax callq __glfwInputError jmp LBB0_48 LBB0_26: movq _GLFW_INVALID_VALUE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.4(%rip), %rsi LBB0_27: xorl %eax, %eax callq __glfwInputError jmp LBB0_48 .cfi_endproc ## -- End function .comm _GLFW_NATIVE_CONTEXT_API,8,3 ## @GLFW_NATIVE_CONTEXT_API .comm _GLFW_EGL_CONTEXT_API,8,3 ## @GLFW_EGL_CONTEXT_API .comm _GLFW_INVALID_ENUM,4,2 ## @GLFW_INVALID_ENUM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Invalid context creation API %i" .comm _GLFW_FALSE,4,2 ## @GLFW_FALSE .comm _GLFW_NO_API,8,3 ## @GLFW_NO_API .comm _GLFW_OPENGL_API,8,3 ## @GLFW_OPENGL_API .comm _GLFW_OPENGL_ES_API,8,3 ## @GLFW_OPENGL_ES_API L_.str.1: ## @.str.1 .asciz "Invalid client API %i" .comm _GLFW_INVALID_VALUE,4,2 ## @GLFW_INVALID_VALUE L_.str.2: ## @.str.2 .asciz "Invalid OpenGL version %i.%i" .comm _GLFW_OPENGL_CORE_PROFILE,4,2 ## @GLFW_OPENGL_CORE_PROFILE .comm _GLFW_OPENGL_COMPAT_PROFILE,4,2 ## @GLFW_OPENGL_COMPAT_PROFILE L_.str.3: ## @.str.3 .asciz "Invalid OpenGL profile %i" L_.str.4: ## @.str.4 .asciz "Context profiles are only defined for OpenGL version 3.2 and above" L_.str.5: ## @.str.5 .asciz "Forward-compatibility is only defined for OpenGL version 3.0 and above" L_.str.6: ## @.str.6 .asciz "Invalid OpenGL ES version %i.%i" .comm _GLFW_NO_RESET_NOTIFICATION,4,2 ## @GLFW_NO_RESET_NOTIFICATION .comm _GLFW_LOSE_CONTEXT_ON_RESET,4,2 ## @GLFW_LOSE_CONTEXT_ON_RESET L_.str.7: ## @.str.7 .asciz "Invalid context robustness mode %i" .comm _GLFW_RELEASE_BEHAVIOR_NONE,4,2 ## @GLFW_RELEASE_BEHAVIOR_NONE .comm _GLFW_RELEASE_BEHAVIOR_FLUSH,4,2 ## @GLFW_RELEASE_BEHAVIOR_FLUSH L_.str.8: ## @.str.8 .asciz "Invalid context release behavior %i" .comm _GLFW_TRUE,4,2 ## @GLFW_TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwIsValidContextConfig ; -- Begin function _glfwIsValidContextConfig .p2align 2 __glfwIsValidContextConfig: ; @_glfwIsValidContextConfig .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 ldr x8, [x0] Lloh0: adrp x9, _GLFW_NATIVE_CONTEXT_API@GOTPAGE Lloh1: ldr x9, [x9, _GLFW_NATIVE_CONTEXT_API@GOTPAGEOFF] Lloh2: ldr x9, [x9] Lloh3: adrp x10, _GLFW_EGL_CONTEXT_API@GOTPAGE Lloh4: ldr x10, [x10, _GLFW_EGL_CONTEXT_API@GOTPAGEOFF] Lloh5: ldr x10, [x10] cmp x8, x9 ccmp x8, x10, #4, ne b.ne LBB0_8 ; %bb.1: ldr x8, [x0, #8] Lloh6: adrp x9, _GLFW_NO_API@GOTPAGE Lloh7: ldr x9, [x9, _GLFW_NO_API@GOTPAGEOFF] Lloh8: ldr x11, [x9] Lloh9: adrp x9, _GLFW_OPENGL_API@GOTPAGE Lloh10: ldr x9, [x9, _GLFW_OPENGL_API@GOTPAGEOFF] Lloh11: ldr x10, [x9] Lloh12: adrp x9, _GLFW_OPENGL_ES_API@GOTPAGE Lloh13: ldr x9, [x9, _GLFW_OPENGL_ES_API@GOTPAGEOFF] Lloh14: ldr x9, [x9] cmp x8, x11 ccmp x8, x10, #4, ne ccmp x8, x9, #4, ne b.ne LBB0_9 ; %bb.2: cmp x8, x10 b.ne LBB0_12 ; %bb.3: ldp w8, w9, [x0, #16] cmp w8, #1 b.lt LBB0_7 ; %bb.4: tbnz w9, #31, LBB0_7 ; %bb.5: cmp w8, #1 b.ne LBB0_20 ; %bb.6: cmp w9, #5 b.ls LBB0_20 LBB0_7: Lloh15: adrp x10, _GLFW_INVALID_VALUE@GOTPAGE Lloh16: ldr x10, [x10, _GLFW_INVALID_VALUE@GOTPAGEOFF] Lloh17: ldr w0, [x10] stp x8, x9, [sp] Lloh18: adrp x1, l_.str.2@PAGE Lloh19: add x1, x1, l_.str.2@PAGEOFF b LBB0_10 LBB0_8: Lloh20: adrp x9, _GLFW_INVALID_ENUM@GOTPAGE Lloh21: ldr x9, [x9, _GLFW_INVALID_ENUM@GOTPAGEOFF] Lloh22: ldr w0, [x9] str x8, [sp] Lloh23: adrp x1, l_.str@PAGE Lloh24: add x1, x1, l_.str@PAGEOFF b LBB0_10 LBB0_9: Lloh25: adrp x9, _GLFW_INVALID_ENUM@GOTPAGE Lloh26: ldr x9, [x9, _GLFW_INVALID_ENUM@GOTPAGEOFF] Lloh27: ldr w0, [x9] str x8, [sp] Lloh28: adrp x1, l_.str.1@PAGE Lloh29: add x1, x1, l_.str.1@PAGEOFF LBB0_10: bl __glfwInputError Lloh30: adrp x8, _GLFW_FALSE@GOTPAGE Lloh31: ldr x8, [x8, _GLFW_FALSE@GOTPAGEOFF] LBB0_11: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret LBB0_12: cmp x8, x9 b.ne LBB0_35 ; %bb.13: ldp w8, w9, [x0, #16] cmp w8, #1 b.lt LBB0_19 ; %bb.14: tbnz w9, #31, LBB0_19 ; %bb.15: cmp w8, #1 b.ne LBB0_17 ; %bb.16: cmp w9, #1 b.hi LBB0_19 LBB0_17: cmp w8, #2 b.ne LBB0_35 ; %bb.18: cbz w9, LBB0_35 LBB0_19: Lloh32: adrp x10, _GLFW_INVALID_VALUE@GOTPAGE Lloh33: ldr x10, [x10, _GLFW_INVALID_VALUE@GOTPAGEOFF] Lloh34: ldr w0, [x10] stp x8, x9, [sp] Lloh35: adrp x1, l_.str.6@PAGE Lloh36: add x1, x1, l_.str.6@PAGEOFF b LBB0_10 LBB0_20: cmp w8, #3 b.eq LBB0_24 ; %bb.21: cmp w8, #2 b.ne LBB0_23 ; %bb.22: cmp w9, #1 b.hi LBB0_7 LBB0_23: mov w10, #0 b LBB0_26 LBB0_24: cmp w9, #4 b.hs LBB0_7 ; %bb.25: mov w10, #1 LBB0_26: ldr w11, [x0, #24] cbz w11, LBB0_30 ; %bb.27: Lloh37: adrp x12, _GLFW_OPENGL_CORE_PROFILE@GOTPAGE Lloh38: ldr x12, [x12, _GLFW_OPENGL_CORE_PROFILE@GOTPAGEOFF] Lloh39: ldr w12, [x12] cmp w11, w12 b.eq LBB0_33 ; %bb.28: Lloh40: adrp x12, _GLFW_OPENGL_COMPAT_PROFILE@GOTPAGE Lloh41: ldr x12, [x12, _GLFW_OPENGL_COMPAT_PROFILE@GOTPAGEOFF] Lloh42: ldr w12, [x12] cmp w11, w12 b.eq LBB0_33 ; %bb.29: Lloh43: adrp x8, _GLFW_INVALID_ENUM@GOTPAGE Lloh44: ldr x8, [x8, _GLFW_INVALID_ENUM@GOTPAGEOFF] Lloh45: ldr w0, [x8] str x11, [sp] Lloh46: adrp x1, l_.str.3@PAGE Lloh47: add x1, x1, l_.str.3@PAGEOFF b LBB0_10 LBB0_30: ldr x9, [x0, #40] cbz x9, LBB0_35 ; %bb.31: cmp w8, #2 b.hi LBB0_35 ; %bb.32: Lloh48: adrp x8, _GLFW_INVALID_VALUE@GOTPAGE Lloh49: ldr x8, [x8, _GLFW_INVALID_VALUE@GOTPAGEOFF] Lloh50: ldr w0, [x8] Lloh51: adrp x1, l_.str.5@PAGE Lloh52: add x1, x1, l_.str.5@PAGEOFF b LBB0_10 LBB0_33: cmp w9, #2 cset w9, lo cmp w8, #3 b.lo LBB0_42 ; %bb.34: and w8, w10, w9 cbnz w8, LBB0_42 LBB0_35: ldr w8, [x0, #28] cbz w8, LBB0_38 ; %bb.36: Lloh53: adrp x9, _GLFW_NO_RESET_NOTIFICATION@GOTPAGE Lloh54: ldr x9, [x9, _GLFW_NO_RESET_NOTIFICATION@GOTPAGEOFF] Lloh55: ldr w9, [x9] Lloh56: adrp x10, _GLFW_LOSE_CONTEXT_ON_RESET@GOTPAGE Lloh57: ldr x10, [x10, _GLFW_LOSE_CONTEXT_ON_RESET@GOTPAGEOFF] Lloh58: ldr w10, [x10] cmp w8, w9 ccmp w8, w10, #4, ne b.eq LBB0_38 ; %bb.37: Lloh59: adrp x9, _GLFW_INVALID_ENUM@GOTPAGE Lloh60: ldr x9, [x9, _GLFW_INVALID_ENUM@GOTPAGEOFF] Lloh61: ldr w0, [x9] str x8, [sp] Lloh62: adrp x1, l_.str.7@PAGE Lloh63: add x1, x1, l_.str.7@PAGEOFF b LBB0_10 LBB0_38: ldr w9, [x0, #32] Lloh64: adrp x8, _GLFW_TRUE@GOTPAGE Lloh65: ldr x8, [x8, _GLFW_TRUE@GOTPAGEOFF] cbz w9, LBB0_11 ; %bb.39: Lloh66: adrp x10, _GLFW_RELEASE_BEHAVIOR_NONE@GOTPAGE Lloh67: ldr x10, [x10, _GLFW_RELEASE_BEHAVIOR_NONE@GOTPAGEOFF] Lloh68: ldr w10, [x10] cmp w9, w10 b.eq LBB0_11 ; %bb.40: Lloh69: adrp x10, _GLFW_RELEASE_BEHAVIOR_FLUSH@GOTPAGE Lloh70: ldr x10, [x10, _GLFW_RELEASE_BEHAVIOR_FLUSH@GOTPAGEOFF] Lloh71: ldr w10, [x10] cmp w9, w10 b.eq LBB0_11 ; %bb.41: Lloh72: adrp x8, _GLFW_INVALID_ENUM@GOTPAGE Lloh73: ldr x8, [x8, _GLFW_INVALID_ENUM@GOTPAGEOFF] Lloh74: ldr w0, [x8] str x9, [sp] Lloh75: adrp x1, l_.str.8@PAGE Lloh76: add x1, x1, l_.str.8@PAGEOFF b LBB0_10 LBB0_42: Lloh77: adrp x8, _GLFW_INVALID_VALUE@GOTPAGE Lloh78: ldr x8, [x8, _GLFW_INVALID_VALUE@GOTPAGEOFF] Lloh79: ldr w0, [x8] Lloh80: adrp x1, l_.str.4@PAGE Lloh81: add x1, x1, l_.str.4@PAGEOFF b LBB0_10 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGot Lloh30, Lloh31 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .loh AdrpAdd Lloh51, Lloh52 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58 .loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55 .loh AdrpAdd Lloh62, Lloh63 .loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61 .loh AdrpLdrGot Lloh64, Lloh65 .loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68 .loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71 .loh AdrpAdd Lloh75, Lloh76 .loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74 .loh AdrpAdd Lloh80, Lloh81 .loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79 .cfi_endproc ; -- End function .comm _GLFW_NATIVE_CONTEXT_API,8,3 ; @GLFW_NATIVE_CONTEXT_API .comm _GLFW_EGL_CONTEXT_API,8,3 ; @GLFW_EGL_CONTEXT_API .comm _GLFW_INVALID_ENUM,4,2 ; @GLFW_INVALID_ENUM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Invalid context creation API %i" .comm _GLFW_FALSE,4,2 ; @GLFW_FALSE .comm _GLFW_NO_API,8,3 ; @GLFW_NO_API .comm _GLFW_OPENGL_API,8,3 ; @GLFW_OPENGL_API .comm _GLFW_OPENGL_ES_API,8,3 ; @GLFW_OPENGL_ES_API l_.str.1: ; @.str.1 .asciz "Invalid client API %i" .comm _GLFW_INVALID_VALUE,4,2 ; @GLFW_INVALID_VALUE l_.str.2: ; @.str.2 .asciz "Invalid OpenGL version %i.%i" .comm _GLFW_OPENGL_CORE_PROFILE,4,2 ; @GLFW_OPENGL_CORE_PROFILE .comm _GLFW_OPENGL_COMPAT_PROFILE,4,2 ; @GLFW_OPENGL_COMPAT_PROFILE l_.str.3: ; @.str.3 .asciz "Invalid OpenGL profile %i" l_.str.4: ; @.str.4 .asciz "Context profiles are only defined for OpenGL version 3.2 and above" l_.str.5: ; @.str.5 .asciz "Forward-compatibility is only defined for OpenGL version 3.0 and above" l_.str.6: ; @.str.6 .asciz "Invalid OpenGL ES version %i.%i" .comm _GLFW_NO_RESET_NOTIFICATION,4,2 ; @GLFW_NO_RESET_NOTIFICATION .comm _GLFW_LOSE_CONTEXT_ON_RESET,4,2 ; @GLFW_LOSE_CONTEXT_ON_RESET l_.str.7: ; @.str.7 .asciz "Invalid context robustness mode %i" .comm _GLFW_RELEASE_BEHAVIOR_NONE,4,2 ; @GLFW_RELEASE_BEHAVIOR_NONE .comm _GLFW_RELEASE_BEHAVIOR_FLUSH,4,2 ; @GLFW_RELEASE_BEHAVIOR_FLUSH l_.str.8: ; @.str.8 .asciz "Invalid context release behavior %i" .comm _GLFW_TRUE,4,2 ; @GLFW_TRUE .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_context.c__glfwIsValidContextConfig.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwRefreshContextAttribs ## -- Begin function _glfwRefreshContextAttribs .p2align 4, 0x90 __glfwRefreshContextAttribs: ## @_glfwRefreshContextAttribs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 xorl %eax, %eax callq __glfwPlatformGetCurrentContext movq %rax, %r13 movl 24(%r14), %eax movl %eax, 112(%r13) movq _GLFW_OPENGL_API@GOTPCREL(%rip), %r15 movq (%r15), %rax movq %rax, (%r13) leaq L_.str.3(%rip), %rdi callq *24(%r13) movq %rax, 40(%r13) leaq L_.str.4(%rip), %rdi callq *24(%r13) movq %rax, 104(%r13) cmpq $0, 40(%r13) je LBB0_32 ## %bb.1: testq %rax, %rax je LBB0_32 ## %bb.2: movq _GL_VERSION@GOTPCREL(%rip), %rcx movl (%rcx), %edi callq *%rax testq %rax, %rax je LBB0_13 ## %bb.3: movq %rax, %rbx leaq L_.str(%rip), %rsi movl $13, %r12d movl $13, %edx movq %rax, %rdi callq _strncmp testq %rax, %rax je LBB0_6 ## %bb.4: leaq L_.str.1(%rip), %rsi movl $13, %r12d movl $13, %edx movq %rbx, %rdi callq _strncmp testq %rax, %rax je LBB0_6 ## %bb.5: leaq L_.str.2(%rip), %rsi movl $10, %r12d movl $10, %edx movq %rbx, %rdi callq _strncmp testq %rax, %rax jne LBB0_7 LBB0_6: addq %r12, %rbx movq _GLFW_OPENGL_ES_API@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, (%r13) LBB0_7: leaq 8(%r13), %r12 leaq 12(%r13), %rax movq %r13, %r8 addq $96, %r8 leaq L_.str.8(%rip), %rsi movq %rbx, %rdi movq %rax, %rbx movq %r12, %rdx movq %rax, %rcx callq _sscanf testl %eax, %eax je LBB0_15 ## %bb.8: movl (%r12), %r8d movl 8(%r14), %edx cmpl %edx, %r8d jl LBB0_11 ## %bb.9: jne LBB0_18 ## %bb.10: movl (%rbx), %eax cmpl 12(%r14), %eax jge LBB0_18 LBB0_11: movq (%r13), %rax movq _GLFW_VERSION_UNAVAILABLE@GOTPCREL(%rip), %rcx movl (%rcx), %edi movl 12(%r14), %ecx movl 12(%r13), %r9d cmpq (%r15), %rax jne LBB0_36 ## %bb.12: leaq L_.str.11(%rip), %rsi jmp LBB0_37 LBB0_13: movq (%r14), %rax movq _GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rcx movl (%rcx), %edi cmpq (%r15), %rax jne LBB0_17 ## %bb.14: leaq L_.str.6(%rip), %rsi jmp LBB0_33 LBB0_15: movq (%r13), %rax movq _GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rcx movl (%rcx), %edi cmpq (%r15), %rax jne LBB0_38 ## %bb.16: leaq L_.str.9(%rip), %rsi jmp LBB0_33 LBB0_17: leaq L_.str.7(%rip), %rsi jmp LBB0_33 LBB0_18: cmpl $3, %r8d jl LBB0_20 ## %bb.19: leaq L_.str.13(%rip), %rdi callq *24(%r13) movq %rax, 88(%r13) testq %rax, %rax je LBB0_32 LBB0_20: movq (%r13), %rax cmpq (%r15), %rax jne LBB0_39 ## %bb.21: cmpl $3, (%r12) jl LBB0_50 ## %bb.22: movq _GL_CONTEXT_FLAGS@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -44(%rbp), %rsi callq *40(%r13) movl -44(%rbp), %eax movq _GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_24 ## %bb.23: movq _GLFW_TRUE@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq %rcx, 80(%r13) LBB0_24: movq _GL_CONTEXT_FLAG_DEBUG_BIT@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_46 LBB0_25: movq _GLFW_TRUE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 72(%r13) LBB0_26: movq _GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, -44(%rbp) je LBB0_28 ## %bb.27: movq _GLFW_TRUE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 64(%r13) LBB0_28: cmpl $3, (%r12) jle LBB0_44 LBB0_29: movq _GL_CONTEXT_PROFILE_MASK@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -44(%rbp), %rsi callq *40(%r13) movl -44(%rbp), %eax movq _GL_CONTEXT_COMPATIBILITY_PROFILE_BIT@GOTPCREL(%rip), %rcx movq _GLFW_OPENGL_COMPAT_PROFILE@GOTPCREL(%rip), %rbx testl %eax, (%rcx) jne LBB0_49 ## %bb.30: movq _GL_CONTEXT_CORE_PROFILE_BIT@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_48 ## %bb.31: movq _GLFW_OPENGL_CORE_PROFILE@GOTPCREL(%rip), %rbx jmp LBB0_49 LBB0_32: movq _GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.5(%rip), %rsi LBB0_33: xorl %eax, %eax callq __glfwInputError LBB0_34: movq _GLFW_FALSE@GOTPCREL(%rip), %rax LBB0_35: movq (%rax), %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_36: leaq L_.str.12(%rip), %rsi LBB0_37: xorl %eax, %eax callq __glfwInputError jmp LBB0_34 LBB0_38: leaq L_.str.10(%rip), %rsi jmp LBB0_33 LBB0_39: leaq L_.str.17(%rip), %rdi jmp LBB0_40 LBB0_44: jne LBB0_50 ## %bb.45: cmpl $2, (%rbx) jge LBB0_29 jmp LBB0_50 LBB0_46: leaq L_.str.14(%rip), %rdi callq _glfwExtensionSupported testq %rax, %rax je LBB0_26 ## %bb.47: cmpq $0, 16(%r14) jne LBB0_25 jmp LBB0_26 LBB0_48: leaq L_.str.15(%rip), %rdi callq _glfwExtensionSupported testq %rax, %rax je LBB0_50 LBB0_49: movq (%rbx), %rax movq %rax, 56(%r13) LBB0_50: leaq L_.str.16(%rip), %rdi LBB0_40: callq _glfwExtensionSupported testq %rax, %rax je LBB0_53 ## %bb.41: movq _GL_RESET_NOTIFICATION_STRATEGY_ARB@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -44(%rbp), %rsi callq *40(%r13) movl -44(%rbp), %eax movq _GL_LOSE_CONTEXT_ON_RESET_ARB@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_42 ## %bb.51: movq _GLFW_LOSE_CONTEXT_ON_RESET@GOTPCREL(%rip), %rax jmp LBB0_52 LBB0_42: movq _GL_NO_RESET_NOTIFICATION_ARB@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_53 ## %bb.43: movq _GLFW_NO_RESET_NOTIFICATION@GOTPCREL(%rip), %rax LBB0_52: movq (%rax), %rax movq %rax, 48(%r13) LBB0_53: leaq L_.str.18(%rip), %rdi callq _glfwExtensionSupported testq %rax, %rax je LBB0_59 ## %bb.54: movq _GL_CONTEXT_RELEASE_BEHAVIOR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -44(%rbp), %rsi callq *40(%r13) movl -44(%rbp), %eax movq _GL_NONE@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_56 ## %bb.55: movq _GLFW_RELEASE_BEHAVIOR_NONE@GOTPCREL(%rip), %rax jmp LBB0_58 LBB0_56: movq _GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_59 ## %bb.57: movq _GLFW_RELEASE_BEHAVIOR_FLUSH@GOTPCREL(%rip), %rax LBB0_58: movl (%rax), %eax movl %eax, 32(%r13) LBB0_59: leaq L_.str.19(%rip), %rdi callq *24(%r13) movq _GL_COLOR_BUFFER_BIT@GOTPCREL(%rip), %rcx movl (%rcx), %edi callq *%rax movq %r13, %rdi callq *16(%r13) movq _GLFW_TRUE@GOTPCREL(%rip), %rax jmp LBB0_35 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "OpenGL ES-CM " L_.str.1: ## @.str.1 .asciz "OpenGL ES-CL " L_.str.2: ## @.str.2 .asciz "OpenGL ES " .comm _GLFW_OPENGL_API,8,3 ## @GLFW_OPENGL_API L_.str.3: ## @.str.3 .asciz "glGetIntegerv" L_.str.4: ## @.str.4 .asciz "glGetString" .comm _GLFW_PLATFORM_ERROR,4,2 ## @GLFW_PLATFORM_ERROR L_.str.5: ## @.str.5 .asciz "Entry point retrieval is broken" .comm _GLFW_FALSE,8,3 ## @GLFW_FALSE .comm _GL_VERSION,4,2 ## @GL_VERSION L_.str.6: ## @.str.6 .asciz "OpenGL version string retrieval is broken" L_.str.7: ## @.str.7 .asciz "OpenGL ES version string retrieval is broken" .comm _GLFW_OPENGL_ES_API,8,3 ## @GLFW_OPENGL_ES_API L_.str.8: ## @.str.8 .asciz "%d.%d.%d" L_.str.9: ## @.str.9 .asciz "No version found in OpenGL version string" L_.str.10: ## @.str.10 .asciz "No version found in OpenGL ES version string" .comm _GLFW_VERSION_UNAVAILABLE,4,2 ## @GLFW_VERSION_UNAVAILABLE L_.str.11: ## @.str.11 .asciz "Requested OpenGL version %i.%i, got version %i.%i" L_.str.12: ## @.str.12 .asciz "Requested OpenGL ES version %i.%i, got version %i.%i" L_.str.13: ## @.str.13 .asciz "glGetStringi" .comm _GL_CONTEXT_FLAGS,4,2 ## @GL_CONTEXT_FLAGS .comm _GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT,4,2 ## @GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT .comm _GLFW_TRUE,8,3 ## @GLFW_TRUE .comm _GL_CONTEXT_FLAG_DEBUG_BIT,4,2 ## @GL_CONTEXT_FLAG_DEBUG_BIT L_.str.14: ## @.str.14 .asciz "GL_ARB_debug_output" .comm _GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR,4,2 ## @GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR .comm _GL_CONTEXT_PROFILE_MASK,4,2 ## @GL_CONTEXT_PROFILE_MASK .comm _GL_CONTEXT_COMPATIBILITY_PROFILE_BIT,4,2 ## @GL_CONTEXT_COMPATIBILITY_PROFILE_BIT .comm _GLFW_OPENGL_COMPAT_PROFILE,8,3 ## @GLFW_OPENGL_COMPAT_PROFILE .comm _GL_CONTEXT_CORE_PROFILE_BIT,4,2 ## @GL_CONTEXT_CORE_PROFILE_BIT .comm _GLFW_OPENGL_CORE_PROFILE,8,3 ## @GLFW_OPENGL_CORE_PROFILE L_.str.15: ## @.str.15 .asciz "GL_ARB_compatibility" L_.str.16: ## @.str.16 .asciz "GL_ARB_robustness" .comm _GL_RESET_NOTIFICATION_STRATEGY_ARB,4,2 ## @GL_RESET_NOTIFICATION_STRATEGY_ARB .comm _GL_LOSE_CONTEXT_ON_RESET_ARB,4,2 ## @GL_LOSE_CONTEXT_ON_RESET_ARB .comm _GLFW_LOSE_CONTEXT_ON_RESET,8,3 ## @GLFW_LOSE_CONTEXT_ON_RESET .comm _GL_NO_RESET_NOTIFICATION_ARB,4,2 ## @GL_NO_RESET_NOTIFICATION_ARB .comm _GLFW_NO_RESET_NOTIFICATION,8,3 ## @GLFW_NO_RESET_NOTIFICATION L_.str.17: ## @.str.17 .asciz "GL_EXT_robustness" L_.str.18: ## @.str.18 .asciz "GL_KHR_context_flush_control" .comm _GL_CONTEXT_RELEASE_BEHAVIOR,4,2 ## @GL_CONTEXT_RELEASE_BEHAVIOR .comm _GL_NONE,4,2 ## @GL_NONE .comm _GLFW_RELEASE_BEHAVIOR_NONE,4,2 ## @GLFW_RELEASE_BEHAVIOR_NONE .comm _GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH,4,2 ## @GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH .comm _GLFW_RELEASE_BEHAVIOR_FLUSH,4,2 ## @GLFW_RELEASE_BEHAVIOR_FLUSH L_.str.19: ## @.str.19 .asciz "glClear" .comm _GL_COLOR_BUFFER_BIT,4,2 ## @GL_COLOR_BUFFER_BIT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwRefreshContextAttribs ; -- Begin function _glfwRefreshContextAttribs .p2align 2 __glfwRefreshContextAttribs: ; @_glfwRefreshContextAttribs .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x0 bl __glfwPlatformGetCurrentContext mov x19, x0 ldr w8, [x20, #24] str w8, [x0, #112] Lloh0: adrp x24, _GLFW_OPENGL_API@GOTPAGE Lloh1: ldr x24, [x24, _GLFW_OPENGL_API@GOTPAGEOFF] ldr x8, [x24] str x8, [x0] ldr x8, [x0, #24] Lloh2: adrp x0, l_.str.3@PAGE Lloh3: add x0, x0, l_.str.3@PAGEOFF blr x8 str x0, [x19, #40] ldr x8, [x19, #24] Lloh4: adrp x0, l_.str.4@PAGE Lloh5: add x0, x0, l_.str.4@PAGEOFF blr x8 str x0, [x19, #104] ldr x9, [x19, #40] cmp x9, #0 ccmp x0, #0, #4, ne b.ne LBB0_4 LBB0_1: Lloh6: adrp x8, _GLFW_PLATFORM_ERROR@GOTPAGE Lloh7: ldr x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF] Lloh8: ldr w0, [x8] Lloh9: adrp x1, l_.str.5@PAGE Lloh10: add x1, x1, l_.str.5@PAGEOFF LBB0_2: bl __glfwInputError Lloh11: adrp x8, _GLFW_FALSE@GOTPAGE Lloh12: ldr x8, [x8, _GLFW_FALSE@GOTPAGEOFF] LBB0_3: ldr x0, [x8] ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_4: mov x8, x0 Lloh13: adrp x9, _GL_VERSION@GOTPAGE Lloh14: ldr x9, [x9, _GL_VERSION@GOTPAGEOFF] Lloh15: ldr w0, [x9] blr x8 cbz x0, LBB0_15 ; %bb.5: mov x23, x0 Lloh16: adrp x1, l_.str@PAGE Lloh17: add x1, x1, l_.str@PAGEOFF mov w21, #13 mov w2, #13 bl _strncmp cbz x0, LBB0_8 ; %bb.6: Lloh18: adrp x1, l_.str.1@PAGE Lloh19: add x1, x1, l_.str.1@PAGEOFF mov w21, #13 mov x0, x23 mov w2, #13 bl _strncmp cbz x0, LBB0_8 ; %bb.7: Lloh20: adrp x1, l_.str.2@PAGE Lloh21: add x1, x1, l_.str.2@PAGEOFF mov w21, #10 mov x0, x23 mov w2, #10 bl _strncmp cbnz x0, LBB0_9 LBB0_8: add x23, x23, x21 Lloh22: adrp x8, _GLFW_OPENGL_ES_API@GOTPAGE Lloh23: ldr x8, [x8, _GLFW_OPENGL_ES_API@GOTPAGEOFF] Lloh24: ldr x8, [x8] str x8, [x19] LBB0_9: add x22, x19, #8 add x21, x19, #12 add x4, x19, #96 Lloh25: adrp x1, l_.str.8@PAGE Lloh26: add x1, x1, l_.str.8@PAGEOFF mov x0, x23 mov x2, x22 mov x3, x21 bl _sscanf cbz w0, LBB0_17 ; %bb.10: ldr w9, [x22] ldr w8, [x20, #8] cmp w9, w8 b.lt LBB0_13 ; %bb.11: b.ne LBB0_20 ; %bb.12: ldr w10, [x21] ldr w11, [x20, #12] cmp w10, w11 b.ge LBB0_20 LBB0_13: ldr x12, [x19] ldr x13, [x24] Lloh27: adrp x10, _GLFW_VERSION_UNAVAILABLE@GOTPAGE Lloh28: ldr x10, [x10, _GLFW_VERSION_UNAVAILABLE@GOTPAGEOFF] Lloh29: ldr w0, [x10] ldr w10, [x20, #12] ldr w11, [x19, #12] cmp x12, x13 b.ne LBB0_33 ; %bb.14: stp x9, x11, [sp, #16] stp x8, x10, [sp] Lloh30: adrp x1, l_.str.11@PAGE Lloh31: add x1, x1, l_.str.11@PAGEOFF b LBB0_2 LBB0_15: ldr x8, [x20] ldr x9, [x24] Lloh32: adrp x10, _GLFW_PLATFORM_ERROR@GOTPAGE Lloh33: ldr x10, [x10, _GLFW_PLATFORM_ERROR@GOTPAGEOFF] Lloh34: ldr w0, [x10] cmp x8, x9 b.ne LBB0_19 ; %bb.16: Lloh35: adrp x1, l_.str.6@PAGE Lloh36: add x1, x1, l_.str.6@PAGEOFF b LBB0_2 LBB0_17: ldr x8, [x19] ldr x9, [x24] Lloh37: adrp x10, _GLFW_PLATFORM_ERROR@GOTPAGE Lloh38: ldr x10, [x10, _GLFW_PLATFORM_ERROR@GOTPAGEOFF] Lloh39: ldr w0, [x10] cmp x8, x9 b.ne LBB0_34 ; %bb.18: Lloh40: adrp x1, l_.str.9@PAGE Lloh41: add x1, x1, l_.str.9@PAGEOFF b LBB0_2 LBB0_19: Lloh42: adrp x1, l_.str.7@PAGE Lloh43: add x1, x1, l_.str.7@PAGEOFF b LBB0_2 LBB0_20: cmp w9, #3 b.lt LBB0_22 ; %bb.21: ldr x8, [x19, #24] Lloh44: adrp x0, l_.str.13@PAGE Lloh45: add x0, x0, l_.str.13@PAGEOFF blr x8 str x0, [x19, #88] cbz x0, LBB0_1 LBB0_22: ldr x8, [x19] ldr x9, [x24] cmp x8, x9 b.ne LBB0_35 ; %bb.23: ldr w8, [x22] cmp w8, #3 b.lt LBB0_43 ; %bb.24: Lloh46: adrp x23, _GLFW_TRUE@GOTPAGE Lloh47: ldr x23, [x23, _GLFW_TRUE@GOTPAGEOFF] ldr x8, [x19, #40] Lloh48: adrp x9, _GL_CONTEXT_FLAGS@GOTPAGE Lloh49: ldr x9, [x9, _GL_CONTEXT_FLAGS@GOTPAGEOFF] Lloh50: ldr w0, [x9] add x1, sp, #44 blr x8 ldr w8, [sp, #44] Lloh51: adrp x9, _GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT@GOTPAGE Lloh52: ldr x9, [x9, _GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT@GOTPAGEOFF] Lloh53: ldr w9, [x9] tst w9, w8 b.eq LBB0_26 ; %bb.25: ldr x9, [x23] str x9, [x19, #80] LBB0_26: Lloh54: adrp x9, _GL_CONTEXT_FLAG_DEBUG_BIT@GOTPAGE Lloh55: ldr x9, [x9, _GL_CONTEXT_FLAG_DEBUG_BIT@GOTPAGEOFF] Lloh56: ldr w9, [x9] tst w9, w8 b.eq LBB0_38 LBB0_27: ldr x8, [x23] str x8, [x19, #72] LBB0_28: ldr w8, [sp, #44] Lloh57: adrp x9, _GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR@GOTPAGE Lloh58: ldr x9, [x9, _GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR@GOTPAGEOFF] Lloh59: ldr w9, [x9] tst w9, w8 b.eq LBB0_30 ; %bb.29: ldr x8, [x23] str x8, [x19, #64] LBB0_30: ldr w8, [x22] cmp w8, #3 b.le LBB0_36 LBB0_31: ldr x8, [x19, #40] Lloh60: adrp x9, _GL_CONTEXT_PROFILE_MASK@GOTPAGE Lloh61: ldr x9, [x9, _GL_CONTEXT_PROFILE_MASK@GOTPAGEOFF] Lloh62: ldr w0, [x9] add x1, sp, #44 blr x8 ldr w8, [sp, #44] Lloh63: adrp x9, _GL_CONTEXT_COMPATIBILITY_PROFILE_BIT@GOTPAGE Lloh64: ldr x9, [x9, _GL_CONTEXT_COMPATIBILITY_PROFILE_BIT@GOTPAGEOFF] Lloh65: ldr w9, [x9] tst w9, w8 b.eq LBB0_40 LBB0_32: Lloh66: adrp x8, _GLFW_OPENGL_COMPAT_PROFILE@GOTPAGE Lloh67: ldr x8, [x8, _GLFW_OPENGL_COMPAT_PROFILE@GOTPAGEOFF] b LBB0_42 LBB0_33: ; kill: def $w11 killed $w11 killed $x11 def $x11 ; kill: def $w9 killed $w9 killed $x9 def $x9 stp x9, x11, [sp, #16] ; kill: def $w10 killed $w10 killed $x10 def $x10 ; kill: def $w8 killed $w8 killed $x8 def $x8 stp x8, x10, [sp] Lloh68: adrp x1, l_.str.12@PAGE Lloh69: add x1, x1, l_.str.12@PAGEOFF b LBB0_2 LBB0_34: Lloh70: adrp x1, l_.str.10@PAGE Lloh71: add x1, x1, l_.str.10@PAGEOFF b LBB0_2 LBB0_35: Lloh72: adrp x0, l_.str.17@PAGE Lloh73: add x0, x0, l_.str.17@PAGEOFF bl _glfwExtensionSupported cbnz x0, LBB0_44 b LBB0_49 LBB0_36: b.ne LBB0_43 ; %bb.37: ldr w8, [x21] cmp w8, #2 b.ge LBB0_31 b LBB0_43 LBB0_38: Lloh74: adrp x0, l_.str.14@PAGE Lloh75: add x0, x0, l_.str.14@PAGEOFF bl _glfwExtensionSupported cbz x0, LBB0_28 ; %bb.39: ldr x8, [x20, #16] cbnz x8, LBB0_27 b LBB0_28 LBB0_40: Lloh76: adrp x9, _GL_CONTEXT_CORE_PROFILE_BIT@GOTPAGE Lloh77: ldr x9, [x9, _GL_CONTEXT_CORE_PROFILE_BIT@GOTPAGEOFF] Lloh78: ldr w9, [x9] tst w9, w8 b.eq LBB0_56 ; %bb.41: Lloh79: adrp x8, _GLFW_OPENGL_CORE_PROFILE@GOTPAGE Lloh80: ldr x8, [x8, _GLFW_OPENGL_CORE_PROFILE@GOTPAGEOFF] LBB0_42: ldr x8, [x8] str x8, [x19, #56] LBB0_43: Lloh81: adrp x0, l_.str.16@PAGE Lloh82: add x0, x0, l_.str.16@PAGEOFF bl _glfwExtensionSupported cbz x0, LBB0_49 LBB0_44: ldr x8, [x19, #40] Lloh83: adrp x9, _GL_RESET_NOTIFICATION_STRATEGY_ARB@GOTPAGE Lloh84: ldr x9, [x9, _GL_RESET_NOTIFICATION_STRATEGY_ARB@GOTPAGEOFF] Lloh85: ldr w0, [x9] add x1, sp, #44 blr x8 ldr w8, [sp, #44] Lloh86: adrp x9, _GL_LOSE_CONTEXT_ON_RESET_ARB@GOTPAGE Lloh87: ldr x9, [x9, _GL_LOSE_CONTEXT_ON_RESET_ARB@GOTPAGEOFF] Lloh88: ldr w9, [x9] cmp w8, w9 b.ne LBB0_46 ; %bb.45: Lloh89: adrp x8, _GLFW_LOSE_CONTEXT_ON_RESET@GOTPAGE Lloh90: ldr x8, [x8, _GLFW_LOSE_CONTEXT_ON_RESET@GOTPAGEOFF] b LBB0_48 LBB0_46: Lloh91: adrp x9, _GL_NO_RESET_NOTIFICATION_ARB@GOTPAGE Lloh92: ldr x9, [x9, _GL_NO_RESET_NOTIFICATION_ARB@GOTPAGEOFF] Lloh93: ldr w9, [x9] cmp w8, w9 b.ne LBB0_49 ; %bb.47: Lloh94: adrp x8, _GLFW_NO_RESET_NOTIFICATION@GOTPAGE Lloh95: ldr x8, [x8, _GLFW_NO_RESET_NOTIFICATION@GOTPAGEOFF] LBB0_48: ldr x8, [x8] str x8, [x19, #48] LBB0_49: Lloh96: adrp x0, l_.str.18@PAGE Lloh97: add x0, x0, l_.str.18@PAGEOFF bl _glfwExtensionSupported cbz x0, LBB0_55 ; %bb.50: ldr x8, [x19, #40] Lloh98: adrp x9, _GL_CONTEXT_RELEASE_BEHAVIOR@GOTPAGE Lloh99: ldr x9, [x9, _GL_CONTEXT_RELEASE_BEHAVIOR@GOTPAGEOFF] Lloh100: ldr w0, [x9] add x1, sp, #44 blr x8 ldr w8, [sp, #44] Lloh101: adrp x9, _GL_NONE@GOTPAGE Lloh102: ldr x9, [x9, _GL_NONE@GOTPAGEOFF] Lloh103: ldr w9, [x9] cmp w8, w9 b.ne LBB0_52 ; %bb.51: Lloh104: adrp x8, _GLFW_RELEASE_BEHAVIOR_NONE@GOTPAGE Lloh105: ldr x8, [x8, _GLFW_RELEASE_BEHAVIOR_NONE@GOTPAGEOFF] b LBB0_54 LBB0_52: Lloh106: adrp x9, _GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH@GOTPAGE Lloh107: ldr x9, [x9, _GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH@GOTPAGEOFF] Lloh108: ldr w9, [x9] cmp w8, w9 b.ne LBB0_55 ; %bb.53: Lloh109: adrp x8, _GLFW_RELEASE_BEHAVIOR_FLUSH@GOTPAGE Lloh110: ldr x8, [x8, _GLFW_RELEASE_BEHAVIOR_FLUSH@GOTPAGEOFF] LBB0_54: ldr w8, [x8] str w8, [x19, #32] LBB0_55: ldr x8, [x19, #24] Lloh111: adrp x0, l_.str.19@PAGE Lloh112: add x0, x0, l_.str.19@PAGEOFF blr x8 mov x8, x0 Lloh113: adrp x9, _GL_COLOR_BUFFER_BIT@GOTPAGE Lloh114: ldr x9, [x9, _GL_COLOR_BUFFER_BIT@GOTPAGEOFF] Lloh115: ldr w0, [x9] blr x8 ldr x8, [x19, #16] mov x0, x19 blr x8 Lloh116: adrp x8, _GLFW_TRUE@GOTPAGE Lloh117: ldr x8, [x8, _GLFW_TRUE@GOTPAGEOFF] b LBB0_3 LBB0_56: Lloh118: adrp x0, l_.str.15@PAGE Lloh119: add x0, x0, l_.str.15@PAGEOFF bl _glfwExtensionSupported cbnz x0, LBB0_32 b LBB0_43 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .loh AdrpLdrGot Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59 .loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65 .loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62 .loh AdrpLdrGot Lloh66, Lloh67 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpAdd Lloh70, Lloh71 .loh AdrpAdd Lloh72, Lloh73 .loh AdrpAdd Lloh74, Lloh75 .loh AdrpLdrGotLdr Lloh76, Lloh77, Lloh78 .loh AdrpLdrGot Lloh79, Lloh80 .loh AdrpAdd Lloh81, Lloh82 .loh AdrpLdrGotLdr Lloh86, Lloh87, Lloh88 .loh AdrpLdrGotLdr Lloh83, Lloh84, Lloh85 .loh AdrpLdrGot Lloh89, Lloh90 .loh AdrpLdrGotLdr Lloh91, Lloh92, Lloh93 .loh AdrpLdrGot Lloh94, Lloh95 .loh AdrpAdd Lloh96, Lloh97 .loh AdrpLdrGotLdr Lloh101, Lloh102, Lloh103 .loh AdrpLdrGotLdr Lloh98, Lloh99, Lloh100 .loh AdrpLdrGot Lloh104, Lloh105 .loh AdrpLdrGotLdr Lloh106, Lloh107, Lloh108 .loh AdrpLdrGot Lloh109, Lloh110 .loh AdrpLdrGot Lloh116, Lloh117 .loh AdrpLdrGotLdr Lloh113, Lloh114, Lloh115 .loh AdrpAdd Lloh111, Lloh112 .loh AdrpAdd Lloh118, Lloh119 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "OpenGL ES-CM " l_.str.1: ; @.str.1 .asciz "OpenGL ES-CL " l_.str.2: ; @.str.2 .asciz "OpenGL ES " .comm _GLFW_OPENGL_API,8,3 ; @GLFW_OPENGL_API l_.str.3: ; @.str.3 .asciz "glGetIntegerv" l_.str.4: ; @.str.4 .asciz "glGetString" .comm _GLFW_PLATFORM_ERROR,4,2 ; @GLFW_PLATFORM_ERROR l_.str.5: ; @.str.5 .asciz "Entry point retrieval is broken" .comm _GLFW_FALSE,8,3 ; @GLFW_FALSE .comm _GL_VERSION,4,2 ; @GL_VERSION l_.str.6: ; @.str.6 .asciz "OpenGL version string retrieval is broken" l_.str.7: ; @.str.7 .asciz "OpenGL ES version string retrieval is broken" .comm _GLFW_OPENGL_ES_API,8,3 ; @GLFW_OPENGL_ES_API l_.str.8: ; @.str.8 .asciz "%d.%d.%d" l_.str.9: ; @.str.9 .asciz "No version found in OpenGL version string" l_.str.10: ; @.str.10 .asciz "No version found in OpenGL ES version string" .comm _GLFW_VERSION_UNAVAILABLE,4,2 ; @GLFW_VERSION_UNAVAILABLE l_.str.11: ; @.str.11 .asciz "Requested OpenGL version %i.%i, got version %i.%i" l_.str.12: ; @.str.12 .asciz "Requested OpenGL ES version %i.%i, got version %i.%i" l_.str.13: ; @.str.13 .asciz "glGetStringi" .comm _GL_CONTEXT_FLAGS,4,2 ; @GL_CONTEXT_FLAGS .comm _GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT,4,2 ; @GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT .comm _GLFW_TRUE,8,3 ; @GLFW_TRUE .comm _GL_CONTEXT_FLAG_DEBUG_BIT,4,2 ; @GL_CONTEXT_FLAG_DEBUG_BIT l_.str.14: ; @.str.14 .asciz "GL_ARB_debug_output" .comm _GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR,4,2 ; @GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR .comm _GL_CONTEXT_PROFILE_MASK,4,2 ; @GL_CONTEXT_PROFILE_MASK .comm _GL_CONTEXT_COMPATIBILITY_PROFILE_BIT,4,2 ; @GL_CONTEXT_COMPATIBILITY_PROFILE_BIT .comm _GLFW_OPENGL_COMPAT_PROFILE,8,3 ; @GLFW_OPENGL_COMPAT_PROFILE .comm _GL_CONTEXT_CORE_PROFILE_BIT,4,2 ; @GL_CONTEXT_CORE_PROFILE_BIT .comm _GLFW_OPENGL_CORE_PROFILE,8,3 ; @GLFW_OPENGL_CORE_PROFILE l_.str.15: ; @.str.15 .asciz "GL_ARB_compatibility" l_.str.16: ; @.str.16 .asciz "GL_ARB_robustness" .comm _GL_RESET_NOTIFICATION_STRATEGY_ARB,4,2 ; @GL_RESET_NOTIFICATION_STRATEGY_ARB .comm _GL_LOSE_CONTEXT_ON_RESET_ARB,4,2 ; @GL_LOSE_CONTEXT_ON_RESET_ARB .comm _GLFW_LOSE_CONTEXT_ON_RESET,8,3 ; @GLFW_LOSE_CONTEXT_ON_RESET .comm _GL_NO_RESET_NOTIFICATION_ARB,4,2 ; @GL_NO_RESET_NOTIFICATION_ARB .comm _GLFW_NO_RESET_NOTIFICATION,8,3 ; @GLFW_NO_RESET_NOTIFICATION l_.str.17: ; @.str.17 .asciz "GL_EXT_robustness" l_.str.18: ; @.str.18 .asciz "GL_KHR_context_flush_control" .comm _GL_CONTEXT_RELEASE_BEHAVIOR,4,2 ; @GL_CONTEXT_RELEASE_BEHAVIOR .comm _GL_NONE,4,2 ; @GL_NONE .comm _GLFW_RELEASE_BEHAVIOR_NONE,4,2 ; @GLFW_RELEASE_BEHAVIOR_NONE .comm _GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH,4,2 ; @GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH .comm _GLFW_RELEASE_BEHAVIOR_FLUSH,4,2 ; @GLFW_RELEASE_BEHAVIOR_FLUSH l_.str.19: ; @.str.19 .asciz "glClear" .comm _GL_COLOR_BUFFER_BIT,4,2 ; @GL_COLOR_BUFFER_BIT .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_context.c__glfwRefreshContextAttribs.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwStringInExtensionString ## -- Begin function _glfwStringInExtensionString .p2align 4, 0x90 __glfwStringInExtensionString: ## @_glfwStringInExtensionString .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r14 movq %rsi, %rdi movq %r14, %rsi callq _strstr movq _GLFW_FALSE@GOTPCREL(%rip), %r12 testq %rax, %rax je LBB0_7 ## %bb.1: movq %rax, %rbx jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 testb $-33, (%r15) je LBB0_5 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movq %r15, %rdi movq %r14, %rsi callq _strstr movq %rax, %rbx testq %rax, %rax je LBB0_7 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r15, %r13 movq %r14, %rdi callq _strlen movslq %eax, %r15 addq %rbx, %r15 cmpq %r13, %rbx je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 cmpb $32, -1(%rbx) je LBB0_4 jmp LBB0_6 LBB0_5: movq _GLFW_TRUE@GOTPCREL(%rip), %r12 LBB0_7: movl (%r12), %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GLFW_FALSE,4,2 ## @GLFW_FALSE .comm _GLFW_TRUE,4,2 ## @GLFW_TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwStringInExtensionString ; -- Begin function _glfwStringInExtensionString .p2align 2 __glfwStringInExtensionString: ; @_glfwStringInExtensionString .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x1 mov x19, x0 mov x0, x1 mov x1, x19 bl _strstr cbz x0, LBB0_6 ; %bb.1: mov x21, x0 Lloh0: adrp x22, _GLFW_TRUE@GOTPAGE Lloh1: ldr x22, [x22, _GLFW_TRUE@GOTPAGEOFF] Lloh2: adrp x23, _GLFW_FALSE@GOTPAGE Lloh3: ldr x23, [x23, _GLFW_FALSE@GOTPAGEOFF] b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldrb w8, [x20] orr w8, w8, #0x20 cmp w8, #32 b.eq LBB0_8 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 mov x0, x20 mov x1, x19 bl _strstr mov x21, x0 cbz x0, LBB0_7 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x24, x20 mov x0, x19 bl _strlen add x20, x21, w0, sxtw cmp x21, x24 b.eq LBB0_2 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldurb w8, [x21, #-1] cmp w8, #32 b.eq LBB0_2 b LBB0_3 LBB0_6: Lloh4: adrp x22, _GLFW_FALSE@GOTPAGE Lloh5: ldr x22, [x22, _GLFW_FALSE@GOTPAGEOFF] b LBB0_8 LBB0_7: mov x22, x23 LBB0_8: ldr w0, [x22] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _GLFW_FALSE,4,2 ; @GLFW_FALSE .comm _GLFW_TRUE,4,2 ; @GLFW_TRUE .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_context.c__glfwStringInExtensionString.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwCreateContextEGL ## -- Begin function _glfwCreateContextEGL .p2align 4, 0x90 __glfwCreateContextEGL: ## @_glfwCreateContextEGL .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $248, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq __glfw@GOTPCREL(%rip), %rax cmpl $0, 4(%rax) je LBB0_3 ## %bb.1: movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r14 movq 56(%rsi), %rax testq %rax, %rax je LBB0_4 ## %bb.2: movq (%rax), %rbx jmp LBB0_5 LBB0_3: movq _GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi jmp LBB0_10 LBB0_4: xorl %ebx, %ebx LBB0_5: leaq -276(%rbp), %rdx movq %r12, %rdi movq %r15, %rsi callq _chooseEGLConfig testl %eax, %eax je LBB0_9 ## %bb.6: movq %rbx, -288(%rbp) ## 8-byte Spill movq (%r12), %rax movq _GLFW_OPENGL_ES_API@GOTPCREL(%rip), %r13 cmpq (%r13), %rax jne LBB0_11 ## %bb.7: movq _EGL_OPENGL_ES_API@GOTPCREL(%rip), %rax movl (%rax), %edi callq _eglBindAPI testl %eax, %eax jne LBB0_12 ## %bb.8: movq _GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %ebx xorl %eax, %eax callq _eglGetError movl %eax, %edi callq _getEGLErrorString leaq L_.str.2(%rip), %rsi jmp LBB0_52 LBB0_9: movq _GLFW_FORMAT_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi LBB0_10: xorl %eax, %eax callq __glfwInputError jmp LBB0_53 LBB0_11: movq _EGL_OPENGL_API@GOTPCREL(%rip), %rax movl (%rax), %edi callq _eglBindAPI testl %eax, %eax je LBB0_21 LBB0_12: movq __glfw@GOTPCREL(%rip), %rax cmpq $0, 24(%rax) movq (%r12), %rcx je LBB0_18 ## %bb.13: movq _GLFW_OPENGL_API@GOTPCREL(%rip), %rdx xorl %r13d, %r13d movl $0, %ebx movl $0, %eax cmpq (%rdx), %rcx jne LBB0_28 ## %bb.14: xorl %eax, %eax cmpq $0, 48(%r12) je LBB0_16 ## %bb.15: movq _EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_16: movq 8(%r12), %rcx movq _GLFW_OPENGL_CORE_PROFILE@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx jne LBB0_22 ## %bb.17: movq _EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR@GOTPCREL(%rip), %rcx jmp LBB0_24 LBB0_18: cmpq (%r13), %rcx jne LBB0_20 ## %bb.19: movq _EGL_CONTEXT_CLIENT_VERSION@GOTPCREL(%rip), %rax movl (%rax), %edi movl 24(%r12), %esi callq _setEGLattrib LBB0_20: movq _EGL_NONE@GOTPCREL(%rip), %rax movl (%rax), %edi movl %edi, %esi callq _setEGLattrib jmp LBB0_45 LBB0_21: movq _GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %ebx xorl %eax, %eax callq _eglGetError movl %eax, %edi callq _getEGLErrorString leaq L_.str.3(%rip), %rsi jmp LBB0_52 LBB0_22: movq _GLFW_OPENGL_COMPAT_PROFILE@GOTPCREL(%rip), %rdx xorl %ebx, %ebx cmpq (%rdx), %rcx jne LBB0_25 ## %bb.23: movq _EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR@GOTPCREL(%rip), %rcx LBB0_24: movl (%rcx), %ebx LBB0_25: movq __glfw@GOTPCREL(%rip), %rcx cmpq $0, 16(%rcx) je LBB0_28 ## %bb.26: cmpq $0, 40(%r12) je LBB0_28 ## %bb.27: movq _EGL_CONTEXT_OPENGL_NO_ERROR_KHR@GOTPCREL(%rip), %rcx orl (%rcx), %eax LBB0_28: cmpq $0, 32(%r12) je LBB0_30 ## %bb.29: movq _EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR@GOTPCREL(%rip), %rcx movl (%rcx), %r13d LBB0_30: orl %eax, %r13d movq 16(%r12), %rax testq %rax, %rax je LBB0_37 ## %bb.31: movq _GLFW_NO_RESET_NOTIFICATION@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_33 ## %bb.32: movq _EGL_NO_RESET_NOTIFICATION_KHR@GOTPCREL(%rip), %rax jmp LBB0_35 LBB0_33: movq _GLFW_LOSE_CONTEXT_ON_RESET@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_36 ## %bb.34: movq _EGL_LOSE_CONTEXT_ON_RESET_KHR@GOTPCREL(%rip), %rax LBB0_35: movq _EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR@GOTPCREL(%rip), %rcx movl (%rcx), %edi movl (%rax), %esi callq _setEGLattrib LBB0_36: movq _EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR@GOTPCREL(%rip), %rax orl (%rax), %r13d LBB0_37: movl 24(%r12), %esi cmpl $1, %esi jne LBB0_39 ## %bb.38: cmpl $0, 28(%r12) je LBB0_40 LBB0_39: movq _EGL_CONTEXT_MAJOR_VERSION_KHR@GOTPCREL(%rip), %rax movl (%rax), %edi callq _setEGLattrib movq _EGL_CONTEXT_MINOR_VERSION_KHR@GOTPCREL(%rip), %rax movl (%rax), %edi movl 28(%r12), %esi callq _setEGLattrib LBB0_40: testl %ebx, %ebx je LBB0_42 ## %bb.41: movq _EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR@GOTPCREL(%rip), %rax movl (%rax), %edi movl %ebx, %esi callq _setEGLattrib LBB0_42: testl %r13d, %r13d je LBB0_44 ## %bb.43: movq _EGL_CONTEXT_FLAGS_KHR@GOTPCREL(%rip), %rax movl (%rax), %edi movl %r13d, %esi callq _setEGLattrib LBB0_44: movq _EGL_NONE@GOTPCREL(%rip), %rax movl (%rax), %edi movl %edi, %esi callq _setEGLattrib movq _GLFW_OPENGL_ES_API@GOTPCREL(%rip), %r13 LBB0_45: movq __glfw@GOTPCREL(%rip), %rax movl 4(%rax), %edi movl -276(%rbp), %esi leaq -208(%rbp), %rcx movq -288(%rbp), %rdx ## 8-byte Reload callq _eglCreateContext movl %eax, 36(%r14) movq _EGL_NO_CONTEXT@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_47 ## %bb.46: movq _GLFW_VERSION_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %ebx xorl %eax, %eax callq _eglGetError movl %eax, %edi callq _getEGLErrorString leaq L_.str.4(%rip), %rsi jmp LBB0_52 LBB0_47: cmpq $0, (%r15) je LBB0_50 ## %bb.48: movq __glfw@GOTPCREL(%rip), %rax cmpq $0, 8(%rax) je LBB0_50 ## %bb.49: movq _EGL_GL_COLORSPACE_KHR@GOTPCREL(%rip), %rax movl (%rax), %edi movq _EGL_GL_COLORSPACE_SRGB_KHR@GOTPCREL(%rip), %rax movl (%rax), %esi callq _setEGLattrib LBB0_50: movq _EGL_NONE@GOTPCREL(%rip), %rax movl (%rax), %edi movl %edi, %esi callq _setEGLattrib movq __glfw@GOTPCREL(%rip), %rax movl 4(%rax), %edi movl -276(%rbp), %esi movq __GLFW_EGL_NATIVE_WINDOW@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -208(%rbp), %rcx callq _eglCreateWindowSurface movl %eax, 32(%r14) movq _EGL_NO_SURFACE@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_56 ## %bb.51: movq _GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax movl (%rax), %ebx xorl %eax, %eax callq _eglGetError movl %eax, %edi callq _getEGLErrorString leaq L_.str.5(%rip), %rsi LBB0_52: movl %ebx, %edi movl %eax, %edx xorl %eax, %eax callq __glfwInputError LBB0_53: movq _GLFW_FALSE@GOTPCREL(%rip), %rax LBB0_54: movl (%rax), %eax movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_69 ## %bb.55: addq $248, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_56: movl -276(%rbp), %eax movl %eax, 28(%r14) movq l___const._glfwCreateContextEGL.es1sonames+16(%rip), %rax movq %rax, -224(%rbp) movaps l___const._glfwCreateContextEGL.es1sonames(%rip), %xmm0 movaps %xmm0, -240(%rbp) movaps l___const._glfwCreateContextEGL.es2sonames(%rip), %xmm0 movaps %xmm0, -256(%rbp) movaps l___const._glfwCreateContextEGL.glsonames(%rip), %xmm0 movaps %xmm0, -272(%rbp) movq (%r12), %rax cmpq (%r13), %rax jne LBB0_59 ## %bb.57: cmpl $1, 24(%r12) jne LBB0_60 ## %bb.58: leaq -240(%rbp), %rbx jmp LBB0_61 LBB0_59: leaq -272(%rbp), %rbx jmp LBB0_61 LBB0_60: leaq -256(%rbp), %rbx LBB0_61: movq (%rbx), %rdi testq %rdi, %rdi je LBB0_66 ## %bb.62: addq $8, %rbx leaq L_.str.10(%rip), %r15 jmp LBB0_64 .p2align 4, 0x90 LBB0_63: ## in Loop: Header=BB0_64 Depth=1 movq (%rbx), %rdi addq $8, %rbx testq %rdi, %rdi je LBB0_66 LBB0_64: ## =>This Inner Loop Header: Depth=1 movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %r13d movq %r15, %rsi movl $3, %edx callq _strncmp xorl %ecx, %ecx testq %rax, %rax sete %cl cmpl %ecx, %r13d jne LBB0_63 ## %bb.65: ## in Loop: Header=BB0_64 Depth=1 movq -8(%rbx), %rdi callq __glfw_dlopen movl %eax, 24(%r14) testl %eax, %eax je LBB0_63 LBB0_66: cmpl $0, 24(%r14) je LBB0_68 ## %bb.67: movq _makeContextCurrentEGL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 20(%r14) movq _swapBuffersEGL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 16(%r14) movq _swapIntervalEGL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 12(%r14) movq _extensionSupportedEGL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%r14) movq _getProcAddressEGL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%r14) movq _destroyContextEGL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r14) movq _GLFW_TRUE@GOTPCREL(%rip), %rax jmp LBB0_54 LBB0_68: movq _GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.11(%rip), %rsi jmp LBB0_10 LBB0_69: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm __glfw,32,3 ## @_glfw .comm _GLFW_API_UNAVAILABLE,4,2 ## @GLFW_API_UNAVAILABLE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "EGL: API not available" .comm _GLFW_FALSE,4,2 ## @GLFW_FALSE .comm _GLFW_FORMAT_UNAVAILABLE,4,2 ## @GLFW_FORMAT_UNAVAILABLE L_.str.1: ## @.str.1 .asciz "EGL: Failed to find a suitable EGLConfig" .comm _GLFW_OPENGL_ES_API,8,3 ## @GLFW_OPENGL_ES_API .comm _EGL_OPENGL_ES_API,4,2 ## @EGL_OPENGL_ES_API L_.str.2: ## @.str.2 .asciz "EGL: Failed to bind OpenGL ES: %s" .comm _EGL_OPENGL_API,4,2 ## @EGL_OPENGL_API L_.str.3: ## @.str.3 .asciz "EGL: Failed to bind OpenGL: %s" .comm _GLFW_OPENGL_API,8,3 ## @GLFW_OPENGL_API .comm _EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR,4,2 ## @EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR .comm _GLFW_OPENGL_CORE_PROFILE,8,3 ## @GLFW_OPENGL_CORE_PROFILE .comm _EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR,4,2 ## @EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR .comm _GLFW_OPENGL_COMPAT_PROFILE,8,3 ## @GLFW_OPENGL_COMPAT_PROFILE .comm _EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR,4,2 ## @EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR .comm _EGL_CONTEXT_OPENGL_NO_ERROR_KHR,4,2 ## @EGL_CONTEXT_OPENGL_NO_ERROR_KHR .comm _EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR,4,2 ## @EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR .comm _GLFW_NO_RESET_NOTIFICATION,8,3 ## @GLFW_NO_RESET_NOTIFICATION .comm _EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR,4,2 ## @EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR .comm _EGL_NO_RESET_NOTIFICATION_KHR,4,2 ## @EGL_NO_RESET_NOTIFICATION_KHR .comm _GLFW_LOSE_CONTEXT_ON_RESET,8,3 ## @GLFW_LOSE_CONTEXT_ON_RESET .comm _EGL_LOSE_CONTEXT_ON_RESET_KHR,4,2 ## @EGL_LOSE_CONTEXT_ON_RESET_KHR .comm _EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR,4,2 ## @EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR .comm _EGL_CONTEXT_MAJOR_VERSION_KHR,4,2 ## @EGL_CONTEXT_MAJOR_VERSION_KHR .comm _EGL_CONTEXT_MINOR_VERSION_KHR,4,2 ## @EGL_CONTEXT_MINOR_VERSION_KHR .comm _EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR,4,2 ## @EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR .comm _EGL_CONTEXT_FLAGS_KHR,4,2 ## @EGL_CONTEXT_FLAGS_KHR .comm _EGL_NONE,4,2 ## @EGL_NONE .comm _EGL_CONTEXT_CLIENT_VERSION,4,2 ## @EGL_CONTEXT_CLIENT_VERSION .comm _EGL_NO_CONTEXT,4,2 ## @EGL_NO_CONTEXT .comm _GLFW_VERSION_UNAVAILABLE,4,2 ## @GLFW_VERSION_UNAVAILABLE L_.str.4: ## @.str.4 .asciz "EGL: Failed to create context: %s" .comm _EGL_GL_COLORSPACE_KHR,4,2 ## @EGL_GL_COLORSPACE_KHR .comm _EGL_GL_COLORSPACE_SRGB_KHR,4,2 ## @EGL_GL_COLORSPACE_SRGB_KHR .comm __GLFW_EGL_NATIVE_WINDOW,4,2 ## @_GLFW_EGL_NATIVE_WINDOW .comm _EGL_NO_SURFACE,4,2 ## @EGL_NO_SURFACE .comm _GLFW_PLATFORM_ERROR,4,2 ## @GLFW_PLATFORM_ERROR L_.str.5: ## @.str.5 .asciz "EGL: Failed to create window surface: %s" L_.str.6: ## @.str.6 .asciz "libGLESv1_CM.so.1" L_.str.7: ## @.str.7 .asciz "libGLES_CM.so.1" .section __DATA,__const .p2align 4 ## @__const._glfwCreateContextEGL.es1sonames l___const._glfwCreateContextEGL.es1sonames: .quad L_.str.6 .quad L_.str.7 .quad 0 .section __TEXT,__cstring,cstring_literals L_.str.8: ## @.str.8 .asciz "libGLESv2.so.2" .section __DATA,__const .p2align 4 ## @__const._glfwCreateContextEGL.es2sonames l___const._glfwCreateContextEGL.es2sonames: .quad L_.str.8 .quad 0 .section __TEXT,__cstring,cstring_literals L_.str.9: ## @.str.9 .asciz "libGL.so.1" .section __DATA,__const .p2align 4 ## @__const._glfwCreateContextEGL.glsonames l___const._glfwCreateContextEGL.glsonames: .quad L_.str.9 .quad 0 .section __TEXT,__cstring,cstring_literals L_.str.10: ## @.str.10 .asciz "lib" L_.str.11: ## @.str.11 .asciz "EGL: Failed to load client library" .comm _makeContextCurrentEGL,4,2 ## @makeContextCurrentEGL .comm _swapBuffersEGL,4,2 ## @swapBuffersEGL .comm _swapIntervalEGL,4,2 ## @swapIntervalEGL .comm _extensionSupportedEGL,4,2 ## @extensionSupportedEGL .comm _getProcAddressEGL,4,2 ## @getProcAddressEGL .comm _destroyContextEGL,4,2 ## @destroyContextEGL .comm _GLFW_TRUE,4,2 ## @GLFW_TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwCreateContextEGL ; -- Begin function _glfwCreateContextEGL .p2align 2 __glfwCreateContextEGL: ; @_glfwCreateContextEGL .cfi_startproc ; %bb.0: sub sp, sp, #336 .cfi_def_cfa_offset 336 stp x28, x27, [sp, #240] ; 16-byte Folded Spill stp x26, x25, [sp, #256] ; 16-byte Folded Spill stp x24, x23, [sp, #272] ; 16-byte Folded Spill stp x22, x21, [sp, #288] ; 16-byte Folded Spill stp x20, x19, [sp, #304] ; 16-byte Folded Spill stp x29, x30, [sp, #320] ; 16-byte Folded Spill add x29, sp, #320 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] Lloh3: adrp x25, __glfw@GOTPAGE Lloh4: ldr x25, [x25, __glfw@GOTPAGEOFF] ldr w8, [x25, #4] cbz w8, LBB0_3 ; %bb.1: mov x21, x2 mov x20, x1 mov x19, x0 ldr x8, [x1, #56] cbz x8, LBB0_4 ; %bb.2: ldr x22, [x8] b LBB0_5 LBB0_3: Lloh5: adrp x8, _GLFW_API_UNAVAILABLE@GOTPAGE Lloh6: ldr x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF] Lloh7: ldr w0, [x8] Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF b LBB0_46 LBB0_4: mov x22, #0 LBB0_5: add x2, sp, #12 mov x0, x20 mov x1, x21 bl _chooseEGLConfig cbz w0, LBB0_9 ; %bb.6: ldr x8, [x20] Lloh10: adrp x26, _GLFW_OPENGL_ES_API@GOTPAGE Lloh11: ldr x26, [x26, _GLFW_OPENGL_ES_API@GOTPAGEOFF] ldr x9, [x26] cmp x8, x9 b.ne LBB0_10 ; %bb.7: Lloh12: adrp x8, _EGL_OPENGL_ES_API@GOTPAGE Lloh13: ldr x8, [x8, _EGL_OPENGL_ES_API@GOTPAGEOFF] Lloh14: ldr w0, [x8] bl _eglBindAPI cbnz w0, LBB0_11 ; %bb.8: Lloh15: adrp x8, _GLFW_API_UNAVAILABLE@GOTPAGE Lloh16: ldr x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF] Lloh17: ldr w19, [x8] bl _eglGetError bl _getEGLErrorString ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh18: adrp x1, l_.str.2@PAGE Lloh19: add x1, x1, l_.str.2@PAGEOFF b LBB0_45 LBB0_9: Lloh20: adrp x8, _GLFW_FORMAT_UNAVAILABLE@GOTPAGE Lloh21: ldr x8, [x8, _GLFW_FORMAT_UNAVAILABLE@GOTPAGEOFF] Lloh22: ldr w0, [x8] Lloh23: adrp x1, l_.str.1@PAGE Lloh24: add x1, x1, l_.str.1@PAGEOFF b LBB0_46 LBB0_10: Lloh25: adrp x8, _EGL_OPENGL_API@GOTPAGE Lloh26: ldr x8, [x8, _EGL_OPENGL_API@GOTPAGEOFF] Lloh27: ldr w0, [x8] bl _eglBindAPI cbz w0, LBB0_18 LBB0_11: ldr x9, [x25, #24] ldr x8, [x20] Lloh28: adrp x27, _EGL_NONE@GOTPAGE Lloh29: ldr x27, [x27, _EGL_NONE@GOTPAGEOFF] cbz x9, LBB0_15 ; %bb.12: Lloh30: adrp x9, _GLFW_OPENGL_API@GOTPAGE Lloh31: ldr x9, [x9, _GLFW_OPENGL_API@GOTPAGEOFF] Lloh32: ldr x9, [x9] cmp x8, x9 b.ne LBB0_17 ; %bb.13: ldr x8, [x20, #48] Lloh33: adrp x9, _EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR@GOTPAGE Lloh34: ldr x9, [x9, _EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR@GOTPAGEOFF] Lloh35: ldr w9, [x9] cmp x8, #0 csel w8, wzr, w9, eq ldr x9, [x20, #8] Lloh36: adrp x10, _GLFW_OPENGL_CORE_PROFILE@GOTPAGE Lloh37: ldr x10, [x10, _GLFW_OPENGL_CORE_PROFILE@GOTPAGEOFF] Lloh38: ldr x10, [x10] cmp x9, x10 b.ne LBB0_19 ; %bb.14: Lloh39: adrp x9, _EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR@GOTPAGE Lloh40: ldr x9, [x9, _EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR@GOTPAGEOFF] Lloh41: ldr w23, [x9] b LBB0_20 LBB0_15: ldr x9, [x26] cmp x8, x9 b.ne LBB0_38 ; %bb.16: Lloh42: adrp x8, _EGL_CONTEXT_CLIENT_VERSION@GOTPAGE Lloh43: ldr x8, [x8, _EGL_CONTEXT_CLIENT_VERSION@GOTPAGEOFF] Lloh44: ldr w0, [x8] ldr w1, [x20, #24] b LBB0_37 LBB0_17: mov w23, #0 mov w8, #0 b LBB0_23 LBB0_18: Lloh45: adrp x8, _GLFW_API_UNAVAILABLE@GOTPAGE Lloh46: ldr x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF] Lloh47: ldr w19, [x8] bl _eglGetError bl _getEGLErrorString ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh48: adrp x1, l_.str.3@PAGE Lloh49: add x1, x1, l_.str.3@PAGEOFF b LBB0_45 LBB0_19: Lloh50: adrp x10, _GLFW_OPENGL_COMPAT_PROFILE@GOTPAGE Lloh51: ldr x10, [x10, _GLFW_OPENGL_COMPAT_PROFILE@GOTPAGEOFF] Lloh52: ldr x10, [x10] Lloh53: adrp x11, _EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR@GOTPAGE Lloh54: ldr x11, [x11, _EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR@GOTPAGEOFF] Lloh55: ldr w11, [x11] cmp x9, x10 csel w23, w11, wzr, eq LBB0_20: ldr x9, [x25, #16] cbz x9, LBB0_23 ; %bb.21: ldr x9, [x20, #40] cbz x9, LBB0_23 ; %bb.22: Lloh56: adrp x9, _EGL_CONTEXT_OPENGL_NO_ERROR_KHR@GOTPAGE Lloh57: ldr x9, [x9, _EGL_CONTEXT_OPENGL_NO_ERROR_KHR@GOTPAGEOFF] Lloh58: ldr w9, [x9] orr w8, w9, w8 LBB0_23: Lloh59: adrp x9, _EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR@GOTPAGE Lloh60: ldr x9, [x9, _EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR@GOTPAGEOFF] ldr x10, [x20, #32] Lloh61: ldr w9, [x9] cmp x10, #0 csel w9, wzr, w9, eq orr w24, w9, w8 ldr x8, [x20, #16] cbz x8, LBB0_30 ; %bb.24: Lloh62: adrp x9, _GLFW_NO_RESET_NOTIFICATION@GOTPAGE Lloh63: ldr x9, [x9, _GLFW_NO_RESET_NOTIFICATION@GOTPAGEOFF] Lloh64: ldr x9, [x9] cmp x8, x9 b.ne LBB0_26 ; %bb.25: Lloh65: adrp x8, _EGL_NO_RESET_NOTIFICATION_KHR@GOTPAGE Lloh66: ldr x8, [x8, _EGL_NO_RESET_NOTIFICATION_KHR@GOTPAGEOFF] b LBB0_28 LBB0_26: Lloh67: adrp x9, _GLFW_LOSE_CONTEXT_ON_RESET@GOTPAGE Lloh68: ldr x9, [x9, _GLFW_LOSE_CONTEXT_ON_RESET@GOTPAGEOFF] Lloh69: ldr x9, [x9] cmp x8, x9 b.ne LBB0_29 ; %bb.27: Lloh70: adrp x8, _EGL_LOSE_CONTEXT_ON_RESET_KHR@GOTPAGE Lloh71: ldr x8, [x8, _EGL_LOSE_CONTEXT_ON_RESET_KHR@GOTPAGEOFF] LBB0_28: Lloh72: adrp x9, _EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR@GOTPAGE Lloh73: ldr x9, [x9, _EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR@GOTPAGEOFF] Lloh74: ldr w0, [x9] ldr w1, [x8] bl _setEGLattrib LBB0_29: Lloh75: adrp x8, _EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR@GOTPAGE Lloh76: ldr x8, [x8, _EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR@GOTPAGEOFF] Lloh77: ldr w8, [x8] orr w24, w8, w24 LBB0_30: ldr w1, [x20, #24] cmp w1, #1 b.ne LBB0_32 ; %bb.31: ldr w8, [x20, #28] cbz w8, LBB0_33 LBB0_32: Lloh78: adrp x8, _EGL_CONTEXT_MAJOR_VERSION_KHR@GOTPAGE Lloh79: ldr x8, [x8, _EGL_CONTEXT_MAJOR_VERSION_KHR@GOTPAGEOFF] Lloh80: ldr w0, [x8] bl _setEGLattrib Lloh81: adrp x8, _EGL_CONTEXT_MINOR_VERSION_KHR@GOTPAGE Lloh82: ldr x8, [x8, _EGL_CONTEXT_MINOR_VERSION_KHR@GOTPAGEOFF] Lloh83: ldr w0, [x8] ldr w1, [x20, #28] bl _setEGLattrib LBB0_33: cbz w23, LBB0_35 ; %bb.34: Lloh84: adrp x8, _EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR@GOTPAGE Lloh85: ldr x8, [x8, _EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR@GOTPAGEOFF] Lloh86: ldr w0, [x8] mov x1, x23 bl _setEGLattrib LBB0_35: cbz w24, LBB0_38 ; %bb.36: Lloh87: adrp x8, _EGL_CONTEXT_FLAGS_KHR@GOTPAGE Lloh88: ldr x8, [x8, _EGL_CONTEXT_FLAGS_KHR@GOTPAGEOFF] Lloh89: ldr w0, [x8] mov x1, x24 LBB0_37: bl _setEGLattrib LBB0_38: ldr w0, [x27] mov x1, x0 bl _setEGLattrib ldr w0, [x25, #4] ldr w1, [sp, #12] add x3, sp, #72 mov x2, x22 bl _eglCreateContext str w0, [x19, #36] Lloh90: adrp x8, _EGL_NO_CONTEXT@GOTPAGE Lloh91: ldr x8, [x8, _EGL_NO_CONTEXT@GOTPAGEOFF] Lloh92: ldr w8, [x8] cmp w0, w8 b.ne LBB0_40 ; %bb.39: Lloh93: adrp x8, _GLFW_VERSION_UNAVAILABLE@GOTPAGE Lloh94: ldr x8, [x8, _GLFW_VERSION_UNAVAILABLE@GOTPAGEOFF] Lloh95: ldr w19, [x8] bl _eglGetError bl _getEGLErrorString ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh96: adrp x1, l_.str.4@PAGE Lloh97: add x1, x1, l_.str.4@PAGEOFF b LBB0_45 LBB0_40: ldr x8, [x21] cbz x8, LBB0_43 ; %bb.41: ldr x8, [x25, #8] cbz x8, LBB0_43 ; %bb.42: Lloh98: adrp x8, _EGL_GL_COLORSPACE_KHR@GOTPAGE Lloh99: ldr x8, [x8, _EGL_GL_COLORSPACE_KHR@GOTPAGEOFF] Lloh100: ldr w0, [x8] Lloh101: adrp x8, _EGL_GL_COLORSPACE_SRGB_KHR@GOTPAGE Lloh102: ldr x8, [x8, _EGL_GL_COLORSPACE_SRGB_KHR@GOTPAGEOFF] Lloh103: ldr w1, [x8] bl _setEGLattrib LBB0_43: ldr w0, [x27] mov x1, x0 bl _setEGLattrib ldr w0, [x25, #4] ldr w1, [sp, #12] Lloh104: adrp x8, __GLFW_EGL_NATIVE_WINDOW@GOTPAGE Lloh105: ldr x8, [x8, __GLFW_EGL_NATIVE_WINDOW@GOTPAGEOFF] Lloh106: ldr w2, [x8] add x3, sp, #72 bl _eglCreateWindowSurface str w0, [x19, #32] Lloh107: adrp x8, _EGL_NO_SURFACE@GOTPAGE Lloh108: ldr x8, [x8, _EGL_NO_SURFACE@GOTPAGEOFF] Lloh109: ldr w8, [x8] cmp w0, w8 b.ne LBB0_49 ; %bb.44: Lloh110: adrp x8, _GLFW_PLATFORM_ERROR@GOTPAGE Lloh111: ldr x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF] Lloh112: ldr w19, [x8] bl _eglGetError bl _getEGLErrorString ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh113: adrp x1, l_.str.5@PAGE Lloh114: add x1, x1, l_.str.5@PAGEOFF LBB0_45: mov x0, x19 LBB0_46: bl __glfwInputError Lloh115: adrp x8, _GLFW_FALSE@GOTPAGE Lloh116: ldr x8, [x8, _GLFW_FALSE@GOTPAGEOFF] LBB0_47: ldr w0, [x8] ldur x8, [x29, #-88] Lloh117: adrp x9, ___stack_chk_guard@GOTPAGE Lloh118: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh119: ldr x9, [x9] cmp x9, x8 b.ne LBB0_61 ; %bb.48: ldp x29, x30, [sp, #320] ; 16-byte Folded Reload ldp x20, x19, [sp, #304] ; 16-byte Folded Reload ldp x22, x21, [sp, #288] ; 16-byte Folded Reload ldp x24, x23, [sp, #272] ; 16-byte Folded Reload ldp x26, x25, [sp, #256] ; 16-byte Folded Reload ldp x28, x27, [sp, #240] ; 16-byte Folded Reload add sp, sp, #336 ret LBB0_49: ldr w8, [sp, #12] str w8, [x19, #28] Lloh120: adrp x8, l___const._glfwCreateContextEGL.es1sonames@PAGE Lloh121: add x8, x8, l___const._glfwCreateContextEGL.es1sonames@PAGEOFF ldr q1, [x8] ldr x8, [x8, #16] str x8, [sp, #64] Lloh122: adrp x8, l___const._glfwCreateContextEGL.es2sonames@PAGE Lloh123: add x8, x8, l___const._glfwCreateContextEGL.es2sonames@PAGEOFF Lloh124: ldr q0, [x8] adrp x8, l___const._glfwCreateContextEGL.glsonames@PAGE add x8, x8, l___const._glfwCreateContextEGL.glsonames@PAGEOFF stp q0, q1, [sp, #32] ldr q0, [x8] str q0, [sp, #16] ldr x8, [x20] ldr x9, [x26] cmp x8, x9 b.ne LBB0_52 ; %bb.50: ldr w8, [x20, #24] cmp w8, #1 b.ne LBB0_53 ; %bb.51: add x8, sp, #48 ldr x0, [x8] cbnz x0, LBB0_54 b LBB0_58 LBB0_52: add x8, sp, #16 ldr x0, [x8] cbnz x0, LBB0_54 b LBB0_58 LBB0_53: add x8, sp, #32 ldr x0, [x8] cbz x0, LBB0_58 LBB0_54: add x21, x8, #8 Lloh125: adrp x20, l_.str.10@PAGE Lloh126: add x20, x20, l_.str.10@PAGEOFF b LBB0_56 LBB0_55: ; in Loop: Header=BB0_56 Depth=1 ldr x0, [x21], #8 cbz x0, LBB0_58 LBB0_56: ; =>This Inner Loop Header: Depth=1 ldr w22, [x25] mov x1, x20 mov w2, #3 bl _strncmp cmp x0, #0 cset w8, eq cmp w22, w8 b.ne LBB0_55 ; %bb.57: ; in Loop: Header=BB0_56 Depth=1 ldur x0, [x21, #-8] bl __glfw_dlopen str w0, [x19, #24] cbz w0, LBB0_55 LBB0_58: ldr w8, [x19, #24] cbz w8, LBB0_60 ; %bb.59: Lloh127: adrp x8, _makeContextCurrentEGL@GOTPAGE Lloh128: ldr x8, [x8, _makeContextCurrentEGL@GOTPAGEOFF] Lloh129: ldr w8, [x8] Lloh130: adrp x9, _swapBuffersEGL@GOTPAGE Lloh131: ldr x9, [x9, _swapBuffersEGL@GOTPAGEOFF] Lloh132: ldr w9, [x9] Lloh133: adrp x10, _swapIntervalEGL@GOTPAGE Lloh134: ldr x10, [x10, _swapIntervalEGL@GOTPAGEOFF] stp w9, w8, [x19, #16] Lloh135: ldr w8, [x10] Lloh136: adrp x9, _extensionSupportedEGL@GOTPAGE Lloh137: ldr x9, [x9, _extensionSupportedEGL@GOTPAGEOFF] Lloh138: ldr w9, [x9] stp w9, w8, [x19, #8] Lloh139: adrp x8, _getProcAddressEGL@GOTPAGE Lloh140: ldr x8, [x8, _getProcAddressEGL@GOTPAGEOFF] Lloh141: ldr w8, [x8] Lloh142: adrp x9, _destroyContextEGL@GOTPAGE Lloh143: ldr x9, [x9, _destroyContextEGL@GOTPAGEOFF] Lloh144: ldr w9, [x9] stp w9, w8, [x19] Lloh145: adrp x8, _GLFW_TRUE@GOTPAGE Lloh146: ldr x8, [x8, _GLFW_TRUE@GOTPAGEOFF] b LBB0_47 LBB0_60: Lloh147: adrp x8, _GLFW_API_UNAVAILABLE@GOTPAGE Lloh148: ldr x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF] Lloh149: ldr w0, [x8] Lloh150: adrp x1, l_.str.11@PAGE Lloh151: add x1, x1, l_.str.11@PAGEOFF b LBB0_46 LBB0_61: bl ___stack_chk_fail .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55 .loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52 .loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58 .loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61 .loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64 .loh AdrpLdrGot Lloh65, Lloh66 .loh AdrpLdrGotLdr Lloh67, Lloh68, Lloh69 .loh AdrpLdrGot Lloh70, Lloh71 .loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74 .loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77 .loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83 .loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh80 .loh AdrpLdrGotLdr Lloh84, Lloh85, Lloh86 .loh AdrpLdrGotLdr Lloh87, Lloh88, Lloh89 .loh AdrpLdrGotLdr Lloh90, Lloh91, Lloh92 .loh AdrpAdd Lloh96, Lloh97 .loh AdrpLdrGotLdr Lloh93, Lloh94, Lloh95 .loh AdrpLdrGotLdr Lloh101, Lloh102, Lloh103 .loh AdrpLdrGotLdr Lloh98, Lloh99, Lloh100 .loh AdrpLdrGotLdr Lloh107, Lloh108, Lloh109 .loh AdrpLdrGotLdr Lloh104, Lloh105, Lloh106 .loh AdrpAdd Lloh113, Lloh114 .loh AdrpLdrGotLdr Lloh110, Lloh111, Lloh112 .loh AdrpLdrGot Lloh115, Lloh116 .loh AdrpLdrGotLdr Lloh117, Lloh118, Lloh119 .loh AdrpAddLdr Lloh122, Lloh123, Lloh124 .loh AdrpAdd Lloh120, Lloh121 .loh AdrpAdd Lloh125, Lloh126 .loh AdrpLdrGot Lloh145, Lloh146 .loh AdrpLdrGotLdr Lloh142, Lloh143, Lloh144 .loh AdrpLdrGotLdr Lloh139, Lloh140, Lloh141 .loh AdrpLdrGotLdr Lloh136, Lloh137, Lloh138 .loh AdrpLdrGotLdr Lloh133, Lloh134, Lloh135 .loh AdrpLdrGotLdr Lloh130, Lloh131, Lloh132 .loh AdrpLdrGotLdr Lloh127, Lloh128, Lloh129 .loh AdrpAdd Lloh150, Lloh151 .loh AdrpLdrGotLdr Lloh147, Lloh148, Lloh149 .cfi_endproc ; -- End function .comm __glfw,32,3 ; @_glfw .comm _GLFW_API_UNAVAILABLE,4,2 ; @GLFW_API_UNAVAILABLE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "EGL: API not available" .comm _GLFW_FALSE,4,2 ; @GLFW_FALSE .comm _GLFW_FORMAT_UNAVAILABLE,4,2 ; @GLFW_FORMAT_UNAVAILABLE l_.str.1: ; @.str.1 .asciz "EGL: Failed to find a suitable EGLConfig" .comm _GLFW_OPENGL_ES_API,8,3 ; @GLFW_OPENGL_ES_API .comm _EGL_OPENGL_ES_API,4,2 ; @EGL_OPENGL_ES_API l_.str.2: ; @.str.2 .asciz "EGL: Failed to bind OpenGL ES: %s" .comm _EGL_OPENGL_API,4,2 ; @EGL_OPENGL_API l_.str.3: ; @.str.3 .asciz "EGL: Failed to bind OpenGL: %s" .comm _GLFW_OPENGL_API,8,3 ; @GLFW_OPENGL_API .comm _EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR,4,2 ; @EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR .comm _GLFW_OPENGL_CORE_PROFILE,8,3 ; @GLFW_OPENGL_CORE_PROFILE .comm _EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR,4,2 ; @EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR .comm _GLFW_OPENGL_COMPAT_PROFILE,8,3 ; @GLFW_OPENGL_COMPAT_PROFILE .comm _EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR,4,2 ; @EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR .comm _EGL_CONTEXT_OPENGL_NO_ERROR_KHR,4,2 ; @EGL_CONTEXT_OPENGL_NO_ERROR_KHR .comm _EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR,4,2 ; @EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR .comm _GLFW_NO_RESET_NOTIFICATION,8,3 ; @GLFW_NO_RESET_NOTIFICATION .comm _EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR,4,2 ; @EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR .comm _EGL_NO_RESET_NOTIFICATION_KHR,4,2 ; @EGL_NO_RESET_NOTIFICATION_KHR .comm _GLFW_LOSE_CONTEXT_ON_RESET,8,3 ; @GLFW_LOSE_CONTEXT_ON_RESET .comm _EGL_LOSE_CONTEXT_ON_RESET_KHR,4,2 ; @EGL_LOSE_CONTEXT_ON_RESET_KHR .comm _EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR,4,2 ; @EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR .comm _EGL_CONTEXT_MAJOR_VERSION_KHR,4,2 ; @EGL_CONTEXT_MAJOR_VERSION_KHR .comm _EGL_CONTEXT_MINOR_VERSION_KHR,4,2 ; @EGL_CONTEXT_MINOR_VERSION_KHR .comm _EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR,4,2 ; @EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR .comm _EGL_CONTEXT_FLAGS_KHR,4,2 ; @EGL_CONTEXT_FLAGS_KHR .comm _EGL_NONE,4,2 ; @EGL_NONE .comm _EGL_CONTEXT_CLIENT_VERSION,4,2 ; @EGL_CONTEXT_CLIENT_VERSION .comm _EGL_NO_CONTEXT,4,2 ; @EGL_NO_CONTEXT .comm _GLFW_VERSION_UNAVAILABLE,4,2 ; @GLFW_VERSION_UNAVAILABLE l_.str.4: ; @.str.4 .asciz "EGL: Failed to create context: %s" .comm _EGL_GL_COLORSPACE_KHR,4,2 ; @EGL_GL_COLORSPACE_KHR .comm _EGL_GL_COLORSPACE_SRGB_KHR,4,2 ; @EGL_GL_COLORSPACE_SRGB_KHR .comm __GLFW_EGL_NATIVE_WINDOW,4,2 ; @_GLFW_EGL_NATIVE_WINDOW .comm _EGL_NO_SURFACE,4,2 ; @EGL_NO_SURFACE .comm _GLFW_PLATFORM_ERROR,4,2 ; @GLFW_PLATFORM_ERROR l_.str.5: ; @.str.5 .asciz "EGL: Failed to create window surface: %s" l_.str.6: ; @.str.6 .asciz "libGLESv1_CM.so.1" l_.str.7: ; @.str.7 .asciz "libGLES_CM.so.1" .section __DATA,__const .p2align 3 ; @__const._glfwCreateContextEGL.es1sonames l___const._glfwCreateContextEGL.es1sonames: .quad l_.str.6 .quad l_.str.7 .quad 0 .section __TEXT,__cstring,cstring_literals l_.str.8: ; @.str.8 .asciz "libGLESv2.so.2" .section __DATA,__const .p2align 3 ; @__const._glfwCreateContextEGL.es2sonames l___const._glfwCreateContextEGL.es2sonames: .quad l_.str.8 .quad 0 .section __TEXT,__cstring,cstring_literals l_.str.9: ; @.str.9 .asciz "libGL.so.1" .section __DATA,__const .p2align 3 ; @__const._glfwCreateContextEGL.glsonames l___const._glfwCreateContextEGL.glsonames: .quad l_.str.9 .quad 0 .section __TEXT,__cstring,cstring_literals l_.str.10: ; @.str.10 .asciz "lib" l_.str.11: ; @.str.11 .asciz "EGL: Failed to load client library" .comm _makeContextCurrentEGL,4,2 ; @makeContextCurrentEGL .comm _swapBuffersEGL,4,2 ; @swapBuffersEGL .comm _swapIntervalEGL,4,2 ; @swapIntervalEGL .comm _extensionSupportedEGL,4,2 ; @extensionSupportedEGL .comm _getProcAddressEGL,4,2 ; @getProcAddressEGL .comm _destroyContextEGL,4,2 ; @destroyContextEGL .comm _GLFW_TRUE,4,2 ; @GLFW_TRUE .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_egl_context.c__glfwCreateContextEGL.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInitEGL ## -- Begin function _glfwInitEGL .p2align 4, 0x90 __glfwInitEGL: ## @_glfwInitEGL .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq __glfw@GOTPCREL(%rip), %rbx movq _GLFW_TRUE@GOTPCREL(%rip), %r14 cmpq $0, 176(%rbx) jne LBB0_28 ## %bb.1: leaq L_.str(%rip), %rdi callq __glfw_dlopen movq %rax, 176(%rbx) testq %rax, %rax je LBB0_20 ## %bb.2: leaq L_.str(%rip), %rdi leaq L_.str.2(%rip), %rsi movl $3, %edx callq _strncmp xorl %ecx, %ecx testq %rax, %rax sete %cl movl %ecx, (%rbx) movq 176(%rbx), %rdi leaq L_.str.3(%rip), %rsi callq __glfw_dlsym movq %rax, 168(%rbx) movq 176(%rbx), %rdi leaq L_.str.4(%rip), %rsi callq __glfw_dlsym movq %rax, 160(%rbx) movq 176(%rbx), %rdi leaq L_.str.5(%rip), %rsi callq __glfw_dlsym movq %rax, 152(%rbx) movq 176(%rbx), %rdi leaq L_.str.6(%rip), %rsi callq __glfw_dlsym movq %rax, 144(%rbx) movq 176(%rbx), %rdi leaq L_.str.7(%rip), %rsi callq __glfw_dlsym movq %rax, 136(%rbx) movq 176(%rbx), %rdi leaq L_.str.8(%rip), %rsi callq __glfw_dlsym movq %rax, 128(%rbx) movq 176(%rbx), %rdi leaq L_.str.9(%rip), %rsi callq __glfw_dlsym movq %rax, 120(%rbx) movq 176(%rbx), %rdi leaq L_.str.10(%rip), %rsi callq __glfw_dlsym movq %rax, 112(%rbx) movq 176(%rbx), %rdi leaq L_.str.11(%rip), %rsi callq __glfw_dlsym movq %rax, 104(%rbx) movq 176(%rbx), %rdi leaq L_.str.12(%rip), %rsi callq __glfw_dlsym movq %rax, 96(%rbx) movq 176(%rbx), %rdi leaq L_.str.13(%rip), %rsi callq __glfw_dlsym movq %rax, 88(%rbx) movq 176(%rbx), %rdi leaq L_.str.14(%rip), %rsi callq __glfw_dlsym movq %rax, 80(%rbx) movq 176(%rbx), %rdi leaq L_.str.15(%rip), %rsi callq __glfw_dlsym movq %rax, 72(%rbx) movq 176(%rbx), %rdi leaq L_.str.16(%rip), %rsi callq __glfw_dlsym movq %rax, 64(%rbx) movq 176(%rbx), %rdi leaq L_.str.17(%rip), %rsi callq __glfw_dlsym movq %rax, 56(%rbx) movq 176(%rbx), %rdi leaq L_.str.18(%rip), %rsi callq __glfw_dlsym movq %rax, 48(%rbx) cmpq $0, 168(%rbx) je LBB0_21 ## %bb.3: cmpq $0, 160(%rbx) je LBB0_21 ## %bb.4: cmpq $0, 152(%rbx) je LBB0_21 ## %bb.5: cmpq $0, 144(%rbx) je LBB0_21 ## %bb.6: cmpq $0, 136(%rbx) je LBB0_21 ## %bb.7: cmpq $0, 128(%rbx) je LBB0_21 ## %bb.8: cmpq $0, 120(%rbx) je LBB0_21 ## %bb.9: cmpq $0, 112(%rbx) je LBB0_21 ## %bb.10: cmpq $0, 104(%rbx) je LBB0_21 ## %bb.11: cmpq $0, 96(%rbx) je LBB0_21 ## %bb.12: cmpq $0, 88(%rbx) je LBB0_21 ## %bb.13: cmpq $0, 80(%rbx) je LBB0_21 ## %bb.14: cmpq $0, 72(%rbx) je LBB0_21 ## %bb.15: cmpq $0, 64(%rbx) je LBB0_21 ## %bb.16: cmpq $0, 56(%rbx) je LBB0_21 ## %bb.17: testq %rax, %rax je LBB0_21 ## %bb.18: movq __GLFW_EGL_NATIVE_DISPLAY@GOTPCREL(%rip), %rax movl (%rax), %edi callq _eglGetDisplay movq %rax, 8(%rbx) movq _EGL_NO_DISPLAY@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_22 ## %bb.19: movq _GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %ebx xorl %eax, %eax callq _eglGetError movl %eax, %edi callq _getEGLErrorString leaq L_.str.20(%rip), %rsi jmp LBB0_25 LBB0_20: movq _GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi xorl %eax, %eax callq __glfwInputError jmp LBB0_27 LBB0_21: movq _GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.19(%rip), %rsi xorl %eax, %eax callq __glfwInputError jmp LBB0_26 LBB0_22: leaq 44(%rbx), %rsi leaq 40(%rbx), %rdx movq %rax, %rdi callq _eglInitialize testl %eax, %eax je LBB0_24 ## %bb.23: leaq L_.str.22(%rip), %rdi callq _extensionSupportedEGL movq %rax, 32(%rbx) leaq L_.str.23(%rip), %rdi callq _extensionSupportedEGL movq %rax, 24(%rbx) leaq L_.str.24(%rip), %rdi callq _extensionSupportedEGL movq %rax, 16(%rbx) jmp LBB0_28 LBB0_24: movq _GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %ebx xorl %eax, %eax callq _eglGetError movl %eax, %edi callq _getEGLErrorString leaq L_.str.21(%rip), %rsi LBB0_25: movl %ebx, %edi movl %eax, %edx xorl %eax, %eax callq __glfwInputError LBB0_26: xorl %eax, %eax callq __glfwTerminateEGL LBB0_27: movq _GLFW_FALSE@GOTPCREL(%rip), %r14 LBB0_28: movl (%r14), %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "libEGL.so.1" .comm __glfw,184,3 ## @_glfw .comm _GLFW_TRUE,4,2 ## @GLFW_TRUE .comm _GLFW_API_UNAVAILABLE,4,2 ## @GLFW_API_UNAVAILABLE L_.str.1: ## @.str.1 .asciz "EGL: Library not found" .comm _GLFW_FALSE,4,2 ## @GLFW_FALSE L_.str.2: ## @.str.2 .asciz "lib" L_.str.3: ## @.str.3 .asciz "eglGetConfigAttrib" L_.str.4: ## @.str.4 .asciz "eglGetConfigs" L_.str.5: ## @.str.5 .asciz "eglGetDisplay" L_.str.6: ## @.str.6 .asciz "eglGetError" L_.str.7: ## @.str.7 .asciz "eglInitialize" L_.str.8: ## @.str.8 .asciz "eglTerminate" L_.str.9: ## @.str.9 .asciz "eglBindAPI" L_.str.10: ## @.str.10 .asciz "eglCreateContext" L_.str.11: ## @.str.11 .asciz "eglDestroySurface" L_.str.12: ## @.str.12 .asciz "eglDestroyContext" L_.str.13: ## @.str.13 .asciz "eglCreateWindowSurface" L_.str.14: ## @.str.14 .asciz "eglMakeCurrent" L_.str.15: ## @.str.15 .asciz "eglSwapBuffers" L_.str.16: ## @.str.16 .asciz "eglSwapInterval" L_.str.17: ## @.str.17 .asciz "eglQueryString" L_.str.18: ## @.str.18 .asciz "eglGetProcAddress" .comm _GLFW_PLATFORM_ERROR,4,2 ## @GLFW_PLATFORM_ERROR L_.str.19: ## @.str.19 .asciz "EGL: Failed to load required entry points" .comm __GLFW_EGL_NATIVE_DISPLAY,4,2 ## @_GLFW_EGL_NATIVE_DISPLAY .comm _EGL_NO_DISPLAY,8,3 ## @EGL_NO_DISPLAY L_.str.20: ## @.str.20 .asciz "EGL: Failed to get EGL display: %s" L_.str.21: ## @.str.21 .asciz "EGL: Failed to initialize EGL: %s" L_.str.22: ## @.str.22 .asciz "EGL_KHR_create_context" L_.str.23: ## @.str.23 .asciz "EGL_KHR_create_context_no_error" L_.str.24: ## @.str.24 .asciz "EGL_KHR_gl_colorspace" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInitEGL ; -- Begin function _glfwInitEGL .p2align 2 __glfwInitEGL: ; @_glfwInitEGL .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x19, __glfw@GOTPAGE Lloh1: ldr x19, [x19, __glfw@GOTPAGEOFF] ldr x8, [x19, #176] cbz x8, LBB0_2 LBB0_1: Lloh2: adrp x8, _GLFW_TRUE@GOTPAGE Lloh3: ldr x8, [x8, _GLFW_TRUE@GOTPAGEOFF] b LBB0_14 LBB0_2: Lloh4: adrp x0, l_.str@PAGE Lloh5: add x0, x0, l_.str@PAGEOFF bl __glfw_dlopen str x0, [x19, #176] cbz x0, LBB0_5 ; %bb.3: Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF Lloh8: adrp x1, l_.str.2@PAGE Lloh9: add x1, x1, l_.str.2@PAGEOFF mov w2, #3 bl _strncmp cmp x0, #0 cset w8, eq str w8, [x19] ldr x0, [x19, #176] Lloh10: adrp x1, l_.str.3@PAGE Lloh11: add x1, x1, l_.str.3@PAGEOFF bl __glfw_dlsym str x0, [x19, #168] ldr x0, [x19, #176] Lloh12: adrp x1, l_.str.4@PAGE Lloh13: add x1, x1, l_.str.4@PAGEOFF bl __glfw_dlsym str x0, [x19, #160] ldr x0, [x19, #176] Lloh14: adrp x1, l_.str.5@PAGE Lloh15: add x1, x1, l_.str.5@PAGEOFF bl __glfw_dlsym str x0, [x19, #152] ldr x0, [x19, #176] Lloh16: adrp x1, l_.str.6@PAGE Lloh17: add x1, x1, l_.str.6@PAGEOFF bl __glfw_dlsym str x0, [x19, #144] ldr x0, [x19, #176] Lloh18: adrp x1, l_.str.7@PAGE Lloh19: add x1, x1, l_.str.7@PAGEOFF bl __glfw_dlsym str x0, [x19, #136] ldr x0, [x19, #176] Lloh20: adrp x1, l_.str.8@PAGE Lloh21: add x1, x1, l_.str.8@PAGEOFF bl __glfw_dlsym str x0, [x19, #128] ldr x0, [x19, #176] Lloh22: adrp x1, l_.str.9@PAGE Lloh23: add x1, x1, l_.str.9@PAGEOFF bl __glfw_dlsym str x0, [x19, #120] ldr x0, [x19, #176] Lloh24: adrp x1, l_.str.10@PAGE Lloh25: add x1, x1, l_.str.10@PAGEOFF bl __glfw_dlsym str x0, [x19, #112] ldr x0, [x19, #176] Lloh26: adrp x1, l_.str.11@PAGE Lloh27: add x1, x1, l_.str.11@PAGEOFF bl __glfw_dlsym str x0, [x19, #104] ldr x0, [x19, #176] Lloh28: adrp x1, l_.str.12@PAGE Lloh29: add x1, x1, l_.str.12@PAGEOFF bl __glfw_dlsym str x0, [x19, #96] ldr x0, [x19, #176] Lloh30: adrp x1, l_.str.13@PAGE Lloh31: add x1, x1, l_.str.13@PAGEOFF bl __glfw_dlsym str x0, [x19, #88] ldr x0, [x19, #176] Lloh32: adrp x1, l_.str.14@PAGE Lloh33: add x1, x1, l_.str.14@PAGEOFF bl __glfw_dlsym str x0, [x19, #80] ldr x0, [x19, #176] Lloh34: adrp x1, l_.str.15@PAGE Lloh35: add x1, x1, l_.str.15@PAGEOFF bl __glfw_dlsym str x0, [x19, #72] ldr x0, [x19, #176] Lloh36: adrp x1, l_.str.16@PAGE Lloh37: add x1, x1, l_.str.16@PAGEOFF bl __glfw_dlsym str x0, [x19, #64] ldr x0, [x19, #176] Lloh38: adrp x1, l_.str.17@PAGE Lloh39: add x1, x1, l_.str.17@PAGEOFF bl __glfw_dlsym str x0, [x19, #56] ldr x0, [x19, #176] Lloh40: adrp x1, l_.str.18@PAGE Lloh41: add x1, x1, l_.str.18@PAGEOFF bl __glfw_dlsym str x0, [x19, #48] ldp q1, q0, [x19, #144] ldp q3, q2, [x19, #112] cmeq.2d v0, v0, #0 cmeq.2d v1, v1, #0 uzp1.4s v0, v1, v0 cmeq.2d v1, v2, #0 cmeq.2d v2, v3, #0 uzp1.4s v1, v2, v1 uzp1.8h v0, v1, v0 xtn.8b v0, v0 umov.b w8, v0[1] and w8, w8, #0x1 umov.b w9, v0[0] and w9, w9, #0x1 bfi w9, w8, #1, #1 umov.b w8, v0[2] and w8, w8, #0x1 bfi w9, w8, #2, #1 umov.b w8, v0[3] and w8, w8, #0x1 bfi w9, w8, #3, #1 umov.b w8, v0[4] and w8, w8, #0x1 bfi w9, w8, #4, #1 umov.b w8, v0[5] and w8, w8, #0x1 bfi w9, w8, #5, #1 umov.b w8, v0[6] and w8, w8, #0x1 orr w8, w9, w8, lsl #6 umov.b w9, v0[7] orr w8, w8, w9, lsl #7 and w8, w8, #0xff ldp x10, x9, [x19, #96] ldp x12, x11, [x19, #80] ldp x14, x13, [x19, #64] ldr x15, [x19, #56] cmp w8, #0 ccmp x9, #0, #4, eq ccmp x10, #0, #4, ne ccmp x11, #0, #4, ne ccmp x12, #0, #4, ne ccmp x13, #0, #4, ne ccmp x14, #0, #4, ne ccmp x15, #0, #4, ne ccmp x0, #0, #4, ne b.ne LBB0_6 ; %bb.4: Lloh42: adrp x8, _GLFW_PLATFORM_ERROR@GOTPAGE Lloh43: ldr x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF] Lloh44: ldr w0, [x8] Lloh45: adrp x1, l_.str.19@PAGE Lloh46: add x1, x1, l_.str.19@PAGEOFF b LBB0_12 LBB0_5: Lloh47: adrp x8, _GLFW_API_UNAVAILABLE@GOTPAGE Lloh48: ldr x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF] Lloh49: ldr w0, [x8] Lloh50: adrp x1, l_.str.1@PAGE Lloh51: add x1, x1, l_.str.1@PAGEOFF bl __glfwInputError b LBB0_13 LBB0_6: Lloh52: adrp x8, __GLFW_EGL_NATIVE_DISPLAY@GOTPAGE Lloh53: ldr x8, [x8, __GLFW_EGL_NATIVE_DISPLAY@GOTPAGEOFF] Lloh54: ldr w0, [x8] bl _eglGetDisplay str x0, [x19, #8] Lloh55: adrp x8, _EGL_NO_DISPLAY@GOTPAGE Lloh56: ldr x8, [x8, _EGL_NO_DISPLAY@GOTPAGEOFF] Lloh57: ldr x8, [x8] cmp x0, x8 b.ne LBB0_8 ; %bb.7: Lloh58: adrp x8, _GLFW_API_UNAVAILABLE@GOTPAGE Lloh59: ldr x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF] Lloh60: ldr w19, [x8] bl _eglGetError bl _getEGLErrorString ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh61: adrp x1, l_.str.20@PAGE Lloh62: add x1, x1, l_.str.20@PAGEOFF b LBB0_11 LBB0_8: add x1, x19, #44 add x2, x19, #40 bl _eglInitialize cbz w0, LBB0_10 ; %bb.9: Lloh63: adrp x0, l_.str.22@PAGE Lloh64: add x0, x0, l_.str.22@PAGEOFF bl _extensionSupportedEGL str x0, [x19, #32] Lloh65: adrp x0, l_.str.23@PAGE Lloh66: add x0, x0, l_.str.23@PAGEOFF bl _extensionSupportedEGL str x0, [x19, #24] Lloh67: adrp x0, l_.str.24@PAGE Lloh68: add x0, x0, l_.str.24@PAGEOFF bl _extensionSupportedEGL str x0, [x19, #16] b LBB0_1 LBB0_10: Lloh69: adrp x8, _GLFW_API_UNAVAILABLE@GOTPAGE Lloh70: ldr x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF] Lloh71: ldr w19, [x8] bl _eglGetError bl _getEGLErrorString ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh72: adrp x1, l_.str.21@PAGE Lloh73: add x1, x1, l_.str.21@PAGEOFF LBB0_11: mov x0, x19 LBB0_12: bl __glfwInputError bl __glfwTerminateEGL LBB0_13: Lloh74: adrp x8, _GLFW_FALSE@GOTPAGE Lloh75: ldr x8, [x8, _GLFW_FALSE@GOTPAGEOFF] LBB0_14: ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49 .loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57 .loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54 .loh AdrpAdd Lloh61, Lloh62 .loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60 .loh AdrpAdd Lloh67, Lloh68 .loh AdrpAdd Lloh65, Lloh66 .loh AdrpAdd Lloh63, Lloh64 .loh AdrpAdd Lloh72, Lloh73 .loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71 .loh AdrpLdrGot Lloh74, Lloh75 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "libEGL.so.1" .comm __glfw,184,3 ; @_glfw .comm _GLFW_TRUE,4,2 ; @GLFW_TRUE .comm _GLFW_API_UNAVAILABLE,4,2 ; @GLFW_API_UNAVAILABLE l_.str.1: ; @.str.1 .asciz "EGL: Library not found" .comm _GLFW_FALSE,4,2 ; @GLFW_FALSE l_.str.2: ; @.str.2 .asciz "lib" l_.str.3: ; @.str.3 .asciz "eglGetConfigAttrib" l_.str.4: ; @.str.4 .asciz "eglGetConfigs" l_.str.5: ; @.str.5 .asciz "eglGetDisplay" l_.str.6: ; @.str.6 .asciz "eglGetError" l_.str.7: ; @.str.7 .asciz "eglInitialize" l_.str.8: ; @.str.8 .asciz "eglTerminate" l_.str.9: ; @.str.9 .asciz "eglBindAPI" l_.str.10: ; @.str.10 .asciz "eglCreateContext" l_.str.11: ; @.str.11 .asciz "eglDestroySurface" l_.str.12: ; @.str.12 .asciz "eglDestroyContext" l_.str.13: ; @.str.13 .asciz "eglCreateWindowSurface" l_.str.14: ; @.str.14 .asciz "eglMakeCurrent" l_.str.15: ; @.str.15 .asciz "eglSwapBuffers" l_.str.16: ; @.str.16 .asciz "eglSwapInterval" l_.str.17: ; @.str.17 .asciz "eglQueryString" l_.str.18: ; @.str.18 .asciz "eglGetProcAddress" .comm _GLFW_PLATFORM_ERROR,4,2 ; @GLFW_PLATFORM_ERROR l_.str.19: ; @.str.19 .asciz "EGL: Failed to load required entry points" .comm __GLFW_EGL_NATIVE_DISPLAY,4,2 ; @_GLFW_EGL_NATIVE_DISPLAY .comm _EGL_NO_DISPLAY,8,3 ; @EGL_NO_DISPLAY l_.str.20: ; @.str.20 .asciz "EGL: Failed to get EGL display: %s" l_.str.21: ; @.str.21 .asciz "EGL: Failed to initialize EGL: %s" l_.str.22: ; @.str.22 .asciz "EGL_KHR_create_context" l_.str.23: ; @.str.23 .asciz "EGL_KHR_create_context_no_error" l_.str.24: ; @.str.24 .asciz "EGL_KHR_gl_colorspace" .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_egl_context.c__glfwInitEGL.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwTerminateEGL ## -- Begin function _glfwTerminateEGL .p2align 4, 0x90 __glfwTerminateEGL: ## @_glfwTerminateEGL .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq __glfw@GOTPCREL(%rip), %rbx movq 8(%rbx), %rdi testq %rdi, %rdi je LBB0_2 ## %bb.1: callq _eglTerminate movq _EGL_NO_DISPLAY@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 8(%rbx) LBB0_2: movq (%rbx), %rdi testq %rdi, %rdi je LBB0_4 ## %bb.3: callq __glfw_dlclose movq $0, (%rbx) LBB0_4: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm __glfw,16,3 ## @_glfw .comm _EGL_NO_DISPLAY,8,3 ## @EGL_NO_DISPLAY .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwTerminateEGL ; -- Begin function _glfwTerminateEGL .p2align 2 __glfwTerminateEGL: ; @_glfwTerminateEGL .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x19, __glfw@GOTPAGE Lloh1: ldr x19, [x19, __glfw@GOTPAGEOFF] ldr x0, [x19, #8] cbz x0, LBB0_2 ; %bb.1: bl _eglTerminate Lloh2: adrp x8, _EGL_NO_DISPLAY@GOTPAGE Lloh3: ldr x8, [x8, _EGL_NO_DISPLAY@GOTPAGEOFF] Lloh4: ldr x8, [x8] str x8, [x19, #8] LBB0_2: ldr x0, [x19] cbz x0, LBB0_4 ; %bb.3: bl __glfw_dlclose str xzr, [x19] LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm __glfw,16,3 ; @_glfw .comm _EGL_NO_DISPLAY,8,3 ; @EGL_NO_DISPLAY .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_egl_context.c__glfwTerminateEGL.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function destroyContextEGL _destroyContextEGL: ## @destroyContextEGL .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq 24(%rdi), %rdi testq %rdi, %rdi je LBB0_2 ## %bb.1: callq __glfw_dlclose movq $0, 24(%rbx) LBB0_2: movq 16(%rbx), %rsi testq %rsi, %rsi je LBB0_4 ## %bb.3: movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %edi callq _eglDestroySurface movq _EGL_NO_SURFACE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 16(%rbx) LBB0_4: movq 8(%rbx), %rsi testq %rsi, %rsi je LBB0_6 ## %bb.5: movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %edi callq _eglDestroyContext movq _EGL_NO_CONTEXT@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 8(%rbx) LBB0_6: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm __glfw,4,2 ## @_glfw .comm _EGL_NO_SURFACE,8,3 ## @EGL_NO_SURFACE .comm _EGL_NO_CONTEXT,8,3 ## @EGL_NO_CONTEXT .comm _GLFW_OPENGL_API,8,3 ## @GLFW_OPENGL_API .no_dead_strip _destroyContextEGL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function destroyContextEGL _destroyContextEGL: ; @destroyContextEGL .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x0, [x0, #24] cbz x0, LBB0_2 ; %bb.1: bl __glfw_dlclose str xzr, [x19, #24] LBB0_2: ldr x1, [x19, #16] Lloh0: adrp x20, __glfw@GOTPAGE Lloh1: ldr x20, [x20, __glfw@GOTPAGEOFF] cbz x1, LBB0_4 ; %bb.3: ldr w0, [x20] bl _eglDestroySurface Lloh2: adrp x8, _EGL_NO_SURFACE@GOTPAGE Lloh3: ldr x8, [x8, _EGL_NO_SURFACE@GOTPAGEOFF] Lloh4: ldr x8, [x8] str x8, [x19, #16] LBB0_4: ldr x1, [x19, #8] cbz x1, LBB0_6 ; %bb.5: ldr w0, [x20] bl _eglDestroyContext Lloh5: adrp x8, _EGL_NO_CONTEXT@GOTPAGE Lloh6: ldr x8, [x8, _EGL_NO_CONTEXT@GOTPAGEOFF] Lloh7: ldr x8, [x8] str x8, [x19, #8] LBB0_6: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm __glfw,4,2 ; @_glfw .comm _EGL_NO_SURFACE,8,3 ; @EGL_NO_SURFACE .comm _EGL_NO_CONTEXT,8,3 ; @EGL_NO_CONTEXT .comm _GLFW_OPENGL_API,8,3 ; @GLFW_OPENGL_API .no_dead_strip _destroyContextEGL .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_egl_context.c_destroyContextEGL.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function extensionSupportedEGL _extensionSupportedEGL: ## @extensionSupportedEGL .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %edi movq _EGL_EXTENSIONS@GOTPCREL(%rip), %rax movl (%rax), %esi callq _eglQueryString testq %rax, %rax je LBB0_3 ## %bb.1: movq %rbx, %rdi movq %rax, %rsi callq __glfwStringInExtensionString testq %rax, %rax je LBB0_3 ## %bb.2: movq _GLFW_TRUE@GOTPCREL(%rip), %rax jmp LBB0_4 LBB0_3: movq _GLFW_FALSE@GOTPCREL(%rip), %rax LBB0_4: movl (%rax), %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm __glfw,4,2 ## @_glfw .comm _EGL_EXTENSIONS,4,2 ## @EGL_EXTENSIONS .comm _GLFW_TRUE,4,2 ## @GLFW_TRUE .comm _GLFW_FALSE,4,2 ## @GLFW_FALSE .no_dead_strip _extensionSupportedEGL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function extensionSupportedEGL _extensionSupportedEGL: ; @extensionSupportedEGL .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, __glfw@GOTPAGE Lloh1: ldr x8, [x8, __glfw@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x8, _EGL_EXTENSIONS@GOTPAGE Lloh4: ldr x8, [x8, _EGL_EXTENSIONS@GOTPAGEOFF] Lloh5: ldr w1, [x8] bl _eglQueryString cbz x0, LBB0_3 ; %bb.1: mov x1, x0 mov x0, x19 bl __glfwStringInExtensionString cbz x0, LBB0_3 ; %bb.2: Lloh6: adrp x8, _GLFW_TRUE@GOTPAGE Lloh7: ldr x8, [x8, _GLFW_TRUE@GOTPAGEOFF] b LBB0_4 LBB0_3: Lloh8: adrp x8, _GLFW_FALSE@GOTPAGE Lloh9: ldr x8, [x8, _GLFW_FALSE@GOTPAGEOFF] LBB0_4: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .cfi_endproc ; -- End function .comm __glfw,4,2 ; @_glfw .comm _EGL_EXTENSIONS,4,2 ; @EGL_EXTENSIONS .comm _GLFW_TRUE,4,2 ; @GLFW_TRUE .comm _GLFW_FALSE,4,2 ; @GLFW_FALSE .no_dead_strip _extensionSupportedEGL .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_egl_context.c_extensionSupportedEGL.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function getEGLConfigAttrib _getEGLConfigAttrib: ## @getEGLConfigAttrib .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %esi, %edx movl %edi, %esi movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -4(%rbp), %rcx callq _eglGetConfigAttrib movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm __glfw,4,2 ## @_glfw .no_dead_strip _getEGLConfigAttrib .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function getEGLConfigAttrib _getEGLConfigAttrib: ; @getEGLConfigAttrib .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x2, x1 mov x1, x0 Lloh0: adrp x8, __glfw@GOTPAGE Lloh1: ldr x8, [x8, __glfw@GOTPAGEOFF] Lloh2: ldr w0, [x8] sub x3, x29, #4 bl _eglGetConfigAttrib ldur w0, [x29, #-4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm __glfw,4,2 ; @_glfw .no_dead_strip _getEGLConfigAttrib .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_egl_context.c_getEGLConfigAttrib.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function getEGLErrorString _getEGLErrorString: ## @getEGLErrorString .cfi_startproc ## %bb.0: addl $-128, %edi cmpl $14, %edi ja LBB0_1 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq %edi, %rax leaq l_reltable.getEGLErrorString(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax popq %rbp retq LBB0_1: leaq L_.str.15(%rip), %rax retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Success" L_.str.1: ## @.str.1 .asciz "EGL is not or could not be initialized" L_.str.2: ## @.str.2 .asciz "EGL cannot access a requested resource" L_.str.3: ## @.str.3 .asciz "EGL failed to allocate resources for the requested operation" L_.str.4: ## @.str.4 .asciz "An unrecognized attribute or attribute value was passed in the attribute list" L_.str.5: ## @.str.5 .asciz "An EGLContext argument does not name a valid EGL rendering context" L_.str.6: ## @.str.6 .asciz "An EGLConfig argument does not name a valid EGL frame buffer configuration" L_.str.7: ## @.str.7 .asciz "The current surface of the calling thread is a window, pixel buffer or pixmap that is no longer valid" L_.str.8: ## @.str.8 .asciz "An EGLDisplay argument does not name a valid EGL display connection" L_.str.9: ## @.str.9 .asciz "An EGLSurface argument does not name a valid surface configured for GL rendering" L_.str.10: ## @.str.10 .asciz "Arguments are inconsistent" L_.str.11: ## @.str.11 .asciz "One or more argument values are invalid" L_.str.12: ## @.str.12 .asciz "A NativePixmapType argument does not refer to a valid native pixmap" L_.str.13: ## @.str.13 .asciz "A NativeWindowType argument does not refer to a valid native window" L_.str.14: ## @.str.14 .asciz "The application must destroy all contexts and reinitialise" L_.str.15: ## @.str.15 .asciz "ERROR: UNKNOWN EGL ERROR" .no_dead_strip _getEGLErrorString .section __TEXT,__const .p2align 2 ## @reltable.getEGLErrorString l_reltable.getEGLErrorString: .long L_.str-l_reltable.getEGLErrorString .long L_.str.1-l_reltable.getEGLErrorString .long L_.str.14-l_reltable.getEGLErrorString .long L_.str.9-l_reltable.getEGLErrorString .long L_.str.11-l_reltable.getEGLErrorString .long L_.str.13-l_reltable.getEGLErrorString .long L_.str.12-l_reltable.getEGLErrorString .long L_.str.10-l_reltable.getEGLErrorString .long L_.str.8-l_reltable.getEGLErrorString .long L_.str.7-l_reltable.getEGLErrorString .long L_.str.5-l_reltable.getEGLErrorString .long L_.str.6-l_reltable.getEGLErrorString .long L_.str.4-l_reltable.getEGLErrorString .long L_.str.3-l_reltable.getEGLErrorString .long L_.str.2-l_reltable.getEGLErrorString .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function getEGLErrorString _getEGLErrorString: ; @getEGLErrorString .cfi_startproc ; %bb.0: sub w8, w0, #128 cmp w8, #14 b.hi LBB0_2 ; %bb.1: Lloh0: adrp x9, l_switch.table.getEGLErrorString@PAGE Lloh1: add x9, x9, l_switch.table.getEGLErrorString@PAGEOFF ldr x0, [x9, w8, sxtw #3] ret LBB0_2: Lloh2: adrp x0, l_.str.15@PAGE Lloh3: add x0, x0, l_.str.15@PAGEOFF ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Success" l_.str.1: ; @.str.1 .asciz "EGL is not or could not be initialized" l_.str.2: ; @.str.2 .asciz "EGL cannot access a requested resource" l_.str.3: ; @.str.3 .asciz "EGL failed to allocate resources for the requested operation" l_.str.4: ; @.str.4 .asciz "An unrecognized attribute or attribute value was passed in the attribute list" l_.str.5: ; @.str.5 .asciz "An EGLContext argument does not name a valid EGL rendering context" l_.str.6: ; @.str.6 .asciz "An EGLConfig argument does not name a valid EGL frame buffer configuration" l_.str.7: ; @.str.7 .asciz "The current surface of the calling thread is a window, pixel buffer or pixmap that is no longer valid" l_.str.8: ; @.str.8 .asciz "An EGLDisplay argument does not name a valid EGL display connection" l_.str.9: ; @.str.9 .asciz "An EGLSurface argument does not name a valid surface configured for GL rendering" l_.str.10: ; @.str.10 .asciz "Arguments are inconsistent" l_.str.11: ; @.str.11 .asciz "One or more argument values are invalid" l_.str.12: ; @.str.12 .asciz "A NativePixmapType argument does not refer to a valid native pixmap" l_.str.13: ; @.str.13 .asciz "A NativeWindowType argument does not refer to a valid native window" l_.str.14: ; @.str.14 .asciz "The application must destroy all contexts and reinitialise" l_.str.15: ; @.str.15 .asciz "ERROR: UNKNOWN EGL ERROR" .no_dead_strip _getEGLErrorString .section __DATA,__const .p2align 3 ; @switch.table.getEGLErrorString l_switch.table.getEGLErrorString: .quad l_.str .quad l_.str.1 .quad l_.str.14 .quad l_.str.9 .quad l_.str.11 .quad l_.str.13 .quad l_.str.12 .quad l_.str.10 .quad l_.str.8 .quad l_.str.7 .quad l_.str.5 .quad l_.str.6 .quad l_.str.4 .quad l_.str.3 .quad l_.str.2 .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_egl_context.c_getEGLErrorString.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function getProcAddressEGL _getProcAddressEGL: ## @getProcAddressEGL .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx xorl %eax, %eax callq __glfwPlatformGetCurrentContext movq (%rax), %rdi testq %rdi, %rdi je LBB0_3 ## %bb.1: movq %rbx, %rsi callq __glfw_dlsym testl %eax, %eax je LBB0_3 ## %bb.2: cltq addq $8, %rsp popq %rbx popq %rbp retq LBB0_3: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _eglGetProcAddress ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _getProcAddressEGL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function getProcAddressEGL _getProcAddressEGL: ; @getProcAddressEGL .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl __glfwPlatformGetCurrentContext ldr x0, [x0] cbz x0, LBB0_3 ; %bb.1: mov x1, x19 bl __glfw_dlsym ; kill: def $w0 killed $w0 def $x0 cbz w0, LBB0_3 ; %bb.2: sxtw x0, w0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_3: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _eglGetProcAddress .cfi_endproc ; -- End function .no_dead_strip _getProcAddressEGL .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_egl_context.c_getProcAddressEGL.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function makeContextCurrentEGL _makeContextCurrentEGL: ## @makeContextCurrentEGL .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %edi testq %rbx, %rbx je LBB0_4 ## %bb.1: movl (%rbx), %ecx movl 4(%rbx), %edx movl %edx, %esi callq _eglMakeCurrent testl %eax, %eax jne LBB0_6 ## %bb.2: movq _GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax movl (%rax), %ebx xorl %eax, %eax callq _eglGetError movl %eax, %edi callq _getEGLErrorString leaq L_.str(%rip), %rsi jmp LBB0_3 LBB0_4: movq _EGL_NO_SURFACE@GOTPCREL(%rip), %rax movl (%rax), %edx movq _EGL_NO_CONTEXT@GOTPCREL(%rip), %rax movl (%rax), %ecx movl %edx, %esi callq _eglMakeCurrent testl %eax, %eax je LBB0_5 LBB0_6: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp __glfwPlatformSetCurrentContext ## TAILCALL LBB0_5: movq _GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax movl (%rax), %ebx xorl %eax, %eax callq _eglGetError movl %eax, %edi callq _getEGLErrorString leaq L_.str.1(%rip), %rsi LBB0_3: movl %ebx, %edi movl %eax, %edx addq $8, %rsp popq %rbx popq %rbp jmp __glfwInputError ## TAILCALL .cfi_endproc ## -- End function .comm __glfw,4,2 ## @_glfw .comm _GLFW_PLATFORM_ERROR,4,2 ## @GLFW_PLATFORM_ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "EGL: Failed to make context current: %s" .comm _EGL_NO_SURFACE,4,2 ## @EGL_NO_SURFACE .comm _EGL_NO_CONTEXT,4,2 ## @EGL_NO_CONTEXT L_.str.1: ## @.str.1 .asciz "EGL: Failed to clear current context: %s" .no_dead_strip _makeContextCurrentEGL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function makeContextCurrentEGL _makeContextCurrentEGL: ; @makeContextCurrentEGL .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, __glfw@GOTPAGE Lloh1: ldr x8, [x8, __glfw@GOTPAGEOFF] Lloh2: ldr w0, [x8] cbz x19, LBB0_3 ; %bb.1: ldp w3, w1, [x19] mov x2, x1 bl _eglMakeCurrent cbnz w0, LBB0_4 ; %bb.2: Lloh3: adrp x8, _GLFW_PLATFORM_ERROR@GOTPAGE Lloh4: ldr x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF] Lloh5: ldr w19, [x8] bl _eglGetError bl _getEGLErrorString mov x2, x0 Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF b LBB0_6 LBB0_3: Lloh8: adrp x8, _EGL_NO_SURFACE@GOTPAGE Lloh9: ldr x8, [x8, _EGL_NO_SURFACE@GOTPAGEOFF] Lloh10: ldr w1, [x8] Lloh11: adrp x8, _EGL_NO_CONTEXT@GOTPAGE Lloh12: ldr x8, [x8, _EGL_NO_CONTEXT@GOTPAGEOFF] Lloh13: ldr w3, [x8] mov x2, x1 bl _eglMakeCurrent cbz w0, LBB0_5 LBB0_4: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b __glfwPlatformSetCurrentContext LBB0_5: Lloh14: adrp x8, _GLFW_PLATFORM_ERROR@GOTPAGE Lloh15: ldr x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF] Lloh16: ldr w19, [x8] bl _eglGetError bl _getEGLErrorString mov x2, x0 Lloh17: adrp x1, l_.str.1@PAGE Lloh18: add x1, x1, l_.str.1@PAGEOFF LBB0_6: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b __glfwInputError .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .comm __glfw,4,2 ; @_glfw .comm _GLFW_PLATFORM_ERROR,4,2 ; @GLFW_PLATFORM_ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "EGL: Failed to make context current: %s" .comm _EGL_NO_SURFACE,4,2 ; @EGL_NO_SURFACE .comm _EGL_NO_CONTEXT,4,2 ; @EGL_NO_CONTEXT l_.str.1: ; @.str.1 .asciz "EGL: Failed to clear current context: %s" .no_dead_strip _makeContextCurrentEGL .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_egl_context.c_makeContextCurrentEGL.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function swapBuffersEGL _swapBuffersEGL: ## @swapBuffersEGL .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx xorl %eax, %eax callq __glfwPlatformGetCurrentContext cmpq %rbx, %rax je LBB0_2 ## %bb.1: movq _GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi addq $8, %rsp popq %rbx popq %rbp jmp __glfwInputError ## TAILCALL LBB0_2: movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %edi movl (%rbx), %esi addq $8, %rsp popq %rbx popq %rbp jmp _eglSwapBuffers ## TAILCALL .cfi_endproc ## -- End function .comm _GLFW_PLATFORM_ERROR,4,2 ## @GLFW_PLATFORM_ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "EGL: The context must be current on the calling thread when swapping buffers" .comm __glfw,4,2 ## @_glfw .no_dead_strip _swapBuffersEGL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function swapBuffersEGL _swapBuffersEGL: ; @swapBuffersEGL .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl __glfwPlatformGetCurrentContext cmp x0, x19 b.eq LBB0_2 ; %bb.1: Lloh0: adrp x8, _GLFW_PLATFORM_ERROR@GOTPAGE Lloh1: ldr x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b __glfwInputError LBB0_2: Lloh5: adrp x8, __glfw@GOTPAGE Lloh6: ldr x8, [x8, __glfw@GOTPAGEOFF] Lloh7: ldr w0, [x8] ldr w1, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _eglSwapBuffers .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _GLFW_PLATFORM_ERROR,4,2 ; @GLFW_PLATFORM_ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "EGL: The context must be current on the calling thread when swapping buffers" .comm __glfw,4,2 ; @_glfw .no_dead_strip _swapBuffersEGL .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_egl_context.c_swapBuffersEGL.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function swapIntervalEGL _swapIntervalEGL: ## @swapIntervalEGL .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %esi movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %edi popq %rbp jmp _eglSwapInterval ## TAILCALL .cfi_endproc ## -- End function .comm __glfw,4,2 ## @_glfw .no_dead_strip _swapIntervalEGL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function swapIntervalEGL _swapIntervalEGL: ; @swapIntervalEGL .cfi_startproc ; %bb.0: mov x1, x0 Lloh0: adrp x8, __glfw@GOTPAGE Lloh1: ldr x8, [x8, __glfw@GOTPAGEOFF] Lloh2: ldr w0, [x8] b _eglSwapInterval .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm __glfw,4,2 ; @_glfw .no_dead_strip _swapIntervalEGL .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_egl_context.c_swapIntervalEGL.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwChooseVisualGLX ## -- Begin function _glfwChooseVisualGLX .p2align 4, 0x90 __glfwChooseVisualGLX: ## @_glfwChooseVisualGLX .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rcx, %r14 movq %rdx, %rbx movq %rsi, %rdi leaq -20(%rbp), %rsi callq _chooseGLXFBConfig testl %eax, %eax je LBB0_1 ## %bb.3: movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %edi movl -20(%rbp), %esi callq _glXGetVisualFromFBConfig testq %rax, %rax je LBB0_4 ## %bb.5: movq 8(%rax), %rcx movq %rcx, (%rbx) movl (%rax), %ecx movl %ecx, (%r14) movq %rax, %rdi callq _XFree movq _GLFW_TRUE@GOTPCREL(%rip), %rax jmp LBB0_6 LBB0_1: movq _GLFW_FORMAT_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi jmp LBB0_2 LBB0_4: movq _GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi LBB0_2: callq __glfwInputError movq _GLFW_FALSE@GOTPCREL(%rip), %rax LBB0_6: movl (%rax), %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _GLFW_FORMAT_UNAVAILABLE,4,2 ## @GLFW_FORMAT_UNAVAILABLE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "GLX: Failed to find a suitable GLXFBConfig" .comm _GLFW_FALSE,4,2 ## @GLFW_FALSE .comm __glfw,4,2 ## @_glfw .comm _GLFW_PLATFORM_ERROR,4,2 ## @GLFW_PLATFORM_ERROR L_.str.1: ## @.str.1 .asciz "GLX: Failed to retrieve Visual for GLXFBConfig" .comm _GLFW_TRUE,4,2 ## @GLFW_TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwChooseVisualGLX ; -- Begin function _glfwChooseVisualGLX .p2align 2 __glfwChooseVisualGLX: ; @_glfwChooseVisualGLX .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x3 mov x20, x2 mov x0, x1 add x1, sp, #12 bl _chooseGLXFBConfig cbz w0, LBB0_3 ; %bb.1: Lloh0: adrp x8, __glfw@GOTPAGE Lloh1: ldr x8, [x8, __glfw@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldr w1, [sp, #12] bl _glXGetVisualFromFBConfig cbz x0, LBB0_4 ; %bb.2: ldr x8, [x0, #8] str x8, [x20] ldr w8, [x0] str w8, [x19] bl _XFree Lloh3: adrp x8, _GLFW_TRUE@GOTPAGE Lloh4: ldr x8, [x8, _GLFW_TRUE@GOTPAGEOFF] b LBB0_6 LBB0_3: Lloh5: adrp x8, _GLFW_FORMAT_UNAVAILABLE@GOTPAGE Lloh6: ldr x8, [x8, _GLFW_FORMAT_UNAVAILABLE@GOTPAGEOFF] Lloh7: ldr w0, [x8] Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF b LBB0_5 LBB0_4: Lloh10: adrp x8, _GLFW_PLATFORM_ERROR@GOTPAGE Lloh11: ldr x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF] Lloh12: ldr w0, [x8] Lloh13: adrp x1, l_.str.1@PAGE Lloh14: add x1, x1, l_.str.1@PAGEOFF LBB0_5: bl __glfwInputError Lloh15: adrp x8, _GLFW_FALSE@GOTPAGE Lloh16: ldr x8, [x8, _GLFW_FALSE@GOTPAGEOFF] LBB0_6: ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGot Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _GLFW_FORMAT_UNAVAILABLE,4,2 ; @GLFW_FORMAT_UNAVAILABLE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "GLX: Failed to find a suitable GLXFBConfig" .comm _GLFW_FALSE,4,2 ; @GLFW_FALSE .comm __glfw,4,2 ; @_glfw .comm _GLFW_PLATFORM_ERROR,4,2 ; @GLFW_PLATFORM_ERROR l_.str.1: ; @.str.1 .asciz "GLX: Failed to retrieve Visual for GLXFBConfig" .comm _GLFW_TRUE,4,2 ; @GLFW_TRUE .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_glx_context.c__glfwChooseVisualGLX.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwCreateContextGLX ## -- Begin function _glfwCreateContextGLX .p2align 4, 0x90 __glfwCreateContextGLX: ## @_glfwCreateContextGLX .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $200, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r15 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq $0, -224(%rbp) movq 64(%rsi), %rax testq %rax, %rax je LBB0_2 ## %bb.1: movq (%rax), %r14 jmp LBB0_3 LBB0_2: xorl %r14d, %r14d LBB0_3: leaq -224(%rbp), %rsi movq %rdx, %rdi callq _chooseGLXFBConfig testl %eax, %eax je LBB0_9 ## %bb.4: movq (%rbx), %rax movq _GLFW_OPENGL_ES_API@GOTPCREL(%rip), %rdx movq __glfw@GOTPCREL(%rip), %r12 movq 48(%r12), %rcx cmpq (%rdx), %rax jne LBB0_10 ## %bb.5: testq %rcx, %rcx je LBB0_21 ## %bb.6: cmpl $0, 56(%r12) je LBB0_21 ## %bb.7: cmpl $0, 60(%r12) je LBB0_21 ## %bb.8: leaq 8(%rbx), %r13 movb $1, %al jmp LBB0_13 LBB0_9: movq _GLFW_FORMAT_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi jmp LBB0_64 LBB0_10: leaq 8(%rbx), %r13 testq %rcx, %rcx setne %al cmpq $0, 8(%rbx) je LBB0_13 ## %bb.11: testq %rcx, %rcx jne LBB0_13 ## %bb.12: movq _GLFW_VERSION_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.2(%rip), %rsi jmp LBB0_64 LBB0_13: cmpq $0, 16(%rbx) je LBB0_15 ## %bb.14: cmpl $0, 56(%r12) setne %cl testb %cl, %al je LBB0_22 LBB0_15: xorl %eax, %eax callq __glfwGrabErrorHandlerX11 cmpq $0, 48(%r12) je LBB0_58 ## %bb.16: movq (%rbx), %rax movq _GLFW_OPENGL_API@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax movq %r13, -232(%rbp) ## 8-byte Spill jne LBB0_23 ## %bb.17: xorl %eax, %eax cmpq $0, 8(%rbx) je LBB0_19 ## %bb.18: movq _GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_19: movq 16(%rbx), %rcx movq _GLFW_OPENGL_CORE_PROFILE@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx jne LBB0_24 ## %bb.20: movq _GLX_CONTEXT_CORE_PROFILE_BIT_ARB@GOTPCREL(%rip), %rcx jmp LBB0_26 LBB0_21: movq _GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi jmp LBB0_64 LBB0_22: movq _GLFW_VERSION_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.3(%rip), %rsi jmp LBB0_64 LBB0_23: movq _GLX_CONTEXT_ES2_PROFILE_BIT_EXT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -212(%rbp) ## 4-byte Spill xorl %eax, %eax jmp LBB0_27 LBB0_24: movq _GLFW_OPENGL_COMPAT_PROFILE@GOTPCREL(%rip), %rdx movl $0, -212(%rbp) ## 4-byte Folded Spill cmpq (%rdx), %rcx jne LBB0_27 ## %bb.25: movq _GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB@GOTPCREL(%rip), %rcx LBB0_26: movl (%rcx), %ecx movl %ecx, -212(%rbp) ## 4-byte Spill LBB0_27: xorl %ecx, %ecx cmpq $0, 56(%rbx) movl $0, %r13d je LBB0_29 ## %bb.28: movq _GLX_CONTEXT_DEBUG_BIT_ARB@GOTPCREL(%rip), %rdx movl (%rdx), %r13d LBB0_29: orl %eax, %r13d cmpq $0, 48(%rbx) je LBB0_31 ## %bb.30: movq _GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR@GOTPCREL(%rip), %rax movl (%rax), %ecx LBB0_31: orl %ecx, %r13d movq 24(%rbx), %rax testq %rax, %rax je LBB0_39 ## %bb.32: cmpq $0, 40(%r12) je LBB0_39 ## %bb.33: movq _GLFW_NO_RESET_NOTIFICATION@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_35 ## %bb.34: movq _GLX_NO_RESET_NOTIFICATION_ARB@GOTPCREL(%rip), %rax jmp LBB0_37 LBB0_35: movq _GLFW_LOSE_CONTEXT_ON_RESET@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_38 ## %bb.36: movq _GLX_LOSE_CONTEXT_ON_RESET_ARB@GOTPCREL(%rip), %rax LBB0_37: movq _GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB@GOTPCREL(%rip), %rcx movl (%rcx), %edi movl (%rax), %esi callq _setGLXattrib LBB0_38: movq _GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB@GOTPCREL(%rip), %rax orl (%rax), %r13d LBB0_39: movq 32(%rbx), %rax testq %rax, %rax je LBB0_46 ## %bb.40: cmpq $0, 32(%r12) je LBB0_46 ## %bb.41: movq _GLFW_RELEASE_BEHAVIOR_NONE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_43 ## %bb.42: movq _GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB@GOTPCREL(%rip), %rax jmp LBB0_45 LBB0_43: movq _GLFW_RELEASE_BEHAVIOR_FLUSH@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_46 ## %bb.44: movq _GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB@GOTPCREL(%rip), %rax LBB0_45: movq _GLX_CONTEXT_RELEASE_BEHAVIOR_ARB@GOTPCREL(%rip), %rcx movl (%rcx), %edi movl (%rax), %esi callq _setGLXattrib LBB0_46: movl 40(%rbx), %esi cmpl $1, %esi jne LBB0_48 ## %bb.47: cmpl $0, 44(%rbx) je LBB0_49 LBB0_48: movq _GLX_CONTEXT_MAJOR_VERSION_ARB@GOTPCREL(%rip), %rax movl (%rax), %edi callq _setGLXattrib movq _GLX_CONTEXT_MINOR_VERSION_ARB@GOTPCREL(%rip), %rax movl (%rax), %edi movl 44(%rbx), %esi callq _setGLXattrib LBB0_49: movl -212(%rbp), %esi ## 4-byte Reload testl %esi, %esi je LBB0_51 ## %bb.50: movq _GLX_CONTEXT_PROFILE_MASK_ARB@GOTPCREL(%rip), %rax movl (%rax), %edi callq _setGLXattrib LBB0_51: testl %r13d, %r13d je LBB0_53 ## %bb.52: movq _GLX_CONTEXT_FLAGS_ARB@GOTPCREL(%rip), %rax movl (%rax), %edi movl %r13d, %esi callq _setGLXattrib LBB0_53: movq _None@GOTPCREL(%rip), %rax movl (%rax), %edi movl %edi, %esi callq _setGLXattrib movl 8(%r12), %edi movq -224(%rbp), %rsi movq _True@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq -208(%rbp), %r8 movq %r14, %rdx callq *24(%r12) movq %rax, 32(%r15) testq %rax, %rax jne LBB0_59 ## %bb.54: movq _GLXBadProfileARB@GOTPCREL(%rip), %rax movq (%rax), %rax addq 16(%r12), %rax cmpq %rax, (%r12) jne LBB0_59 ## %bb.55: movq (%rbx), %rax movq _GLFW_OPENGL_API@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_59 ## %bb.56: movq 16(%rbx), %rax movq _GLFW_OPENGL_ANY_PROFILE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_59 ## %bb.57: movq -232(%rbp), %rax ## 8-byte Reload movq (%rax), %rax movq _GLFW_FALSE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_59 LBB0_58: movq -224(%rbp), %rsi movq %r15, %rdi movq %r14, %rdx callq _createLegacyContextGLX movq %rax, 32(%r15) LBB0_59: xorl %eax, %eax callq __glfwReleaseErrorHandlerX11 cmpq $0, 32(%r15) je LBB0_62 ## %bb.60: movl 8(%r12), %edi movq -224(%rbp), %rsi movl 40(%r15), %edx xorl %ecx, %ecx callq _glXCreateWindow movl %eax, 24(%r15) testl %eax, %eax je LBB0_63 ## %bb.61: movq _makeContextCurrentGLX@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 20(%r15) movq _swapBuffersGLX@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 16(%r15) movq _swapIntervalGLX@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 12(%r15) movq _extensionSupportedGLX@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%r15) movq _getProcAddressGLX@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%r15) movq _destroyContextGLX@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r15) movq _GLFW_TRUE@GOTPCREL(%rip), %rax jmp LBB0_66 LBB0_62: movq _GLFW_VERSION_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.4(%rip), %rsi callq __glfwInputErrorX11 jmp LBB0_65 LBB0_63: movq _GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.5(%rip), %rsi LBB0_64: callq __glfwInputError LBB0_65: movq _GLFW_FALSE@GOTPCREL(%rip), %rax LBB0_66: movq (%rax), %rax movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_68 ## %bb.67: addq $200, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_68: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _GLFW_FORMAT_UNAVAILABLE,4,2 ## @GLFW_FORMAT_UNAVAILABLE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "GLX: Failed to find a suitable GLXFBConfig" .comm _GLFW_FALSE,8,3 ## @GLFW_FALSE .comm _GLFW_OPENGL_ES_API,8,3 ## @GLFW_OPENGL_ES_API .comm __glfw,64,3 ## @_glfw .comm _GLFW_API_UNAVAILABLE,4,2 ## @GLFW_API_UNAVAILABLE L_.str.1: ## @.str.1 .asciz "GLX: OpenGL ES requested but GLX_EXT_create_context_es2_profile is unavailable" .comm _GLFW_VERSION_UNAVAILABLE,4,2 ## @GLFW_VERSION_UNAVAILABLE L_.str.2: ## @.str.2 .asciz "GLX: Forward compatibility requested but GLX_ARB_create_context_profile is unavailable" L_.str.3: ## @.str.3 .asciz "GLX: An OpenGL profile requested but GLX_ARB_create_context_profile is unavailable" .comm _GLFW_OPENGL_API,8,3 ## @GLFW_OPENGL_API .comm _GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB,4,2 ## @GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB .comm _GLFW_OPENGL_CORE_PROFILE,8,3 ## @GLFW_OPENGL_CORE_PROFILE .comm _GLX_CONTEXT_CORE_PROFILE_BIT_ARB,4,2 ## @GLX_CONTEXT_CORE_PROFILE_BIT_ARB .comm _GLFW_OPENGL_COMPAT_PROFILE,8,3 ## @GLFW_OPENGL_COMPAT_PROFILE .comm _GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB,4,2 ## @GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB .comm _GLX_CONTEXT_ES2_PROFILE_BIT_EXT,4,2 ## @GLX_CONTEXT_ES2_PROFILE_BIT_EXT .comm _GLX_CONTEXT_DEBUG_BIT_ARB,4,2 ## @GLX_CONTEXT_DEBUG_BIT_ARB .comm _GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR,4,2 ## @GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR .comm _GLFW_NO_RESET_NOTIFICATION,8,3 ## @GLFW_NO_RESET_NOTIFICATION .comm _GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB,4,2 ## @GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB .comm _GLX_NO_RESET_NOTIFICATION_ARB,4,2 ## @GLX_NO_RESET_NOTIFICATION_ARB .comm _GLFW_LOSE_CONTEXT_ON_RESET,8,3 ## @GLFW_LOSE_CONTEXT_ON_RESET .comm _GLX_LOSE_CONTEXT_ON_RESET_ARB,4,2 ## @GLX_LOSE_CONTEXT_ON_RESET_ARB .comm _GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB,4,2 ## @GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB .comm _GLFW_RELEASE_BEHAVIOR_NONE,8,3 ## @GLFW_RELEASE_BEHAVIOR_NONE .comm _GLX_CONTEXT_RELEASE_BEHAVIOR_ARB,4,2 ## @GLX_CONTEXT_RELEASE_BEHAVIOR_ARB .comm _GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB,4,2 ## @GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB .comm _GLFW_RELEASE_BEHAVIOR_FLUSH,8,3 ## @GLFW_RELEASE_BEHAVIOR_FLUSH .comm _GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB,4,2 ## @GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB .comm _GLX_CONTEXT_MAJOR_VERSION_ARB,4,2 ## @GLX_CONTEXT_MAJOR_VERSION_ARB .comm _GLX_CONTEXT_MINOR_VERSION_ARB,4,2 ## @GLX_CONTEXT_MINOR_VERSION_ARB .comm _GLX_CONTEXT_PROFILE_MASK_ARB,4,2 ## @GLX_CONTEXT_PROFILE_MASK_ARB .comm _GLX_CONTEXT_FLAGS_ARB,4,2 ## @GLX_CONTEXT_FLAGS_ARB .comm _None,4,2 ## @None .comm _True,4,2 ## @True .comm _GLXBadProfileARB,8,3 ## @GLXBadProfileARB .comm _GLFW_OPENGL_ANY_PROFILE,8,3 ## @GLFW_OPENGL_ANY_PROFILE L_.str.4: ## @.str.4 .asciz "GLX: Failed to create context" .comm _GLFW_PLATFORM_ERROR,4,2 ## @GLFW_PLATFORM_ERROR L_.str.5: ## @.str.5 .asciz "GLX: Failed to create window" .comm _makeContextCurrentGLX,4,2 ## @makeContextCurrentGLX .comm _swapBuffersGLX,4,2 ## @swapBuffersGLX .comm _swapIntervalGLX,4,2 ## @swapIntervalGLX .comm _extensionSupportedGLX,4,2 ## @extensionSupportedGLX .comm _getProcAddressGLX,4,2 ## @getProcAddressGLX .comm _destroyContextGLX,4,2 ## @destroyContextGLX .comm _GLFW_TRUE,8,3 ## @GLFW_TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwCreateContextGLX ; -- Begin function _glfwCreateContextGLX .p2align 2 __glfwCreateContextGLX: ; @_glfwCreateContextGLX .cfi_startproc ; %bb.0: sub sp, sp, #272 .cfi_def_cfa_offset 272 stp x28, x27, [sp, #176] ; 16-byte Folded Spill stp x26, x25, [sp, #192] ; 16-byte Folded Spill stp x24, x23, [sp, #208] ; 16-byte Folded Spill stp x22, x21, [sp, #224] ; 16-byte Folded Spill stp x20, x19, [sp, #240] ; 16-byte Folded Spill stp x29, x30, [sp, #256] ; 16-byte Folded Spill add x29, sp, #256 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x21, x1 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] str xzr, [sp] ldr x8, [x1, #64] cbz x8, LBB0_2 ; %bb.1: ldr x20, [x8] b LBB0_3 LBB0_2: mov x20, #0 LBB0_3: mov x1, sp mov x0, x2 bl _chooseGLXFBConfig cbz w0, LBB0_7 ; %bb.4: Lloh3: adrp x8, _GLFW_OPENGL_ES_API@GOTPAGE Lloh4: ldr x8, [x8, _GLFW_OPENGL_ES_API@GOTPAGEOFF] ldr x10, [x21] Lloh5: ldr x8, [x8] Lloh6: adrp x24, __glfw@GOTPAGE Lloh7: ldr x24, [x24, __glfw@GOTPAGEOFF] ldr x9, [x24, #48] cmp x10, x8 b.ne LBB0_8 ; %bb.5: ldp w8, w10, [x24, #56] cmp x9, #0 ccmp w8, #0, #4, ne ccmp w10, #0, #4, ne b.ne LBB0_11 ; %bb.6: Lloh8: adrp x8, _GLFW_API_UNAVAILABLE@GOTPAGE Lloh9: ldr x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF] Lloh10: ldr w0, [x8] Lloh11: adrp x1, l_.str.1@PAGE Lloh12: add x1, x1, l_.str.1@PAGEOFF b LBB0_55 LBB0_7: Lloh13: adrp x8, _GLFW_FORMAT_UNAVAILABLE@GOTPAGE Lloh14: ldr x8, [x8, _GLFW_FORMAT_UNAVAILABLE@GOTPAGEOFF] Lloh15: ldr w0, [x8] Lloh16: adrp x1, l_.str@PAGE Lloh17: add x1, x1, l_.str@PAGEOFF b LBB0_55 LBB0_8: mov x25, x21 ldr x10, [x25, #8]! cmp x9, #0 cset w8, ne cbz x10, LBB0_12 ; %bb.9: cbnz x9, LBB0_12 ; %bb.10: Lloh18: adrp x8, _GLFW_VERSION_UNAVAILABLE@GOTPAGE Lloh19: ldr x8, [x8, _GLFW_VERSION_UNAVAILABLE@GOTPAGEOFF] Lloh20: ldr w0, [x8] Lloh21: adrp x1, l_.str.2@PAGE Lloh22: add x1, x1, l_.str.2@PAGEOFF b LBB0_55 LBB0_11: add x25, x21, #8 mov w8, #1 LBB0_12: ldr x9, [x21, #16] cbz x9, LBB0_14 ; %bb.13: ldr w9, [x24, #56] cmp w9, #0 cset w9, ne and w8, w8, w9 tbz w8, #0, LBB0_18 LBB0_14: bl __glfwGrabErrorHandlerX11 ldr x8, [x24, #48] cbz x8, LBB0_49 ; %bb.15: ldr x8, [x21] Lloh23: adrp x26, _GLFW_OPENGL_API@GOTPAGE Lloh24: ldr x26, [x26, _GLFW_OPENGL_API@GOTPAGEOFF] ldr x9, [x26] cmp x8, x9 b.ne LBB0_19 ; %bb.16: Lloh25: adrp x8, _GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB@GOTPAGE Lloh26: ldr x8, [x8, _GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB@GOTPAGEOFF] Lloh27: ldr w8, [x8] ldp x10, x9, [x21, #8] cmp x10, #0 csel w8, wzr, w8, eq Lloh28: adrp x10, _GLFW_OPENGL_CORE_PROFILE@GOTPAGE Lloh29: ldr x10, [x10, _GLFW_OPENGL_CORE_PROFILE@GOTPAGEOFF] Lloh30: ldr x10, [x10] cmp x9, x10 b.ne LBB0_21 ; %bb.17: Lloh31: adrp x9, _GLX_CONTEXT_CORE_PROFILE_BIT_ARB@GOTPAGE Lloh32: ldr x9, [x9, _GLX_CONTEXT_CORE_PROFILE_BIT_ARB@GOTPAGEOFF] b LBB0_20 LBB0_18: Lloh33: adrp x8, _GLFW_VERSION_UNAVAILABLE@GOTPAGE Lloh34: ldr x8, [x8, _GLFW_VERSION_UNAVAILABLE@GOTPAGEOFF] Lloh35: ldr w0, [x8] Lloh36: adrp x1, l_.str.3@PAGE Lloh37: add x1, x1, l_.str.3@PAGEOFF b LBB0_55 LBB0_19: mov w8, #0 Lloh38: adrp x9, _GLX_CONTEXT_ES2_PROFILE_BIT_EXT@GOTPAGE Lloh39: ldr x9, [x9, _GLX_CONTEXT_ES2_PROFILE_BIT_EXT@GOTPAGEOFF] LBB0_20: ldr w22, [x9] b LBB0_22 LBB0_21: Lloh40: adrp x10, _GLFW_OPENGL_COMPAT_PROFILE@GOTPAGE Lloh41: ldr x10, [x10, _GLFW_OPENGL_COMPAT_PROFILE@GOTPAGEOFF] Lloh42: ldr x10, [x10] Lloh43: adrp x11, _GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB@GOTPAGE Lloh44: ldr x11, [x11, _GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB@GOTPAGEOFF] Lloh45: ldr w11, [x11] cmp x9, x10 csel w22, w11, wzr, eq LBB0_22: Lloh46: adrp x9, _GLX_CONTEXT_DEBUG_BIT_ARB@GOTPAGE Lloh47: ldr x9, [x9, _GLX_CONTEXT_DEBUG_BIT_ARB@GOTPAGEOFF] Lloh48: ldr w9, [x9] ldp x11, x10, [x21, #48] cmp x10, #0 csel w9, wzr, w9, eq Lloh49: adrp x10, _GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR@GOTPAGE Lloh50: ldr x10, [x10, _GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR@GOTPAGEOFF] orr w8, w9, w8 Lloh51: ldr w9, [x10] cmp x11, #0 csel w9, wzr, w9, eq orr w23, w8, w9 ldr x8, [x21, #24] cbz x8, LBB0_30 ; %bb.23: ldr x9, [x24, #40] cbz x9, LBB0_30 ; %bb.24: Lloh52: adrp x9, _GLFW_NO_RESET_NOTIFICATION@GOTPAGE Lloh53: ldr x9, [x9, _GLFW_NO_RESET_NOTIFICATION@GOTPAGEOFF] Lloh54: ldr x9, [x9] cmp x8, x9 b.ne LBB0_26 ; %bb.25: Lloh55: adrp x8, _GLX_NO_RESET_NOTIFICATION_ARB@GOTPAGE Lloh56: ldr x8, [x8, _GLX_NO_RESET_NOTIFICATION_ARB@GOTPAGEOFF] b LBB0_28 LBB0_26: Lloh57: adrp x9, _GLFW_LOSE_CONTEXT_ON_RESET@GOTPAGE Lloh58: ldr x9, [x9, _GLFW_LOSE_CONTEXT_ON_RESET@GOTPAGEOFF] Lloh59: ldr x9, [x9] cmp x8, x9 b.ne LBB0_29 ; %bb.27: Lloh60: adrp x8, _GLX_LOSE_CONTEXT_ON_RESET_ARB@GOTPAGE Lloh61: ldr x8, [x8, _GLX_LOSE_CONTEXT_ON_RESET_ARB@GOTPAGEOFF] LBB0_28: Lloh62: adrp x9, _GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB@GOTPAGE Lloh63: ldr x9, [x9, _GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB@GOTPAGEOFF] Lloh64: ldr w0, [x9] ldr w1, [x8] bl _setGLXattrib LBB0_29: Lloh65: adrp x8, _GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB@GOTPAGE Lloh66: ldr x8, [x8, _GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB@GOTPAGEOFF] Lloh67: ldr w8, [x8] orr w23, w8, w23 LBB0_30: ldr x8, [x21, #32] cbz x8, LBB0_37 ; %bb.31: ldr x9, [x24, #32] cbz x9, LBB0_37 ; %bb.32: Lloh68: adrp x9, _GLFW_RELEASE_BEHAVIOR_NONE@GOTPAGE Lloh69: ldr x9, [x9, _GLFW_RELEASE_BEHAVIOR_NONE@GOTPAGEOFF] Lloh70: ldr x9, [x9] cmp x8, x9 b.ne LBB0_34 ; %bb.33: Lloh71: adrp x8, _GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB@GOTPAGE Lloh72: ldr x8, [x8, _GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB@GOTPAGEOFF] b LBB0_36 LBB0_34: Lloh73: adrp x9, _GLFW_RELEASE_BEHAVIOR_FLUSH@GOTPAGE Lloh74: ldr x9, [x9, _GLFW_RELEASE_BEHAVIOR_FLUSH@GOTPAGEOFF] Lloh75: ldr x9, [x9] cmp x8, x9 b.ne LBB0_37 ; %bb.35: Lloh76: adrp x8, _GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB@GOTPAGE Lloh77: ldr x8, [x8, _GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB@GOTPAGEOFF] LBB0_36: Lloh78: adrp x9, _GLX_CONTEXT_RELEASE_BEHAVIOR_ARB@GOTPAGE Lloh79: ldr x9, [x9, _GLX_CONTEXT_RELEASE_BEHAVIOR_ARB@GOTPAGEOFF] Lloh80: ldr w0, [x9] ldr w1, [x8] bl _setGLXattrib LBB0_37: ldr w1, [x21, #40] cmp w1, #1 b.ne LBB0_39 ; %bb.38: ldr w8, [x21, #44] cbz w8, LBB0_40 LBB0_39: Lloh81: adrp x8, _GLX_CONTEXT_MAJOR_VERSION_ARB@GOTPAGE Lloh82: ldr x8, [x8, _GLX_CONTEXT_MAJOR_VERSION_ARB@GOTPAGEOFF] Lloh83: ldr w0, [x8] bl _setGLXattrib Lloh84: adrp x8, _GLX_CONTEXT_MINOR_VERSION_ARB@GOTPAGE Lloh85: ldr x8, [x8, _GLX_CONTEXT_MINOR_VERSION_ARB@GOTPAGEOFF] Lloh86: ldr w0, [x8] ldr w1, [x21, #44] bl _setGLXattrib LBB0_40: cbz w22, LBB0_42 ; %bb.41: Lloh87: adrp x8, _GLX_CONTEXT_PROFILE_MASK_ARB@GOTPAGE Lloh88: ldr x8, [x8, _GLX_CONTEXT_PROFILE_MASK_ARB@GOTPAGEOFF] Lloh89: ldr w0, [x8] mov x1, x22 bl _setGLXattrib LBB0_42: cbz w23, LBB0_44 ; %bb.43: Lloh90: adrp x8, _GLX_CONTEXT_FLAGS_ARB@GOTPAGE Lloh91: ldr x8, [x8, _GLX_CONTEXT_FLAGS_ARB@GOTPAGEOFF] Lloh92: ldr w0, [x8] mov x1, x23 bl _setGLXattrib LBB0_44: Lloh93: adrp x8, _None@GOTPAGE Lloh94: ldr x8, [x8, _None@GOTPAGEOFF] Lloh95: ldr w0, [x8] mov x1, x0 bl _setGLXattrib ldr x8, [x24, #24] ldr w0, [x24, #8] ldr x1, [sp] Lloh96: adrp x9, _True@GOTPAGE Lloh97: ldr x9, [x9, _True@GOTPAGEOFF] Lloh98: ldr w3, [x9] add x4, sp, #8 mov x2, x20 blr x8 str x0, [x19, #32] cbnz x0, LBB0_50 ; %bb.45: ldr x8, [x24] ldr x9, [x24, #16] Lloh99: adrp x10, _GLXBadProfileARB@GOTPAGE Lloh100: ldr x10, [x10, _GLXBadProfileARB@GOTPAGEOFF] Lloh101: ldr x10, [x10] add x9, x10, x9 cmp x8, x9 b.ne LBB0_50 ; %bb.46: ldr x8, [x21] ldr x9, [x26] cmp x8, x9 b.ne LBB0_50 ; %bb.47: ldr x8, [x21, #16] Lloh102: adrp x9, _GLFW_OPENGL_ANY_PROFILE@GOTPAGE Lloh103: ldr x9, [x9, _GLFW_OPENGL_ANY_PROFILE@GOTPAGEOFF] Lloh104: ldr x9, [x9] cmp x8, x9 b.ne LBB0_50 ; %bb.48: ldr x8, [x25] Lloh105: adrp x9, _GLFW_FALSE@GOTPAGE Lloh106: ldr x9, [x9, _GLFW_FALSE@GOTPAGEOFF] Lloh107: ldr x9, [x9] cmp x8, x9 b.ne LBB0_50 LBB0_49: ldr x1, [sp] mov x0, x19 mov x2, x20 bl _createLegacyContextGLX str x0, [x19, #32] LBB0_50: bl __glfwReleaseErrorHandlerX11 ldr x8, [x19, #32] cbz x8, LBB0_53 ; %bb.51: ldr w0, [x24, #8] ldr x1, [sp] ldr w2, [x19, #40] mov x3, #0 bl _glXCreateWindow str w0, [x19, #24] cbz w0, LBB0_54 ; %bb.52: Lloh108: adrp x8, _makeContextCurrentGLX@GOTPAGE Lloh109: ldr x8, [x8, _makeContextCurrentGLX@GOTPAGEOFF] Lloh110: ldr w8, [x8] Lloh111: adrp x9, _swapBuffersGLX@GOTPAGE Lloh112: ldr x9, [x9, _swapBuffersGLX@GOTPAGEOFF] Lloh113: ldr w9, [x9] stp w9, w8, [x19, #16] Lloh114: adrp x8, _swapIntervalGLX@GOTPAGE Lloh115: ldr x8, [x8, _swapIntervalGLX@GOTPAGEOFF] Lloh116: ldr w8, [x8] Lloh117: adrp x9, _extensionSupportedGLX@GOTPAGE Lloh118: ldr x9, [x9, _extensionSupportedGLX@GOTPAGEOFF] Lloh119: ldr w9, [x9] stp w9, w8, [x19, #8] Lloh120: adrp x8, _getProcAddressGLX@GOTPAGE Lloh121: ldr x8, [x8, _getProcAddressGLX@GOTPAGEOFF] Lloh122: adrp x9, _destroyContextGLX@GOTPAGE Lloh123: ldr x9, [x9, _destroyContextGLX@GOTPAGEOFF] Lloh124: ldr w8, [x8] Lloh125: ldr w9, [x9] stp w9, w8, [x19] Lloh126: adrp x8, _GLFW_TRUE@GOTPAGE Lloh127: ldr x8, [x8, _GLFW_TRUE@GOTPAGEOFF] b LBB0_57 LBB0_53: Lloh128: adrp x8, _GLFW_VERSION_UNAVAILABLE@GOTPAGE Lloh129: ldr x8, [x8, _GLFW_VERSION_UNAVAILABLE@GOTPAGEOFF] Lloh130: ldr w0, [x8] Lloh131: adrp x1, l_.str.4@PAGE Lloh132: add x1, x1, l_.str.4@PAGEOFF bl __glfwInputErrorX11 b LBB0_56 LBB0_54: Lloh133: adrp x8, _GLFW_PLATFORM_ERROR@GOTPAGE Lloh134: ldr x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF] Lloh135: ldr w0, [x8] Lloh136: adrp x1, l_.str.5@PAGE Lloh137: add x1, x1, l_.str.5@PAGEOFF LBB0_55: bl __glfwInputError LBB0_56: Lloh138: adrp x8, _GLFW_FALSE@GOTPAGE Lloh139: ldr x8, [x8, _GLFW_FALSE@GOTPAGEOFF] LBB0_57: ldr x0, [x8] ldur x8, [x29, #-88] Lloh140: adrp x9, ___stack_chk_guard@GOTPAGE Lloh141: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh142: ldr x9, [x9] cmp x9, x8 b.ne LBB0_59 ; %bb.58: ldp x29, x30, [sp, #256] ; 16-byte Folded Reload ldp x20, x19, [sp, #240] ; 16-byte Folded Reload ldp x22, x21, [sp, #224] ; 16-byte Folded Reload ldp x24, x23, [sp, #208] ; 16-byte Folded Reload ldp x26, x25, [sp, #192] ; 16-byte Folded Reload ldp x28, x27, [sp, #176] ; 16-byte Folded Reload add sp, sp, #272 ret LBB0_59: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGot Lloh31, Lloh32 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGot Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51 .loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48 .loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54 .loh AdrpLdrGot Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59 .loh AdrpLdrGot Lloh60, Lloh61 .loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64 .loh AdrpLdrGotLdr Lloh65, Lloh66, Lloh67 .loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70 .loh AdrpLdrGot Lloh71, Lloh72 .loh AdrpLdrGotLdr Lloh73, Lloh74, Lloh75 .loh AdrpLdrGot Lloh76, Lloh77 .loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh80 .loh AdrpLdrGotLdr Lloh84, Lloh85, Lloh86 .loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83 .loh AdrpLdrGotLdr Lloh87, Lloh88, Lloh89 .loh AdrpLdrGotLdr Lloh90, Lloh91, Lloh92 .loh AdrpLdrGotLdr Lloh96, Lloh97, Lloh98 .loh AdrpLdrGotLdr Lloh93, Lloh94, Lloh95 .loh AdrpLdrGotLdr Lloh99, Lloh100, Lloh101 .loh AdrpLdrGotLdr Lloh102, Lloh103, Lloh104 .loh AdrpLdrGotLdr Lloh105, Lloh106, Lloh107 .loh AdrpLdrGot Lloh126, Lloh127 .loh AdrpLdrGotLdr Lloh122, Lloh123, Lloh125 .loh AdrpLdrGotLdr Lloh120, Lloh121, Lloh124 .loh AdrpLdrGotLdr Lloh117, Lloh118, Lloh119 .loh AdrpLdrGotLdr Lloh114, Lloh115, Lloh116 .loh AdrpLdrGotLdr Lloh111, Lloh112, Lloh113 .loh AdrpLdrGotLdr Lloh108, Lloh109, Lloh110 .loh AdrpAdd Lloh131, Lloh132 .loh AdrpLdrGotLdr Lloh128, Lloh129, Lloh130 .loh AdrpAdd Lloh136, Lloh137 .loh AdrpLdrGotLdr Lloh133, Lloh134, Lloh135 .loh AdrpLdrGot Lloh138, Lloh139 .loh AdrpLdrGotLdr Lloh140, Lloh141, Lloh142 .cfi_endproc ; -- End function .comm _GLFW_FORMAT_UNAVAILABLE,4,2 ; @GLFW_FORMAT_UNAVAILABLE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "GLX: Failed to find a suitable GLXFBConfig" .comm _GLFW_FALSE,8,3 ; @GLFW_FALSE .comm _GLFW_OPENGL_ES_API,8,3 ; @GLFW_OPENGL_ES_API .comm __glfw,64,3 ; @_glfw .comm _GLFW_API_UNAVAILABLE,4,2 ; @GLFW_API_UNAVAILABLE l_.str.1: ; @.str.1 .asciz "GLX: OpenGL ES requested but GLX_EXT_create_context_es2_profile is unavailable" .comm _GLFW_VERSION_UNAVAILABLE,4,2 ; @GLFW_VERSION_UNAVAILABLE l_.str.2: ; @.str.2 .asciz "GLX: Forward compatibility requested but GLX_ARB_create_context_profile is unavailable" l_.str.3: ; @.str.3 .asciz "GLX: An OpenGL profile requested but GLX_ARB_create_context_profile is unavailable" .comm _GLFW_OPENGL_API,8,3 ; @GLFW_OPENGL_API .comm _GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB,4,2 ; @GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB .comm _GLFW_OPENGL_CORE_PROFILE,8,3 ; @GLFW_OPENGL_CORE_PROFILE .comm _GLX_CONTEXT_CORE_PROFILE_BIT_ARB,4,2 ; @GLX_CONTEXT_CORE_PROFILE_BIT_ARB .comm _GLFW_OPENGL_COMPAT_PROFILE,8,3 ; @GLFW_OPENGL_COMPAT_PROFILE .comm _GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB,4,2 ; @GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB .comm _GLX_CONTEXT_ES2_PROFILE_BIT_EXT,4,2 ; @GLX_CONTEXT_ES2_PROFILE_BIT_EXT .comm _GLX_CONTEXT_DEBUG_BIT_ARB,4,2 ; @GLX_CONTEXT_DEBUG_BIT_ARB .comm _GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR,4,2 ; @GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR .comm _GLFW_NO_RESET_NOTIFICATION,8,3 ; @GLFW_NO_RESET_NOTIFICATION .comm _GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB,4,2 ; @GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB .comm _GLX_NO_RESET_NOTIFICATION_ARB,4,2 ; @GLX_NO_RESET_NOTIFICATION_ARB .comm _GLFW_LOSE_CONTEXT_ON_RESET,8,3 ; @GLFW_LOSE_CONTEXT_ON_RESET .comm _GLX_LOSE_CONTEXT_ON_RESET_ARB,4,2 ; @GLX_LOSE_CONTEXT_ON_RESET_ARB .comm _GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB,4,2 ; @GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB .comm _GLFW_RELEASE_BEHAVIOR_NONE,8,3 ; @GLFW_RELEASE_BEHAVIOR_NONE .comm _GLX_CONTEXT_RELEASE_BEHAVIOR_ARB,4,2 ; @GLX_CONTEXT_RELEASE_BEHAVIOR_ARB .comm _GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB,4,2 ; @GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB .comm _GLFW_RELEASE_BEHAVIOR_FLUSH,8,3 ; @GLFW_RELEASE_BEHAVIOR_FLUSH .comm _GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB,4,2 ; @GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB .comm _GLX_CONTEXT_MAJOR_VERSION_ARB,4,2 ; @GLX_CONTEXT_MAJOR_VERSION_ARB .comm _GLX_CONTEXT_MINOR_VERSION_ARB,4,2 ; @GLX_CONTEXT_MINOR_VERSION_ARB .comm _GLX_CONTEXT_PROFILE_MASK_ARB,4,2 ; @GLX_CONTEXT_PROFILE_MASK_ARB .comm _GLX_CONTEXT_FLAGS_ARB,4,2 ; @GLX_CONTEXT_FLAGS_ARB .comm _None,4,2 ; @None .comm _True,4,2 ; @True .comm _GLXBadProfileARB,8,3 ; @GLXBadProfileARB .comm _GLFW_OPENGL_ANY_PROFILE,8,3 ; @GLFW_OPENGL_ANY_PROFILE l_.str.4: ; @.str.4 .asciz "GLX: Failed to create context" .comm _GLFW_PLATFORM_ERROR,4,2 ; @GLFW_PLATFORM_ERROR l_.str.5: ; @.str.5 .asciz "GLX: Failed to create window" .comm _makeContextCurrentGLX,4,2 ; @makeContextCurrentGLX .comm _swapBuffersGLX,4,2 ; @swapBuffersGLX .comm _swapIntervalGLX,4,2 ; @swapIntervalGLX .comm _extensionSupportedGLX,4,2 ; @extensionSupportedGLX .comm _getProcAddressGLX,4,2 ; @getProcAddressGLX .comm _destroyContextGLX,4,2 ; @destroyContextGLX .comm _GLFW_TRUE,8,3 ; @GLFW_TRUE .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_glx_context.c__glfwCreateContextGLX.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInitGLX ## -- Begin function _glfwInitGLX .p2align 4, 0x90 __glfwInitGLX: ## @_glfwInitGLX .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq __glfw@GOTPCREL(%rip), %rbx movq _GLFW_TRUE@GOTPCREL(%rip), %r14 cmpq $0, 256(%rbx) jne LBB0_54 ## %bb.1: movq _RTLD_LAZY@GOTPCREL(%rip), %r15 movq _RTLD_GLOBAL@GOTPCREL(%rip), %r12 movl (%r12), %esi orl (%r15), %esi leaq L_.str(%rip), %rdi callq _dlopen movq %rax, 256(%rbx) testq %rax, %rax jne LBB0_5 ## %bb.2: movl (%r12), %esi orl (%r15), %esi leaq L_.str.1(%rip), %rdi callq _dlopen movq %rax, 256(%rbx) testq %rax, %rax je LBB0_3 LBB0_5: leaq L_.str.3(%rip), %rsi movq %rax, %rdi callq _dlsym movq %rax, 248(%rbx) movq 256(%rbx), %rdi leaq L_.str.4(%rip), %rsi callq _dlsym movq %rax, 240(%rbx) movq 256(%rbx), %rdi leaq L_.str.5(%rip), %rsi callq _dlsym movq %rax, 232(%rbx) movq 256(%rbx), %rdi leaq L_.str.6(%rip), %rsi callq _dlsym movq %rax, 224(%rbx) movq 256(%rbx), %rdi leaq L_.str.7(%rip), %rsi callq _dlsym movq %rax, 216(%rbx) movq 256(%rbx), %rdi leaq L_.str.8(%rip), %rsi callq _dlsym movq %rax, 208(%rbx) movq 256(%rbx), %rdi leaq L_.str.9(%rip), %rsi callq _dlsym movq %rax, 200(%rbx) movq 256(%rbx), %rdi leaq L_.str.10(%rip), %rsi callq _dlsym movq %rax, 192(%rbx) movq 256(%rbx), %rdi leaq L_.str.11(%rip), %rsi callq _dlsym movq %rax, 184(%rbx) movq 256(%rbx), %rdi leaq L_.str.12(%rip), %rsi callq _dlsym movq %rax, 176(%rbx) movq 256(%rbx), %rdi leaq L_.str.13(%rip), %rsi callq _dlsym movq %rax, 168(%rbx) movq 256(%rbx), %rdi leaq L_.str.14(%rip), %rsi callq _dlsym movq %rax, 160(%rbx) movq 256(%rbx), %rdi leaq L_.str.15(%rip), %rsi callq _dlsym movq %rax, 152(%rbx) movq 256(%rbx), %rdi leaq L_.str.16(%rip), %rsi callq _dlsym movq %rax, 144(%rbx) movq 256(%rbx), %rdi leaq L_.str.17(%rip), %rsi callq _dlsym movq %rax, 136(%rbx) cmpq $0, 248(%rbx) je LBB0_20 ## %bb.6: cmpq $0, 240(%rbx) je LBB0_20 ## %bb.7: cmpq $0, 232(%rbx) je LBB0_20 ## %bb.8: cmpq $0, 224(%rbx) je LBB0_20 ## %bb.9: cmpq $0, 216(%rbx) je LBB0_20 ## %bb.10: cmpq $0, 208(%rbx) je LBB0_20 ## %bb.11: cmpq $0, 200(%rbx) je LBB0_20 ## %bb.12: cmpq $0, 192(%rbx) je LBB0_20 ## %bb.13: cmpq $0, 184(%rbx) je LBB0_20 ## %bb.14: cmpq $0, 176(%rbx) je LBB0_20 ## %bb.15: cmpq $0, 168(%rbx) je LBB0_20 ## %bb.16: cmpq $0, 160(%rbx) je LBB0_20 ## %bb.17: cmpq $0, 152(%rbx) je LBB0_20 ## %bb.18: cmpq $0, 144(%rbx) je LBB0_20 ## %bb.19: testq %rax, %rax je LBB0_20 ## %bb.21: movl 264(%rbx), %edi leaq 132(%rbx), %rsi leaq 128(%rbx), %rdx callq _glXQueryExtension testl %eax, %eax je LBB0_22 ## %bb.23: movl 264(%rbx), %edi leaq 4(%rbx), %rdx movq %rbx, %rsi callq _glXQueryVersion testl %eax, %eax je LBB0_24 ## %bb.25: cmpl $1, (%rbx) jne LBB0_28 ## %bb.26: cmpl $2, 4(%rbx) jg LBB0_28 ## %bb.27: movq _GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.21(%rip), %rsi jmp LBB0_4 LBB0_20: movq _GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.18(%rip), %rsi jmp LBB0_4 LBB0_22: movq _GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.19(%rip), %rsi jmp LBB0_4 LBB0_3: movq _GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.2(%rip), %rsi jmp LBB0_4 LBB0_24: movq _GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.20(%rip), %rsi LBB0_4: callq __glfwInputError movq _GLFW_FALSE@GOTPCREL(%rip), %r14 LBB0_54: movq (%r14), %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_28: leaq L_.str.22(%rip), %rdi callq _extensionSupportedGLX testq %rax, %rax je LBB0_31 ## %bb.29: leaq L_.str.23(%rip), %rdi callq _getProcAddressGLX movq %rax, 120(%rbx) testq %rax, %rax je LBB0_31 ## %bb.30: movq _GLFW_TRUE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 112(%rbx) LBB0_31: leaq L_.str.24(%rip), %rdi callq _extensionSupportedGLX testq %rax, %rax je LBB0_34 ## %bb.32: leaq L_.str.25(%rip), %rdi callq _getProcAddressGLX movq %rax, 104(%rbx) testq %rax, %rax je LBB0_34 ## %bb.33: movq _GLFW_TRUE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 96(%rbx) LBB0_34: leaq L_.str.26(%rip), %rdi callq _extensionSupportedGLX testq %rax, %rax je LBB0_37 ## %bb.35: leaq L_.str.27(%rip), %rdi callq _getProcAddressGLX movq %rax, 88(%rbx) testq %rax, %rax je LBB0_37 ## %bb.36: movq _GLFW_TRUE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 80(%rbx) LBB0_37: leaq L_.str.28(%rip), %rdi callq _extensionSupportedGLX testq %rax, %rax je LBB0_39 ## %bb.38: movq _GLFW_TRUE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 72(%rbx) LBB0_39: leaq L_.str.29(%rip), %rdi callq _extensionSupportedGLX testq %rax, %rax je LBB0_41 ## %bb.40: movq _GLFW_TRUE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 64(%rbx) LBB0_41: leaq L_.str.30(%rip), %rdi callq _extensionSupportedGLX testq %rax, %rax je LBB0_43 ## %bb.42: movq _GLFW_TRUE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 56(%rbx) LBB0_43: leaq L_.str.31(%rip), %rdi callq _extensionSupportedGLX testq %rax, %rax je LBB0_46 ## %bb.44: leaq L_.str.32(%rip), %rdi callq _getProcAddressGLX movq %rax, 48(%rbx) testq %rax, %rax je LBB0_46 ## %bb.45: movq _GLFW_TRUE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 40(%rbx) LBB0_46: leaq L_.str.33(%rip), %rdi callq _extensionSupportedGLX testq %rax, %rax je LBB0_48 ## %bb.47: movq _GLFW_TRUE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 32(%rbx) LBB0_48: leaq L_.str.34(%rip), %rdi callq _extensionSupportedGLX testq %rax, %rax je LBB0_50 ## %bb.49: movq _GLFW_TRUE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 24(%rbx) LBB0_50: leaq L_.str.35(%rip), %rdi callq _extensionSupportedGLX testq %rax, %rax je LBB0_52 ## %bb.51: movq _GLFW_TRUE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 16(%rbx) LBB0_52: leaq L_.str.36(%rip), %rdi callq _extensionSupportedGLX testq %rax, %rax je LBB0_54 ## %bb.53: movq _GLFW_TRUE@GOTPCREL(%rip), %r14 movq (%r14), %rax movq %rax, 8(%rbx) jmp LBB0_54 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "libGL.so.1" L_.str.1: ## @.str.1 .asciz "libGL.so" .comm __glfw,272,3 ## @_glfw .comm _GLFW_TRUE,8,3 ## @GLFW_TRUE .comm _RTLD_LAZY,4,2 ## @RTLD_LAZY .comm _RTLD_GLOBAL,4,2 ## @RTLD_GLOBAL .comm _GLFW_API_UNAVAILABLE,4,2 ## @GLFW_API_UNAVAILABLE L_.str.2: ## @.str.2 .asciz "GLX: Failed to load GLX" .comm _GLFW_FALSE,8,3 ## @GLFW_FALSE L_.str.3: ## @.str.3 .asciz "glXGetFBConfigs" L_.str.4: ## @.str.4 .asciz "glXGetFBConfigAttrib" L_.str.5: ## @.str.5 .asciz "glXGetClientString" L_.str.6: ## @.str.6 .asciz "glXQueryExtension" L_.str.7: ## @.str.7 .asciz "glXQueryVersion" L_.str.8: ## @.str.8 .asciz "glXDestroyContext" L_.str.9: ## @.str.9 .asciz "glXMakeCurrent" L_.str.10: ## @.str.10 .asciz "glXSwapBuffers" L_.str.11: ## @.str.11 .asciz "glXQueryExtensionsString" L_.str.12: ## @.str.12 .asciz "glXCreateNewContext" L_.str.13: ## @.str.13 .asciz "glXCreateWindow" L_.str.14: ## @.str.14 .asciz "glXDestroyWindow" L_.str.15: ## @.str.15 .asciz "glXGetProcAddress" L_.str.16: ## @.str.16 .asciz "glXGetProcAddressARB" L_.str.17: ## @.str.17 .asciz "glXGetVisualFromFBConfig" .comm _GLFW_PLATFORM_ERROR,4,2 ## @GLFW_PLATFORM_ERROR L_.str.18: ## @.str.18 .asciz "GLX: Failed to load required entry points" L_.str.19: ## @.str.19 .asciz "GLX: GLX extension not found" L_.str.20: ## @.str.20 .asciz "GLX: Failed to query GLX version" L_.str.21: ## @.str.21 .asciz "GLX: GLX version 1.3 is required" L_.str.22: ## @.str.22 .asciz "GLX_EXT_swap_control" L_.str.23: ## @.str.23 .asciz "glXSwapIntervalEXT" L_.str.24: ## @.str.24 .asciz "GLX_SGI_swap_control" L_.str.25: ## @.str.25 .asciz "glXSwapIntervalSGI" L_.str.26: ## @.str.26 .asciz "GLX_MESA_swap_control" L_.str.27: ## @.str.27 .asciz "glXSwapIntervalMESA" L_.str.28: ## @.str.28 .asciz "GLX_ARB_multisample" L_.str.29: ## @.str.29 .asciz "GLX_ARB_framebuffer_sRGB" L_.str.30: ## @.str.30 .asciz "GLX_EXT_framebuffer_sRGB" L_.str.31: ## @.str.31 .asciz "GLX_ARB_create_context" L_.str.32: ## @.str.32 .asciz "glXCreateContextAttribsARB" L_.str.33: ## @.str.33 .asciz "GLX_ARB_create_context_robustness" L_.str.34: ## @.str.34 .asciz "GLX_ARB_create_context_profile" L_.str.35: ## @.str.35 .asciz "GLX_EXT_create_context_es2_profile" L_.str.36: ## @.str.36 .asciz "GLX_ARB_context_flush_control" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInitGLX ; -- Begin function _glfwInitGLX .p2align 2 __glfwInitGLX: ; @_glfwInitGLX .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x19, __glfw@GOTPAGE Lloh1: ldr x19, [x19, __glfw@GOTPAGEOFF] ldr x8, [x19, #256] Lloh2: adrp x20, _GLFW_TRUE@GOTPAGE Lloh3: ldr x20, [x20, _GLFW_TRUE@GOTPAGEOFF] cbnz x8, LBB0_14 ; %bb.1: Lloh4: adrp x21, _RTLD_LAZY@GOTPAGE Lloh5: ldr x21, [x21, _RTLD_LAZY@GOTPAGEOFF] ldr w8, [x21] Lloh6: adrp x22, _RTLD_GLOBAL@GOTPAGE Lloh7: ldr x22, [x22, _RTLD_GLOBAL@GOTPAGEOFF] ldr w9, [x22] orr w1, w9, w8 Lloh8: adrp x0, l_.str@PAGE Lloh9: add x0, x0, l_.str@PAGEOFF bl _dlopen str x0, [x19, #256] cbnz x0, LBB0_3 ; %bb.2: ldr w8, [x21] ldr w9, [x22] orr w1, w9, w8 Lloh10: adrp x0, l_.str.1@PAGE Lloh11: add x0, x0, l_.str.1@PAGEOFF bl _dlopen str x0, [x19, #256] cbz x0, LBB0_11 LBB0_3: Lloh12: adrp x1, l_.str.3@PAGE Lloh13: add x1, x1, l_.str.3@PAGEOFF bl _dlsym str x0, [x19, #248] ldr x0, [x19, #256] Lloh14: adrp x1, l_.str.4@PAGE Lloh15: add x1, x1, l_.str.4@PAGEOFF bl _dlsym str x0, [x19, #240] ldr x0, [x19, #256] Lloh16: adrp x1, l_.str.5@PAGE Lloh17: add x1, x1, l_.str.5@PAGEOFF bl _dlsym str x0, [x19, #232] ldr x0, [x19, #256] Lloh18: adrp x1, l_.str.6@PAGE Lloh19: add x1, x1, l_.str.6@PAGEOFF bl _dlsym str x0, [x19, #224] ldr x0, [x19, #256] Lloh20: adrp x1, l_.str.7@PAGE Lloh21: add x1, x1, l_.str.7@PAGEOFF bl _dlsym str x0, [x19, #216] ldr x0, [x19, #256] Lloh22: adrp x1, l_.str.8@PAGE Lloh23: add x1, x1, l_.str.8@PAGEOFF bl _dlsym str x0, [x19, #208] ldr x0, [x19, #256] Lloh24: adrp x1, l_.str.9@PAGE Lloh25: add x1, x1, l_.str.9@PAGEOFF bl _dlsym str x0, [x19, #200] ldr x0, [x19, #256] Lloh26: adrp x1, l_.str.10@PAGE Lloh27: add x1, x1, l_.str.10@PAGEOFF bl _dlsym str x0, [x19, #192] ldr x0, [x19, #256] Lloh28: adrp x1, l_.str.11@PAGE Lloh29: add x1, x1, l_.str.11@PAGEOFF bl _dlsym str x0, [x19, #184] ldr x0, [x19, #256] Lloh30: adrp x1, l_.str.12@PAGE Lloh31: add x1, x1, l_.str.12@PAGEOFF bl _dlsym str x0, [x19, #176] ldr x0, [x19, #256] Lloh32: adrp x1, l_.str.13@PAGE Lloh33: add x1, x1, l_.str.13@PAGEOFF bl _dlsym str x0, [x19, #168] ldr x0, [x19, #256] Lloh34: adrp x1, l_.str.14@PAGE Lloh35: add x1, x1, l_.str.14@PAGEOFF bl _dlsym str x0, [x19, #160] ldr x0, [x19, #256] Lloh36: adrp x1, l_.str.15@PAGE Lloh37: add x1, x1, l_.str.15@PAGEOFF bl _dlsym str x0, [x19, #152] ldr x0, [x19, #256] Lloh38: adrp x1, l_.str.16@PAGE Lloh39: add x1, x1, l_.str.16@PAGEOFF bl _dlsym str x0, [x19, #144] ldr x0, [x19, #256] Lloh40: adrp x1, l_.str.17@PAGE Lloh41: add x1, x1, l_.str.17@PAGEOFF bl _dlsym str x0, [x19, #136] ldp q1, q0, [x19, #224] ldp q3, q2, [x19, #192] cmeq.2d v0, v0, #0 cmeq.2d v1, v1, #0 uzp1.4s v0, v1, v0 cmeq.2d v1, v2, #0 cmeq.2d v2, v3, #0 uzp1.4s v1, v2, v1 uzp1.8h v0, v1, v0 xtn.8b v0, v0 umov.b w8, v0[1] and w8, w8, #0x1 umov.b w9, v0[0] and w9, w9, #0x1 bfi w9, w8, #1, #1 umov.b w8, v0[2] and w8, w8, #0x1 bfi w9, w8, #2, #1 umov.b w8, v0[3] and w8, w8, #0x1 bfi w9, w8, #3, #1 umov.b w8, v0[4] and w8, w8, #0x1 bfi w9, w8, #4, #1 umov.b w8, v0[5] and w8, w8, #0x1 bfi w9, w8, #5, #1 umov.b w8, v0[6] and w8, w8, #0x1 orr w8, w9, w8, lsl #6 umov.b w9, v0[7] orr w8, w8, w9, lsl #7 and w8, w8, #0xff ldp x10, x9, [x19, #176] ldp x12, x11, [x19, #160] ldp x14, x13, [x19, #144] cmp w8, #0 ccmp x9, #0, #4, eq ccmp x10, #0, #4, ne ccmp x11, #0, #4, ne ccmp x12, #0, #4, ne ccmp x13, #0, #4, ne ccmp x14, #0, #4, ne ccmp x0, #0, #4, ne b.ne LBB0_5 ; %bb.4: Lloh42: adrp x8, _GLFW_PLATFORM_ERROR@GOTPAGE Lloh43: ldr x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF] Lloh44: ldr w0, [x8] Lloh45: adrp x1, l_.str.18@PAGE Lloh46: add x1, x1, l_.str.18@PAGEOFF b LBB0_13 LBB0_5: ldr w0, [x19, #264] add x1, x19, #132 add x2, x19, #128 bl _glXQueryExtension cbz w0, LBB0_10 ; %bb.6: ldr w0, [x19, #264] add x2, x19, #4 mov x1, x19 bl _glXQueryVersion cbz w0, LBB0_12 ; %bb.7: ldr w8, [x19] cmp w8, #1 b.ne LBB0_15 ; %bb.8: ldr w8, [x19, #4] cmp w8, #2 b.gt LBB0_15 ; %bb.9: Lloh47: adrp x8, _GLFW_API_UNAVAILABLE@GOTPAGE Lloh48: ldr x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF] Lloh49: ldr w0, [x8] Lloh50: adrp x1, l_.str.21@PAGE Lloh51: add x1, x1, l_.str.21@PAGEOFF b LBB0_13 LBB0_10: Lloh52: adrp x8, _GLFW_API_UNAVAILABLE@GOTPAGE Lloh53: ldr x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF] Lloh54: ldr w0, [x8] Lloh55: adrp x1, l_.str.19@PAGE Lloh56: add x1, x1, l_.str.19@PAGEOFF b LBB0_13 LBB0_11: Lloh57: adrp x8, _GLFW_API_UNAVAILABLE@GOTPAGE Lloh58: ldr x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF] Lloh59: ldr w0, [x8] Lloh60: adrp x1, l_.str.2@PAGE Lloh61: add x1, x1, l_.str.2@PAGEOFF b LBB0_13 LBB0_12: Lloh62: adrp x8, _GLFW_API_UNAVAILABLE@GOTPAGE Lloh63: ldr x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF] Lloh64: ldr w0, [x8] Lloh65: adrp x1, l_.str.20@PAGE Lloh66: add x1, x1, l_.str.20@PAGEOFF LBB0_13: bl __glfwInputError Lloh67: adrp x20, _GLFW_FALSE@GOTPAGE Lloh68: ldr x20, [x20, _GLFW_FALSE@GOTPAGEOFF] LBB0_14: ldr x0, [x20] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_15: Lloh69: adrp x0, l_.str.22@PAGE Lloh70: add x0, x0, l_.str.22@PAGEOFF bl _extensionSupportedGLX cbz x0, LBB0_18 ; %bb.16: Lloh71: adrp x0, l_.str.23@PAGE Lloh72: add x0, x0, l_.str.23@PAGEOFF bl _getProcAddressGLX str x0, [x19, #120] cbz x0, LBB0_18 ; %bb.17: ldr x8, [x20] str x8, [x19, #112] LBB0_18: Lloh73: adrp x0, l_.str.24@PAGE Lloh74: add x0, x0, l_.str.24@PAGEOFF bl _extensionSupportedGLX cbz x0, LBB0_21 ; %bb.19: Lloh75: adrp x0, l_.str.25@PAGE Lloh76: add x0, x0, l_.str.25@PAGEOFF bl _getProcAddressGLX str x0, [x19, #104] cbz x0, LBB0_21 ; %bb.20: ldr x8, [x20] str x8, [x19, #96] LBB0_21: Lloh77: adrp x0, l_.str.26@PAGE Lloh78: add x0, x0, l_.str.26@PAGEOFF bl _extensionSupportedGLX cbz x0, LBB0_24 ; %bb.22: Lloh79: adrp x0, l_.str.27@PAGE Lloh80: add x0, x0, l_.str.27@PAGEOFF bl _getProcAddressGLX str x0, [x19, #88] cbz x0, LBB0_24 ; %bb.23: ldr x8, [x20] str x8, [x19, #80] LBB0_24: Lloh81: adrp x0, l_.str.28@PAGE Lloh82: add x0, x0, l_.str.28@PAGEOFF bl _extensionSupportedGLX cbz x0, LBB0_26 ; %bb.25: ldr x8, [x20] str x8, [x19, #72] LBB0_26: Lloh83: adrp x0, l_.str.29@PAGE Lloh84: add x0, x0, l_.str.29@PAGEOFF bl _extensionSupportedGLX cbz x0, LBB0_28 ; %bb.27: ldr x8, [x20] str x8, [x19, #64] LBB0_28: Lloh85: adrp x0, l_.str.30@PAGE Lloh86: add x0, x0, l_.str.30@PAGEOFF bl _extensionSupportedGLX cbz x0, LBB0_30 ; %bb.29: ldr x8, [x20] str x8, [x19, #56] LBB0_30: Lloh87: adrp x0, l_.str.31@PAGE Lloh88: add x0, x0, l_.str.31@PAGEOFF bl _extensionSupportedGLX cbz x0, LBB0_33 ; %bb.31: Lloh89: adrp x0, l_.str.32@PAGE Lloh90: add x0, x0, l_.str.32@PAGEOFF bl _getProcAddressGLX str x0, [x19, #48] cbz x0, LBB0_33 ; %bb.32: ldr x8, [x20] str x8, [x19, #40] LBB0_33: Lloh91: adrp x0, l_.str.33@PAGE Lloh92: add x0, x0, l_.str.33@PAGEOFF bl _extensionSupportedGLX cbz x0, LBB0_35 ; %bb.34: ldr x8, [x20] str x8, [x19, #32] LBB0_35: Lloh93: adrp x0, l_.str.34@PAGE Lloh94: add x0, x0, l_.str.34@PAGEOFF bl _extensionSupportedGLX cbz x0, LBB0_37 ; %bb.36: ldr x8, [x20] str x8, [x19, #24] LBB0_37: Lloh95: adrp x0, l_.str.35@PAGE Lloh96: add x0, x0, l_.str.35@PAGEOFF bl _extensionSupportedGLX cbz x0, LBB0_39 ; %bb.38: ldr x8, [x20] str x8, [x19, #16] LBB0_39: Lloh97: adrp x0, l_.str.36@PAGE Lloh98: add x0, x0, l_.str.36@PAGEOFF bl _extensionSupportedGLX Lloh99: adrp x20, _GLFW_TRUE@GOTPAGE Lloh100: ldr x20, [x20, _GLFW_TRUE@GOTPAGEOFF] cbz x0, LBB0_14 ; %bb.40: ldr x8, [x20] str x8, [x19, #8] b LBB0_14 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49 .loh AdrpAdd Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54 .loh AdrpAdd Lloh60, Lloh61 .loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59 .loh AdrpAdd Lloh65, Lloh66 .loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64 .loh AdrpLdrGot Lloh67, Lloh68 .loh AdrpAdd Lloh69, Lloh70 .loh AdrpAdd Lloh71, Lloh72 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpAdd Lloh75, Lloh76 .loh AdrpAdd Lloh77, Lloh78 .loh AdrpAdd Lloh79, Lloh80 .loh AdrpAdd Lloh81, Lloh82 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpAdd Lloh85, Lloh86 .loh AdrpAdd Lloh87, Lloh88 .loh AdrpAdd Lloh89, Lloh90 .loh AdrpAdd Lloh91, Lloh92 .loh AdrpAdd Lloh93, Lloh94 .loh AdrpAdd Lloh95, Lloh96 .loh AdrpLdrGot Lloh99, Lloh100 .loh AdrpAdd Lloh97, Lloh98 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "libGL.so.1" l_.str.1: ; @.str.1 .asciz "libGL.so" .comm __glfw,272,3 ; @_glfw .comm _GLFW_TRUE,8,3 ; @GLFW_TRUE .comm _RTLD_LAZY,4,2 ; @RTLD_LAZY .comm _RTLD_GLOBAL,4,2 ; @RTLD_GLOBAL .comm _GLFW_API_UNAVAILABLE,4,2 ; @GLFW_API_UNAVAILABLE l_.str.2: ; @.str.2 .asciz "GLX: Failed to load GLX" .comm _GLFW_FALSE,8,3 ; @GLFW_FALSE l_.str.3: ; @.str.3 .asciz "glXGetFBConfigs" l_.str.4: ; @.str.4 .asciz "glXGetFBConfigAttrib" l_.str.5: ; @.str.5 .asciz "glXGetClientString" l_.str.6: ; @.str.6 .asciz "glXQueryExtension" l_.str.7: ; @.str.7 .asciz "glXQueryVersion" l_.str.8: ; @.str.8 .asciz "glXDestroyContext" l_.str.9: ; @.str.9 .asciz "glXMakeCurrent" l_.str.10: ; @.str.10 .asciz "glXSwapBuffers" l_.str.11: ; @.str.11 .asciz "glXQueryExtensionsString" l_.str.12: ; @.str.12 .asciz "glXCreateNewContext" l_.str.13: ; @.str.13 .asciz "glXCreateWindow" l_.str.14: ; @.str.14 .asciz "glXDestroyWindow" l_.str.15: ; @.str.15 .asciz "glXGetProcAddress" l_.str.16: ; @.str.16 .asciz "glXGetProcAddressARB" l_.str.17: ; @.str.17 .asciz "glXGetVisualFromFBConfig" .comm _GLFW_PLATFORM_ERROR,4,2 ; @GLFW_PLATFORM_ERROR l_.str.18: ; @.str.18 .asciz "GLX: Failed to load required entry points" l_.str.19: ; @.str.19 .asciz "GLX: GLX extension not found" l_.str.20: ; @.str.20 .asciz "GLX: Failed to query GLX version" l_.str.21: ; @.str.21 .asciz "GLX: GLX version 1.3 is required" l_.str.22: ; @.str.22 .asciz "GLX_EXT_swap_control" l_.str.23: ; @.str.23 .asciz "glXSwapIntervalEXT" l_.str.24: ; @.str.24 .asciz "GLX_SGI_swap_control" l_.str.25: ; @.str.25 .asciz "glXSwapIntervalSGI" l_.str.26: ; @.str.26 .asciz "GLX_MESA_swap_control" l_.str.27: ; @.str.27 .asciz "glXSwapIntervalMESA" l_.str.28: ; @.str.28 .asciz "GLX_ARB_multisample" l_.str.29: ; @.str.29 .asciz "GLX_ARB_framebuffer_sRGB" l_.str.30: ; @.str.30 .asciz "GLX_EXT_framebuffer_sRGB" l_.str.31: ; @.str.31 .asciz "GLX_ARB_create_context" l_.str.32: ; @.str.32 .asciz "glXCreateContextAttribsARB" l_.str.33: ; @.str.33 .asciz "GLX_ARB_create_context_robustness" l_.str.34: ; @.str.34 .asciz "GLX_ARB_create_context_profile" l_.str.35: ; @.str.35 .asciz "GLX_EXT_create_context_es2_profile" l_.str.36: ; @.str.36 .asciz "GLX_ARB_context_flush_control" .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_glx_context.c__glfwInitGLX.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwTerminateGLX ## -- Begin function _glfwTerminateGLX .p2align 4, 0x90 __glfwTerminateGLX: ## @_glfwTerminateGLX .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq __glfw@GOTPCREL(%rip), %rbx movq (%rbx), %rdi testq %rdi, %rdi je LBB0_2 ## %bb.1: callq _dlclose movq $0, (%rbx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm __glfw,8,3 ## @_glfw .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwTerminateGLX ; -- Begin function _glfwTerminateGLX .p2align 2 __glfwTerminateGLX: ; @_glfwTerminateGLX .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x19, __glfw@GOTPAGE Lloh1: ldr x19, [x19, __glfw@GOTPAGEOFF] ldr x0, [x19] cbz x0, LBB0_2 ; %bb.1: bl _dlclose str xzr, [x19] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm __glfw,8,3 ; @_glfw .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_glx_context.c__glfwTerminateGLX.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function chooseGLXFBConfig _chooseGLXFBConfig: ## @chooseGLXFBConfig .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r12 movq %rdi, %rbx movq _GLFW_TRUE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -56(%rbp) ## 8-byte Spill movq __glfw@GOTPCREL(%rip), %rax movl 28(%rax), %edi movq _GLX_VENDOR@GOTPCREL(%rip), %rax movl (%rax), %esi callq _glXGetClientString leaq L_.str(%rip), %rsi movq %rax, %rdi callq _strcmp movq _GLFW_FALSE@GOTPCREL(%rip), %r15 testq %rax, %rax jne LBB0_2 ## %bb.1: movq (%r15), %rax movq %rax, -56(%rbp) ## 8-byte Spill LBB0_2: movq __glfw@GOTPCREL(%rip), %rax movl 24(%rax), %esi movl 28(%rax), %edi leaq -48(%rbp), %rdx callq _glXGetFBConfigs movq %rax, -64(%rbp) ## 8-byte Spill movl -48(%rbp), %r14d testl %r14d, %r14d je LBB0_3 ## %bb.4: movq %rbx, -80(%rbp) ## 8-byte Spill movq %r12, -72(%rbp) ## 8-byte Spill movl %r14d, %edi movl $80, %esi callq _calloc movq %rax, %r13 testl %r14d, %r14d jle LBB0_5 ## %bb.6: xorl %r15d, %r15d movq _GLX_RENDER_TYPE@GOTPCREL(%rip), %r12 movq _GLX_RGBA_BIT@GOTPCREL(%rip), %rbx movl $0, -44(%rbp) ## 4-byte Folded Spill jmp LBB0_7 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_7 Depth=1 movq %r14, 56(%r13,%r12) incl -44(%rbp) ## 4-byte Folded Spill movq _GLX_RENDER_TYPE@GOTPCREL(%rip), %r12 movq _GLX_RGBA_BIT@GOTPCREL(%rip), %rbx LBB0_19: ## in Loop: Header=BB0_7 Depth=1 incq %r15 movslq -48(%rbp), %rax cmpq %rax, %r15 jge LBB0_20 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq -64(%rbp), %rax ## 8-byte Reload movq (%rax,%r15,8), %r14 movl (%r12), %esi movq %r14, %rdi callq _getGLXFBConfigAttrib testl %eax, (%rbx) je LBB0_19 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movq _GLX_DRAWABLE_TYPE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _getGLXFBConfigAttrib movq _GLX_WINDOW_BIT@GOTPCREL(%rip), %rcx testl %eax, (%rcx) jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 cmpq $0, -56(%rbp) ## 8-byte Folded Reload jne LBB0_19 LBB0_10: ## in Loop: Header=BB0_7 Depth=1 movslq -44(%rbp), %rbx ## 4-byte Folded Reload movq _GLX_RED_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _getGLXFBConfigAttrib leaq (%rbx,%rbx,4), %r12 shlq $4, %r12 movl %eax, (%r13,%r12) movq _GLX_GREEN_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _getGLXFBConfigAttrib movl %eax, 4(%r13,%r12) movq _GLX_BLUE_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _getGLXFBConfigAttrib movl %eax, 8(%r13,%r12) movq _GLX_ALPHA_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _getGLXFBConfigAttrib movl %eax, 12(%r13,%r12) movq _GLX_DEPTH_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _getGLXFBConfigAttrib movl %eax, 16(%r13,%r12) movq _GLX_STENCIL_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _getGLXFBConfigAttrib movl %eax, 20(%r13,%r12) movq _GLX_ACCUM_RED_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _getGLXFBConfigAttrib movl %eax, 24(%r13,%r12) movq _GLX_ACCUM_GREEN_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _getGLXFBConfigAttrib movl %eax, 28(%r13,%r12) movq _GLX_ACCUM_BLUE_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _getGLXFBConfigAttrib movl %eax, 32(%r13,%r12) movq _GLX_ACCUM_ALPHA_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _getGLXFBConfigAttrib movl %eax, 36(%r13,%r12) movq _GLX_AUX_BUFFERS@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _getGLXFBConfigAttrib movl %eax, 40(%r13,%r12) movq _GLX_STEREO@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _getGLXFBConfigAttrib testl %eax, %eax je LBB0_12 ## %bb.11: ## in Loop: Header=BB0_7 Depth=1 movq _GLFW_TRUE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 72(%r13,%r12) LBB0_12: ## in Loop: Header=BB0_7 Depth=1 movq _GLX_DOUBLEBUFFER@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _getGLXFBConfigAttrib testl %eax, %eax je LBB0_14 ## %bb.13: ## in Loop: Header=BB0_7 Depth=1 movq _GLFW_TRUE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 64(%r13,%r12) LBB0_14: ## in Loop: Header=BB0_7 Depth=1 movq __glfw@GOTPCREL(%rip), %rax cmpq $0, 16(%rax) je LBB0_16 ## %bb.15: ## in Loop: Header=BB0_7 Depth=1 movq _GLX_SAMPLES@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _getGLXFBConfigAttrib movl %eax, 44(%r13,%r12) LBB0_16: ## in Loop: Header=BB0_7 Depth=1 movq __glfw@GOTPCREL(%rip), %rcx movq 8(%rcx), %rax orq (%rcx), %rax je LBB0_18 ## %bb.17: ## in Loop: Header=BB0_7 Depth=1 movq _GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _getGLXFBConfigAttrib movl %eax, 48(%r13,%r12) jmp LBB0_18 LBB0_3: movq _GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi callq __glfwInputError movq (%r15), %r14 jmp LBB0_23 LBB0_5: movl $0, -44(%rbp) ## 4-byte Folded Spill LBB0_20: movq -80(%rbp), %rdi ## 8-byte Reload movq %r13, %rsi movl -44(%rbp), %edx ## 4-byte Reload callq __glfwChooseFBConfig testq %rax, %rax je LBB0_22 ## %bb.21: movq 56(%rax), %rcx movq -72(%rbp), %rdx ## 8-byte Reload movq %rcx, (%rdx) LBB0_22: xorl %r14d, %r14d testq %rax, %rax setne %r14b movq -64(%rbp), %rdi ## 8-byte Reload callq _XFree movq %r13, %rdi callq _free LBB0_23: movq %r14, %rax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GLFW_TRUE,8,3 ## @GLFW_TRUE .comm __glfw,32,3 ## @_glfw .comm _GLX_VENDOR,4,2 ## @GLX_VENDOR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Chromium" .comm _GLFW_FALSE,8,3 ## @GLFW_FALSE .comm _GLFW_API_UNAVAILABLE,4,2 ## @GLFW_API_UNAVAILABLE L_.str.1: ## @.str.1 .asciz "GLX: No GLXFBConfigs returned" .comm _GLX_RENDER_TYPE,4,2 ## @GLX_RENDER_TYPE .comm _GLX_RGBA_BIT,4,2 ## @GLX_RGBA_BIT .comm _GLX_DRAWABLE_TYPE,4,2 ## @GLX_DRAWABLE_TYPE .comm _GLX_WINDOW_BIT,4,2 ## @GLX_WINDOW_BIT .comm _GLX_RED_SIZE,4,2 ## @GLX_RED_SIZE .comm _GLX_GREEN_SIZE,4,2 ## @GLX_GREEN_SIZE .comm _GLX_BLUE_SIZE,4,2 ## @GLX_BLUE_SIZE .comm _GLX_ALPHA_SIZE,4,2 ## @GLX_ALPHA_SIZE .comm _GLX_DEPTH_SIZE,4,2 ## @GLX_DEPTH_SIZE .comm _GLX_STENCIL_SIZE,4,2 ## @GLX_STENCIL_SIZE .comm _GLX_ACCUM_RED_SIZE,4,2 ## @GLX_ACCUM_RED_SIZE .comm _GLX_ACCUM_GREEN_SIZE,4,2 ## @GLX_ACCUM_GREEN_SIZE .comm _GLX_ACCUM_BLUE_SIZE,4,2 ## @GLX_ACCUM_BLUE_SIZE .comm _GLX_ACCUM_ALPHA_SIZE,4,2 ## @GLX_ACCUM_ALPHA_SIZE .comm _GLX_AUX_BUFFERS,4,2 ## @GLX_AUX_BUFFERS .comm _GLX_STEREO,4,2 ## @GLX_STEREO .comm _GLX_DOUBLEBUFFER,4,2 ## @GLX_DOUBLEBUFFER .comm _GLX_SAMPLES,4,2 ## @GLX_SAMPLES .comm _GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB,4,2 ## @GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB .no_dead_strip _chooseGLXFBConfig .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function chooseGLXFBConfig _chooseGLXFBConfig: ; @chooseGLXFBConfig .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x22, x1 mov x24, x0 Lloh0: adrp x8, _GLFW_TRUE@GOTPAGE Lloh1: ldr x8, [x8, _GLFW_TRUE@GOTPAGEOFF] Lloh2: ldr x20, [x8] Lloh3: adrp x21, __glfw@GOTPAGE Lloh4: ldr x21, [x21, __glfw@GOTPAGEOFF] ldr w0, [x21, #28] Lloh5: adrp x8, _GLX_VENDOR@GOTPAGE Lloh6: ldr x8, [x8, _GLX_VENDOR@GOTPAGEOFF] Lloh7: ldr w1, [x8] bl _glXGetClientString Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF bl _strcmp Lloh10: adrp x19, _GLFW_FALSE@GOTPAGE Lloh11: ldr x19, [x19, _GLFW_FALSE@GOTPAGEOFF] ldr x8, [x19] cmp x0, #0 csel x20, x8, x20, eq ldp w1, w0, [x21, #24] add x2, sp, #28 bl _glXGetFBConfigs ldr w23, [sp, #28] cbz w23, LBB0_15 ; %bb.1: mov x25, x0 stp x22, x24, [sp] ; 16-byte Folded Spill mov x0, x23 mov w1, #80 bl _calloc mov x22, x0 cmp w23, #1 b.lt LBB0_16 ; %bb.2: mov x28, #0 mov w23, #0 Lloh12: adrp x26, _GLX_RENDER_TYPE@GOTPAGE Lloh13: ldr x26, [x26, _GLX_RENDER_TYPE@GOTPAGEOFF] Lloh14: adrp x27, _GLX_RGBA_BIT@GOTPAGE Lloh15: ldr x27, [x27, _GLX_RGBA_BIT@GOTPAGEOFF] Lloh16: adrp x19, _GLX_DRAWABLE_TYPE@GOTPAGE Lloh17: ldr x19, [x19, _GLX_DRAWABLE_TYPE@GOTPAGEOFF] Lloh18: adrp x21, _GLX_WINDOW_BIT@GOTPAGE Lloh19: ldr x21, [x21, _GLX_WINDOW_BIT@GOTPAGEOFF] str x25, [sp, #16] ; 8-byte Folded Spill b LBB0_5 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 madd x8, x19, x27, x22 str x24, [x8, #56] add w23, w23, #1 Lloh20: adrp x27, _GLX_RGBA_BIT@GOTPAGE Lloh21: ldr x27, [x27, _GLX_RGBA_BIT@GOTPAGEOFF] Lloh22: adrp x19, _GLX_DRAWABLE_TYPE@GOTPAGE Lloh23: ldr x19, [x19, _GLX_DRAWABLE_TYPE@GOTPAGEOFF] LBB0_4: ; in Loop: Header=BB0_5 Depth=1 add x28, x28, #1 ldrsw x8, [sp, #28] cmp x28, x8 b.ge LBB0_17 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x24, [x25, x28, lsl #3] ldr w1, [x26] mov x0, x24 bl _getGLXFBConfigAttrib ldr w8, [x27] tst w8, w0 b.eq LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr w1, [x19] mov x0, x24 bl _getGLXFBConfigAttrib ldr w8, [x21] and w8, w8, w0 cmp w8, #0 ccmp x20, #0, #4, eq b.ne LBB0_4 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 mov x25, x20 sxtw x19, w23 Lloh24: adrp x8, _GLX_RED_SIZE@GOTPAGE Lloh25: ldr x8, [x8, _GLX_RED_SIZE@GOTPAGEOFF] Lloh26: ldr w1, [x8] mov x0, x24 bl _getGLXFBConfigAttrib mov w8, #80 madd x20, x19, x8, x22 str w0, [x20] Lloh27: adrp x8, _GLX_GREEN_SIZE@GOTPAGE Lloh28: ldr x8, [x8, _GLX_GREEN_SIZE@GOTPAGEOFF] Lloh29: ldr w1, [x8] mov x0, x24 bl _getGLXFBConfigAttrib str w0, [x20, #4] Lloh30: adrp x8, _GLX_BLUE_SIZE@GOTPAGE Lloh31: ldr x8, [x8, _GLX_BLUE_SIZE@GOTPAGEOFF] Lloh32: ldr w1, [x8] mov x0, x24 bl _getGLXFBConfigAttrib str w0, [x20, #8] Lloh33: adrp x8, _GLX_ALPHA_SIZE@GOTPAGE Lloh34: ldr x8, [x8, _GLX_ALPHA_SIZE@GOTPAGEOFF] Lloh35: ldr w1, [x8] mov x0, x24 bl _getGLXFBConfigAttrib str w0, [x20, #12] Lloh36: adrp x8, _GLX_DEPTH_SIZE@GOTPAGE Lloh37: ldr x8, [x8, _GLX_DEPTH_SIZE@GOTPAGEOFF] Lloh38: ldr w1, [x8] mov x0, x24 bl _getGLXFBConfigAttrib str w0, [x20, #16] Lloh39: adrp x8, _GLX_STENCIL_SIZE@GOTPAGE Lloh40: ldr x8, [x8, _GLX_STENCIL_SIZE@GOTPAGEOFF] Lloh41: ldr w1, [x8] mov x0, x24 bl _getGLXFBConfigAttrib str w0, [x20, #20] Lloh42: adrp x8, _GLX_ACCUM_RED_SIZE@GOTPAGE Lloh43: ldr x8, [x8, _GLX_ACCUM_RED_SIZE@GOTPAGEOFF] Lloh44: ldr w1, [x8] mov x0, x24 bl _getGLXFBConfigAttrib str w0, [x20, #24] Lloh45: adrp x8, _GLX_ACCUM_GREEN_SIZE@GOTPAGE Lloh46: ldr x8, [x8, _GLX_ACCUM_GREEN_SIZE@GOTPAGEOFF] Lloh47: ldr w1, [x8] mov x0, x24 bl _getGLXFBConfigAttrib str w0, [x20, #28] Lloh48: adrp x8, _GLX_ACCUM_BLUE_SIZE@GOTPAGE Lloh49: ldr x8, [x8, _GLX_ACCUM_BLUE_SIZE@GOTPAGEOFF] Lloh50: ldr w1, [x8] mov x0, x24 bl _getGLXFBConfigAttrib str w0, [x20, #32] Lloh51: adrp x8, _GLX_ACCUM_ALPHA_SIZE@GOTPAGE Lloh52: ldr x8, [x8, _GLX_ACCUM_ALPHA_SIZE@GOTPAGEOFF] Lloh53: ldr w1, [x8] mov x0, x24 bl _getGLXFBConfigAttrib str w0, [x20, #36] Lloh54: adrp x8, _GLX_AUX_BUFFERS@GOTPAGE Lloh55: ldr x8, [x8, _GLX_AUX_BUFFERS@GOTPAGEOFF] Lloh56: ldr w1, [x8] mov x0, x24 bl _getGLXFBConfigAttrib str w0, [x20, #40] mov w20, #80 Lloh57: adrp x8, _GLX_STEREO@GOTPAGE Lloh58: ldr x8, [x8, _GLX_STEREO@GOTPAGEOFF] Lloh59: ldr w1, [x8] mov x0, x24 bl _getGLXFBConfigAttrib cbz w0, LBB0_9 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 Lloh60: adrp x8, _GLFW_TRUE@GOTPAGE Lloh61: ldr x8, [x8, _GLFW_TRUE@GOTPAGEOFF] Lloh62: ldr x8, [x8] madd x9, x19, x20, x22 str x8, [x9, #72] LBB0_9: ; in Loop: Header=BB0_5 Depth=1 Lloh63: adrp x8, _GLX_DOUBLEBUFFER@GOTPAGE Lloh64: ldr x8, [x8, _GLX_DOUBLEBUFFER@GOTPAGEOFF] Lloh65: ldr w1, [x8] mov x0, x24 bl _getGLXFBConfigAttrib cbz w0, LBB0_11 ; %bb.10: ; in Loop: Header=BB0_5 Depth=1 Lloh66: adrp x8, _GLFW_TRUE@GOTPAGE Lloh67: ldr x8, [x8, _GLFW_TRUE@GOTPAGEOFF] Lloh68: ldr x8, [x8] madd x9, x19, x20, x22 str x8, [x9, #64] LBB0_11: ; in Loop: Header=BB0_5 Depth=1 mov w27, #80 Lloh69: adrp x8, __glfw@GOTPAGE Lloh70: ldr x8, [x8, __glfw@GOTPAGEOFF] Lloh71: ldr x8, [x8, #16] mov x20, x25 cbz x8, LBB0_13 ; %bb.12: ; in Loop: Header=BB0_5 Depth=1 Lloh72: adrp x8, _GLX_SAMPLES@GOTPAGE Lloh73: ldr x8, [x8, _GLX_SAMPLES@GOTPAGEOFF] Lloh74: ldr w1, [x8] mov x0, x24 bl _getGLXFBConfigAttrib madd x8, x19, x27, x22 str w0, [x8, #44] LBB0_13: ; in Loop: Header=BB0_5 Depth=1 Lloh75: adrp x9, __glfw@GOTPAGE Lloh76: ldr x9, [x9, __glfw@GOTPAGEOFF] ldp x9, x8, [x9] orr x8, x8, x9 ldr x25, [sp, #16] ; 8-byte Folded Reload cbz x8, LBB0_3 ; %bb.14: ; in Loop: Header=BB0_5 Depth=1 Lloh77: adrp x8, _GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB@GOTPAGE Lloh78: ldr x8, [x8, _GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB@GOTPAGEOFF] Lloh79: ldr w1, [x8] mov x0, x24 bl _getGLXFBConfigAttrib madd x8, x19, x27, x22 str w0, [x8, #48] b LBB0_3 LBB0_15: Lloh80: adrp x8, _GLFW_API_UNAVAILABLE@GOTPAGE Lloh81: ldr x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF] Lloh82: ldr w0, [x8] Lloh83: adrp x1, l_.str.1@PAGE Lloh84: add x1, x1, l_.str.1@PAGEOFF bl __glfwInputError ldr x19, [x19] b LBB0_20 LBB0_16: mov w23, #0 LBB0_17: ldr x0, [sp, #8] ; 8-byte Folded Reload mov x1, x22 mov x2, x23 bl __glfwChooseFBConfig cbz x0, LBB0_19 ; %bb.18: ldr x8, [x0, #56] ldr x9, [sp] ; 8-byte Folded Reload str x8, [x9] LBB0_19: cmp x0, #0 cset w19, ne mov x0, x25 bl _XFree mov x0, x22 bl _free LBB0_20: mov x0, x19 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59 .loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62 .loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65 .loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68 .loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71 .loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74 .loh AdrpLdrGot Lloh75, Lloh76 .loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpLdrGotLdr Lloh80, Lloh81, Lloh82 .cfi_endproc ; -- End function .comm _GLFW_TRUE,8,3 ; @GLFW_TRUE .comm __glfw,32,3 ; @_glfw .comm _GLX_VENDOR,4,2 ; @GLX_VENDOR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Chromium" .comm _GLFW_FALSE,8,3 ; @GLFW_FALSE .comm _GLFW_API_UNAVAILABLE,4,2 ; @GLFW_API_UNAVAILABLE l_.str.1: ; @.str.1 .asciz "GLX: No GLXFBConfigs returned" .comm _GLX_RENDER_TYPE,4,2 ; @GLX_RENDER_TYPE .comm _GLX_RGBA_BIT,4,2 ; @GLX_RGBA_BIT .comm _GLX_DRAWABLE_TYPE,4,2 ; @GLX_DRAWABLE_TYPE .comm _GLX_WINDOW_BIT,4,2 ; @GLX_WINDOW_BIT .comm _GLX_RED_SIZE,4,2 ; @GLX_RED_SIZE .comm _GLX_GREEN_SIZE,4,2 ; @GLX_GREEN_SIZE .comm _GLX_BLUE_SIZE,4,2 ; @GLX_BLUE_SIZE .comm _GLX_ALPHA_SIZE,4,2 ; @GLX_ALPHA_SIZE .comm _GLX_DEPTH_SIZE,4,2 ; @GLX_DEPTH_SIZE .comm _GLX_STENCIL_SIZE,4,2 ; @GLX_STENCIL_SIZE .comm _GLX_ACCUM_RED_SIZE,4,2 ; @GLX_ACCUM_RED_SIZE .comm _GLX_ACCUM_GREEN_SIZE,4,2 ; @GLX_ACCUM_GREEN_SIZE .comm _GLX_ACCUM_BLUE_SIZE,4,2 ; @GLX_ACCUM_BLUE_SIZE .comm _GLX_ACCUM_ALPHA_SIZE,4,2 ; @GLX_ACCUM_ALPHA_SIZE .comm _GLX_AUX_BUFFERS,4,2 ; @GLX_AUX_BUFFERS .comm _GLX_STEREO,4,2 ; @GLX_STEREO .comm _GLX_DOUBLEBUFFER,4,2 ; @GLX_DOUBLEBUFFER .comm _GLX_SAMPLES,4,2 ; @GLX_SAMPLES .comm _GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB,4,2 ; @GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB .no_dead_strip _chooseGLXFBConfig .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_glx_context.c_chooseGLXFBConfig.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function createLegacyContextGLX _createLegacyContextGLX: ## @createLegacyContextGLX .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edx, %ecx movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %edi movq _GLX_RGBA_TYPE@GOTPCREL(%rip), %rax movl (%rax), %edx movq _True@GOTPCREL(%rip), %rax movl (%rax), %r8d popq %rbp jmp _glXCreateNewContext ## TAILCALL .cfi_endproc ## -- End function .comm __glfw,4,2 ## @_glfw .comm _GLX_RGBA_TYPE,4,2 ## @GLX_RGBA_TYPE .comm _True,4,2 ## @True .no_dead_strip _createLegacyContextGLX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function createLegacyContextGLX _createLegacyContextGLX: ; @createLegacyContextGLX .cfi_startproc ; %bb.0: mov x3, x2 Lloh0: adrp x8, __glfw@GOTPAGE Lloh1: ldr x8, [x8, __glfw@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x8, _GLX_RGBA_TYPE@GOTPAGE Lloh4: ldr x8, [x8, _GLX_RGBA_TYPE@GOTPAGEOFF] Lloh5: ldr w2, [x8] Lloh6: adrp x8, _True@GOTPAGE Lloh7: ldr x8, [x8, _True@GOTPAGEOFF] Lloh8: ldr w4, [x8] b _glXCreateNewContext .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm __glfw,4,2 ; @_glfw .comm _GLX_RGBA_TYPE,4,2 ; @GLX_RGBA_TYPE .comm _True,4,2 ; @True .no_dead_strip _createLegacyContextGLX .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_glx_context.c_createLegacyContextGLX.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function destroyContextGLX _destroyContextGLX: ## @destroyContextGLX .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq 8(%rdi), %rsi testq %rsi, %rsi je LBB0_2 ## %bb.1: movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %edi callq _glXDestroyWindow movq _None@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 8(%rbx) LBB0_2: movq (%rbx), %rsi testq %rsi, %rsi je LBB0_4 ## %bb.3: movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %edi callq _glXDestroyContext movq $0, (%rbx) LBB0_4: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm __glfw,4,2 ## @_glfw .comm _None,8,3 ## @None .no_dead_strip _destroyContextGLX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function destroyContextGLX _destroyContextGLX: ; @destroyContextGLX .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x1, [x0, #8] Lloh0: adrp x20, __glfw@GOTPAGE Lloh1: ldr x20, [x20, __glfw@GOTPAGEOFF] cbz x1, LBB0_2 ; %bb.1: ldr w0, [x20] bl _glXDestroyWindow Lloh2: adrp x8, _None@GOTPAGE Lloh3: ldr x8, [x8, _None@GOTPAGEOFF] Lloh4: ldr x8, [x8] str x8, [x19, #8] LBB0_2: ldr x1, [x19] cbz x1, LBB0_4 ; %bb.3: ldr w0, [x20] bl _glXDestroyContext str xzr, [x19] LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm __glfw,4,2 ; @_glfw .comm _None,8,3 ; @None .no_dead_strip _destroyContextGLX .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_glx_context.c_destroyContextGLX.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function extensionSupportedGLX _extensionSupportedGLX: ## @extensionSupportedGLX .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %esi movl 4(%rax), %edi callq _glXQueryExtensionsString testq %rax, %rax je LBB0_3 ## %bb.1: movq %rbx, %rdi movq %rax, %rsi callq __glfwStringInExtensionString testq %rax, %rax je LBB0_3 ## %bb.2: movq _GLFW_TRUE@GOTPCREL(%rip), %rax jmp LBB0_4 LBB0_3: movq _GLFW_FALSE@GOTPCREL(%rip), %rax LBB0_4: movl (%rax), %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm __glfw,8,2 ## @_glfw .comm _GLFW_TRUE,4,2 ## @GLFW_TRUE .comm _GLFW_FALSE,4,2 ## @GLFW_FALSE .no_dead_strip _extensionSupportedGLX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function extensionSupportedGLX _extensionSupportedGLX: ; @extensionSupportedGLX .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, __glfw@GOTPAGE Lloh1: ldr x8, [x8, __glfw@GOTPAGEOFF] ldp w1, w0, [x8] bl _glXQueryExtensionsString cbz x0, LBB0_3 ; %bb.1: mov x1, x0 mov x0, x19 bl __glfwStringInExtensionString cbz x0, LBB0_3 ; %bb.2: Lloh2: adrp x8, _GLFW_TRUE@GOTPAGE Lloh3: ldr x8, [x8, _GLFW_TRUE@GOTPAGEOFF] b LBB0_4 LBB0_3: Lloh4: adrp x8, _GLFW_FALSE@GOTPAGE Lloh5: ldr x8, [x8, _GLFW_FALSE@GOTPAGEOFF] LBB0_4: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm __glfw,8,2 ; @_glfw .comm _GLFW_TRUE,4,2 ; @GLFW_TRUE .comm _GLFW_FALSE,4,2 ; @GLFW_FALSE .no_dead_strip _extensionSupportedGLX .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_glx_context.c_extensionSupportedGLX.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function getGLXFBConfigAttrib _getGLXFBConfigAttrib: ## @getGLXFBConfigAttrib .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %esi, %edx movl %edi, %esi movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -4(%rbp), %rcx callq _glXGetFBConfigAttrib movl -4(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm __glfw,4,2 ## @_glfw .no_dead_strip _getGLXFBConfigAttrib .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function getGLXFBConfigAttrib _getGLXFBConfigAttrib: ; @getGLXFBConfigAttrib .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x2, x1 mov x1, x0 Lloh0: adrp x8, __glfw@GOTPAGE Lloh1: ldr x8, [x8, __glfw@GOTPAGEOFF] Lloh2: ldr w0, [x8] sub x3, x29, #4 bl _glXGetFBConfigAttrib ldur w0, [x29, #-4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm __glfw,4,2 ; @_glfw .no_dead_strip _getGLXFBConfigAttrib .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_glx_context.c_getGLXFBConfigAttrib.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function getProcAddressGLX _getProcAddressGLX: ## @getProcAddressGLX .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rsi movq __glfw@GOTPCREL(%rip), %rax movq 16(%rax), %rcx testq %rcx, %rcx jne LBB0_3 ## %bb.1: movq 8(%rax), %rcx testq %rcx, %rcx je LBB0_2 LBB0_3: movq %rsi, %rdi popq %rbp jmpq *%rcx ## TAILCALL LBB0_2: movl (%rax), %edi popq %rbp jmp _dlsym ## TAILCALL .cfi_endproc ## -- End function .comm __glfw,24,3 ## @_glfw .no_dead_strip _getProcAddressGLX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function getProcAddressGLX _getProcAddressGLX: ; @getProcAddressGLX .cfi_startproc ; %bb.0: mov x1, x0 Lloh0: adrp x8, __glfw@GOTPAGE Lloh1: ldr x8, [x8, __glfw@GOTPAGEOFF] ldr x2, [x8, #16] cbnz x2, LBB0_2 ; %bb.1: ldr x2, [x8, #8] cbz x2, LBB0_3 LBB0_2: mov x0, x1 br x2 LBB0_3: ldr w0, [x8] b _dlsym .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm __glfw,24,3 ; @_glfw .no_dead_strip _getProcAddressGLX .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_glx_context.c_getProcAddressGLX.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function makeContextCurrentGLX _makeContextCurrentGLX: ## @makeContextCurrentGLX .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %edi testq %rbx, %rbx je LBB0_4 ## %bb.1: movl 8(%rbx), %esi movq (%rbx), %rdx callq _glXMakeCurrent testl %eax, %eax jne LBB0_6 ## %bb.2: movq _GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi jmp LBB0_3 LBB0_4: movq _None@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edx, %edx callq _glXMakeCurrent testl %eax, %eax je LBB0_5 LBB0_6: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp __glfwPlatformSetCurrentContext ## TAILCALL LBB0_5: movq _GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi LBB0_3: addq $8, %rsp popq %rbx popq %rbp jmp __glfwInputError ## TAILCALL .cfi_endproc ## -- End function .comm __glfw,4,2 ## @_glfw .comm _GLFW_PLATFORM_ERROR,4,2 ## @GLFW_PLATFORM_ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "GLX: Failed to make context current" .comm _None,4,2 ## @None L_.str.1: ## @.str.1 .asciz "GLX: Failed to clear current context" .no_dead_strip _makeContextCurrentGLX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function makeContextCurrentGLX _makeContextCurrentGLX: ; @makeContextCurrentGLX .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, __glfw@GOTPAGE Lloh1: ldr x8, [x8, __glfw@GOTPAGEOFF] Lloh2: ldr w0, [x8] cbz x19, LBB0_3 ; %bb.1: ldr w1, [x19, #8] ldr x2, [x19] bl _glXMakeCurrent cbnz w0, LBB0_4 ; %bb.2: Lloh3: adrp x8, _GLFW_PLATFORM_ERROR@GOTPAGE Lloh4: ldr x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF] Lloh5: ldr w0, [x8] Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF b LBB0_6 LBB0_3: Lloh8: adrp x8, _None@GOTPAGE Lloh9: ldr x8, [x8, _None@GOTPAGEOFF] Lloh10: ldr w1, [x8] mov x2, #0 bl _glXMakeCurrent cbz w0, LBB0_5 LBB0_4: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b __glfwPlatformSetCurrentContext LBB0_5: Lloh11: adrp x8, _GLFW_PLATFORM_ERROR@GOTPAGE Lloh12: ldr x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF] Lloh13: ldr w0, [x8] Lloh14: adrp x1, l_.str.1@PAGE Lloh15: add x1, x1, l_.str.1@PAGEOFF LBB0_6: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b __glfwInputError .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .cfi_endproc ; -- End function .comm __glfw,4,2 ; @_glfw .comm _GLFW_PLATFORM_ERROR,4,2 ; @GLFW_PLATFORM_ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "GLX: Failed to make context current" .comm _None,4,2 ; @None l_.str.1: ; @.str.1 .asciz "GLX: Failed to clear current context" .no_dead_strip _makeContextCurrentGLX .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_glx_context.c_makeContextCurrentGLX.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function swapBuffersGLX _swapBuffersGLX: ## @swapBuffersGLX .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %eax movl (%rdi), %esi movl %eax, %edi popq %rbp jmp _glXSwapBuffers ## TAILCALL .cfi_endproc ## -- End function .comm __glfw,4,2 ## @_glfw .no_dead_strip _swapBuffersGLX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function swapBuffersGLX _swapBuffersGLX: ; @swapBuffersGLX .cfi_startproc ; %bb.0: Lloh0: adrp x8, __glfw@GOTPAGE Lloh1: ldr x8, [x8, __glfw@GOTPAGEOFF] Lloh2: ldr w8, [x8] ldr w1, [x0] mov x0, x8 b _glXSwapBuffers .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm __glfw,4,2 ; @_glfw .no_dead_strip _swapBuffersGLX .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_glx_context.c_swapBuffersGLX.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function swapIntervalGLX _swapIntervalGLX: ## @swapIntervalGLX .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx xorl %eax, %eax callq __glfwPlatformGetCurrentContext movq __glfw@GOTPCREL(%rip), %rcx cmpq $0, 40(%rcx) je LBB0_1 ## %bb.5: movq 32(%rcx), %r8 movl 48(%rcx), %edi movl (%rax), %esi movl %ebx, %edx addq $8, %rsp popq %rbx popq %rbp jmpq *%r8 ## TAILCALL LBB0_1: cmpq $0, 24(%rcx) je LBB0_2 ## %bb.6: movl %ebx, %edi addq $8, %rsp popq %rbx popq %rbp jmpq *16(%rcx) ## TAILCALL LBB0_2: testl %ebx, %ebx jle LBB0_4 ## %bb.3: cmpq $0, 8(%rcx) je LBB0_4 ## %bb.7: movl %ebx, %edi addq $8, %rsp popq %rbx popq %rbp jmpq *(%rcx) ## TAILCALL LBB0_4: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm __glfw,56,3 ## @_glfw .no_dead_strip _swapIntervalGLX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function swapIntervalGLX _swapIntervalGLX: ; @swapIntervalGLX .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl __glfwPlatformGetCurrentContext Lloh0: adrp x8, __glfw@GOTPAGE Lloh1: ldr x8, [x8, __glfw@GOTPAGEOFF] ldr x9, [x8, #40] cbz x9, LBB0_2 ; %bb.1: ldr x3, [x8, #32] ldr w8, [x8, #48] ldr w1, [x0] mov x0, x8 mov x2, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload br x3 LBB0_2: ldr x9, [x8, #24] cbz x9, LBB0_4 ; %bb.3: ldr x1, [x8, #16] b LBB0_7 LBB0_4: cmp w19, #1 b.lt LBB0_8 ; %bb.5: ldr x9, [x8, #8] cbz x9, LBB0_8 ; %bb.6: ldr x1, [x8] LBB0_7: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload br x1 LBB0_8: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm __glfw,56,3 ; @_glfw .no_dead_strip _swapIntervalGLX .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_glx_context.c_swapIntervalGLX.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function getErrorString _getErrorString: ## @getErrorString .cfi_startproc ## %bb.0: addl $-128, %edi cmpl $9, %edi ja LBB0_1 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq %edi, %rax leaq l_reltable.getErrorString(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax popq %rbp retq LBB0_1: leaq L_.str.10(%rip), %rax retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "The GLFW library is not initialized" L_.str.1: ## @.str.1 .asciz "There is no current context" L_.str.2: ## @.str.2 .asciz "Invalid argument for enum parameter" L_.str.3: ## @.str.3 .asciz "Invalid value for parameter" L_.str.4: ## @.str.4 .asciz "Out of memory" L_.str.5: ## @.str.5 .asciz "The requested API is unavailable" L_.str.6: ## @.str.6 .asciz "The requested API version is unavailable" L_.str.7: ## @.str.7 .asciz "A platform-specific error occurred" L_.str.8: ## @.str.8 .asciz "The requested format is unavailable" L_.str.9: ## @.str.9 .asciz "The specified window has no context" L_.str.10: ## @.str.10 .asciz "ERROR: UNKNOWN GLFW ERROR" .no_dead_strip _getErrorString .section __TEXT,__const .p2align 2 ## @reltable.getErrorString l_reltable.getErrorString: .long L_.str.6-l_reltable.getErrorString .long L_.str.7-l_reltable.getErrorString .long L_.str.4-l_reltable.getErrorString .long L_.str.9-l_reltable.getErrorString .long L_.str.1-l_reltable.getErrorString .long L_.str-l_reltable.getErrorString .long L_.str.3-l_reltable.getErrorString .long L_.str.2-l_reltable.getErrorString .long L_.str.8-l_reltable.getErrorString .long L_.str.5-l_reltable.getErrorString .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function getErrorString _getErrorString: ; @getErrorString .cfi_startproc ; %bb.0: sub w8, w0, #128 cmp w8, #9 b.hi LBB0_2 ; %bb.1: Lloh0: adrp x9, l_switch.table.getErrorString@PAGE Lloh1: add x9, x9, l_switch.table.getErrorString@PAGEOFF ldr x0, [x9, w8, sxtw #3] ret LBB0_2: Lloh2: adrp x0, l_.str.10@PAGE Lloh3: add x0, x0, l_.str.10@PAGEOFF ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "The GLFW library is not initialized" l_.str.1: ; @.str.1 .asciz "There is no current context" l_.str.2: ; @.str.2 .asciz "Invalid argument for enum parameter" l_.str.3: ; @.str.3 .asciz "Invalid value for parameter" l_.str.4: ; @.str.4 .asciz "Out of memory" l_.str.5: ; @.str.5 .asciz "The requested API is unavailable" l_.str.6: ; @.str.6 .asciz "The requested API version is unavailable" l_.str.7: ; @.str.7 .asciz "A platform-specific error occurred" l_.str.8: ; @.str.8 .asciz "The requested format is unavailable" l_.str.9: ; @.str.9 .asciz "The specified window has no context" l_.str.10: ; @.str.10 .asciz "ERROR: UNKNOWN GLFW ERROR" .no_dead_strip _getErrorString .section __DATA,__const .p2align 3 ; @switch.table.getErrorString l_switch.table.getErrorString: .quad l_.str.6 .quad l_.str.7 .quad l_.str.4 .quad l_.str.9 .quad l_.str.1 .quad l_.str .quad l_.str.3 .quad l_.str.2 .quad l_.str.8 .quad l_.str.5 .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_init.c_getErrorString.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputChar ## -- Begin function _glfwInputChar .p2align 4, 0x90 __glfwInputChar: ## @_glfwInputChar .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpl $32, %esi jb LBB0_6 ## %bb.1: movl %esi, %ebx leal -127(%rbx), %eax cmpl $33, %eax jb LBB0_6 ## %bb.2: movq %rcx, %r15 movq %rdi, %r14 movq 8(%rdi), %rax testq %rax, %rax je LBB0_4 ## %bb.3: movq %r14, %rdi movl %ebx, %esi callq *%rax LBB0_4: testq %r15, %r15 je LBB0_6 ## %bb.5: movq (%r14), %rax testq %rax, %rax je LBB0_6 ## %bb.7: movq %r14, %rdi movl %ebx, %esi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmpq *%rax ## TAILCALL LBB0_6: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputChar ; -- Begin function _glfwInputChar .p2align 2 __glfwInputChar: ; @_glfwInputChar .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cmp w1, #32 b.lo LBB0_7 ; %bb.1: mov x19, x1 sub w8, w1, #127 cmp w8, #33 b.lo LBB0_7 ; %bb.2: mov x21, x3 mov x20, x0 ldr x8, [x0, #8] cbz x8, LBB0_4 ; %bb.3: mov x0, x20 mov x1, x19 blr x8 LBB0_4: cbz x21, LBB0_7 ; %bb.5: ldr x2, [x20] cbz x2, LBB0_7 ; %bb.6: mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload br x2 LBB0_7: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_input.c__glfwInputChar.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputCursorEnter ## -- Begin function _glfwInputCursorEnter .p2align 4, 0x90 __glfwInputCursorEnter: ## @_glfwInputCursorEnter .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax testq %rax, %rax je LBB0_1 ## %bb.2: popq %rbp jmpq *%rax ## TAILCALL LBB0_1: popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputCursorEnter ; -- Begin function _glfwInputCursorEnter .p2align 2 __glfwInputCursorEnter: ; @_glfwInputCursorEnter .cfi_startproc ; %bb.0: ldr x2, [x0] cbz x2, LBB0_2 ; %bb.1: br x2 LBB0_2: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_input.c__glfwInputCursorEnter.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputCursorPos ## -- Begin function _glfwInputCursorPos .p2align 4, 0x90 __glfwInputCursorPos: ## @_glfwInputCursorPos .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movsd (%rdi), %xmm2 ## xmm2 = mem[0],zero ucomisd %xmm0, %xmm2 jne LBB0_2 jp LBB0_2 ## %bb.1: movsd 8(%rdi), %xmm2 ## xmm2 = mem[0],zero ucomisd %xmm1, %xmm2 jne LBB0_2 jnp LBB0_3 LBB0_2: movsd %xmm0, (%rdi) movsd %xmm1, 8(%rdi) movq 16(%rdi), %rax testq %rax, %rax je LBB0_3 ## %bb.4: popq %rbp jmpq *%rax ## TAILCALL LBB0_3: popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputCursorPos ; -- Begin function _glfwInputCursorPos .p2align 2 __glfwInputCursorPos: ; @_glfwInputCursorPos .cfi_startproc ; %bb.0: ldr d2, [x0] fcmp d2, d0 b.ne LBB0_2 ; %bb.1: ldr d2, [x0, #8] fcmp d2, d1 b.eq LBB0_4 LBB0_2: stp d0, d1, [x0] ldr x1, [x0, #16] cbz x1, LBB0_4 ; %bb.3: br x1 LBB0_4: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_input.c__glfwInputCursorPos.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputDrop ## -- Begin function _glfwInputDrop .p2align 4, 0x90 __glfwInputDrop: ## @_glfwInputDrop .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax testq %rax, %rax je LBB0_1 ## %bb.2: popq %rbp jmpq *%rax ## TAILCALL LBB0_1: popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputDrop ; -- Begin function _glfwInputDrop .p2align 2 __glfwInputDrop: ; @_glfwInputDrop .cfi_startproc ; %bb.0: ldr x3, [x0] cbz x3, LBB0_2 ; %bb.1: br x3 LBB0_2: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_input.c__glfwInputDrop.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputJoystickChange ## -- Begin function _glfwInputJoystickChange .p2align 4, 0x90 __glfwInputJoystickChange: ## @_glfwInputJoystickChange .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq __glfw@GOTPCREL(%rip), %rax movq (%rax), %rax testq %rax, %rax je LBB0_1 ## %bb.2: popq %rbp jmpq *%rax ## TAILCALL LBB0_1: popq %rbp retq .cfi_endproc ## -- End function .comm __glfw,8,3 ## @_glfw .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputJoystickChange ; -- Begin function _glfwInputJoystickChange .p2align 2 __glfwInputJoystickChange: ; @_glfwInputJoystickChange .cfi_startproc ; %bb.0: Lloh0: adrp x8, __glfw@GOTPAGE Lloh1: ldr x8, [x8, __glfw@GOTPAGEOFF] Lloh2: ldr x2, [x8] cbz x2, LBB0_2 ; %bb.1: br x2 LBB0_2: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm __glfw,8,3 ; @_glfw .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_input.c__glfwInputJoystickChange.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputKey ## -- Begin function _glfwInputKey .p2align 4, 0x90 __glfwInputKey: ## @_glfwInputKey .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testl %esi, %esi js LBB0_13 ## %bb.1: movq _GLFW_KEY_LAST@GOTPCREL(%rip), %rax cmpl %esi, (%rax) jl LBB0_13 ## %bb.2: movq _GLFW_FALSE@GOTPCREL(%rip), %rax movq (%rax), %r9 movq _GLFW_RELEASE@GOTPCREL(%rip), %rax movl (%rax), %r11d movl %esi, %r10d cmpl %ecx, %r11d jne LBB0_4 ## %bb.3: movq (%rdi), %rax cmpl %ecx, (%rax,%r10,4) je LBB0_14 LBB0_4: movq _GLFW_PRESS@GOTPCREL(%rip), %rax cmpl %ecx, (%rax) jne LBB0_7 ## %bb.5: movq (%rdi), %rax cmpl %ecx, (%rax,%r10,4) jne LBB0_7 ## %bb.6: movq _GLFW_TRUE@GOTPCREL(%rip), %rax movq (%rax), %r9 LBB0_7: cmpl %ecx, %r11d jne LBB0_10 ## %bb.8: cmpq $0, 16(%rdi) je LBB0_10 ## %bb.9: movq __GLFW_STICK@GOTPCREL(%rip), %rax movl (%rax), %r11d jmp LBB0_11 LBB0_10: movsbl %cl, %r11d LBB0_11: movq (%rdi), %rax movl %r11d, (%rax,%r10,4) testq %r9, %r9 je LBB0_13 ## %bb.12: movq _GLFW_REPEAT@GOTPCREL(%rip), %rax movl (%rax), %ecx LBB0_13: movq 8(%rdi), %rax testq %rax, %rax je LBB0_14 ## %bb.15: popq %rbp jmpq *%rax ## TAILCALL LBB0_14: popq %rbp retq .cfi_endproc ## -- End function .comm _GLFW_KEY_LAST,4,2 ## @GLFW_KEY_LAST .comm _GLFW_FALSE,8,3 ## @GLFW_FALSE .comm _GLFW_RELEASE,4,2 ## @GLFW_RELEASE .comm _GLFW_PRESS,4,2 ## @GLFW_PRESS .comm _GLFW_TRUE,8,3 ## @GLFW_TRUE .comm __GLFW_STICK,4,2 ## @_GLFW_STICK .comm _GLFW_REPEAT,4,2 ## @GLFW_REPEAT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputKey ; -- Begin function _glfwInputKey .p2align 2 __glfwInputKey: ; @_glfwInputKey .cfi_startproc ; %bb.0: tbnz w1, #31, LBB0_11 ; %bb.1: Lloh0: adrp x8, _GLFW_KEY_LAST@GOTPAGE Lloh1: ldr x8, [x8, _GLFW_KEY_LAST@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, w1 b.lt LBB0_11 ; %bb.2: Lloh3: adrp x8, _GLFW_FALSE@GOTPAGE Lloh4: ldr x8, [x8, _GLFW_FALSE@GOTPAGEOFF] Lloh5: ldr x8, [x8] Lloh6: adrp x9, _GLFW_RELEASE@GOTPAGE Lloh7: ldr x9, [x9, _GLFW_RELEASE@GOTPAGEOFF] Lloh8: ldr w9, [x9] cmp w9, w3 b.ne LBB0_4 ; %bb.3: ldr x10, [x0] ldr w10, [x10, w1, uxtw #2] cmp w10, w3 b.eq LBB0_13 LBB0_4: Lloh9: adrp x10, _GLFW_PRESS@GOTPAGE Lloh10: ldr x10, [x10, _GLFW_PRESS@GOTPAGEOFF] Lloh11: ldr w10, [x10] cmp w10, w3 b.ne LBB0_6 ; %bb.5: ldr x10, [x0] ldr w10, [x10, w1, uxtw #2] Lloh12: adrp x11, _GLFW_TRUE@GOTPAGE Lloh13: ldr x11, [x11, _GLFW_TRUE@GOTPAGEOFF] Lloh14: ldr x11, [x11] cmp w10, w3 csel x8, x11, x8, eq LBB0_6: cmp w9, w3 b.ne LBB0_9 ; %bb.7: ldr x9, [x0, #16] cbz x9, LBB0_9 ; %bb.8: Lloh15: adrp x9, __GLFW_STICK@GOTPAGE Lloh16: ldr x9, [x9, __GLFW_STICK@GOTPAGEOFF] Lloh17: ldr w9, [x9] b LBB0_10 LBB0_9: sxtb w9, w3 LBB0_10: ldr x10, [x0] str w9, [x10, w1, uxtw #2] Lloh18: adrp x9, _GLFW_REPEAT@GOTPAGE Lloh19: ldr x9, [x9, _GLFW_REPEAT@GOTPAGEOFF] Lloh20: ldr w9, [x9] cmp x8, #0 csel w3, w3, w9, eq LBB0_11: ldr x5, [x0, #8] cbz x5, LBB0_13 ; %bb.12: br x5 LBB0_13: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .cfi_endproc ; -- End function .comm _GLFW_KEY_LAST,4,2 ; @GLFW_KEY_LAST .comm _GLFW_FALSE,8,3 ; @GLFW_FALSE .comm _GLFW_RELEASE,4,2 ; @GLFW_RELEASE .comm _GLFW_PRESS,4,2 ; @GLFW_PRESS .comm _GLFW_TRUE,8,3 ; @GLFW_TRUE .comm __GLFW_STICK,4,2 ; @_GLFW_STICK .comm _GLFW_REPEAT,4,2 ; @GLFW_REPEAT .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_input.c__glfwInputKey.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputMouseClick ## -- Begin function _glfwInputMouseClick .p2align 4, 0x90 __glfwInputMouseClick: ## @_glfwInputMouseClick .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testl %esi, %esi js LBB0_7 ## %bb.1: movq _GLFW_MOUSE_BUTTON_LAST@GOTPCREL(%rip), %rax cmpl %esi, (%rax) jl LBB0_7 ## %bb.2: movq _GLFW_RELEASE@GOTPCREL(%rip), %rax cmpl %edx, (%rax) jne LBB0_5 ## %bb.3: cmpq $0, 16(%rdi) je LBB0_5 ## %bb.4: movq __GLFW_STICK@GOTPCREL(%rip), %rax movb (%rax), %r8b jmp LBB0_6 LBB0_5: movl %edx, %r8d LBB0_6: movq (%rdi), %r9 movl %esi, %eax movb %r8b, (%r9,%rax) movq 8(%rdi), %rax testq %rax, %rax je LBB0_7 ## %bb.8: popq %rbp jmpq *%rax ## TAILCALL LBB0_7: popq %rbp retq .cfi_endproc ## -- End function .comm _GLFW_MOUSE_BUTTON_LAST,4,2 ## @GLFW_MOUSE_BUTTON_LAST .comm _GLFW_RELEASE,4,2 ## @GLFW_RELEASE .comm __GLFW_STICK,1,0 ## @_GLFW_STICK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputMouseClick ; -- Begin function _glfwInputMouseClick .p2align 2 __glfwInputMouseClick: ; @_glfwInputMouseClick .cfi_startproc ; %bb.0: tbnz w1, #31, LBB0_8 ; %bb.1: Lloh0: adrp x8, _GLFW_MOUSE_BUTTON_LAST@GOTPAGE Lloh1: ldr x8, [x8, _GLFW_MOUSE_BUTTON_LAST@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, w1 b.lt LBB0_8 ; %bb.2: Lloh3: adrp x8, _GLFW_RELEASE@GOTPAGE Lloh4: ldr x8, [x8, _GLFW_RELEASE@GOTPAGEOFF] Lloh5: ldr w8, [x8] cmp w8, w2 b.ne LBB0_5 ; %bb.3: ldr x8, [x0, #16] cbz x8, LBB0_5 ; %bb.4: Lloh6: adrp x8, __GLFW_STICK@GOTPAGE Lloh7: ldr x8, [x8, __GLFW_STICK@GOTPAGEOFF] ldrb w8, [x8] b LBB0_6 LBB0_5: mov x8, x2 LBB0_6: ldr x9, [x0] strb w8, [x9, w1, uxtw] ldr x4, [x0, #8] cbz x4, LBB0_8 ; %bb.7: br x4 LBB0_8: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _GLFW_MOUSE_BUTTON_LAST,4,2 ; @GLFW_MOUSE_BUTTON_LAST .comm _GLFW_RELEASE,4,2 ; @GLFW_RELEASE .comm __GLFW_STICK,1,0 ; @_GLFW_STICK .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_input.c__glfwInputMouseClick.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputScroll ## -- Begin function _glfwInputScroll .p2align 4, 0x90 __glfwInputScroll: ## @_glfwInputScroll .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax testq %rax, %rax je LBB0_1 ## %bb.2: popq %rbp jmpq *%rax ## TAILCALL LBB0_1: popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputScroll ; -- Begin function _glfwInputScroll .p2align 2 __glfwInputScroll: ; @_glfwInputScroll .cfi_startproc ; %bb.0: ldr x1, [x0] cbz x1, LBB0_2 ; %bb.1: br x1 LBB0_2: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_input.c__glfwInputScroll.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwIsPrintable ## -- Begin function _glfwIsPrintable .p2align 4, 0x90 __glfwIsPrintable: ## @_glfwIsPrintable .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _GLFW_KEY_APOSTROPHE@GOTPCREL(%rip), %rcx movl $1, %eax cmpl %edi, (%rcx) jg LBB0_2 ## %bb.1: movq _GLFW_KEY_WORLD_2@GOTPCREL(%rip), %rcx cmpl %edi, (%rcx) jl LBB0_2 LBB0_5: popq %rbp retq LBB0_2: movq _GLFW_KEY_KP_0@GOTPCREL(%rip), %rcx cmpl %edi, (%rcx) jg LBB0_4 ## %bb.3: movq _GLFW_KEY_KP_ADD@GOTPCREL(%rip), %rcx cmpl %edi, (%rcx) jge LBB0_5 LBB0_4: movq _GLFW_KEY_KP_EQUAL@GOTPCREL(%rip), %rcx xorl %eax, %eax cmpl %edi, (%rcx) sete %al popq %rbp retq .cfi_endproc ## -- End function .comm _GLFW_KEY_APOSTROPHE,4,2 ## @GLFW_KEY_APOSTROPHE .comm _GLFW_KEY_WORLD_2,4,2 ## @GLFW_KEY_WORLD_2 .comm _GLFW_KEY_KP_0,4,2 ## @GLFW_KEY_KP_0 .comm _GLFW_KEY_KP_ADD,4,2 ## @GLFW_KEY_KP_ADD .comm _GLFW_KEY_KP_EQUAL,4,2 ## @GLFW_KEY_KP_EQUAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwIsPrintable ; -- Begin function _glfwIsPrintable .p2align 2 __glfwIsPrintable: ; @_glfwIsPrintable .cfi_startproc ; %bb.0: Lloh0: adrp x8, _GLFW_KEY_APOSTROPHE@GOTPAGE Lloh1: ldr x8, [x8, _GLFW_KEY_APOSTROPHE@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _GLFW_KEY_WORLD_2@GOTPAGE Lloh4: ldr x9, [x9, _GLFW_KEY_WORLD_2@GOTPAGEOFF] Lloh5: ldr w9, [x9] cmp w8, w0 ccmp w9, w0, #8, le b.ge LBB0_3 ; %bb.1: Lloh6: adrp x8, _GLFW_KEY_KP_0@GOTPAGE Lloh7: ldr x8, [x8, _GLFW_KEY_KP_0@GOTPAGEOFF] Lloh8: ldr w8, [x8] Lloh9: adrp x9, _GLFW_KEY_KP_ADD@GOTPAGE Lloh10: ldr x9, [x9, _GLFW_KEY_KP_ADD@GOTPAGEOFF] Lloh11: ldr w9, [x9] cmp w8, w0 ccmp w9, w0, #8, le b.ge LBB0_3 ; %bb.2: Lloh12: adrp x8, _GLFW_KEY_KP_EQUAL@GOTPAGE Lloh13: ldr x8, [x8, _GLFW_KEY_KP_EQUAL@GOTPAGEOFF] Lloh14: ldr w8, [x8] cmp w8, w0 cset w0, eq ret LBB0_3: mov w0, #1 ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _GLFW_KEY_APOSTROPHE,4,2 ; @GLFW_KEY_APOSTROPHE .comm _GLFW_KEY_WORLD_2,4,2 ; @GLFW_KEY_WORLD_2 .comm _GLFW_KEY_KP_0,4,2 ; @GLFW_KEY_KP_0 .comm _GLFW_KEY_KP_ADD,4,2 ; @GLFW_KEY_KP_ADD .comm _GLFW_KEY_KP_EQUAL,4,2 ; @GLFW_KEY_KP_EQUAL .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_input.c__glfwIsPrintable.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInitJoysticksLinux ## -- Begin function _glfwInitJoysticksLinux .p2align 4, 0x90 __glfwInitJoysticksLinux: ## @_glfwInitJoysticksLinux .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _GLFW_TRUE@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _GLFW_TRUE,4,2 ## @GLFW_TRUE .comm _GLFW_FALSE,4,2 ## @GLFW_FALSE .comm _GLFW_PLATFORM_ERROR,4,2 ## @GLFW_PLATFORM_ERROR .comm _IN_ATTRIB,4,2 ## @IN_ATTRIB .comm _IN_CLOEXEC,4,2 ## @IN_CLOEXEC .comm _IN_CREATE,4,2 ## @IN_CREATE .comm _IN_NONBLOCK,4,2 ## @IN_NONBLOCK .comm __glfw,16,2 ## @_glfw .comm _compareJoysticks,4,2 ## @compareJoysticks .comm _errno,4,2 ## @errno .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInitJoysticksLinux ; -- Begin function _glfwInitJoysticksLinux .p2align 2 __glfwInitJoysticksLinux: ; @_glfwInitJoysticksLinux .cfi_startproc ; %bb.0: Lloh0: adrp x8, _GLFW_TRUE@GOTPAGE Lloh1: ldr x8, [x8, _GLFW_TRUE@GOTPAGEOFF] Lloh2: ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _GLFW_TRUE,4,2 ; @GLFW_TRUE .comm _GLFW_FALSE,4,2 ; @GLFW_FALSE .comm _GLFW_PLATFORM_ERROR,4,2 ; @GLFW_PLATFORM_ERROR .comm _IN_ATTRIB,4,2 ; @IN_ATTRIB .comm _IN_CLOEXEC,4,2 ; @IN_CLOEXEC .comm _IN_CREATE,4,2 ; @IN_CREATE .comm _IN_NONBLOCK,4,2 ; @IN_NONBLOCK .comm __glfw,16,2 ; @_glfw .comm _compareJoysticks,4,2 ; @compareJoysticks .comm _errno,4,2 ; @errno .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_linux_joystick.c__glfwInitJoysticksLinux.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwPlatformGetJoystickAxes ## -- Begin function _glfwPlatformGetJoystickAxes .p2align 4, 0x90 __glfwPlatformGetJoystickAxes: ## @_glfwPlatformGetJoystickAxes .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq __glfw@GOTPCREL(%rip), %rax movq (%rax), %r15 movslq %edi, %rbx shlq $4, %rbx leaq (%r15,%rbx), %r12 movq %r12, %rdi callq _pollJoystickEvents testl %eax, %eax je LBB0_1 ## %bb.2: movl (%r12), %eax movl %eax, (%r14) movq 8(%r15,%rbx), %rax jmp LBB0_3 LBB0_1: xorl %eax, %eax LBB0_3: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm __glfw,8,3 ## @_glfw .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwPlatformGetJoystickAxes ; -- Begin function _glfwPlatformGetJoystickAxes .p2align 2 __glfwPlatformGetJoystickAxes: ; @_glfwPlatformGetJoystickAxes .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 Lloh0: adrp x8, __glfw@GOTPAGE Lloh1: ldr x8, [x8, __glfw@GOTPAGEOFF] Lloh2: ldr x22, [x8] add x21, x22, w0, sxtw #4 mov x0, x21 bl _pollJoystickEvents cbz w0, LBB0_2 ; %bb.1: sxtw x8, w20 ldr w9, [x21] str w9, [x19] add x8, x22, x8, lsl #4 ldr x0, [x8, #8] b LBB0_3 LBB0_2: mov x0, #0 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm __glfw,8,3 ; @_glfw .subsections_via_symbols
AnghaBench/Cinder/src/glfw/src/extr_linux_joystick.c__glfwPlatformGetJoystickAxes.c
anghabench