	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_get_swfw_sync_semaphore
_ixgbe_get_swfw_sync_semaphore:         ## @ixgbe_get_swfw_sync_semaphore
	.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, %r15
	movq	_IXGBE_ERR_EEPROM@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	$2000, %ebx                     ## imm = 0x7D0
	movq	_IXGBE_SWSM@GOTPCREL(%rip), %r12
	movq	_IXGBE_SWSM_SMBI@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	testq	%rax, (%r13)
	je	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$50, %edi
	callq	_udelay
	decq	%rbx
	jne	LBB0_1
## %bb.3:
	testq	%r14, %r14
	je	LBB0_7
## %bb.4:
	movl	$2000, %ebx                     ## imm = 0x7D0
	movq	_IXGBE_SWFW_SYNC@GOTPCREL(%rip), %r12
	movq	_IXGBE_SWFW_REGSMP@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_IXGBE_READ_REG
	testq	%rax, (%r13)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$50, %edi
	callq	_udelay
	decq	%rbx
	jne	LBB0_5
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_hw_dbg
	xorl	%r14d, %r14d
LBB0_8:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_ERR_EEPROM,8,3           ## @IXGBE_ERR_EEPROM
	.comm	_IXGBE_SWSM,4,2                 ## @IXGBE_SWSM
	.comm	_IXGBE_SWSM_SMBI,8,3            ## @IXGBE_SWSM_SMBI
	.comm	_IXGBE_SWFW_SYNC,4,2            ## @IXGBE_SWFW_SYNC
	.comm	_IXGBE_SWFW_REGSMP,8,3          ## @IXGBE_SWFW_REGSMP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Software semaphore SMBI between device drivers not granted.\n"

	.no_dead_strip	_ixgbe_get_swfw_sync_semaphore
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_get_swfw_sync_semaphore
_ixgbe_get_swfw_sync_semaphore:         ; @ixgbe_get_swfw_sync_semaphore
	.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	x20, x0
Lloh0:
	adrp	x8, _IXGBE_ERR_EEPROM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_ERR_EEPROM@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	mov	w21, #2000
Lloh3:
	adrp	x22, _IXGBE_SWSM@GOTPAGE
Lloh4:
	ldr	x22, [x22, _IXGBE_SWSM@GOTPAGEOFF]
Lloh5:
	adrp	x23, _IXGBE_SWSM_SMBI@GOTPAGE
Lloh6:
	ldr	x23, [x23, _IXGBE_SWSM_SMBI@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	x8, [x23]
	tst	x8, x0
	b.eq	LBB0_7
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #50
	bl	_udelay
	subs	x21, x21, #1
	b.ne	LBB0_1
; %bb.3:
	cbz	x19, LBB0_7
; %bb.4:
	mov	w21, #2000
Lloh7:
	adrp	x22, _IXGBE_SWFW_SYNC@GOTPAGE
Lloh8:
	ldr	x22, [x22, _IXGBE_SWFW_SYNC@GOTPAGEOFF]
Lloh9:
	adrp	x23, _IXGBE_SWFW_REGSMP@GOTPAGE
Lloh10:
	ldr	x23, [x23, _IXGBE_SWFW_REGSMP@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x20
	bl	_IXGBE_READ_REG
	ldr	x8, [x23]
	tst	x8, x0
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #50
	bl	_udelay
	subs	x21, x21, #1
	b.ne	LBB0_5
	b	LBB0_8
LBB0_7:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_hw_dbg
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_ERR_EEPROM,8,3           ; @IXGBE_ERR_EEPROM
	.comm	_IXGBE_SWSM,4,2                 ; @IXGBE_SWSM
	.comm	_IXGBE_SWSM_SMBI,8,3            ; @IXGBE_SWSM_SMBI
	.comm	_IXGBE_SWFW_SYNC,4,2            ; @IXGBE_SWFW_SYNC
	.comm	_IXGBE_SWFW_REGSMP,8,3          ; @IXGBE_SWFW_REGSMP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Software semaphore SMBI between device drivers not granted.\n"

	.no_dead_strip	_ixgbe_get_swfw_sync_semaphore
.subsections_via_symbols
