	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GL_Cull                        ## -- Begin function GL_Cull
	.p2align	4, 0x90
_GL_Cull:                               ## @GL_Cull
	.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	_glState@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_1
## %bb.8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movl	%edi, %ebx
	movl	%edi, (%rax)
	movq	_CT_TWO_SIDED@GOTPCREL(%rip), %rax
	movq	_GL_CULL_FACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpl	%ebx, (%rax)
	jne	LBB0_2
## %bb.9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_qglDisable                     ## TAILCALL
LBB0_2:
	callq	_qglEnable
	movq	_CT_BACK_SIDED@GOTPCREL(%rip), %rcx
	movq	_backEnd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	%ebx, (%rcx)
	jne	LBB0_6
## %bb.3:
	testq	%rax, %rax
	je	LBB0_7
LBB0_4:
	movq	_GL_FRONT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	testq	%rax, %rax
	je	LBB0_4
LBB0_7:
	movq	_GL_BACK@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_qglCullFace                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_glState,4,2                    ## @glState
	.comm	_CT_TWO_SIDED,4,2               ## @CT_TWO_SIDED
	.comm	_GL_CULL_FACE,4,2               ## @GL_CULL_FACE
	.comm	_CT_BACK_SIDED,4,2              ## @CT_BACK_SIDED
	.comm	_backEnd,8,3                    ## @backEnd
	.comm	_GL_FRONT,4,2                   ## @GL_FRONT
	.comm	_GL_BACK,4,2                    ## @GL_BACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GL_Cull                        ; -- Begin function GL_Cull
	.p2align	2
_GL_Cull:                               ; @GL_Cull
	.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, _glState@GOTPAGE
Lloh1:
	ldr	x8, [x8, _glState@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, w0
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
Lloh2:
	adrp	x9, _CT_TWO_SIDED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CT_TWO_SIDED@GOTPAGEOFF]
	str	w0, [x8]
Lloh4:
	ldr	w8, [x9]
Lloh5:
	adrp	x9, _GL_CULL_FACE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GL_CULL_FACE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x9]
	cmp	w8, w19
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qglDisable
LBB0_4:
	bl	_qglEnable
Lloh8:
	adrp	x8, _CT_BACK_SIDED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CT_BACK_SIDED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x8]
Lloh11:
	adrp	x8, _backEnd@GOTPAGE
Lloh12:
	ldr	x8, [x8, _backEnd@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	w9, w19
	b.ne	LBB0_7
; %bb.5:
	cbz	x8, LBB0_8
LBB0_6:
Lloh14:
	adrp	x8, _GL_FRONT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GL_FRONT@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	cbz	x8, LBB0_6
LBB0_8:
Lloh16:
	adrp	x8, _GL_BACK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GL_BACK@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qglCullFace
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_glState,4,2                    ; @glState
	.comm	_CT_TWO_SIDED,4,2               ; @CT_TWO_SIDED
	.comm	_GL_CULL_FACE,4,2               ; @GL_CULL_FACE
	.comm	_CT_BACK_SIDED,4,2              ; @CT_BACK_SIDED
	.comm	_backEnd,8,3                    ; @backEnd
	.comm	_GL_FRONT,4,2                   ; @GL_FRONT
	.comm	_GL_BACK,4,2                    ; @GL_BACK
.subsections_via_symbols
