	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_link_PullPacket                ## -- Begin function link_PullPacket
	.p2align	4, 0x90
_link_PullPacket:                       ## @link_PullPacket
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LAYER_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %r13
	shlq	$3, %r13
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_link_AddInOctets
	leal	(,%r15,8), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_MB_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_m_get
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, (%r12)
	movq	%rax, %rdi
	callq	_MBUF_CTOP
	movl	%eax, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_memcpy
	xorl	%edx, %edx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	movq	_LogDEBUG@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%rsi, %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	decl	%edx
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
                                        ##       Child Loop BB0_10 Depth 3
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	movslq	%edx, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_10 Depth 3
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, %edx
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpq	$0, (%r15)
	je	LBB0_12
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%r15,%rcx,8), %r13
	testq	%r13, %r13
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	(%r13), %rax
	movq	%rax, (%r15,%rcx,8)
	movq	$0, (%r13)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -72(%rbp)
	movq	8(%rbx), %rax
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %r8
	testq	%r8, %r8
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	leaq	-72(%rbp), %rcx
	callq	*%r8
	movq	%r12, %rsi
	movq	_LogDEBUG@GOTPCREL(%rip), %rdi
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	movq	%rax, %r13
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=2
	movl	(%rbx), %eax
	decl	%eax
	cmpl	%eax, %edx
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=2
	testq	%r13, %r13
	je	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%r13), %r15
	movq	$0, (%r13)
	movl	(%rdi), %edi
	movq	-72(%rbp), %rdx
	callq	_log_Printf
	movq	-72(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_Despatch
	movq	%r12, %rsi
	movq	_LogDEBUG@GOTPCREL(%rip), %rdi
	movq	%r15, %r13
	testq	%r15, %r15
	jne	LBB0_10
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%edx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	%r13, 8(%r15,%r8,8)
	movq	-72(%rbp), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx,%r8,8)
	jmp	LBB0_1
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LAYER_MAX,4,2                  ## @LAYER_MAX
	.comm	_MB_UNKNOWN,4,2                 ## @MB_UNKNOWN
	.comm	_LogDEBUG,4,2                   ## @LogDEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"link_PullPacket: Despatch proto 0x%04x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_link_PullPacket                ; -- Begin function link_PullPacket
	.p2align	2
_link_PullPacket:                       ; @link_PullPacket
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _LAYER_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LAYER_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	lsl	x8, x25, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0xffffffff0
	sub	x21, x9, x12
	mov	sp, x21
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x24, x8, x12
	mov	sp, x24
	mov	x1, x2
	bl	_link_AddInOctets
	lsl	w2, w25, #3
	mov	x0, x21
	mov	w1, #0
	bl	_memset
Lloh10:
	adrp	x8, _MB_UNKNOWN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MB_UNKNOWN@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_m_get
	str	x0, [x21]
	bl	_MBUF_CTOP
	mov	x1, x23
	mov	x2, x22
	bl	_memcpy
	mov	w8, #0
	str	xzr, [x24]
Lloh13:
	adrp	x25, _LogDEBUG@GOTPAGE
Lloh14:
	ldr	x25, [x25, _LogDEBUG@GOTPAGEOFF]
Lloh15:
	adrp	x22, l_.str@PAGE
Lloh16:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	sub	w8, w26, #1
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
                                        ;       Child Loop BB0_10 Depth 3
	sxtw	x26, w8
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_10 Depth 3
	cbnz	w26, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	x8, [x21]
	cbz	x8, LBB0_12
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=2
	ldr	x23, [x21, x26, lsl #3]
	cbz	x23, LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	x8, [x23]
	lsl	x9, x26, #3
	str	x8, [x21, x9]
	ldr	x8, [x24, x9]
	str	xzr, [x23]
	stur	x8, [x29, #-96]
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x9]
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=2
	sub	x3, x29, #96
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	blr	x8
	mov	x23, x0
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=2
	ldr	w8, [x20]
	sub	w8, w8, #1
	cmp	w26, w8
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=2
	cbz	x23, LBB0_3
LBB0_10:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_3 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x27, [x23]
	str	xzr, [x23]
	ldr	w0, [x25]
	ldur	x2, [x29, #-96]
	mov	x1, x22
	bl	_log_Printf
	ldur	x3, [x29, #-96]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	bl	_Despatch
	mov	x23, x27
	cbnz	x27, LBB0_10
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x26, #1
	lsl	x9, x8, #3
	str	x23, [x21, x9]
	ldur	x10, [x29, #-96]
	str	x10, [x24, x9]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	b	LBB0_2
LBB0_12:
	ldur	x8, [x29, #-88]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_LAYER_MAX,4,2                  ; @LAYER_MAX
	.comm	_MB_UNKNOWN,4,2                 ; @MB_UNKNOWN
	.comm	_LogDEBUG,4,2                   ; @LogDEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"link_PullPacket: Despatch proto 0x%04x\n"

.subsections_via_symbols
