	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_get_load_status
_bnx2x_get_load_status:                 ## @bnx2x_get_load_status
	.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
	movl	%esi, %r14d
	testl	%esi, %esi
	movq	_BNX2X_PATH1_LOAD_CNT_MASK@GOTPCREL(%rip), %rax
	cmoveq	_BNX2X_PATH0_LOAD_CNT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_BNX2X_PATH1_LOAD_CNT_SHIFT@GOTPCREL(%rip), %rax
	movq	_BNX2X_RECOVERY_GLOB_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmoveq	_BNX2X_PATH0_LOAD_CNT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %r15b
	callq	_REG_RD
	movl	%eax, %r12d
	movq	_NETIF_MSG_HW@GOTPCREL(%rip), %rax
	movq	_NETIF_MSG_IFUP@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	orl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_DP
	andl	%r12d, %ebx
	movl	%r15d, %ecx
	sarl	%cl, %ebx
	movl	(%r13), %edi
	movq	_NETIF_MSG_HW@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_DP
	xorl	%eax, %eax
	testl	%ebx, %ebx
	setne	%al
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_PATH1_LOAD_CNT_MASK,4,2  ## @BNX2X_PATH1_LOAD_CNT_MASK
	.comm	_BNX2X_PATH0_LOAD_CNT_MASK,4,2  ## @BNX2X_PATH0_LOAD_CNT_MASK
	.comm	_BNX2X_PATH1_LOAD_CNT_SHIFT,4,2 ## @BNX2X_PATH1_LOAD_CNT_SHIFT
	.comm	_BNX2X_PATH0_LOAD_CNT_SHIFT,4,2 ## @BNX2X_PATH0_LOAD_CNT_SHIFT
	.comm	_BNX2X_RECOVERY_GLOB_REG,4,2    ## @BNX2X_RECOVERY_GLOB_REG
	.comm	_NETIF_MSG_HW,4,2               ## @NETIF_MSG_HW
	.comm	_NETIF_MSG_IFUP,4,2             ## @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GLOB_REG=0x%08x\n"

L_.str.1:                               ## @.str.1
	.asciz	"load mask for engine %d = 0x%x\n"

	.no_dead_strip	_bnx2x_get_load_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_get_load_status
_bnx2x_get_load_status:                 ; @bnx2x_get_load_status
	.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, x1
Lloh0:
	adrp	x8, _BNX2X_PATH1_LOAD_CNT_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_PATH1_LOAD_CNT_MASK@GOTPAGEOFF]
Lloh2:
	adrp	x9, _BNX2X_PATH0_LOAD_CNT_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BNX2X_PATH0_LOAD_CNT_MASK@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x9, x8, eq
Lloh4:
	adrp	x9, _BNX2X_PATH1_LOAD_CNT_SHIFT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _BNX2X_PATH1_LOAD_CNT_SHIFT@GOTPAGEOFF]
Lloh6:
	adrp	x10, _BNX2X_PATH0_LOAD_CNT_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BNX2X_PATH0_LOAD_CNT_SHIFT@GOTPAGEOFF]
	ldr	w21, [x8]
Lloh8:
	adrp	x8, _BNX2X_RECOVERY_GLOB_REG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BNX2X_RECOVERY_GLOB_REG@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	csel	x8, x10, x9, eq
	ldr	w22, [x8]
	bl	_REG_RD
	mov	x20, x0
Lloh11:
	adrp	x23, _NETIF_MSG_HW@GOTPAGE
Lloh12:
	ldr	x23, [x23, _NETIF_MSG_HW@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh13:
	adrp	x24, _NETIF_MSG_IFUP@GOTPAGE
Lloh14:
	ldr	x24, [x24, _NETIF_MSG_IFUP@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w0, w9, w8
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_DP
	and	w8, w20, w21
	asr	w20, w8, w22
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w0, w9, w8
	str	x20, [sp]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_DP
	cmp	w20, #0
	cset	w0, ne
	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	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_PATH1_LOAD_CNT_MASK,4,2  ; @BNX2X_PATH1_LOAD_CNT_MASK
	.comm	_BNX2X_PATH0_LOAD_CNT_MASK,4,2  ; @BNX2X_PATH0_LOAD_CNT_MASK
	.comm	_BNX2X_PATH1_LOAD_CNT_SHIFT,4,2 ; @BNX2X_PATH1_LOAD_CNT_SHIFT
	.comm	_BNX2X_PATH0_LOAD_CNT_SHIFT,4,2 ; @BNX2X_PATH0_LOAD_CNT_SHIFT
	.comm	_BNX2X_RECOVERY_GLOB_REG,4,2    ; @BNX2X_RECOVERY_GLOB_REG
	.comm	_NETIF_MSG_HW,4,2               ; @NETIF_MSG_HW
	.comm	_NETIF_MSG_IFUP,4,2             ; @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GLOB_REG=0x%08x\n"

l_.str.1:                               ; @.str.1
	.asciz	"load mask for engine %d = 0x%x\n"

	.no_dead_strip	_bnx2x_get_load_status
.subsections_via_symbols
