	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_obtain_mbx_lock_pf
_igb_obtain_mbx_lock_pf:                ## @igb_obtain_mbx_lock_pf
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	_E1000_ERR_MBX@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	movq	(%rax), %rax
	subq	%rax, %r14
	movl	$-11, %ebx
	movq	_E1000_P2VMAILBOX_PFU@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	callq	_E1000_P2VMAILBOX
	movl	(%r12), %esi
	movl	%eax, %edi
	callq	_wr32
	movl	%r15d, %edi
	callq	_E1000_P2VMAILBOX
	movl	%eax, %edi
	callq	_rd32
	testl	%eax, (%r12)
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	incl	%ebx
	jne	LBB0_1
	jmp	LBB0_4
LBB0_2:
	xorl	%r14d, %r14d
LBB0_4:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_ERR_MBX,8,3              ## @E1000_ERR_MBX
	.comm	_E1000_P2VMAILBOX_PFU,4,2       ## @E1000_P2VMAILBOX_PFU
	.no_dead_strip	_igb_obtain_mbx_lock_pf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_obtain_mbx_lock_pf
_igb_obtain_mbx_lock_pf:                ; @igb_obtain_mbx_lock_pf
	.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	x20, x1
Lloh0:
	adrp	x8, _E1000_ERR_MBX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_ERR_MBX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	neg	x19, x8
	mov	w21, #-11
Lloh3:
	adrp	x22, _E1000_P2VMAILBOX_PFU@GOTPAGE
Lloh4:
	ldr	x22, [x22, _E1000_P2VMAILBOX_PFU@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_E1000_P2VMAILBOX
	ldr	w1, [x22]
	bl	_wr32
	mov	x0, x20
	bl	_E1000_P2VMAILBOX
	bl	_rd32
	ldr	w8, [x22]
	tst	w8, w0
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1000
	bl	_udelay
	adds	w21, w21, #1
	b.lo	LBB0_1
	b	LBB0_4
LBB0_3:
	mov	x19, #0
LBB0_4:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_ERR_MBX,8,3              ; @E1000_ERR_MBX
	.comm	_E1000_P2VMAILBOX_PFU,4,2       ; @E1000_P2VMAILBOX_PFU
	.no_dead_strip	_igb_obtain_mbx_lock_pf
.subsections_via_symbols
