	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LoadExt_ARB_get_program_binary
_LoadExt_ARB_get_program_binary:        ## @LoadExt_ARB_get_program_binary
	.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
	leaq	L_.str(%rip), %rdi
	callq	_IntGetProcAddress
	movq	__funcptr_glGetProgramBinary@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%r14d, %r14d
	testq	%rax, %rax
	sete	%r14b
	leaq	L_.str.1(%rip), %rdi
	callq	_IntGetProcAddress
	movq	__funcptr_glProgramBinary@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leal	1(%r14), %ebx
	testq	%rax, %rax
	cmovnel	%r14d, %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_IntGetProcAddress
	movq	__funcptr_glProgramParameteri@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	cmpq	$1, %rax
	adcl	$0, %ebx
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glGetProgramBinary"

	.comm	__funcptr_glGetProgramBinary,8,3 ## @_funcptr_glGetProgramBinary
L_.str.1:                               ## @.str.1
	.asciz	"glProgramBinary"

	.comm	__funcptr_glProgramBinary,8,3   ## @_funcptr_glProgramBinary
L_.str.2:                               ## @.str.2
	.asciz	"glProgramParameteri"

	.comm	__funcptr_glProgramParameteri,8,3 ## @_funcptr_glProgramParameteri
	.no_dead_strip	_LoadExt_ARB_get_program_binary
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LoadExt_ARB_get_program_binary
_LoadExt_ARB_get_program_binary:        ; @LoadExt_ARB_get_program_binary
	.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	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IntGetProcAddress
	mov	x19, x0
Lloh2:
	adrp	x8, __funcptr_glGetProgramBinary@GOTPAGE
Lloh3:
	ldr	x8, [x8, __funcptr_glGetProgramBinary@GOTPAGEOFF]
Lloh4:
	str	x0, [x8]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_IntGetProcAddress
	cmp	x19, #0
Lloh7:
	adrp	x8, __funcptr_glProgramBinary@GOTPAGE
Lloh8:
	ldr	x8, [x8, __funcptr_glProgramBinary@GOTPAGEOFF]
	cset	w9, eq
Lloh9:
	str	x0, [x8]
	mov	w8, #1
	cinc	w8, w8, eq
	cmp	x0, #0
	csel	w19, w8, w9, eq
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_IntGetProcAddress
Lloh12:
	adrp	x8, __funcptr_glProgramParameteri@GOTPAGE
Lloh13:
	ldr	x8, [x8, __funcptr_glProgramParameteri@GOTPAGEOFF]
Lloh14:
	str	x0, [x8]
	cmp	x0, #0
	cinc	w0, w19, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 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	"glGetProgramBinary"

	.comm	__funcptr_glGetProgramBinary,8,3 ; @_funcptr_glGetProgramBinary
l_.str.1:                               ; @.str.1
	.asciz	"glProgramBinary"

	.comm	__funcptr_glProgramBinary,8,3   ; @_funcptr_glProgramBinary
l_.str.2:                               ; @.str.2
	.asciz	"glProgramParameteri"

	.comm	__funcptr_glProgramParameteri,8,3 ; @_funcptr_glProgramParameteri
	.no_dead_strip	_LoadExt_ARB_get_program_binary
.subsections_via_symbols
