	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ifnet_check_incoming
_ifnet_check_incoming:                  ## @ifnet_check_incoming
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ifoff_enabled@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	$0, (%rcx)
	je	LBB0_6
## %bb.1:
	movq	_ifoff_lo_enabled@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	(%rdi), %rcx
	movq	_IFT_LOOP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_6
LBB0_3:
	movq	_ifoff_other_enabled@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	(%rdi), %rcx
	movq	_IFT_LOOP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
LBB0_5:
	movq	_ifoff_bpfrecv_enabled@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	movq	_EPERM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmovel	%ecx, %eax
	testl	%esi, %esi
	cmovel	%ecx, %eax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ifoff_enabled,4,2              ## @ifoff_enabled
	.comm	_ifoff_lo_enabled,8,3           ## @ifoff_lo_enabled
	.comm	_IFT_LOOP,8,3                   ## @IFT_LOOP
	.comm	_ifoff_other_enabled,8,3        ## @ifoff_other_enabled
	.comm	_ifoff_bpfrecv_enabled,8,3      ## @ifoff_bpfrecv_enabled
	.comm	_EPERM,4,2                      ## @EPERM
	.no_dead_strip	_ifnet_check_incoming
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ifnet_check_incoming
_ifnet_check_incoming:                  ; @ifnet_check_incoming
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ifoff_enabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ifoff_enabled@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_6
; %bb.1:
Lloh3:
	adrp	x8, _ifoff_lo_enabled@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ifoff_lo_enabled@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
Lloh6:
	adrp	x8, _IFT_LOOP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IFT_LOOP@GOTPAGEOFF]
	cbz	x9, LBB0_3
; %bb.2:
	ldr	x9, [x0]
	ldr	x10, [x8]
	cmp	x9, x10
	b.eq	LBB0_6
LBB0_3:
Lloh8:
	adrp	x9, _ifoff_other_enabled@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ifoff_other_enabled@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cbz	x9, LBB0_5
; %bb.4:
	ldr	x9, [x0]
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, _ifoff_bpfrecv_enabled@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ifoff_bpfrecv_enabled@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x8, #0
	ccmp	w1, #0, #4, ne
Lloh14:
	adrp	x8, _EPERM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	csel	w0, wzr, w8, ne
	ret
LBB0_6:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ifoff_enabled,4,2              ; @ifoff_enabled
	.comm	_ifoff_lo_enabled,8,3           ; @ifoff_lo_enabled
	.comm	_IFT_LOOP,8,3                   ; @IFT_LOOP
	.comm	_ifoff_other_enabled,8,3        ; @ifoff_other_enabled
	.comm	_ifoff_bpfrecv_enabled,8,3      ; @ifoff_bpfrecv_enabled
	.comm	_EPERM,4,2                      ; @EPERM
	.no_dead_strip	_ifnet_check_incoming
.subsections_via_symbols
