	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_84833_cmd_hdlr
_bnx2x_84833_cmd_hdlr:                  ## @bnx2x_84833_cmd_hdlr
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movq	(%rsi), %r15
	movq	_PHY84833_MB_PROCESS2@GOTPCREL(%rip), %rax
	movl	%r9d, -68(%rbp)                 ## 4-byte Spill
	cmpl	%r9d, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_MDIO_CTL_DEVAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_848xx_CMD_HDLR_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_PHY84833_STATUS_CMD_OPEN_OVERRIDE@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_bnx2x_cl45_write
LBB0_2:
	movq	_PHY848xx_CMDHDLR_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_3
## %bb.4:
	xorl	%r13d, %r13d
	movq	_PHY84833_STATUS_CMD_OPEN_FOR_CMDS@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_MDIO_CTL_DEVAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_848xx_CMD_HDLR_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	leaq	-56(%rbp), %r8
	callq	_bnx2x_cl45_read
	movq	-56(%rbp), %rax
	cmpq	(%r12), %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	incl	%r13d
	movq	_PHY848xx_CMDHDLR_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r13d
	jl	LBB0_5
	jmp	LBB0_8
LBB0_3:
	xorl	%r13d, %r13d
LBB0_8:
	cmpl	%eax, %r13d
	jge	LBB0_9
LBB0_13:
	movq	_PHY84833_MB_PROCESS1@GOTPCREL(%rip), %rax
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%rax)
	sete	%al
	movq	_PHY84833_MB_PROCESS2@GOTPCREL(%rip), %rdx
	cmpl	%ecx, (%rdx)
	sete	%cl
	orb	%al, %cl
	cmpb	$1, %cl
	movq	%rbx, %r13
	jne	LBB0_17
## %bb.14:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_17
## %bb.15:
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	_MDIO_CTL_DEVAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_848xx_CMD_HDLR_DATA1@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	addq	%rbx, %rcx
	movq	(%r14,%rbx,8), %r8
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_bnx2x_cl45_write
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_16
LBB0_17:
	movq	_MDIO_CTL_DEVAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_848xx_CMD_HDLR_COMMAND@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_bnx2x_cl45_write
	movq	_PHY848xx_CMDHDLR_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	movq	%r13, %rbx
	jle	LBB0_18
## %bb.19:
	xorl	%r12d, %r12d
	movq	_PHY84833_STATUS_CMD_COMPLETE_ERROR@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	_MDIO_CTL_DEVAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_848xx_CMD_HDLR_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	leaq	-56(%rbp), %r8
	callq	_bnx2x_cl45_read
	movq	-56(%rbp), %rax
	movq	_PHY84833_STATUS_CMD_COMPLETE_PASS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpq	(%r13), %rax
	je	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	incl	%r12d
	movq	_PHY848xx_CMDHDLR_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r12d
	jl	LBB0_20
	jmp	LBB0_24
LBB0_6:
	movq	_PHY848xx_CMDHDLR_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r13d
	jl	LBB0_13
LBB0_9:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	-56(%rbp), %rax
	movq	_PHY84833_STATUS_CMD_COMPLETE_PASS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.10:
	movq	_PHY84833_STATUS_CMD_COMPLETE_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
LBB0_11:
	movq	_MDIO_CTL_DEVAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_848xx_CMD_HDLR_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_PHY84833_STATUS_CMD_CLEAR_COMPLETE@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_bnx2x_cl45_write
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_36
LBB0_18:
	xorl	%r12d, %r12d
LBB0_24:
	cmpl	%eax, %r12d
	jl	LBB0_25
	jmp	LBB0_26
LBB0_22:
	movq	_PHY848xx_CMDHDLR_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r12d
	jge	LBB0_26
LBB0_25:
	movq	-56(%rbp), %rax
	movq	_PHY84833_STATUS_CMD_COMPLETE_ERROR@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	jne	LBB0_27
