	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_set_rx_mode_e2
_bnx2x_set_rx_mode_e2:                  ## @bnx2x_set_rx_mode_e2
	.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, %rbx
	movq	%rdi, %r14
	movq	40(%rsi), %r15
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_RAMROD_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	20(%rbx), %r13
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	32(%rbx), %rax
	movq	8(%r15), %rdx
	movq	%rax, 16(%rdx)
	movl	16(%rbx), %eax
	movl	%eax, 8(%rdx)
	movq	_ETH_FILTER_RULES_CMD_TX_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	leaq	8(%rbx), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_bnx2x_rx_mode_set_cmd_state_e2
	movl	$1, %r12d
LBB0_2:
	movq	_RAMROD_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	32(%rbx), %rax
	movq	8(%r15), %rcx
	leaq	(%r12,%r12,2), %rsi
	leaq	(%rcx,%rsi,8), %rdx
	movq	%rax, 16(%rcx,%rsi,8)
	movl	16(%rbx), %eax
	movl	%eax, 8(%rcx,%rsi,8)
	movq	_ETH_FILTER_RULES_CMD_RX_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx,%rsi,8)
	leaq	12(%rbx), %rsi
	incq	%r12
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_bnx2x_rx_mode_set_cmd_state_e2
LBB0_4:
	movq	_BNX2X_RX_MODE_FCOE_ETH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	_RAMROD_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_cl_id@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_bnx2x_fcoe
	movq	8(%r15), %rcx
	leaq	(%r12,%r12,2), %rsi
	leaq	(%rcx,%rsi,8), %rdx
	movq	%rax, 16(%rcx,%rsi,8)
	movl	16(%rbx), %eax
	movl	%eax, 8(%rcx,%rsi,8)
	movq	_ETH_FILTER_RULES_CMD_TX_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx,%rsi,8)
	leaq	8(%rbx), %rsi
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_bnx2x_rx_mode_set_cmd_state_e2
	incq	%r12
LBB0_7:
	movq	_RAMROD_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_cl_id@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_bnx2x_fcoe
	movq	8(%r15), %rcx
	leaq	(%r12,%r12,2), %rsi
	leaq	(%rcx,%rsi,8), %rdx
	movq	%rax, 16(%rcx,%rsi,8)
	movl	16(%rbx), %eax
	movl	%eax, 8(%rcx,%rsi,8)
	movq	_ETH_FILTER_RULES_CMD_RX_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx,%rsi,8)
	leaq	12(%rbx), %rsi
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_bnx2x_rx_mode_set_cmd_state_e2
	incq	%r12
LBB0_9:
	movl	4(%rbx), %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_bnx2x_rx_mode_set_rdata_hdr_e2
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	movl	8(%rbx), %r8d
	movl	12(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	_RAMROD_CMD_ID_ETH_FILTER_RULES@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%rbx), %edi
	movl	4(%rbx), %r12d
	callq	_U64_HI
	movl	%eax, %r13d
	movl	(%rbx), %edi
	callq	_U64_LO
	movq	_ETH_CONNECTION_TYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_bnx2x_sp_post
	testl	%eax, %eax
	movl	$1, %ecx
	cmovel	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RAMROD_TX,4,2                  ## @RAMROD_TX
	.comm	_ETH_FILTER_RULES_CMD_TX_CMD,8,3 ## @ETH_FILTER_RULES_CMD_TX_CMD
	.comm	_RAMROD_RX,4,2                  ## @RAMROD_RX
	.comm	_ETH_FILTER_RULES_CMD_RX_CMD,8,3 ## @ETH_FILTER_RULES_CMD_RX_CMD
	.comm	_BNX2X_RX_MODE_FCOE_ETH,4,2     ## @BNX2X_RX_MODE_FCOE_ETH
	.comm	_cl_id,4,2                      ## @cl_id
	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"About to configure %d rules, rx_accept_flags 0x%lx, tx_accept_flags 0x%lx\n"

	.comm	_RAMROD_CMD_ID_ETH_FILTER_RULES,4,2 ## @RAMROD_CMD_ID_ETH_FILTER_RULES
	.comm	_ETH_CONNECTION_TYPE,4,2        ## @ETH_CONNECTION_TYPE
	.no_dead_strip	_bnx2x_set_rx_mode_e2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_set_rx_mode_e2
_bnx2x_set_rx_mode_e2:                  ; @bnx2x_set_rx_mode_e2
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x1, #40]
	mov	x0, x21
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x27, _RAMROD_TX@GOTPAGE
Lloh1:
	ldr	x27, [x27, _RAMROD_TX@GOTPAGEOFF]
	ldr	w0, [x27]
	add	x23, x20, #20
	mov	x1, x23
	bl	_test_bit
Lloh2:
	adrp	x25, _ETH_FILTER_RULES_CMD_TX_CMD@GOTPAGE
