	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___ew32_prepare                 ## -- Begin function __ew32_prepare
	.p2align	4, 0x90
___ew32_prepare:                        ## @__ew32_prepare
	.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	_E1000_ICH_FWSM_PCIM2PCI_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_FWSM@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_er32
	movq	_E1000_ICH_FWSM_PCIM2PCI@GOTPCREL(%rip), %r15
	testl	%eax, (%r15)
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$1, %rbx
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$50, %edi
	callq	_udelay
	movl	(%r14), %edi
	callq	_er32
	decq	%rbx
	testl	%eax, (%r15)
	jne	LBB0_2
	jmp	LBB0_4
LBB0_3:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_ICH_FWSM_PCIM2PCI_COUNT,8,3 ## @E1000_ICH_FWSM_PCIM2PCI_COUNT
	.comm	_FWSM,4,2                       ## @FWSM
	.comm	_E1000_ICH_FWSM_PCIM2PCI,4,2    ## @E1000_ICH_FWSM_PCIM2PCI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___ew32_prepare                 ; -- Begin function __ew32_prepare
	.p2align	2
___ew32_prepare:                        ; @__ew32_prepare
	.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
Lloh0:
	adrp	x8, _E1000_ICH_FWSM_PCIM2PCI_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_ICH_FWSM_PCIM2PCI_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
Lloh3:
	adrp	x20, _FWSM@GOTPAGE
Lloh4:
	ldr	x20, [x20, _FWSM@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_er32
Lloh5:
	adrp	x21, _E1000_ICH_FWSM_PCIM2PCI@GOTPAGE
Lloh6:
	ldr	x21, [x21, _E1000_ICH_FWSM_PCIM2PCI@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	subs	x19, x19, #1
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #50
	bl	_udelay
	ldr	w0, [x20]
	bl	_er32
	ldr	w8, [x21]
	and	w8, w8, w0
	cbnz	w8, LBB0_1
LBB0_3:
	mov	x0, x19
	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
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_ICH_FWSM_PCIM2PCI_COUNT,8,3 ; @E1000_ICH_FWSM_PCIM2PCI_COUNT
	.comm	_FWSM,4,2                       ; @FWSM
	.comm	_E1000_ICH_FWSM_PCIM2PCI,4,2    ; @E1000_ICH_FWSM_PCIM2PCI
.subsections_via_symbols
