	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_8705_config_init
_bnx2x_8705_config_init:                ## @bnx2x_8705_config_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	8(%rsi), %rbx
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	_MISC_REGISTERS_GPIO_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MISC_REGISTERS_GPIO_OUTPUT_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%r14), %ecx
	movq	%rbx, %rdi
	callq	_bnx2x_set_gpio
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	callq	_bnx2x_ext_phy_hw_reset
	movq	_MDIO_PMA_DEVAD@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_MDIO_PMA_REG_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$41024, %r8d                    ## imm = 0xA040
	callq	_bnx2x_cl45_write
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_bnx2x_wait_reset_complete
	movl	(%r12), %edx
	movq	_MDIO_PMA_REG_MISC_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$33416, %r8d                    ## imm = 0x8288
	callq	_bnx2x_cl45_write
	movl	(%r12), %edx
	movq	_MDIO_PMA_REG_PHY_IDENTIFIER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$32703, %r8d                    ## imm = 0x7FBF
	callq	_bnx2x_cl45_write
	movl	(%r12), %edx
	movq	_MDIO_PMA_REG_CMU_PLL_BYPASS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$256, %r8d                      ## imm = 0x100
	callq	_bnx2x_cl45_write
	movq	_MDIO_WIS_DEVAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_WIS_REG_LASI_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$1, %r8d
	callq	_bnx2x_cl45_write
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_bnx2x_save_spirom_version
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"init 8705\n"

	.comm	_MISC_REGISTERS_GPIO_2,4,2      ## @MISC_REGISTERS_GPIO_2
	.comm	_MISC_REGISTERS_GPIO_OUTPUT_HIGH,4,2 ## @MISC_REGISTERS_GPIO_OUTPUT_HIGH
	.comm	_MDIO_PMA_DEVAD,4,2             ## @MDIO_PMA_DEVAD
	.comm	_MDIO_PMA_REG_CTRL,4,2          ## @MDIO_PMA_REG_CTRL
	.comm	_MDIO_PMA_REG_MISC_CTRL,4,2     ## @MDIO_PMA_REG_MISC_CTRL
	.comm	_MDIO_PMA_REG_PHY_IDENTIFIER,4,2 ## @MDIO_PMA_REG_PHY_IDENTIFIER
	.comm	_MDIO_PMA_REG_CMU_PLL_BYPASS,4,2 ## @MDIO_PMA_REG_CMU_PLL_BYPASS
	.comm	_MDIO_WIS_DEVAD,4,2             ## @MDIO_WIS_DEVAD
	.comm	_MDIO_WIS_REG_LASI_CNTL,4,2     ## @MDIO_WIS_REG_LASI_CNTL
	.no_dead_strip	_bnx2x_8705_config_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_8705_config_init
_bnx2x_8705_config_init:                ; @bnx2x_8705_config_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	ldr	x19, [x1, #8]
Lloh0:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
Lloh5:
	adrp	x8, _MISC_REGISTERS_GPIO_2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MISC_REGISTERS_GPIO_2@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _MISC_REGISTERS_GPIO_OUTPUT_HIGH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MISC_REGISTERS_GPIO_OUTPUT_HIGH@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	ldr	w3, [x20, #4]
	mov	x0, x19
	bl	_bnx2x_set_gpio
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_bnx2x_ext_phy_hw_reset
Lloh11:
	adrp	x22, _MDIO_PMA_DEVAD@GOTPAGE
Lloh12:
	ldr	x22, [x22, _MDIO_PMA_DEVAD@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh13:
	adrp	x8, _MDIO_PMA_REG_CTRL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MDIO_PMA_REG_CTRL@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w4, #41024
	bl	_bnx2x_cl45_write
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_bnx2x_wait_reset_complete
	ldr	w2, [x22]
Lloh16:
	adrp	x8, _MDIO_PMA_REG_MISC_CTRL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MDIO_PMA_REG_MISC_CTRL@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w4, #33416
	bl	_bnx2x_cl45_write
	ldr	w2, [x22]
Lloh19:
	adrp	x8, _MDIO_PMA_REG_PHY_IDENTIFIER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MDIO_PMA_REG_PHY_IDENTIFIER@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w4, #32703
	bl	_bnx2x_cl45_write
	ldr	w2, [x22]
Lloh22:
	adrp	x8, _MDIO_PMA_REG_CMU_PLL_BYPASS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MDIO_PMA_REG_CMU_PLL_BYPASS@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w4, #256
	bl	_bnx2x_cl45_write
Lloh25:
	adrp	x8, _MDIO_WIS_DEVAD@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MDIO_WIS_DEVAD@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
Lloh28:
	adrp	x8, _MDIO_WIS_REG_LASI_CNTL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MDIO_WIS_REG_LASI_CNTL@GOTPAGEOFF]
Lloh30:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	w4, #1
	bl	_bnx2x_cl45_write
	ldp	w2, w1, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_bnx2x_save_spirom_version
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"init 8705\n"

	.comm	_MISC_REGISTERS_GPIO_2,4,2      ; @MISC_REGISTERS_GPIO_2
	.comm	_MISC_REGISTERS_GPIO_OUTPUT_HIGH,4,2 ; @MISC_REGISTERS_GPIO_OUTPUT_HIGH
	.comm	_MDIO_PMA_DEVAD,4,2             ; @MDIO_PMA_DEVAD
	.comm	_MDIO_PMA_REG_CTRL,4,2          ; @MDIO_PMA_REG_CTRL
	.comm	_MDIO_PMA_REG_MISC_CTRL,4,2     ; @MDIO_PMA_REG_MISC_CTRL
	.comm	_MDIO_PMA_REG_PHY_IDENTIFIER,4,2 ; @MDIO_PMA_REG_PHY_IDENTIFIER
	.comm	_MDIO_PMA_REG_CMU_PLL_BYPASS,4,2 ; @MDIO_PMA_REG_CMU_PLL_BYPASS
	.comm	_MDIO_WIS_DEVAD,4,2             ; @MDIO_WIS_DEVAD
	.comm	_MDIO_WIS_REG_LASI_CNTL,4,2     ; @MDIO_WIS_REG_LASI_CNTL
	.no_dead_strip	_bnx2x_8705_config_init
.subsections_via_symbols
