	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_SetGPFifo                   ## -- Begin function GX_SetGPFifo
	.p2align	4, 0x90
_GX_SetGPFifo:                          ## @GX_SetGPFifo
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	__CPU_ISR_Disable
	xorl	%eax, %eax
	callq	___GX_FifoReadDisable
	movq	_GX_DISABLE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	%edi, %esi
	callq	___GX_WriteFifoIntEnable
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movl	32(%rbx), %edi
	movq	__gpfifo@GOTPCREL(%rip), %r15
	movl	%edi, 32(%r15)
	movl	28(%rbx), %eax
	movl	%eax, 28(%r15)
	movl	40(%rbx), %eax
	movl	%eax, 40(%r15)
	movl	24(%rbx), %eax
	movl	%eax, 24(%r15)
	movups	8(%rbx), %xmm0
	movups	%xmm0, 8(%r15)
	movl	36(%rbx), %eax
	movl	%eax, 36(%r15)
	movl	(%rbx), %eax
	movl	%eax, (%r15)
	movl	$1, 4(%r15)
	movq	__gxgpfifoready@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	callq	_MEM_VIRTUAL_TO_PHYSICAL
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	__SHIFTL
	movq	__cpReg@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movl	%eax, 64(%rcx)
	movl	32(%r15), %edi
	callq	_MEM_VIRTUAL_TO_PHYSICAL
	movl	%eax, %edi
	movl	$16, %esi
	movl	$16, %edx
	callq	__SHIFTR
	movq	(%rbx), %rcx
	movl	%eax, 68(%rcx)
	movl	28(%r15), %edi
	callq	_MEM_VIRTUAL_TO_PHYSICAL
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	__SHIFTL
	movq	(%rbx), %rcx
	movl	%eax, 72(%rcx)
	movl	28(%r15), %edi
	callq	_MEM_VIRTUAL_TO_PHYSICAL
	movl	%eax, %edi
	movl	$16, %esi
	movl	$16, %edx
	callq	__SHIFTR
	movq	(%rbx), %rcx
	movl	%eax, 76(%rcx)
	movl	24(%r15), %edi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	__SHIFTL
	movq	(%rbx), %rcx
	movl	%eax, 80(%rcx)
	movl	24(%r15), %edi
	movl	$16, %esi
	movl	$16, %edx
	callq	__SHIFTR
	movq	(%rbx), %rcx
	movl	%eax, 84(%rcx)
	movl	20(%r15), %edi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	__SHIFTL
	movq	(%rbx), %rcx
	movl	%eax, 88(%rcx)
	movl	20(%r15), %edi
	movl	$16, %esi
	movl	$16, %edx
	callq	__SHIFTR
	movq	(%rbx), %rcx
	movl	%eax, 92(%rcx)
	movl	16(%r15), %edi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	__SHIFTL
	movq	(%rbx), %rcx
	movl	%eax, 96(%rcx)
	movl	16(%r15), %edi
	movl	$16, %esi
	movl	$16, %edx
	callq	__SHIFTR
	movq	(%rbx), %rcx
	movl	%eax, 100(%rcx)
	movl	12(%r15), %edi
	callq	_MEM_VIRTUAL_TO_PHYSICAL
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	__SHIFTL
	movq	(%rbx), %rcx
	movl	%eax, 104(%rcx)
	movl	12(%r15), %edi
	callq	_MEM_VIRTUAL_TO_PHYSICAL
	movl	%eax, %edi
	movl	$16, %esi
	movl	$16, %edx
	callq	__SHIFTR
	movq	(%rbx), %rcx
	movl	%eax, 108(%rcx)
	movl	8(%r15), %edi
	callq	_MEM_VIRTUAL_TO_PHYSICAL
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	__SHIFTL
	movq	(%rbx), %rcx
	movl	%eax, 112(%rcx)
	movl	8(%r15), %edi
	callq	_MEM_VIRTUAL_TO_PHYSICAL
	movl	%eax, %edi
	movl	$16, %esi
	movl	$16, %edx
	callq	__SHIFTR
	movq	(%rbx), %rcx
	movl	%eax, 116(%rcx)
	xorl	%eax, %eax
	callq	_ppcsync
	xorl	%eax, %eax
	callq	___GX_CPGPLinkCheck
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	__cpgplinked@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	$1, (%r15)
	movq	_GX_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	___GX_WriteFifoIntEnable
	movq	_GX_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	__gxgpfifoready@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	__cpgplinked@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	__gpfifo@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_GX_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___GX_FifoLink
	jmp	LBB0_6
