	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i7300_idle_ioat_start
_i7300_idle_ioat_start:                 ## @i7300_idle_ioat_start
	.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	_ioat_chanbase@GOTPCREL(%rip), %r14
	movq	_IOAT_CHANERR_OFFSET@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	(%r14), %rdi
	callq	_readl
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rsi
	addq	(%r14), %rsi
	movq	%rax, %rdi
	callq	_writel
LBB0_2:
	movq	_IOAT_CHANCMD_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IOAT1_CHANCMD_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writeb
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ioat_chanbase,8,3              ## @ioat_chanbase
	.comm	_IOAT_CHANERR_OFFSET,8,3        ## @IOAT_CHANERR_OFFSET
	.comm	_IOAT_CHANCMD_START,4,2         ## @IOAT_CHANCMD_START
	.comm	_IOAT1_CHANCMD_OFFSET,8,3       ## @IOAT1_CHANCMD_OFFSET
	.no_dead_strip	_i7300_idle_ioat_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i7300_idle_ioat_start
_i7300_idle_ioat_start:                 ; @i7300_idle_ioat_start
	.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, _ioat_chanbase@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ioat_chanbase@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh2:
	adrp	x20, _IOAT_CHANERR_OFFSET@GOTPAGE
Lloh3:
	ldr	x20, [x20, _IOAT_CHANERR_OFFSET@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
LBB0_2:
Lloh4:
	adrp	x8, _IOAT_CHANCMD_START@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IOAT_CHANCMD_START@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh7:
	adrp	x9, _IOAT1_CHANCMD_OFFSET@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IOAT1_CHANCMD_OFFSET@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writeb
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ioat_chanbase,8,3              ; @ioat_chanbase
	.comm	_IOAT_CHANERR_OFFSET,8,3        ; @IOAT_CHANERR_OFFSET
	.comm	_IOAT_CHANCMD_START,4,2         ; @IOAT_CHANCMD_START
	.comm	_IOAT1_CHANCMD_OFFSET,8,3       ; @IOAT1_CHANCMD_OFFSET
	.no_dead_strip	_i7300_idle_ioat_start
.subsections_via_symbols
