	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_attn_int
_bnx2x_attn_int:                        ## @bnx2x_attn_int
	.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
	movq	8(%rdi), %rax
	movl	4(%rax), %edi
	callq	_le32_to_cpu
	movl	%eax, %r12d
	movq	8(%r14), %rax
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	(%r14), %r14d
	movl	%r14d, %r13d
	orl	%eax, %r13d
	notl	%r13d
	andl	%r12d, %r13d
	movl	%r12d, %eax
	notl	%eax
	movl	%ebx, %r15d
	andl	%r14d, %r15d
	andl	%eax, %r15d
	movq	_NETIF_MSG_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	%r13d, %r8d
	movl	%r15d, %r9d
	callq	_DP
	xorl	%r12d, %ebx
	notl	%ebx
	xorl	%r12d, %r14d
	testl	%ebx, %r14d
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_BNX2X_ERR
LBB0_2:
	testl	%r13d, %r13d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_bnx2x_attn_int_asserted
LBB0_4:
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_attn_int_deasserted      ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_MSG_HW,4,2               ## @NETIF_MSG_HW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"attn_bits %x  attn_ack %x  asserted %x  deasserted %x\n"

L_.str.1:                               ## @.str.1
	.asciz	"BAD attention state\n"

	.no_dead_strip	_bnx2x_attn_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_attn_int
_bnx2x_attn_int:                        ; @bnx2x_attn_int
	.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	x8, [x0, #8]
	ldr	w0, [x8, #4]
	bl	_le32_to_cpu
	mov	x22, x0
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_le32_to_cpu
	mov	x23, x0
	ldr	w24, [x19]
	orr	w8, w24, w0
	bic	w21, w22, w8
	bic	w8, w0, w22
	and	w20, w8, w24
Lloh0:
	adrp	x8, _NETIF_MSG_HW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_MSG_HW@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	mov	x3, x23
	mov	x4, x21
	mov	x5, x20
	bl	_DP
	eor	w8, w22, w23
	eor	w9, w24, w22
	bics	wzr, w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BNX2X_ERR
LBB0_2:
	cbz	w21, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_attn_int_asserted
LBB0_4:
	cbz	w20, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	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
	b	_bnx2x_attn_int_deasserted
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_MSG_HW,4,2               ; @NETIF_MSG_HW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"attn_bits %x  attn_ack %x  asserted %x  deasserted %x\n"

l_.str.1:                               ; @.str.1
	.asciz	"BAD attention state\n"

	.no_dead_strip	_bnx2x_attn_int
.subsections_via_symbols