LBB0_4:
	movq	__cpgplinked@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movl	$0, (%r15)
	movl	(%r14), %edi
	movl	%edi, %esi
	callq	___GX_WriteFifoIntEnable
	movq	_GX_FALSE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	callq	___GX_FifoLink
	movq	_GX_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, %esi
	callq	___GX_WriteFifoIntReset
	xorl	%eax, %eax
	callq	___GX_FifoReadEnable
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__CPU_ISR_Restore               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__gpfifo,4,2                    ## @_gpfifo
	.comm	_GX_DISABLE,4,2                 ## @GX_DISABLE
	.comm	__gxgpfifoready,4,2             ## @_gxgpfifoready
	.comm	__cpgplinked,4,2                ## @_cpgplinked
	.comm	_GX_FALSE,4,2                   ## @GX_FALSE
	.comm	__cpReg,8,3                     ## @_cpReg
	.comm	_GX_ENABLE,4,2                  ## @GX_ENABLE
	.comm	_GX_TRUE,4,2                    ## @GX_TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GX_SetGPFifo                   ; -- Begin function GX_SetGPFifo
	.p2align	2
_GX_SetGPFifo:                          ; @GX_SetGPFifo
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	__CPU_ISR_Disable
	bl	___GX_FifoReadDisable
Lloh0:
	adrp	x20, _GX_DISABLE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GX_DISABLE@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x0
	bl	___GX_WriteFifoIntEnable
	cbz	x19, LBB0_3
; %bb.1:
Lloh2:
	adrp	x21, __gpfifo@GOTPAGE
