	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function init_mmio_iops_siimage
LCPI0_0:
	.quad	1                               ## 0x1
	.quad	2                               ## 0x2
LCPI0_1:
	.quad	3                               ## 0x3
	.quad	4                               ## 0x4
LCPI0_2:
	.quad	5                               ## 0x5
	.quad	6                               ## 0x6
LCPI0_3:
	.quad	7                               ## 0x7
	.quad	10                              ## 0xa
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_init_mmio_iops_siimage:                ## @init_mmio_iops_siimage
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	120(%rdi), %edi
	callq	_to_pci_dev
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_pci_get_drvdata
	movq	(%rax), %r15
	movq	112(%rbx), %r12
	leaq	40(%rbx), %rdi
	movq	_IDE_HFLAG_MMIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 32(%rbx)
	movq	%r15, 24(%rbx)
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	leaq	192(%r15), %rax
	leaq	128(%r15), %r13
	testq	%r12, %r12
	cmoveq	%r13, %rax
	movq	%rax, 40(%rbx)
	movq	%rax, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [1,2]
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, 48(%rbx)
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [3,4]
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, 64(%rbx)
	movdqa	LCPI0_2(%rip), %xmm1            ## xmm1 = [5,6]
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, 80(%rbx)
	paddq	LCPI0_3(%rip), %xmm0
	movdqu	%xmm0, 96(%rbx)
	movq	%r14, %rdi
	callq	_pdev_is_sata
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	testq	%r12, %r12
	cmoveq	%r15, %r13
	leaq	260(%r13), %rax
	movq	(%rbx), %rcx
	movq	_SATA_STATUS_OFFSET@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	leaq	264(%r13), %rax
	movq	_SATA_ERROR_OFFSET@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	addq	$256, %r13                      ## imm = 0x100
	movq	_SATA_CONTROL_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r13, (%rcx,%rax,8)
LBB0_2:
	xorl	%eax, %eax
	testq	%r12, %r12
	setne	%al
	movl	(%r14), %ecx
	movl	%ecx, 16(%rbx)
	leaq	(%r15,%rax,8), %rax
	movq	%rax, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDE_HFLAG_MMIO,4,2             ## @IDE_HFLAG_MMIO
	.comm	_SATA_STATUS_OFFSET,8,3         ## @SATA_STATUS_OFFSET
	.comm	_SATA_ERROR_OFFSET,8,3          ## @SATA_ERROR_OFFSET
	.comm	_SATA_CONTROL_OFFSET,8,3        ## @SATA_CONTROL_OFFSET
	.no_dead_strip	_init_mmio_iops_siimage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function init_mmio_iops_siimage
lCPI0_0:
	.quad	1                               ; 0x1
	.quad	2                               ; 0x2
lCPI0_1:
	.quad	3                               ; 0x3
	.quad	4                               ; 0x4
lCPI0_2:
	.quad	5                               ; 0x5
	.quad	6                               ; 0x6
lCPI0_3:
	.quad	7                               ; 0x7
	.quad	10                              ; 0xa
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_init_mmio_iops_siimage:                ; @init_mmio_iops_siimage
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	w0, [x0, #120]
	bl	_to_pci_dev
	mov	x20, x0
	bl	_pci_get_drvdata
	ldr	x21, [x0]
	ldr	x22, [x19, #112]
Lloh0:
	adrp	x8, _IDE_HFLAG_MMIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDE_HFLAG_MMIO@GOTPAGEOFF]
	add	x0, x19, #40
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #32]
	orr	w8, w9, w8
	str	w8, [x19, #32]
	str	x21, [x19, #24]
	mov	w1, #0
	mov	w2, #72
	bl	_memset
	add	x8, x21, #192
	add	x23, x21, #128
	cmp	x22, #0
	csel	x8, x23, x8, eq
	dup.2d	v0, x8
Lloh3:
	adrp	x9, lCPI0_0@PAGE
Lloh4:
	ldr	q1, [x9, lCPI0_0@PAGEOFF]
	add.2d	v1, v0, v1
Lloh5:
	adrp	x9, lCPI0_1@PAGE
Lloh6:
	ldr	q2, [x9, lCPI0_1@PAGEOFF]
	add.2d	v2, v0, v2
	stp	q1, q2, [x19, #48]
Lloh7:
	adrp	x9, lCPI0_2@PAGE
Lloh8:
	ldr	q1, [x9, lCPI0_2@PAGEOFF]
Lloh9:
	adrp	x9, lCPI0_3@PAGE
Lloh10:
	ldr	q2, [x9, lCPI0_3@PAGEOFF]
	add.2d	v1, v0, v1
	add.2d	v0, v0, v2
	str	x8, [x19, #40]
	stp	q1, q0, [x19, #80]
	mov	x0, x20
	bl	_pdev_is_sata
	cbz	x0, LBB0_2
; %bb.1:
	cmp	x22, #0
	csel	x8, x21, x23, eq
	add	x9, x8, #260
	ldr	x10, [x19]
Lloh11:
	adrp	x11, _SATA_STATUS_OFFSET@GOTPAGE
Lloh12:
	ldr	x11, [x11, _SATA_STATUS_OFFSET@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	str	x9, [x10, x11, lsl #3]
	add	x9, x8, #264
Lloh14:
	adrp	x11, _SATA_ERROR_OFFSET@GOTPAGE
Lloh15:
	ldr	x11, [x11, _SATA_ERROR_OFFSET@GOTPAGEOFF]
Lloh16:
	ldr	x11, [x11]
	str	x9, [x10, x11, lsl #3]
	add	x8, x8, #256
Lloh17:
	adrp	x9, _SATA_CONTROL_OFFSET@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SATA_CONTROL_OFFSET@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	str	x8, [x10, x9, lsl #3]
LBB0_2:
	cmp	x22, #0
	cset	w8, ne
	ldr	w9, [x20]
	str	w9, [x19, #16]
	add	x8, x21, w8, uxtw #3
	str	x8, [x19, #8]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpAdrp	Lloh7, Lloh9
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IDE_HFLAG_MMIO,4,2             ; @IDE_HFLAG_MMIO
	.comm	_SATA_STATUS_OFFSET,8,3         ; @SATA_STATUS_OFFSET
	.comm	_SATA_ERROR_OFFSET,8,3          ; @SATA_ERROR_OFFSET
	.comm	_SATA_CONTROL_OFFSET,8,3        ; @SATA_CONTROL_OFFSET
	.no_dead_strip	_init_mmio_iops_siimage
.subsections_via_symbols
