	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_handle_classification_eqe
_bnx2x_handle_classification_eqe:       ## @bnx2x_handle_classification_eqe
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	$0, -48(%rbp)
	movl	(%rsi), %edi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movq	_BNX2X_SWCID_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	andl	%ebx, %r13d
	movslq	%r13d, %r12
	movq	_RAMROD_CONT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	___set_bit
	movq	_BNX2X_SWCID_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%ebx, %eax
	sarl	%cl, %eax
	cmpl	$128, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_7
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_8
## %bb.3:
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	%r14, %rdi
	callq	_CNIC_LOADED
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:
	movq	%r14, %rdi
	callq	_BNX2X_ISCSI_ETH_CID
	cmpl	%eax, %r13d
	jne	LBB0_9
## %bb.5:
	leaq	8(%r14), %r12
	jmp	LBB0_10
LBB0_6:
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_DP
	shlq	$4, %r12
	addq	(%r14), %r12
	jmp	LBB0_10
LBB0_7:
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_DP
	movq	%r14, %rdi
	callq	_bnx2x_handle_mcast_eqe
	jmp	LBB0_15
LBB0_8:
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %esi
	jmp	LBB0_14
LBB0_9:
	movq	(%r14), %rax
	shlq	$4, %r12
	addq	%rax, %r12
	addq	$8, %r12
LBB0_10:
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	*(%r12)
	testl	%eax, %eax
	js	LBB0_13
## %bb.11:
	je	LBB0_15
## %bb.12:
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_DP
	jmp	LBB0_15
LBB0_13:
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
LBB0_14:
	callq	_BNX2X_ERR
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_SWCID_MASK,4,2           ## @BNX2X_SWCID_MASK
	.comm	_RAMROD_CONT,4,2                ## @RAMROD_CONT
	.comm	_BNX2X_SWCID_SHIFT,4,2          ## @BNX2X_SWCID_SHIFT
	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Got SETUP_MAC completions\n"

L_.str.1:                               ## @.str.1
	.asciz	"Got SETUP_VLAN completions\n"

L_.str.2:                               ## @.str.2
	.asciz	"Got SETUP_MCAST completions\n"

L_.str.3:                               ## @.str.3
	.asciz	"Unsupported classification command: 0x%x\n"

L_.str.4:                               ## @.str.4
	.asciz	"Failed to schedule new commands: %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"Scheduled next pending commands...\n"

	.no_dead_strip	_bnx2x_handle_classification_eqe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_handle_classification_eqe
_bnx2x_handle_classification_eqe:       ; @bnx2x_handle_classification_eqe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	w0, [x1]
	bl	_le32_to_cpu
	mov	x21, x0
Lloh0:
	adrp	x8, _BNX2X_SWCID_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_SWCID_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w22, w8, w0
Lloh3:
	adrp	x8, _RAMROD_CONT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RAMROD_CONT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	___set_bit
Lloh6:
	adrp	x8, _BNX2X_SWCID_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNX2X_SWCID_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	asr	w8, w21, w8
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_7
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_8
; %bb.3:
Lloh9:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	mov	x0, x19
	bl	_CNIC_LOADED
	cbz	w0, LBB0_9
; %bb.4:
	mov	x0, x19
	bl	_BNX2X_ISCSI_ETH_CID
	cmp	w22, w0
	b.ne	LBB0_9
; %bb.5:
	add	x1, x19, #8
	b	LBB0_10
LBB0_6:
Lloh14:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
	ldr	x8, [x19]
	add	x1, x8, w22, sxtw #4
	b	LBB0_10
LBB0_7:
Lloh19:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_DP
	mov	x0, x19
	bl	_bnx2x_handle_mcast_eqe
	b	LBB0_15
LBB0_8:
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x21
	b	LBB0_14
LBB0_9:
	ldr	x8, [x19]
	add	x8, x8, w22, sxtw #4
	add	x1, x8, #8
LBB0_10:
	ldr	x8, [x1]
	add	x3, sp, #8
	mov	x0, x19
	mov	x2, x20
	blr	x8
	mov	x1, x0
	tbnz	w0, #31, LBB0_13
; %bb.11:
	cbz	w1, LBB0_15
; %bb.12:
Lloh26:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x1, l_.str.5@PAGE
Lloh30:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_DP
	b	LBB0_15
LBB0_13:
Lloh31:
	adrp	x0, l_.str.4@PAGE
Lloh32:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_14:
	bl	_BNX2X_ERR
LBB0_15:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_SWCID_MASK,4,2           ; @BNX2X_SWCID_MASK
	.comm	_RAMROD_CONT,4,2                ; @RAMROD_CONT
	.comm	_BNX2X_SWCID_SHIFT,4,2          ; @BNX2X_SWCID_SHIFT
	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Got SETUP_MAC completions\n"

l_.str.1:                               ; @.str.1
	.asciz	"Got SETUP_VLAN completions\n"

l_.str.2:                               ; @.str.2
	.asciz	"Got SETUP_MCAST completions\n"

l_.str.3:                               ; @.str.3
	.asciz	"Unsupported classification command: 0x%x\n"

l_.str.4:                               ; @.str.4
	.asciz	"Failed to schedule new commands: %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"Scheduled next pending commands...\n"

	.no_dead_strip	_bnx2x_handle_classification_eqe
.subsections_via_symbols
