	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_func_hw_reset
_bnx2x_func_hw_reset:                   ## @bnx2x_func_hw_reset
	.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, %r14
	movl	8(%rsi), %ebx
	movq	(%rsi), %r12
	movq	8(%r12), %r15
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	callq	_BP_ABS_FUNC
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edi
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_DP
	cmpl	$128, %ebx
	je	LBB0_4
## %bb.1:
	cmpl	$129, %ebx
	je	LBB0_5
## %bb.2:
	cmpl	$130, %ebx
	jne	LBB0_6
## %bb.3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_func_reset_cmn
	jmp	LBB0_7
LBB0_4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_func_reset_port
	jmp	LBB0_7
LBB0_5:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_func_reset_func
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_BNX2X_ERR
LBB0_7:
	movq	_BNX2X_F_CMD_HW_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	*(%r12)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"function %d  reset_phase %x\n"

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

	.comm	_BNX2X_F_CMD_HW_RESET,4,2       ## @BNX2X_F_CMD_HW_RESET
	.no_dead_strip	_bnx2x_func_hw_reset
.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_reset
_bnx2x_func_hw_reset:                   ; @bnx2x_func_hw_reset
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	w22, [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	w23, [x8]
	bl	_BP_ABS_FUNC
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	mov	x3, x22
	bl	_DP
	cmp	w22, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w22, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w22, #130
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_func_reset_cmn
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_func_reset_port
	b	LBB0_7
LBB0_5:
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_func_reset_func
	b	LBB0_7
LBB0_6:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_BNX2X_ERR
LBB0_7:
	ldr	x8, [x20]
Lloh7:
	adrp	x9, _BNX2X_F_CMD_HW_RESET@GOTPAGE
Lloh8:
	ldr	x9, [x9, _BNX2X_F_CMD_HW_RESET@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x9]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"function %d  reset_phase %x\n"

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

	.comm	_BNX2X_F_CMD_HW_RESET,4,2       ; @BNX2X_F_CMD_HW_RESET
	.no_dead_strip	_bnx2x_func_hw_reset
.subsections_via_symbols
