	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_ext_phy_common_init
_bnx2x_ext_phy_common_init:             ## @bnx2x_ext_phy_common_init
	.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
                                        ## kill: def $r8d killed $r8d def $r8
	leal	-128(%r8), %eax
	cmpl	$8, %eax
	ja	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rax,4), %rax
	addq	%rdi, %rax
	jmpq	*%rax
LBB0_2:
	movq	%r14, %rdi
	movl	%r9d, %r8d
	callq	_bnx2x_8727_common_init_phy
	jmp	LBB0_8
LBB0_4:
	movq	%r14, %rdi
	movl	%r9d, %r8d
	callq	_bnx2x_84833_common_init_phy
	jmp	LBB0_8
LBB0_6:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r8d, %edx
	callq	_DP
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	testl	%ebx, %ebx
	jne	LBB0_11
LBB0_10:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_3:
	movq	%r14, %rdi
	movl	%r9d, %r8d
	callq	_bnx2x_8726_common_init_phy
	jmp	LBB0_8
LBB0_7:
	movq	%r14, %rdi
	movl	%r9d, %r8d
	callq	_bnx2x_8073_common_init_phy
LBB0_8:
	movl	%eax, %ebx
	testl	%ebx, %ebx
	je	LBB0_10
LBB0_11:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%edx, %edx
	callq	_netdev_err
LBB0_12:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ext_phy 0x%x common init not required\n"

L_.str.1:                               ## @.str.1
	.asciz	"Warning: PHY was not initialized, Port %d\n"

	.no_dead_strip	_bnx2x_ext_phy_common_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_ext_phy_common_init
_bnx2x_ext_phy_common_init:             ; @bnx2x_ext_phy_common_init
	.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
	sub	w8, w4, #128
	cmp	w8, #8
	b.hi	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	mov	x4, x5
	bl	_bnx2x_8727_common_init_phy
	b	LBB0_8
LBB0_3:
	mov	x0, x19
	mov	x4, x5
	bl	_bnx2x_84833_common_init_phy
	b	LBB0_8
LBB0_4:
Lloh2:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x4
	bl	_DP
	mov	w20, #0
	b	LBB0_10
LBB0_5:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w20, w8
	cbnz	w20, LBB0_9
	b	LBB0_10
LBB0_6:
	mov	x0, x19
	mov	x4, x5
	bl	_bnx2x_8726_common_init_phy
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	mov	x4, x5
	bl	_bnx2x_8073_common_init_phy
LBB0_8:
	mov	x20, x0
	cbz	w20, LBB0_10
LBB0_9:
	ldr	w0, [x19]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #0
	bl	_netdev_err
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ext_phy 0x%x common init not required\n"

l_.str.1:                               ; @.str.1
	.asciz	"Warning: PHY was not initialized, Port %d\n"

	.no_dead_strip	_bnx2x_ext_phy_common_init
.subsections_via_symbols
