	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_reset_is_done            ## -- Begin function bnx2x_reset_is_done
	.p2align	4, 0x90
_bnx2x_reset_is_done:                   ## @bnx2x_reset_is_done
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	movq	_BNX2X_RECOVERY_GLOB_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_REG_RD
	testl	%ebx, %ebx
	jne	LBB0_1
## %bb.2:
	movq	_BNX2X_PATH0_RST_IN_PROG_BIT@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_1:
	movq	_BNX2X_PATH1_RST_IN_PROG_BIT@GOTPCREL(%rip), %rdx
LBB0_3:
	xorl	%ecx, %ecx
	testl	%eax, (%rdx)
	sete	%cl
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_RECOVERY_GLOB_REG,4,2    ## @BNX2X_RECOVERY_GLOB_REG
	.comm	_BNX2X_PATH1_RST_IN_PROG_BIT,4,2 ## @BNX2X_PATH1_RST_IN_PROG_BIT
	.comm	_BNX2X_PATH0_RST_IN_PROG_BIT,4,2 ## @BNX2X_PATH0_RST_IN_PROG_BIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_reset_is_done            ; -- Begin function bnx2x_reset_is_done
	.p2align	2
_bnx2x_reset_is_done:                   ; @bnx2x_reset_is_done
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _BNX2X_RECOVERY_GLOB_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_RECOVERY_GLOB_REG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_REG_RD
Lloh3:
	adrp	x8, _BNX2X_PATH1_RST_IN_PROG_BIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNX2X_PATH1_RST_IN_PROG_BIT@GOTPAGEOFF]
Lloh5:
	adrp	x9, _BNX2X_PATH0_RST_IN_PROG_BIT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BNX2X_PATH0_RST_IN_PROG_BIT@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	tst	w8, w0
	cset	w0, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_RECOVERY_GLOB_REG,4,2    ; @BNX2X_RECOVERY_GLOB_REG
	.comm	_BNX2X_PATH1_RST_IN_PROG_BIT,4,2 ; @BNX2X_PATH1_RST_IN_PROG_BIT
	.comm	_BNX2X_PATH0_RST_IN_PROG_BIT,4,2 ; @BNX2X_PATH0_RST_IN_PROG_BIT
.subsections_via_symbols
