	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %r14d
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_SetRxFilter@GOTPCREL(%rip), %rax
	movq	_RxStation@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_RxMulticast@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_RxProm@GOTPCREL(%rip), %rax
	movq	_RxBroadcast@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_2:
	movq	%rdi, %rbx
	callq	_netdev_mc_empty
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_5
LBB0_4:
	movq	_SetRxFilter@GOTPCREL(%rip), %rax
	movq	_RxStation@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_RxBroadcast@GOTPCREL(%rip), %rax
	movq	_RxMulticast@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_5:
	movq	_RxStation@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RxBroadcast@GOTPCREL(%rip), %rax
	movq	_SetRxFilter@GOTPCREL(%rip), %rcx
LBB0_6:
	orl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %rax
	addq	(%rax), %r14
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_outw                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_SetRxFilter,4,2                ## @SetRxFilter
	.comm	_RxStation,4,2                  ## @RxStation
	.comm	_RxMulticast,4,2                ## @RxMulticast
	.comm	_RxBroadcast,4,2                ## @RxBroadcast
	.comm	_RxProm,4,2                     ## @RxProm
	.comm	_EL3_CMD,8,3                    ## @EL3_CMD
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.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	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldp	w20, w8, [x0]
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SetRxFilter@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SetRxFilter@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _RxStation@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RxStation@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _RxMulticast@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RxMulticast@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _RxProm@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RxProm@GOTPAGEOFF]
Lloh14:
	adrp	x10, _RxBroadcast@GOTPAGE
Lloh15:
	ldr	x10, [x10, _RxBroadcast@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	mov	x19, x0
	bl	_netdev_mc_empty
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w8, [x19, #4]
Lloh16:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_4:
Lloh19:
	adrp	x8, _SetRxFilter@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SetRxFilter@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _RxStation@GOTPAGE
Lloh23:
	ldr	x9, [x9, _RxStation@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh25:
	adrp	x9, _RxBroadcast@GOTPAGE
Lloh26:
	ldr	x9, [x9, _RxBroadcast@GOTPAGEOFF]
Lloh27:
	adrp	x10, _RxMulticast@GOTPAGE
Lloh28:
	ldr	x10, [x10, _RxMulticast@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh29:
	adrp	x8, _RxStation@GOTPAGE
Lloh30:
	ldr	x8, [x8, _RxStation@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _RxBroadcast@GOTPAGE
Lloh33:
	ldr	x9, [x9, _RxBroadcast@GOTPAGEOFF]
Lloh34:
	adrp	x10, _SetRxFilter@GOTPAGE
Lloh35:
	ldr	x10, [x10, _SetRxFilter@GOTPAGEOFF]
LBB0_6:
	ldr	w10, [x10]
	orr	w8, w8, w10
	ldr	w9, [x9]
	orr	w0, w8, w9
Lloh36:
	adrp	x8, _EL3_CMD@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EL3_CMD@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	add	x1, x8, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_outw
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_SetRxFilter,4,2                ; @SetRxFilter
	.comm	_RxStation,4,2                  ; @RxStation
	.comm	_RxMulticast,4,2                ; @RxMulticast
	.comm	_RxBroadcast,4,2                ; @RxBroadcast
	.comm	_RxProm,4,2                     ; @RxProm
	.comm	_EL3_CMD,8,3                    ; @EL3_CMD
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.no_dead_strip	_set_rx_mode
.subsections_via_symbols
