	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4vf_set_rxmode                ## -- Begin function t4vf_set_rxmode
	.p2align	4, 0x90
_t4vf_set_rxmode:                       ## @t4vf_set_rxmode
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	testl	%edx, %edx
	js	LBB0_1
## %bb.2:
	testl	%r13d, %r13d
	js	LBB0_3
LBB0_4:
	testl	%ebx, %ebx
	jns	LBB0_6
LBB0_5:
	movq	_FW_VI_RXMODE_CMD_ALLMULTIEN_M@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_6:
	movl	16(%rbp), %r14d
	testl	%r9d, %r9d
	jns	LBB0_8
## %bb.7:
	movq	_FW_VI_RXMODE_CMD_BROADCASTEN_M@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
LBB0_8:
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	testl	%r14d, %r14d
	jns	LBB0_10
## %bb.9:
	movq	_FW_VI_RXMODE_CMD_VLANEXEN_M@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_10:
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_FW_VI_RXMODE_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_CMD_OP_V
	movl	%eax, %r15d
	movq	_FW_CMD_REQUEST_F@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_FW_CMD_WRITE_F@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_FW_VI_RXMODE_CMD_VIID_V
	orl	%eax, %r15d
	movl	%r15d, %edi
	callq	_cpu_to_be32
	movq	%rax, -56(%rbp)
	movq	-56(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-72(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	callq	_FW_LEN16
	movl	%eax, %edi
	callq	_cpu_to_be32
	movq	%rax, -64(%rbp)
	movl	%r12d, %edi
	callq	_FW_VI_RXMODE_CMD_MTU_V
	movl	%eax, %r15d
	movl	%r13d, %edi
	callq	_FW_VI_RXMODE_CMD_PROMISCEN_V
	orl	%eax, %r15d
	movl	%ebx, %edi
	callq	_FW_VI_RXMODE_CMD_ALLMULTIEN_V
	movl	%eax, %ebx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_FW_VI_RXMODE_CMD_BROADCASTEN_V
	orl	%eax, %ebx
	orl	%r15d, %ebx
	movl	%r14d, %edi
	callq	_FW_VI_RXMODE_CMD_VLANEXEN_V
	orl	%eax, %ebx
	movl	%ebx, %edi
	callq	_cpu_to_be32
	movq	%rax, -72(%rbp)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	leaq	-72(%rbp), %rsi
	movl	$24, %edx
	xorl	%ecx, %ecx
	movl	24(%rbp), %r8d
	callq	_t4vf_wr_mbox_core
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_FW_VI_RXMODE_CMD_MTU_M@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	testl	%r13d, %r13d
	jns	LBB0_4
LBB0_3:
	movq	_FW_VI_RXMODE_CMD_PROMISCEN_M@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	testl	%ebx, %ebx
	js	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_VI_RXMODE_CMD_MTU_M,4,2     ## @FW_VI_RXMODE_CMD_MTU_M
	.comm	_FW_VI_RXMODE_CMD_PROMISCEN_M,4,2 ## @FW_VI_RXMODE_CMD_PROMISCEN_M
	.comm	_FW_VI_RXMODE_CMD_ALLMULTIEN_M,4,2 ## @FW_VI_RXMODE_CMD_ALLMULTIEN_M
	.comm	_FW_VI_RXMODE_CMD_BROADCASTEN_M,4,2 ## @FW_VI_RXMODE_CMD_BROADCASTEN_M
	.comm	_FW_VI_RXMODE_CMD_VLANEXEN_M,4,2 ## @FW_VI_RXMODE_CMD_VLANEXEN_M
	.comm	_FW_VI_RXMODE_CMD,4,2           ## @FW_VI_RXMODE_CMD
	.comm	_FW_CMD_REQUEST_F,4,2           ## @FW_CMD_REQUEST_F
	.comm	_FW_CMD_WRITE_F,4,2             ## @FW_CMD_WRITE_F
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4vf_set_rxmode                ; -- Begin function t4vf_set_rxmode
	.p2align	2
_t4vf_set_rxmode:                       ; @t4vf_set_rxmode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x7
	mov	x26, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _FW_VI_RXMODE_CMD_MTU_M@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_VI_RXMODE_CMD_MTU_M@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w2, #0
	csel	w25, w8, w2, lt
Lloh3:
	adrp	x8, _FW_VI_RXMODE_CMD_PROMISCEN_M@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FW_VI_RXMODE_CMD_PROMISCEN_M@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w3, #0
	csel	w24, w8, w3, lt
Lloh6:
	adrp	x8, _FW_VI_RXMODE_CMD_ALLMULTIEN_M@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FW_VI_RXMODE_CMD_ALLMULTIEN_M@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w4, #0
	csel	w23, w8, w4, lt
Lloh9:
	adrp	x8, _FW_VI_RXMODE_CMD_BROADCASTEN_M@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FW_VI_RXMODE_CMD_BROADCASTEN_M@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w5, #0
	csel	w22, w8, w5, lt
Lloh12:
	adrp	x8, _FW_VI_RXMODE_CMD_VLANEXEN_M@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FW_VI_RXMODE_CMD_VLANEXEN_M@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w6, #0
	csel	w21, w8, w6, lt
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh15:
	adrp	x8, _FW_VI_RXMODE_CMD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FW_VI_RXMODE_CMD@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_FW_CMD_OP_V
Lloh18:
	adrp	x8, _FW_CMD_REQUEST_F@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FW_CMD_REQUEST_F@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh21:
	adrp	x9, _FW_CMD_WRITE_F@GOTPAGE
Lloh22:
	ldr	x9, [x9, _FW_CMD_WRITE_F@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w27, w8, w9
	mov	x0, x26
	bl	_FW_VI_RXMODE_CMD_VIID_V
	orr	w0, w27, w0
	bl	_cpu_to_be32
	str	x0, [sp, #40]
	ldur	q0, [sp, #24]
	str	q0, [sp]
	str	x0, [sp, #16]
	mov	x0, sp
	bl	_FW_LEN16
	bl	_cpu_to_be32
	str	x0, [sp, #32]
	mov	x0, x25
	bl	_FW_VI_RXMODE_CMD_MTU_V
	mov	x25, x0
	mov	x0, x24
	bl	_FW_VI_RXMODE_CMD_PROMISCEN_V
	orr	w24, w0, w25
	mov	x0, x23
	bl	_FW_VI_RXMODE_CMD_ALLMULTIEN_V
	orr	w23, w24, w0
	mov	x0, x22
	bl	_FW_VI_RXMODE_CMD_BROADCASTEN_V
	orr	w22, w23, w0
	mov	x0, x21
	bl	_FW_VI_RXMODE_CMD_VLANEXEN_V
	orr	w0, w22, w0
	bl	_cpu_to_be32
	str	x0, [sp, #24]
	add	x1, sp, #24
	mov	x0, x20
	mov	w2, #24
	mov	x3, #0
	mov	x4, x19
	bl	_t4vf_wr_mbox_core
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_VI_RXMODE_CMD_MTU_M,4,2     ; @FW_VI_RXMODE_CMD_MTU_M
	.comm	_FW_VI_RXMODE_CMD_PROMISCEN_M,4,2 ; @FW_VI_RXMODE_CMD_PROMISCEN_M
	.comm	_FW_VI_RXMODE_CMD_ALLMULTIEN_M,4,2 ; @FW_VI_RXMODE_CMD_ALLMULTIEN_M
	.comm	_FW_VI_RXMODE_CMD_BROADCASTEN_M,4,2 ; @FW_VI_RXMODE_CMD_BROADCASTEN_M
	.comm	_FW_VI_RXMODE_CMD_VLANEXEN_M,4,2 ; @FW_VI_RXMODE_CMD_VLANEXEN_M
	.comm	_FW_VI_RXMODE_CMD,4,2           ; @FW_VI_RXMODE_CMD
	.comm	_FW_CMD_REQUEST_F,4,2           ; @FW_CMD_REQUEST_F
	.comm	_FW_CMD_WRITE_F,4,2             ; @FW_CMD_WRITE_F
.subsections_via_symbols
