	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_set_phys_id
_bnx2x_set_phys_id:                     ## @bnx2x_set_phys_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_bnx2x_is_nvm_accessible
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_9
## %bb.3:
	movl	$1, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_4:
	movq	%r14, %rdi
	callq	_bnx2x_acquire_phy_lock
	movq	%r14, %rdi
	addq	$4, %rdi
	movq	_LED_MODE_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SPEED_1000@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_7
LBB0_1:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movq	_BNX2X_MSG_NVM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_5:
	movq	%r14, %rdi
	callq	_bnx2x_acquire_phy_lock
	movq	%r14, %rdi
	addq	$4, %rdi
	movq	_LED_MODE_FRONT_PANEL_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	jmp	LBB0_8
LBB0_6:
	movq	%r14, %rdi
	callq	_bnx2x_acquire_phy_lock
	movq	%r14, %rdi
	addq	$4, %rdi
	movq	_LED_MODE_OPER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
LBB0_7:
	movq	%r14, %rsi
LBB0_8:
	callq	_bnx2x_set_led
	movq	%r14, %rdi
	callq	_bnx2x_release_phy_lock
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_BNX2X_MSG_ETHTOOL,4,2          ## @BNX2X_MSG_ETHTOOL
	.comm	_BNX2X_MSG_NVM,4,2              ## @BNX2X_MSG_NVM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot access eeprom when the interface is down\n"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_LED_MODE_ON,4,2                ## @LED_MODE_ON
	.comm	_SPEED_1000,4,2                 ## @SPEED_1000
	.comm	_LED_MODE_FRONT_PANEL_OFF,4,2   ## @LED_MODE_FRONT_PANEL_OFF
	.comm	_LED_MODE_OPER,4,2              ## @LED_MODE_OPER
	.no_dead_strip	_bnx2x_set_phys_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_set_phys_id
_bnx2x_set_phys_id:                     ; @bnx2x_set_phys_id
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	bl	_bnx2x_is_nvm_accessible
	cbz	w0, LBB0_4
; %bb.1:
	sub	w8, w20, #128
	cmp	w8, #3
	b.hi	LBB0_9
; %bb.2:
	mov	w0, #1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	mov	x0, x19
	bl	_bnx2x_acquire_phy_lock
	add	x0, x19, #4
Lloh2:
	adrp	x8, _LED_MODE_ON@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LED_MODE_ON@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _SPEED_1000@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SPEED_1000@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	b	LBB0_7
LBB0_4:
Lloh8:
	adrp	x8, _BNX2X_MSG_ETHTOOL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BNX2X_MSG_ETHTOOL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _BNX2X_MSG_NVM@GOTPAGE
Lloh12:
	ldr	x9, [x9, _BNX2X_MSG_NVM@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w0, w9, w8
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
Lloh16:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_5:
	mov	x0, x19
	bl	_bnx2x_acquire_phy_lock
	add	x0, x19, #4
Lloh19:
	adrp	x8, _LED_MODE_FRONT_PANEL_OFF@GOTPAGE
Lloh20:
	ldr	x8, [x8, _LED_MODE_FRONT_PANEL_OFF@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x1, x19
	mov	w3, #0
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	bl	_bnx2x_acquire_phy_lock
Lloh22:
	adrp	x8, _LED_MODE_OPER@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LED_MODE_OPER@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x19
	ldr	w3, [x0], #4
LBB0_7:
	mov	x1, x19
LBB0_8:
	bl	_bnx2x_set_led
	mov	x0, x19
	bl	_bnx2x_release_phy_lock
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
                                        ; -- End function
	.comm	_BNX2X_MSG_ETHTOOL,4,2          ; @BNX2X_MSG_ETHTOOL
	.comm	_BNX2X_MSG_NVM,4,2              ; @BNX2X_MSG_NVM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot access eeprom when the interface is down\n"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_LED_MODE_ON,4,2                ; @LED_MODE_ON
	.comm	_SPEED_1000,4,2                 ; @SPEED_1000
	.comm	_LED_MODE_FRONT_PANEL_OFF,4,2   ; @LED_MODE_FRONT_PANEL_OFF
	.comm	_LED_MODE_OPER,4,2              ; @LED_MODE_OPER
	.no_dead_strip	_bnx2x_set_phys_id
.subsections_via_symbols
