	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_8481_config_init
_bnx2x_8481_config_init:                ## @bnx2x_8481_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	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	8(%rsi), %r12
	movq	_MISC_REGISTERS_GPIO_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MISC_REGISTERS_GPIO_OUTPUT_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	movq	%r12, %rdi
	callq	_bnx2x_set_gpio
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_bnx2x_ext_phy_hw_reset
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_bnx2x_wait_reset_complete
	movq	_MDIO_PMA_DEVAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_PMA_REG_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$32768, %r8d                    ## imm = 0x8000
	callq	_bnx2x_cl45_write
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_848xx_cmn_config_init    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.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
	.no_dead_strip	_bnx2x_8481_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_8481_config_init
_bnx2x_8481_config_init:                ; @bnx2x_8481_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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _MISC_REGISTERS_GPIO_2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MISC_REGISTERS_GPIO_2@GOTPAGEOFF]
	ldr	x22, [x1, #8]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _MISC_REGISTERS_GPIO_OUTPUT_HIGH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MISC_REGISTERS_GPIO_OUTPUT_HIGH@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldr	w3, [x20]
	mov	x0, x22
	bl	_bnx2x_set_gpio
	ldr	w1, [x20]
	mov	x0, x22
	bl	_bnx2x_ext_phy_hw_reset
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_bnx2x_wait_reset_complete
Lloh6:
	adrp	x8, _MDIO_PMA_DEVAD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MDIO_PMA_DEVAD@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _MDIO_PMA_REG_CTRL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MDIO_PMA_REG_CTRL@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	w4, #32768
	bl	_bnx2x_cl45_write
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	b	_bnx2x_848xx_cmn_config_init
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.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
	.no_dead_strip	_bnx2x_8481_config_init
.subsections_via_symbols
