	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GLSL_CompileGPUShader
_GLSL_CompileGPUShader:                 ## @GLSL_CompileGPUShader
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	%rdx, -40(%rbp)
	movl	%ecx, -32(%rbp)
	movl	%r8d, %edi
	callq	_qglCreateShader
	movl	%eax, %ebx
	leaq	-40(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	movl	%eax, %edi
	movl	$1, %esi
	callq	_qglShaderSource
	movl	%ebx, %edi
	callq	_qglCompileShader
	movq	_GL_COMPILE_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	movl	%ebx, %edi
	callq	_qglGetShaderiv
	cmpl	$0, -28(%rbp)
	je	LBB0_1
## %bb.2:
	movl	(%r14), %esi
	testl	%esi, %esi
	je	LBB0_4
## %bb.3:
	movl	%r15d, %edi
	callq	_qglDetachShader
	movl	(%r14), %edi
	callq	_qglDeleteShader
LBB0_4:
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_qglAttachShader
	movl	%ebx, (%r14)
	movl	$1, %eax
	jmp	LBB0_5
LBB0_1:
	movq	_GLSL_PRINTLOG_SHADER_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_qfalse@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	%ebx, %edi
	callq	_GLSL_PrintLog
	movq	_GLSL_PRINTLOG_SHADER_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %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)
	xorl	%eax, %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_COMPILE_STATUS,4,2          ## @GL_COMPILE_STATUS
	.comm	_GLSL_PRINTLOG_SHADER_SOURCE,4,2 ## @GLSL_PRINTLOG_SHADER_SOURCE
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_GLSL_PRINTLOG_SHADER_INFO,4,2  ## @GLSL_PRINTLOG_SHADER_INFO
	.comm	_ri,8,3                         ## @ri
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't compile shader"

	.no_dead_strip	_GLSL_CompileGPUShader
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GLSL_CompileGPUShader
_GLSL_CompileGPUShader:                 ; @GLSL_CompileGPUShader
	.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
	mov	x20, x1
	mov	x21, x0
	str	x2, [sp, #8]
	str	w3, [sp, #4]
	mov	x0, x4
	bl	_qglCreateShader
	mov	x19, x0
	add	x2, sp, #8
	add	x3, sp, #4
	mov	w1, #1
	bl	_qglShaderSource
	mov	x0, x19
	bl	_qglCompileShader
Lloh0:
	adrp	x8, _GL_COMPILE_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_COMPILE_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x19
	bl	_qglGetShaderiv
	ldr	w8, [sp]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	w1, [x20]
	cbz	w1, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_qglDetachShader
	ldr	w0, [x20]
	bl	_qglDeleteShader
LBB0_3:
	mov	x0, x21
	mov	x1, x19
	bl	_qglAttachShader
	str	w19, [x20]
	mov	w0, #1
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _GLSL_PRINTLOG_SHADER_SOURCE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLSL_PRINTLOG_SHADER_SOURCE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x20, _qfalse@GOTPAGE
Lloh7:
	ldr	x20, [x20, _qfalse@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_GLSL_PrintLog
Lloh8:
	adrp	x8, _GLSL_PRINTLOG_SHADER_INFO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GLSL_PRINTLOG_SHADER_INFO@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_GLSL_PrintLog
Lloh11:
	adrp	x8, _ri@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _ERR_DROP@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ERR_DROP@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x9]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
	mov	w0, #0
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_COMPILE_STATUS,4,2          ; @GL_COMPILE_STATUS
	.comm	_GLSL_PRINTLOG_SHADER_SOURCE,4,2 ; @GLSL_PRINTLOG_SHADER_SOURCE
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_GLSL_PRINTLOG_SHADER_INFO,4,2  ; @GLSL_PRINTLOG_SHADER_INFO
	.comm	_ri,8,3                         ; @ri
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't compile shader"

	.no_dead_strip	_GLSL_CompileGPUShader
.subsections_via_symbols
