	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_set_q_rx_mode
_bnx2x_set_q_rx_mode:                   ## @bnx2x_set_q_rx_mode
	.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
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %rbx
	leaq	-160(%rbp), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$88, %edx
	callq	_memset
	movq	$0, -80(%rbp)
	movl	%r12d, -88(%rbp)
	leaq	8(%rbx), %rax
	movq	%rax, -96(%rbp)
	movq	%rbx, %rdi
	callq	_BP_FUNC
	movl	%eax, -104(%rbp)
	leaq	4(%rbx), %r12
	movq	%r12, -112(%rbp)
	movq	_BNX2X_FILTER_RX_MODE_PENDING@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movl	%eax, -120(%rbp)
	movq	_rx_mode_rdata@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_bnx2x_sp
	movl	%eax, -124(%rbp)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_bnx2x_sp_mapping
	movl	%eax, -128(%rbp)
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_set_bit
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -160(%rbp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -152(%rbp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -144(%rbp)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -136(%rbp)
	movq	%rbx, %rdi
	leaq	-160(%rbp), %rsi
	callq	_bnx2x_config_rx_mode
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	movl	%eax, %r15d
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_BNX2X_ERR
	movl	%r15d, %r14d
LBB0_2:
	movl	%r14d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_FILTER_RX_MODE_PENDING,4,2 ## @BNX2X_FILTER_RX_MODE_PENDING
	.comm	_rx_mode_rdata,4,2              ## @rx_mode_rdata
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Set rx_mode %d failed\n"

	.no_dead_strip	_bnx2x_set_q_rx_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_set_q_rx_mode
_bnx2x_set_q_rx_mode:                   ; @bnx2x_set_q_rx_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #88
	bl	_memset
	str	xzr, [sp, #88]
	str	w24, [sp, #80]
	add	x8, x19, #8
	str	x8, [sp, #72]
	mov	x0, x19
	bl	_BP_FUNC
	str	w0, [sp, #64]
	add	x24, x19, #4
Lloh0:
	adrp	x25, _BNX2X_FILTER_RX_MODE_PENDING@GOTPAGE
Lloh1:
	ldr	x25, [x25, _BNX2X_FILTER_RX_MODE_PENDING@GOTPAGEOFF]
	str	x24, [sp, #56]
	ldr	w8, [x25]
	str	w8, [sp, #48]
Lloh2:
	adrp	x26, _rx_mode_rdata@GOTPAGE
Lloh3:
	ldr	x26, [x26, _rx_mode_rdata@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_bnx2x_sp
	str	w0, [sp, #44]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_bnx2x_sp_mapping
	str	w0, [sp, #40]
	ldr	w0, [x25]
	mov	x1, x24
	bl	_set_bit
	stp	x20, x23, [sp, #8]
	stp	x22, x21, [sp, #24]
	add	x1, sp, #8
	mov	x0, x19
	bl	_bnx2x_config_rx_mode
	mov	x20, x0
	mov	w0, #0
	tbz	w20, #31, LBB0_2
; %bb.1:
	ldr	w1, [x19]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BNX2X_ERR
	mov	x0, x20
LBB0_2:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_FILTER_RX_MODE_PENDING,4,2 ; @BNX2X_FILTER_RX_MODE_PENDING
	.comm	_rx_mode_rdata,4,2              ; @rx_mode_rdata
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Set rx_mode %d failed\n"

	.no_dead_strip	_bnx2x_set_q_rx_mode
.subsections_via_symbols
