	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_iq80310_init
_intel_iq80310_init:                    ## @intel_iq80310_init
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	$1, (%rsi)
	movq	_mtd_pci_read8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rsi)
	movq	_mtd_pci_write8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rsi)
	movl	$8388608, 4(%rsi)               ## imm = 0x800000
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_pci_resource_start
	movl	%eax, %r12d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_pci_resource_len
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ioremap_nocache
	movl	%eax, 20(%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	movl	$68, %esi
	callq	_pci_read_config_dword
	movq	%r15, %rdi
	movl	$68, %esi
	xorl	%edx, %edx
	callq	_pci_write_config_dword
	movl	-36(%rbp), %eax
	movl	%eax, 8(%rbx)
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mtd_pci_read8,4,2              ## @mtd_pci_read8
	.comm	_mtd_pci_write8,4,2             ## @mtd_pci_write8
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_intel_iq80310_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function intel_iq80310_init
lCPI0_0:
	.long	1                               ; 0x1
	.long	8388608                         ; 0x800000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_intel_iq80310_init:                    ; @intel_iq80310_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x1]
Lloh2:
	adrp	x8, _mtd_pci_read8@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mtd_pci_read8@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _mtd_pci_write8@GOTPAGE
Lloh6:
	ldr	x9, [x9, _mtd_pci_write8@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x1, #12]
	mov	w1, #0
	bl	_pci_resource_start
	mov	x21, x0
	mov	x0, x20
	mov	w1, #0
	bl	_pci_resource_len
	mov	x1, x0
	mov	x0, x21
	bl	_ioremap_nocache
	str	w0, [x19, #20]
	cbz	w0, LBB0_2
; %bb.1:
	add	x2, sp, #12
	mov	x0, x20
	mov	w1, #68
	bl	_pci_read_config_dword
	mov	x0, x20
	mov	w1, #68
	mov	w2, #0
	bl	_pci_write_config_dword
	mov	w0, #0
	ldr	w8, [sp, #12]
	str	w8, [x19, #8]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_mtd_pci_read8,4,2              ; @mtd_pci_read8
	.comm	_mtd_pci_write8,4,2             ; @mtd_pci_write8
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_intel_iq80310_init
.subsections_via_symbols
