	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_func_hw_init
_bnx2x_func_hw_init:                    ## @bnx2x_func_hw_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	8(%rsi), %r13d
	movq	(%rsi), %r14
	movq	8(%r14), %r15
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_BP_ABS_FUNC
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	movl	%r13d, %ecx
	callq	_DP
	movq	%r12, %rdi
	callq	*(%r15)
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.1:
	movq	%r12, %rdi
	callq	*8(%r15)
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_BNX2X_ERR
	movq	%r12, %rdi
	callq	*16(%r15)
	jmp	LBB0_13
LBB0_3:
	leal	-128(%r13), %eax
	cmpl	$3, %eax
	ja	LBB0_6
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_func_init_port
	jmp	LBB0_10
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_BNX2X_ERR
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_7:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_func_init_func
	jmp	LBB0_10
LBB0_8:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_func_init_cmn_chip
	jmp	LBB0_10
LBB0_9:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_func_init_cmn
LBB0_10:
	movl	%eax, %ebx
LBB0_11:
	movq	%r12, %rdi
	callq	*16(%r15)
	testl	%ebx, %ebx
	jne	LBB0_13
## %bb.12:
	movq	_BNX2X_F_CMD_HW_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	*(%r14)
	xorl	%ebx, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"function %d  load_code %x\n"

L_.str.1:                               ## @.str.1
	.asciz	"Error loading firmware\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unknown load_code (0x%x) from MCP\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_BNX2X_F_CMD_HW_INIT,4,2        ## @BNX2X_F_CMD_HW_INIT
	.no_dead_strip	_bnx2x_func_hw_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_func_hw_init
_bnx2x_func_hw_init:                    ; @bnx2x_func_hw_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	w23, [x1, #8]
	ldr	x20, [x1]
	ldr	x21, [x20, #8]
Lloh0:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	bl	_BP_ABS_FUNC
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x3, x23
	bl	_DP
	ldr	x8, [x21]
	mov	x0, x19
	blr	x8
	mov	x22, x0
	cbnz	w0, LBB0_13
; %bb.1:
	ldr	x8, [x21, #8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_3
; %bb.2:
	mov	x22, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BNX2X_ERR
	ldr	x8, [x21, #16]
	mov	x0, x19
	blr	x8
	b	LBB0_13
LBB0_3:
	sub	w8, w23, #128
	cmp	w8, #3
	b.hi	LBB0_6
; %bb.4:
Lloh7:
	adrp	x9, lJTI0_0@PAGE
Lloh8:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_func_init_port
	b	LBB0_10
LBB0_6:
	str	x23, [sp]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_BNX2X_ERR
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_11
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_func_init_func
	b	LBB0_10
LBB0_8:
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_func_init_cmn_chip
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_func_init_cmn
LBB0_10:
	mov	x22, x0
LBB0_11:
	ldr	x8, [x21, #16]
	mov	x0, x19
	blr	x8
	cbnz	w22, LBB0_13
; %bb.12:
	ldr	x8, [x20]
Lloh14:
	adrp	x9, _BNX2X_F_CMD_HW_INIT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _BNX2X_F_CMD_HW_INIT@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x9]
	mov	x0, x19
	mov	x1, x20
	blr	x8
LBB0_13:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
                                        ; -- End function
	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"function %d  load_code %x\n"

l_.str.1:                               ; @.str.1
	.asciz	"Error loading firmware\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unknown load_code (0x%x) from MCP\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_BNX2X_F_CMD_HW_INIT,4,2        ; @BNX2X_F_CMD_HW_INIT
	.no_dead_strip	_bnx2x_func_hw_init
.subsections_via_symbols
