	.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
	movl	(%rdi), %esi
	movl	4(%rdi), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	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:
	cmpq	$0, 8(%rdi)
	jne	LBB0_4
## %bb.3:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	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
LBB0_6:
	orl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	popq	%rbp
	jmp	_outw                           ## TAILCALL
LBB0_5:
	movq	_RxStation@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RxBroadcast@GOTPCREL(%rip), %rax
	movq	_SetRxFilter@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
	.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:
	ldp	w8, w9, [x0]
Lloh0:
	adrp	x10, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _SetRxFilter@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SetRxFilter@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _RxStation@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RxStation@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh9:
	adrp	x10, _RxMulticast@GOTPAGE
Lloh10:
	ldr	x10, [x10, _RxMulticast@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh12:
	adrp	x10, _RxProm@GOTPAGE
Lloh13:
	ldr	x10, [x10, _RxProm@GOTPAGEOFF]
Lloh14:
	adrp	x11, _RxBroadcast@GOTPAGE
Lloh15:
	ldr	x11, [x11, _RxBroadcast@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	ldr	x10, [x0, #8]
	cbnz	x10, LBB0_4
; %bb.3:
Lloh16:
	adrp	x10, _IFF_ALLMULTI@GOTPAGE
Lloh17:
	ldr	x10, [x10, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_6
LBB0_4:
Lloh19:
	adrp	x9, _SetRxFilter@GOTPAGE
Lloh20:
	ldr	x9, [x9, _SetRxFilter@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
Lloh22:
	adrp	x10, _RxStation@GOTPAGE
Lloh23:
	ldr	x10, [x10, _RxStation@GOTPAGEOFF]
Lloh24:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh25:
	adrp	x10, _RxBroadcast@GOTPAGE
Lloh26:
	ldr	x10, [x10, _RxBroadcast@GOTPAGEOFF]
Lloh27:
	adrp	x11, _RxMulticast@GOTPAGE
Lloh28:
	ldr	x11, [x11, _RxMulticast@GOTPAGEOFF]
LBB0_5:
	ldr	w11, [x11]
	orr	w9, w9, w11
	ldr	w10, [x10]
	orr	w0, w9, w10
Lloh29:
	adrp	x9, _EL3_CMD@GOTPAGE
Lloh30:
	ldr	x9, [x9, _EL3_CMD@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	add	x1, x9, x8
	b	_outw
LBB0_6:
Lloh32:
	adrp	x9, _RxStation@GOTPAGE
Lloh33:
	ldr	x9, [x9, _RxStation@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
Lloh35:
	adrp	x10, _RxBroadcast@GOTPAGE
Lloh36:
	ldr	x10, [x10, _RxBroadcast@GOTPAGEOFF]
Lloh37:
	adrp	x11, _SetRxFilter@GOTPAGE
Lloh38:
	ldr	x11, [x11, _SetRxFilter@GOTPAGEOFF]
	b	LBB0_5
	.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 AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.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