LBB0_26:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_DP
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	subl	(%rax), %edx
LBB0_27:
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	movq	_PHY84833_MB_PROCESS3@GOTPCREL(%rip), %rax
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%rax)
	movq	_MDIO_CTL_DEVAD@GOTPCREL(%rip), %rax
	jne	LBB0_32
## %bb.28:
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_32
## %bb.29:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_32
## %bb.30:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %edx
	movq	_MDIO_848xx_CMD_HDLR_DATA1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%r12, %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %r8
	movq	%r15, %r13
	movq	%rbx, %r15
	movq	%rax, %rbx
	callq	_bnx2x_cl45_read
	movq	%rbx, %rax
	movq	%r15, %rbx
	movq	%r13, %r15
	incq	%r12
	addq	$8, %r14
	cmpq	%r12, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_31
LBB0_32:
	movq	-56(%rbp), %rax
	movq	_PHY84833_STATUS_CMD_COMPLETE_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_34
## %bb.33:
	movq	_PHY84833_STATUS_CMD_COMPLETE_PASS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_35
LBB0_34:
	movq	_MDIO_CTL_DEVAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_848xx_CMD_HDLR_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_PHY84833_STATUS_CMD_CLEAR_COMPLETE@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_bnx2x_cl45_write
LBB0_35:
	movl	-64(%rbp), %eax                 ## 4-byte Reload
LBB0_36:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY84833_MB_PROCESS2,4,2       ## @PHY84833_MB_PROCESS2
	.comm	_MDIO_CTL_DEVAD,4,2             ## @MDIO_CTL_DEVAD
	.comm	_MDIO_848xx_CMD_HDLR_STATUS,8,3 ## @MDIO_848xx_CMD_HDLR_STATUS
	.comm	_PHY84833_STATUS_CMD_OPEN_OVERRIDE,8,3 ## @PHY84833_STATUS_CMD_OPEN_OVERRIDE
	.comm	_PHY848xx_CMDHDLR_WAIT,4,2      ## @PHY848xx_CMDHDLR_WAIT
	.comm	_PHY84833_STATUS_CMD_OPEN_FOR_CMDS,8,3 ## @PHY84833_STATUS_CMD_OPEN_FOR_CMDS
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FW cmd: FW not ready.\n"

	.comm	_PHY84833_STATUS_CMD_COMPLETE_PASS,8,3 ## @PHY84833_STATUS_CMD_COMPLETE_PASS
	.comm	_PHY84833_STATUS_CMD_COMPLETE_ERROR,8,3 ## @PHY84833_STATUS_CMD_COMPLETE_ERROR
	.comm	_PHY84833_STATUS_CMD_CLEAR_COMPLETE,8,3 ## @PHY84833_STATUS_CMD_CLEAR_COMPLETE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PHY84833_MB_PROCESS1,4,2       ## @PHY84833_MB_PROCESS1
	.comm	_MDIO_848xx_CMD_HDLR_DATA1,8,3  ## @MDIO_848xx_CMD_HDLR_DATA1
	.comm	_MDIO_848xx_CMD_HDLR_COMMAND,8,3 ## @MDIO_848xx_CMD_HDLR_COMMAND
L_.str.1:                               ## @.str.1
	.asciz	"FW cmd failed.\n"

	.comm	_PHY84833_MB_PROCESS3,4,2       ## @PHY84833_MB_PROCESS3
	.no_dead_strip	_bnx2x_84833_cmd_hdlr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_84833_cmd_hdlr
_bnx2x_84833_cmd_hdlr:                  ; @bnx2x_84833_cmd_hdlr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x5
	mov	x28, x4
	mov	x21, x3
	mov	x22, x2
	mov	x19, x0
	ldr	x20, [x1]
Lloh0:
	adrp	x24, _PHY84833_MB_PROCESS2@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PHY84833_MB_PROCESS2@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, w5
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _MDIO_CTL_DEVAD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MDIO_CTL_DEVAD@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _MDIO_848xx_CMD_HDLR_STATUS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MDIO_848xx_CMD_HDLR_STATUS@GOTPAGEOFF]
Lloh7:
	ldr	x3, [x8]
