	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_acquire_swfw_sync_x550em_a
_ixgbe_acquire_swfw_sync_x550em_a:      ## @ixgbe_acquire_swfw_sync_x550em_a
	.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	_FW_PHY_TOKEN_RETRIES@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	decl	%r13d
	je	LBB0_10
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_IXGBE_GSSR_TOKEN_SM@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	notl	%r12d
	andl	%esi, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_ixgbe_acquire_swfw_sync_X540
	testq	%rax, %rax
	jne	LBB0_13
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_IXGBE_GSSR_TOKEN_SM@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_ixgbe_get_phy_token
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_ixgbe_release_swfw_sync_X540
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_IXGBE_ERR_TOKEN_RETRY@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_FW_PHY_TOKEN_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msleep
	decl	%r13d
	jne	LBB0_2
	jmp	LBB0_14
LBB0_10:
                                        ## implicit-def: $rbx
	jmp	LBB0_14
LBB0_12:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_13:
	movq	%rax, %rbx
LBB0_14:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_GSSR_TOKEN_SM,4,2        ## @IXGBE_GSSR_TOKEN_SM
	.comm	_FW_PHY_TOKEN_RETRIES,4,2       ## @FW_PHY_TOKEN_RETRIES
	.comm	_IXGBE_ERR_TOKEN_RETRY,8,3      ## @IXGBE_ERR_TOKEN_RETRY
	.comm	_FW_PHY_TOKEN_DELAY,4,2         ## @FW_PHY_TOKEN_DELAY
	.no_dead_strip	_ixgbe_acquire_swfw_sync_x550em_a
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_acquire_swfw_sync_x550em_a
_ixgbe_acquire_swfw_sync_x550em_a:      ; @ixgbe_acquire_swfw_sync_x550em_a
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _FW_PHY_TOKEN_RETRIES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_PHY_TOKEN_RETRIES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	subs	w23, w8, #1
	b.eq	LBB0_10
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh3:
	adrp	x24, _IXGBE_GSSR_TOKEN_SM@GOTPAGE
Lloh4:
	ldr	x24, [x24, _IXGBE_GSSR_TOKEN_SM@GOTPAGEOFF]
	ldr	w8, [x24]
	bic	w21, w1, w8
Lloh5:
	adrp	x25, _IXGBE_ERR_TOKEN_RETRY@GOTPAGE
Lloh6:
	ldr	x25, [x25, _IXGBE_ERR_TOKEN_RETRY@GOTPAGEOFF]
Lloh7:
	adrp	x26, _FW_PHY_TOKEN_DELAY@GOTPAGE
Lloh8:
	ldr	x26, [x26, _FW_PHY_TOKEN_DELAY@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w21, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_ixgbe_acquire_swfw_sync_X540
	cbnz	x0, LBB0_12
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x24]
	tst	w8, w19
	b.eq	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_ixgbe_get_phy_token
	mov	x22, x0
	cbz	x0, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w21, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_ixgbe_release_swfw_sync_X540
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x25]
	cmp	x22, x8
	b.ne	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x26]
	bl	_msleep
	subs	w23, w23, #1
	b.ne	LBB0_2
	b	LBB0_13
LBB0_10:
                                        ; implicit-def: $x22
	b	LBB0_13
LBB0_11:
	mov	x22, #0
	b	LBB0_13
LBB0_12:
	mov	x22, x0
LBB0_13:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_GSSR_TOKEN_SM,4,2        ; @IXGBE_GSSR_TOKEN_SM
	.comm	_FW_PHY_TOKEN_RETRIES,4,2       ; @FW_PHY_TOKEN_RETRIES
	.comm	_IXGBE_ERR_TOKEN_RETRY,8,3      ; @IXGBE_ERR_TOKEN_RETRY
	.comm	_FW_PHY_TOKEN_DELAY,4,2         ; @FW_PHY_TOKEN_DELAY
	.no_dead_strip	_ixgbe_acquire_swfw_sync_x550em_a
.subsections_via_symbols
