	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_SetCullMode                 ## -- Begin function GX_SetCullMode
	.p2align	4, 0x90
_GX_SetCullMode:                        ## @GX_SetCullMode
	.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
	movq	___gx@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	$-49153, %ebx                   ## imm = 0xFFFF3FFF
	andl	(%rax), %ebx
	movslq	%edi, %rax
	leaq	_GX_SetCullMode.cm2hw(%rip), %rcx
	movl	(%rcx,%rax,4), %edi
	movl	$14, %esi
	movl	$2, %edx
	callq	__SHIFTL
	orl	%ebx, %eax
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
	orb	$4, 4(%rcx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @GX_SetCullMode.cm2hw
_GX_SetCullMode.cm2hw:
	.long	0                               ## 0x0
	.long	2                               ## 0x2
	.long	1                               ## 0x1
	.long	3                               ## 0x3

	.comm	___gx,8,3                       ## @__gx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_SetCullMode                 ; -- Begin function GX_SetCullMode
	.p2align	2
_GX_SetCullMode:                        ; @GX_SetCullMode
	.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	x19, ___gx@GOTPAGE
Lloh1:
	ldr	x19, [x19, ___gx@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w8, [x8]
	and	w20, w8, #0xffff3fff
Lloh2:
	adrp	x8, _GX_SetCullMode.cm2hw@PAGE
Lloh3:
	add	x8, x8, _GX_SetCullMode.cm2hw@PAGEOFF
	ldr	w0, [x8, w0, sxtw #2]
	mov	w1, #14
	mov	w2, #2
	bl	__SHIFTL
	orr	w8, w0, w20
	ldr	x9, [x19]
	ldr	w10, [x9, #4]
	orr	w10, w10, #0x4
	stp	w8, w10, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @GX_SetCullMode.cm2hw
_GX_SetCullMode.cm2hw:
	.long	0                               ; 0x0
	.long	2                               ; 0x2
	.long	1                               ; 0x1
	.long	3                               ; 0x3

	.comm	___gx,8,3                       ; @__gx
.subsections_via_symbols
