	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GLSL_LinkProgram
_GLSL_LinkProgram:                      ## @GLSL_LinkProgram
	.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
	callq	_qglLinkProgram
	movq	_GL_LINK_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	movl	%ebx, %edi
	callq	_qglGetProgramiv
	cmpl	$0, -12(%rbp)
	jne	LBB0_2
## %bb.1:
	movq	_GLSL_PRINTLOG_PROGRAM_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_GLSL_PrintLog
	movq	_ri@GOTPCREL(%rip), %rax
	movq	_ERR_DROP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	callq	*(%rax)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_LINK_STATUS,4,2             ## @GL_LINK_STATUS
	.comm	_GLSL_PRINTLOG_PROGRAM_INFO,4,2 ## @GLSL_PRINTLOG_PROGRAM_INFO
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_ri,8,3                         ## @ri
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"shaders failed to link"

	.no_dead_strip	_GLSL_LinkProgram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GLSL_LinkProgram
_GLSL_LinkProgram:                      ; @GLSL_LinkProgram
	.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, x0
	bl	_qglLinkProgram
Lloh0:
	adrp	x8, _GL_LINK_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_LINK_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_qglGetProgramiv
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _GLSL_PRINTLOG_PROGRAM_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLSL_PRINTLOG_PROGRAM_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _qfalse@GOTPAGE
Lloh7:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_GLSL_PrintLog
Lloh9:
	adrp	x8, _ri@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _ERR_DROP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ERR_DROP@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x9]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
LBB0_2:
	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	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_LINK_STATUS,4,2             ; @GL_LINK_STATUS
	.comm	_GLSL_PRINTLOG_PROGRAM_INFO,4,2 ; @GLSL_PRINTLOG_PROGRAM_INFO
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_ri,8,3                         ; @ri
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"shaders failed to link"

	.no_dead_strip	_GLSL_LinkProgram
.subsections_via_symbols
