	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GLSL_BindProgram               ## -- Begin function GLSL_BindProgram
	.p2align	4, 0x90
_GLSL_BindProgram:                      ## @GLSL_BindProgram
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	8(%rdi), %ebx
	movq	(%rdi), %rsi
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
LBB0_3:
	movq	_r_logFile@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	_va
	movl	%eax, %edi
	callq	_GLimp_LogComment
LBB0_5:
	movl	%ebx, %edi
	callq	_GL_UseProgram
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_backEnd@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NULL"

	.comm	_r_logFile,8,3                  ## @r_logFile
L_.str.1:                               ## @.str.1
	.asciz	"--- GLSL_BindProgram( %s ) ---\n"

	.comm	_backEnd,4,2                    ## @backEnd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GLSL_BindProgram               ; -- Begin function GLSL_BindProgram
	.p2align	2
_GLSL_BindProgram:                      ; @GLSL_BindProgram
	.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
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w19, [x0, #8]
	ldr	x1, [x0]
	b	LBB0_3
LBB0_2:
	mov	w19, #0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
LBB0_3:
Lloh2:
	adrp	x8, _r_logFile@GOTPAGE
Lloh3:
	ldr	x8, [x8, _r_logFile@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_va
	bl	_GLimp_LogComment
LBB0_5:
	mov	x0, x19
	bl	_GL_UseProgram
	cbz	x0, LBB0_7
; %bb.6:
Lloh7:
	adrp	x8, _backEnd@GOTPAGE
Lloh8:
	ldr	x8, [x8, _backEnd@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NULL"

	.comm	_r_logFile,8,3                  ; @r_logFile
l_.str.1:                               ; @.str.1
	.asciz	"--- GLSL_BindProgram( %s ) ---\n"

	.comm	_backEnd,4,2                    ; @backEnd
.subsections_via_symbols
