	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pktreader_pull
_pktreader_pull:                        ## @pktreader_pull
	.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
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rsi, %r13
	movl	(%rdi), %eax
	movq	_PKT_CONTEXT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.10:
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pullf_read                     ## TAILCALL
LBB0_1:
	movq	%rdi, %rbx
	leaq	4(%rdi), %r15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %ecx
	testl	%ecx, %ecx
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PKT_NORMAL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_parse_new_len
	testl	%eax, %eax
	js	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, (%rbx)
	jmp	LBB0_2
LBB0_7:
	cmpl	%r12d, %ecx
	cmovll	%ecx, %r12d
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	callq	_pullf_read
	testl	%eax, %eax
	jle	LBB0_9
## %bb.8:
	subl	%eax, (%r15)
	jmp	LBB0_9
LBB0_4:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PKT_CONTEXT,4,2                ## @PKT_CONTEXT
	.comm	_PKT_NORMAL,4,2                 ## @PKT_NORMAL
	.no_dead_strip	_pktreader_pull
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pktreader_pull
_pktreader_pull:                        ; @pktreader_pull
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _PKT_CONTEXT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PKT_CONTEXT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_pullf_read
LBB0_2:
	mov	x20, x23
	ldr	w8, [x20, #4]!
	cbz	w8, LBB0_5
LBB0_3:
	cmp	w8, w22
	csel	w1, w8, w22, lt
	mov	x0, x21
	mov	x2, x19
	bl	_pullf_read
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.4:
	ldr	w8, [x20]
	sub	w8, w8, w0
	str	w8, [x20]
	b	LBB0_10
LBB0_5:
Lloh3:
	adrp	x24, _PKT_NORMAL@GOTPAGE
Lloh4:
	ldr	x24, [x24, _PKT_NORMAL@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_parse_new_len
	tbnz	w0, #31, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w0, [x23]
	ldr	w8, [x23, #4]
	cbz	w8, LBB0_6
	b	LBB0_3
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PKT_CONTEXT,4,2                ; @PKT_CONTEXT
	.comm	_PKT_NORMAL,4,2                 ; @PKT_NORMAL
	.no_dead_strip	_pktreader_pull
.subsections_via_symbols
