	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_rx_mode
_set_rx_mode:                           ## @set_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_SetRxFilter@GOTPCREL(%rip), %rax
	movq	_RxStation@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movl	(%rdi), %r14d
	movq	_RxBroadcast@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_RxMulticast@GOTPCREL(%rip), %rax
	movq	_RxProm@GOTPCREL(%rip), %rcx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	jmp	LBB0_5
LBB0_2:
	movq	%rdi, %r15
	callq	_netdev_mc_empty
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	je	LBB0_5
LBB0_4:
	movq	_RxMulticast@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_5:
	movq	_EL3_CMD@GOTPCREL(%rip), %rax
	addq	(%rax), %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_outw                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SetRxFilter,4,2                ## @SetRxFilter
	.comm	_RxStation,4,2                  ## @RxStation
	.comm	_RxBroadcast,4,2                ## @RxBroadcast
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_RxMulticast,4,2                ## @RxMulticast
	.comm	_RxProm,4,2                     ## @RxProm
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_EL3_CMD,8,3                    ## @EL3_CMD
	.no_dead_strip	_set_rx_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_rx_mode
_set_rx_mode:                           ; @set_rx_mode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _SetRxFilter@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SetRxFilter@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _RxStation@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RxStation@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _RxBroadcast@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RxBroadcast@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w19, w8, w9
	ldp	w21, w8, [x0]
Lloh9:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _RxMulticast@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RxMulticast@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _RxProm@GOTPAGE
Lloh16:
	ldr	x9, [x9, _RxProm@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w19
	orr	w19, w8, w9
	b	LBB0_5
LBB0_2:
	mov	x20, x0
	bl	_netdev_mc_empty
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w8, [x20, #4]
Lloh18:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_4:
Lloh21:
	adrp	x8, _RxMulticast@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RxMulticast@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	orr	w19, w8, w19
LBB0_5:
Lloh24:
	adrp	x8, _EL3_CMD@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EL3_CMD@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	add	x1, x8, x21
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_outw
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_SetRxFilter,4,2                ; @SetRxFilter
	.comm	_RxStation,4,2                  ; @RxStation
	.comm	_RxBroadcast,4,2                ; @RxBroadcast
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_RxMulticast,4,2                ; @RxMulticast
	.comm	_RxProm,4,2                     ; @RxProm
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_EL3_CMD,8,3                    ; @EL3_CMD
	.no_dead_strip	_set_rx_mode
.subsections_via_symbols