Lloh3:
	ldr	x21, [x21, __gpfifo@GOTPAGEOFF]
	ldr	w8, [x19, #40]
	str	w8, [x21, #40]
	ldp	w0, w8, [x19, #32]
	str	w0, [x21, #32]
	ldr	d0, [x19, #24]
	str	d0, [x21, #24]
	ldur	q0, [x19, #8]
	stur	q0, [x21, #8]
	str	w8, [x21, #36]
	ldr	w8, [x19]
	mov	w19, #1
	stp	w8, w19, [x21]
Lloh4:
	adrp	x8, __gxgpfifoready@GOTPAGE
Lloh5:
	ldr	x8, [x8, __gxgpfifoready@GOTPAGEOFF]
Lloh6:
	str	w19, [x8]
	bl	_MEM_VIRTUAL_TO_PHYSICAL
	mov	w1, #0
	mov	w2, #16
	bl	__SHIFTL
Lloh7:
	adrp	x22, __cpReg@GOTPAGE
Lloh8:
	ldr	x22, [x22, __cpReg@GOTPAGEOFF]
	ldr	x8, [x22]
	str	w0, [x8, #64]
	ldr	w0, [x21, #32]
	bl	_MEM_VIRTUAL_TO_PHYSICAL
	mov	w1, #16
	mov	w2, #16
	bl	__SHIFTR
	ldr	x8, [x22]
	str	w0, [x8, #68]
	ldr	w0, [x21, #28]
	bl	_MEM_VIRTUAL_TO_PHYSICAL
	mov	w1, #0
	mov	w2, #16
	bl	__SHIFTL
	ldr	x8, [x22]
	str	w0, [x8, #72]
	ldr	w0, [x21, #28]
	bl	_MEM_VIRTUAL_TO_PHYSICAL
	mov	w1, #16
	mov	w2, #16
	bl	__SHIFTR
	ldr	x8, [x22]
	str	w0, [x8, #76]
	ldr	w0, [x21, #24]
	mov	w1, #0
	mov	w2, #16
	bl	__SHIFTL
	ldr	x8, [x22]
	str	w0, [x8, #80]
	ldr	w0, [x21, #24]
	mov	w1, #16
	mov	w2, #16
	bl	__SHIFTR
	ldr	x8, [x22]
	str	w0, [x8, #84]
	ldr	w0, [x21, #20]
	mov	w1, #0
	mov	w2, #16
	bl	__SHIFTL
	ldr	x8, [x22]
	str	w0, [x8, #88]
	ldr	w0, [x21, #20]
	mov	w1, #16
	mov	w2, #16
	bl	__SHIFTR
	ldr	x8, [x22]
	str	w0, [x8, #92]
	ldr	w0, [x21, #16]
	mov	w1, #0
	mov	w2, #16
	bl	__SHIFTL
	ldr	x8, [x22]
	str	w0, [x8, #96]
	ldr	w0, [x21, #16]
	mov	w1, #16
	mov	w2, #16
	bl	__SHIFTR
	ldr	x8, [x22]
	str	w0, [x8, #100]
	ldr	w0, [x21, #12]
	bl	_MEM_VIRTUAL_TO_PHYSICAL
	mov	w1, #0
	mov	w2, #16
	bl	__SHIFTL
	ldr	x8, [x22]
	str	w0, [x8, #104]
	ldr	w0, [x21, #12]
	bl	_MEM_VIRTUAL_TO_PHYSICAL
	mov	w1, #16
	mov	w2, #16
	bl	__SHIFTR
	ldr	x8, [x22]
	str	w0, [x8, #108]
	ldr	w0, [x21, #8]
	bl	_MEM_VIRTUAL_TO_PHYSICAL
	mov	w1, #0
	mov	w2, #16
	bl	__SHIFTL
	ldr	x8, [x22]
	str	w0, [x8, #112]
	ldr	w0, [x21, #8]
	bl	_MEM_VIRTUAL_TO_PHYSICAL
	mov	w1, #16
	mov	w2, #16
	bl	__SHIFTR
	ldr	x8, [x22]
	str	w0, [x8, #116]
	bl	_ppcsync
	bl	___GX_CPGPLinkCheck
Lloh9:
	adrp	x22, _GX_TRUE@GOTPAGE
Lloh10:
	ldr	x22, [x22, _GX_TRUE@GOTPAGEOFF]
Lloh11:
	adrp	x8, __cpgplinked@GOTPAGE
Lloh12:
	ldr	x8, [x8, __cpgplinked@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.2:
	str	w19, [x8]
	str	w19, [x21]
Lloh13:
	adrp	x8, _GX_ENABLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GX_ENABLE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	___GX_WriteFifoIntEnable
Lloh16:
	adrp	x8, _GX_TRUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GX_TRUE@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh18:
	adrp	x8, __gxgpfifoready@GOTPAGE
Lloh19:
	ldr	x8, [x8, __gxgpfifoready@GOTPAGEOFF]
Lloh20:
	str	wzr, [x8]
Lloh21:
	adrp	x8, __cpgplinked@GOTPAGE
Lloh22:
	ldr	x8, [x8, __cpgplinked@GOTPAGEOFF]
Lloh23:
	adrp	x9, __gpfifo@GOTPAGE
Lloh24:
	ldr	x9, [x9, __gpfifo@GOTPAGEOFF]
Lloh25:
	str	wzr, [x8]
Lloh26:
	str	xzr, [x9]
Lloh27:
	adrp	x8, _GX_FALSE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GX_FALSE@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	___GX_FifoLink
	b	LBB0_6
LBB0_4:
	str	wzr, [x8]
	str	wzr, [x21]
	ldr	w0, [x20]
	mov	x1, x0
	bl	___GX_WriteFifoIntEnable
Lloh30:
	adrp	x8, _GX_FALSE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GX_FALSE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	bl	___GX_FifoLink
	ldr	w0, [x22]
	mov	x1, x0
	bl	___GX_WriteFifoIntReset
	bl	___GX_FifoReadEnable
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	__CPU_ISR_Restore
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	__gpfifo,4,2                    ; @_gpfifo
	.comm	_GX_DISABLE,4,2                 ; @GX_DISABLE
	.comm	__gxgpfifoready,4,2             ; @_gxgpfifoready
	.comm	__cpgplinked,4,2                ; @_cpgplinked
	.comm	_GX_FALSE,4,2                   ; @GX_FALSE
	.comm	__cpReg,8,3                     ; @_cpReg
	.comm	_GX_ENABLE,4,2                  ; @GX_ENABLE
	.comm	_GX_TRUE,4,2                    ; @GX_TRUE
.subsections_via_symbols