Lloh3:
	ldr	x25, [x25, _ETH_FILTER_RULES_CMD_TX_CMD@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20, #32]
	ldr	x2, [x21, #8]
	str	x8, [x2, #16]
	ldr	w8, [x20, #16]
	str	w8, [x2, #8]
	ldr	x8, [x25]
	str	x8, [x2]
	add	x1, x20, #8
	mov	x0, x19
	mov	w3, #0
	bl	_bnx2x_rx_mode_set_cmd_state_e2
	mov	w22, #1
	b	LBB0_3
LBB0_2:
	mov	x22, #0
LBB0_3:
Lloh4:
	adrp	x26, _RAMROD_RX@GOTPAGE
Lloh5:
	ldr	x26, [x26, _RAMROD_RX@GOTPAGEOFF]
	ldr	w0, [x26]
	mov	x1, x23
	bl	_test_bit
Lloh6:
	adrp	x24, _ETH_FILTER_RULES_CMD_RX_CMD@GOTPAGE
Lloh7:
	ldr	x24, [x24, _ETH_FILTER_RULES_CMD_RX_CMD@GOTPAGEOFF]
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x20, #32]
	ldr	x9, [x21, #8]
	mov	w10, #24
	madd	x2, x22, x10, x9
	str	x8, [x2, #16]
	ldr	w8, [x20, #16]
	str	w8, [x2, #8]
	ldr	x8, [x24]
	str	x8, [x2]
	add	x1, x20, #12
	add	x22, x22, #1
	mov	x0, x19
	mov	w3, #0
	bl	_bnx2x_rx_mode_set_cmd_state_e2
LBB0_5:
Lloh8:
	adrp	x8, _BNX2X_RX_MODE_FCOE_ETH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BNX2X_RX_MODE_FCOE_ETH@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x1, x20, #24
	bl	_test_bit
	cbz	x0, LBB0_10
; %bb.6:
	ldr	w0, [x27]
	mov	x1, x23
	bl	_test_bit
Lloh11:
	adrp	x27, _cl_id@GOTPAGE
Lloh12:
	ldr	x27, [x27, _cl_id@GOTPAGEOFF]
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w1, [x27]
	mov	x0, x19
	bl	_bnx2x_fcoe
	ldr	x8, [x21, #8]
	mov	w9, #24
	madd	x2, x22, x9, x8
	str	x0, [x2, #16]
	ldr	w8, [x20, #16]
	str	w8, [x2, #8]
	ldr	x8, [x25]
	str	x8, [x2]
	add	x1, x20, #8
	mov	x0, x19
	mov	w3, #1
	bl	_bnx2x_rx_mode_set_cmd_state_e2
	add	x22, x22, #1
LBB0_8:
	ldr	w0, [x26]
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w1, [x27]
	mov	x0, x19
	bl	_bnx2x_fcoe
	ldr	x8, [x21, #8]
	mov	w9, #24
	madd	x2, x22, x9, x8
	str	x0, [x2, #16]
	ldr	w8, [x20, #16]
	str	w8, [x2, #8]
	ldr	x8, [x24]
	str	x8, [x2]
	add	x1, x20, #12
	mov	x0, x19
	mov	w3, #1
	bl	_bnx2x_rx_mode_set_cmd_state_e2
	add	x22, x22, #1
LBB0_10:
	ldr	w0, [x20, #4]
	mov	x1, x21
	mov	x2, x22
	bl	_bnx2x_rx_mode_set_rdata_hdr_e2
Lloh13:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	w2, [x21]
	ldp	w4, w3, [x20, #8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
Lloh18:
	adrp	x8, _RAMROD_CMD_ID_ETH_FILTER_RULES@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RAMROD_CMD_ID_ETH_FILTER_RULES@GOTPAGEOFF]
Lloh20:
	ldr	w21, [x8]
	ldp	w0, w22, [x20]
	bl	_U64_HI
	mov	x23, x0
	ldr	w0, [x20]
	bl	_U64_LO
	mov	x4, x0
Lloh21:
	adrp	x8, _ETH_CONNECTION_TYPE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ETH_CONNECTION_TYPE@GOTPAGEOFF]
Lloh23:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	bl	_bnx2x_sp_post
	cmp	w0, #0
	csinc	w0, w0, wzr, ne
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_RAMROD_TX,4,2                  ; @RAMROD_TX
	.comm	_ETH_FILTER_RULES_CMD_TX_CMD,8,3 ; @ETH_FILTER_RULES_CMD_TX_CMD
	.comm	_RAMROD_RX,4,2                  ; @RAMROD_RX
	.comm	_ETH_FILTER_RULES_CMD_RX_CMD,8,3 ; @ETH_FILTER_RULES_CMD_RX_CMD
	.comm	_BNX2X_RX_MODE_FCOE_ETH,4,2     ; @BNX2X_RX_MODE_FCOE_ETH
	.comm	_cl_id,4,2                      ; @cl_id
	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"About to configure %d rules, rx_accept_flags 0x%lx, tx_accept_flags 0x%lx\n"

	.comm	_RAMROD_CMD_ID_ETH_FILTER_RULES,4,2 ; @RAMROD_CMD_ID_ETH_FILTER_RULES
	.comm	_ETH_CONNECTION_TYPE,4,2        ; @ETH_CONNECTION_TYPE
	.no_dead_strip	_bnx2x_set_rx_mode_e2
.subsections_via_symbols