Lloh8:
	adrp	x8, _PHY84833_STATUS_CMD_OPEN_OVERRIDE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PHY84833_STATUS_CMD_OPEN_OVERRIDE@GOTPAGEOFF]
Lloh10:
	ldr	x4, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_cl45_write
LBB0_2:
Lloh11:
	adrp	x25, _PHY848xx_CMDHDLR_WAIT@GOTPAGE
Lloh12:
	ldr	x25, [x25, _PHY848xx_CMDHDLR_WAIT@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	str	x22, [sp]                       ; 8-byte Folded Spill
	b.lt	LBB0_6
; %bb.3:
	mov	x26, x28
	mov	w27, #0
Lloh13:
	adrp	x28, _MDIO_CTL_DEVAD@GOTPAGE
Lloh14:
	ldr	x28, [x28, _MDIO_CTL_DEVAD@GOTPAGEOFF]
Lloh15:
	adrp	x22, _MDIO_848xx_CMD_HDLR_STATUS@GOTPAGE
Lloh16:
	ldr	x22, [x22, _MDIO_848xx_CMD_HDLR_STATUS@GOTPAGEOFF]
Lloh17:
	adrp	x24, _PHY84833_STATUS_CMD_OPEN_FOR_CMDS@GOTPAGE
Lloh18:
	ldr	x24, [x24, _PHY84833_STATUS_CMD_OPEN_FOR_CMDS@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x28]
	ldr	x3, [x22]
	add	x4, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_cl45_read
	ldr	x8, [sp, #8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	add	w27, w27, #1
	ldr	w8, [x25]
	cmp	w27, w8
	b.lt	LBB0_4
	b	LBB0_11
LBB0_6:
	mov	w27, #0
	cmp	w27, w8
	b.lt	LBB0_12
LBB0_7:
Lloh19:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	ldr	x8, [sp, #8]
Lloh24:
	adrp	x9, _PHY84833_STATUS_CMD_COMPLETE_PASS@GOTPAGE
Lloh25:
	ldr	x9, [x9, _PHY84833_STATUS_CMD_COMPLETE_PASS@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
Lloh27:
	adrp	x10, _PHY84833_STATUS_CMD_COMPLETE_ERROR@GOTPAGE
Lloh28:
	ldr	x10, [x10, _PHY84833_STATUS_CMD_COMPLETE_ERROR@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_9
; %bb.8:
Lloh30:
	adrp	x8, _MDIO_CTL_DEVAD@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MDIO_CTL_DEVAD@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
Lloh33:
	adrp	x8, _MDIO_848xx_CMD_HDLR_STATUS@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MDIO_848xx_CMD_HDLR_STATUS@GOTPAGEOFF]
Lloh35:
	ldr	x3, [x8]
Lloh36:
	adrp	x8, _PHY84833_STATUS_CMD_CLEAR_COMPLETE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PHY84833_STATUS_CMD_CLEAR_COMPLETE@GOTPAGEOFF]
Lloh38:
	ldr	x4, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_cl45_write
LBB0_9:
Lloh39:
	adrp	x8, _EINVAL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_30
LBB0_10:
	ldr	w8, [x25]
LBB0_11:
	mov	x28, x26
Lloh42:
	adrp	x24, _PHY84833_MB_PROCESS2@GOTPAGE
Lloh43:
	ldr	x24, [x24, _PHY84833_MB_PROCESS2@GOTPAGEOFF]
	cmp	w27, w8
	b.ge	LBB0_7
LBB0_12:
Lloh44:
	adrp	x8, _PHY84833_MB_PROCESS1@GOTPAGE
Lloh45:
	ldr	x8, [x8, _PHY84833_MB_PROCESS1@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	ldr	w9, [x24]
	cmp	w9, w23
	ccmp	w8, w23, #4, ne
	ccmp	w28, #1, #8, eq
	b.lt	LBB0_15
; %bb.13:
	mov	x22, #0
Lloh47:
	adrp	x24, _MDIO_CTL_DEVAD@GOTPAGE
Lloh48:
	ldr	x24, [x24, _MDIO_CTL_DEVAD@GOTPAGEOFF]
Lloh49:
	adrp	x26, _MDIO_848xx_CMD_HDLR_DATA1@GOTPAGE
Lloh50:
	ldr	x26, [x26, _MDIO_848xx_CMD_HDLR_DATA1@GOTPAGEOFF]
	mov	w27, w28
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x24]
	ldr	x8, [x26]
	add	x3, x22, x8
	ldr	x4, [x21, x22, lsl #3]
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_cl45_write
	add	x22, x22, #1
	cmp	x27, x22
	b.ne	LBB0_14
LBB0_15:
Lloh51:
	adrp	x26, _MDIO_CTL_DEVAD@GOTPAGE
Lloh52:
	ldr	x26, [x26, _MDIO_CTL_DEVAD@GOTPAGEOFF]
	ldr	w2, [x26]
Lloh53:
	adrp	x8, _MDIO_848xx_CMD_HDLR_COMMAND@GOTPAGE
Lloh54:
	ldr	x8, [x8, _MDIO_848xx_CMD_HDLR_COMMAND@GOTPAGEOFF]
Lloh55:
	ldr	x3, [x8]
	mov	x0, x20
	mov	x1, x19
	ldr	x4, [sp]                        ; 8-byte Folded Reload
	bl	_bnx2x_cl45_write
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.16:
	str	w28, [sp]                       ; 4-byte Folded Spill
	mov	w24, #0
Lloh56:
	adrp	x27, _MDIO_848xx_CMD_HDLR_STATUS@GOTPAGE
Lloh57:
	ldr	x27, [x27, _MDIO_848xx_CMD_HDLR_STATUS@GOTPAGEOFF]
Lloh58:
	adrp	x28, _PHY84833_STATUS_CMD_COMPLETE_PASS@GOTPAGE
Lloh59:
	ldr	x28, [x28, _PHY84833_STATUS_CMD_COMPLETE_PASS@GOTPAGEOFF]
Lloh60:
	adrp	x22, _PHY84833_STATUS_CMD_COMPLETE_ERROR@GOTPAGE
Lloh61:
	ldr	x22, [x22, _PHY84833_STATUS_CMD_COMPLETE_ERROR@GOTPAGEOFF]
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x26]
	ldr	x3, [x27]
	add	x4, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_cl45_read
	ldr	x8, [sp, #8]
	ldr	x9, [x28]
	ldr	x10, [x22]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	add	w24, w24, #1
	ldr	w8, [x25]
	cmp	w24, w8
	b.lt	LBB0_17
	b	LBB0_21
LBB0_19:
	mov	w24, #0
	cmp	w24, w8
	b.lt	LBB0_22
	b	LBB0_23
LBB0_20:
	ldr	w8, [x25]
LBB0_21:
	ldr	w28, [sp]                       ; 4-byte Folded Reload
	cmp	w24, w8
	b.ge	LBB0_23
LBB0_22:
	ldr	x8, [sp, #8]
Lloh62:
	adrp	x9, _PHY84833_STATUS_CMD_COMPLETE_ERROR@GOTPAGE
Lloh63:
	ldr	x9, [x9, _PHY84833_STATUS_CMD_COMPLETE_ERROR@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_24
LBB0_23:
Lloh65:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh66:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
Lloh68:
	adrp	x1, l_.str.1@PAGE
Lloh69:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
Lloh70:
	adrp	x8, _EINVAL@GOTPAGE
Lloh71:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_25
LBB0_24:
	mov	w24, #0
LBB0_25:
Lloh73:
	adrp	x8, _PHY84833_MB_PROCESS3@GOTPAGE
Lloh74:
	ldr	x8, [x8, _PHY84833_MB_PROCESS3@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
	cmp	w8, w23
	ccmp	w24, #0, #0, eq
	ccmp	w28, #1, #8, eq
	b.lt	LBB0_28
; %bb.26:
	mov	x22, #0
	mov	w23, w28
Lloh76:
	adrp	x25, _MDIO_848xx_CMD_HDLR_DATA1@GOTPAGE
Lloh77:
	ldr	x25, [x25, _MDIO_848xx_CMD_HDLR_DATA1@GOTPAGEOFF]
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x26]
	ldr	x8, [x25]
	add	x3, x22, x8
	mov	x0, x20
	mov	x1, x19
	mov	x4, x21
	bl	_bnx2x_cl45_read
	add	x22, x22, #1
	add	x21, x21, #8
	cmp	x23, x22
	b.ne	LBB0_27
LBB0_28:
	ldr	x8, [sp, #8]
Lloh78:
	adrp	x9, _PHY84833_STATUS_CMD_COMPLETE_ERROR@GOTPAGE
Lloh79:
	ldr	x9, [x9, _PHY84833_STATUS_CMD_COMPLETE_ERROR@GOTPAGEOFF]
Lloh80:
	ldr	x9, [x9]
Lloh81:
	adrp	x10, _PHY84833_STATUS_CMD_COMPLETE_PASS@GOTPAGE
Lloh82:
	ldr	x10, [x10, _PHY84833_STATUS_CMD_COMPLETE_PASS@GOTPAGEOFF]
Lloh83:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_30
; %bb.29:
	ldr	w2, [x26]
Lloh84:
	adrp	x8, _MDIO_848xx_CMD_HDLR_STATUS@GOTPAGE
Lloh85:
	ldr	x8, [x8, _MDIO_848xx_CMD_HDLR_STATUS@GOTPAGEOFF]
Lloh86:
	ldr	x3, [x8]
Lloh87:
	adrp	x8, _PHY84833_STATUS_CMD_CLEAR_COMPLETE@GOTPAGE
Lloh88:
	ldr	x8, [x8, _PHY84833_STATUS_CMD_CLEAR_COMPLETE@GOTPAGEOFF]
Lloh89:
	ldr	x4, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_cl45_write
LBB0_30:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY84833_MB_PROCESS2,4,2       ; @PHY84833_MB_PROCESS2
	.comm	_MDIO_CTL_DEVAD,4,2             ; @MDIO_CTL_DEVAD
	.comm	_MDIO_848xx_CMD_HDLR_STATUS,8,3 ; @MDIO_848xx_CMD_HDLR_STATUS
	.comm	_PHY84833_STATUS_CMD_OPEN_OVERRIDE,8,3 ; @PHY84833_STATUS_CMD_OPEN_OVERRIDE
	.comm	_PHY848xx_CMDHDLR_WAIT,4,2      ; @PHY848xx_CMDHDLR_WAIT
	.comm	_PHY84833_STATUS_CMD_OPEN_FOR_CMDS,8,3 ; @PHY84833_STATUS_CMD_OPEN_FOR_CMDS
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FW cmd: FW not ready.\n"

	.comm	_PHY84833_STATUS_CMD_COMPLETE_PASS,8,3 ; @PHY84833_STATUS_CMD_COMPLETE_PASS
	.comm	_PHY84833_STATUS_CMD_COMPLETE_ERROR,8,3 ; @PHY84833_STATUS_CMD_COMPLETE_ERROR
	.comm	_PHY84833_STATUS_CMD_CLEAR_COMPLETE,8,3 ; @PHY84833_STATUS_CMD_CLEAR_COMPLETE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PHY84833_MB_PROCESS1,4,2       ; @PHY84833_MB_PROCESS1
	.comm	_MDIO_848xx_CMD_HDLR_DATA1,8,3  ; @MDIO_848xx_CMD_HDLR_DATA1
	.comm	_MDIO_848xx_CMD_HDLR_COMMAND,8,3 ; @MDIO_848xx_CMD_HDLR_COMMAND
l_.str.1:                               ; @.str.1
	.asciz	"FW cmd failed.\n"

	.comm	_PHY84833_MB_PROCESS3,4,2       ; @PHY84833_MB_PROCESS3
	.no_dead_strip	_bnx2x_84833_cmd_hdlr
.subsections_via_symbols
