	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_if_simloop                     ## -- Begin function if_simloop
	.p2align	4, 0x90
_if_simloop:                            ## @if_simloop
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_M_ASSERTPKTHDR
	movq	%rbx, %rdi
	callq	_m_tag_delete_nonpersistent
	movq	%r12, 16(%rbx)
	testl	%r15d, %r15d
	jle	LBB0_5
## %bb.1:
	movl	(%r12), %edi
	callq	_bpf_peers_present
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_bpf_mtap
LBB0_3:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_m_adj
	movq	_vm_offset_t@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_mtod
	testb	$3, %al
	je	LBB0_9
## %bb.4:
	xorl	%edi, %edi
	cmpl	$3, %r15d
	setae	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movl	4(%rbx), %r15d
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_mtod
	movl	%eax, %r12d
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_mtod
	andl	$3, %eax
	subl	%eax, %r12d
	movslq	%r12d, %rsi
	movl	24(%rbx), %edx
	movl	%r15d, %edi
	callq	_bcopy
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_mtod
	andl	$3, %eax
	subl	%eax, 4(%rbx)
	jmp	LBB0_9
LBB0_5:
	movq	_V_loif@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_bpf_peers_present
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	_M_MCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%r15), %rax
	testl	%ecx, (%rbx)
	je	LBB0_8
## %bb.7:
	cmpq	%r12, %rax
	jne	LBB0_9
LBB0_8:
	movl	%r14d, -44(%rbp)
	movl	(%rax), %edi
	leaq	-44(%rbp), %rsi
	movl	$4, %edx
	movq	%rbx, %rcx
	callq	_bpf_mtap2
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	callq	_printf
	movq	%rbx, %rdi
	callq	_m_freem
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_loif,8,3                     ## @V_loif
	.comm	_M_MCAST,4,2                    ## @M_MCAST
	.comm	_vm_offset_t,4,2                ## @vm_offset_t
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"if_simloop: hlen too small"

L_.str.1:                               ## @.str.1
	.asciz	"if_simloop: can't handle af=%d\n"

	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.comm	_IFCOUNTER_IBYTES,4,2           ## @IFCOUNTER_IBYTES
	.comm	_IFCOUNTER_IPACKETS,4,2         ## @IFCOUNTER_IPACKETS
	.comm	_M_LOOP,4,2                     ## @M_LOOP
	.comm	_NETISR_IP,4,2                  ## @NETISR_IP
	.comm	_NETISR_IPV6,4,2                ## @NETISR_IPV6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_if_simloop                     ; -- Begin function if_simloop
	.p2align	2
_if_simloop:                            ; @if_simloop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	mov	x0, x1
	bl	_M_ASSERTPKTHDR
	mov	x0, x19
	bl	_m_tag_delete_nonpersistent
	str	x22, [x19, #16]
	cmp	w21, #1
	b.lt	LBB0_5
; %bb.1:
	ldr	w0, [x22]
	bl	_bpf_peers_present
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x22]
	mov	x1, x19
	bl	_bpf_mtap
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	bl	_m_adj
Lloh0:
	adrp	x23, _vm_offset_t@GOTPAGE
Lloh1:
	ldr	x23, [x23, _vm_offset_t@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_mtod
	tst	w0, #0x3
	b.eq	LBB0_8
; %bb.4:
	cmp	w21, #2
	cset	w0, hi
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	ldr	w21, [x19, #4]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_mtod
	mov	x22, x0
	ldr	w1, [x23]
	mov	x0, x19
	bl	_mtod
	and	w8, w0, #0x3
	sub	w8, w22, w8
	sxtw	x1, w8
	ldr	w2, [x19, #24]
	mov	x0, x21
	bl	_bcopy
	ldr	w1, [x23]
	mov	x0, x19
	bl	_mtod
	and	w8, w0, #0x3
	ldr	w9, [x19, #4]
	sub	w8, w9, w8
	str	w8, [x19, #4]
	b	LBB0_8
LBB0_5:
Lloh4:
	adrp	x21, _V_loif@GOTPAGE
Lloh5:
	ldr	x21, [x21, _V_loif@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_bpf_peers_present
	cbz	x0, LBB0_8
; %bb.6:
Lloh6:
	adrp	x8, _M_MCAST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_MCAST@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh8:
	ldr	w8, [x8]
	and	w9, w8, w9
	ldr	x8, [x21]
	cmp	w9, #0
	ccmp	x8, x22, #4, ne
	b.ne	LBB0_8
; %bb.7:
	str	w20, [sp, #12]
	ldr	w0, [x8]
	add	x1, sp, #12
	mov	w2, #4
	mov	x3, x19
	bl	_bpf_mtap2
LBB0_8:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_printf
	mov	x0, x19
	bl	_m_freem
Lloh11:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_V_loif,8,3                     ; @V_loif
	.comm	_M_MCAST,4,2                    ; @M_MCAST
	.comm	_vm_offset_t,4,2                ; @vm_offset_t
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"if_simloop: hlen too small"

l_.str.1:                               ; @.str.1
	.asciz	"if_simloop: can't handle af=%d\n"

	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.comm	_IFCOUNTER_IBYTES,4,2           ; @IFCOUNTER_IBYTES
	.comm	_IFCOUNTER_IPACKETS,4,2         ; @IFCOUNTER_IPACKETS
	.comm	_M_LOOP,4,2                     ; @M_LOOP
	.comm	_NETISR_IP,4,2                  ; @NETISR_IP
	.comm	_NETISR_IPV6,4,2                ; @NETISR_IPV6
.subsections_via_symbols
