	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function VjUncompressTcp
_VjUncompressTcp:                       ## @VjUncompressTcp
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_HDR@GOTPCREL(%rip), %rcx
	movq	_MAX_VJHEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	(%rcx), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_m_pullup
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_m_length
	movl	%eax, %r12d
	movq	_TYPE_UNCOMPRESSED_TCP@GOTPCREL(%rip), %rax
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	cmpl	%r15d, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_MBUF_CTOP
	movq	%rax, -64(%rbp)
	leaq	8(%r13), %rcx
	movzbl	1(%r13), %r9d
	addq	$4, %r13
	leaq	-64(%rbp), %rdi
	movl	%r12d, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	%r13, %r8
	callq	_sl_uncompress_tcp
	testl	%eax, %eax
	jg	LBB0_5
	jmp	LBB0_2
LBB0_3:
	movq	_MAX_VJHEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	%ebx, %r12d
	cmovll	%r12d, %ebx
	movq	_MAX_HDR@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	movq	%rsi, -64(%rbp)
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_mbuf_Read
	movq	%rax, %r14
	leaq	8(%r13), %rcx
	movzbl	1(%r13), %r9d
	addq	$4, %r13
	leaq	-64(%rbp), %rdi
	movl	%r12d, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	%r13, %r8
	callq	_sl_uncompress_tcp
	testl	%eax, %eax
	jle	LBB0_2
## %bb.4:
	subl	%r12d, %ebx
	addl	%eax, %ebx
	movq	-64(%rbp), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_m_prepend
	movq	%rax, %r14
LBB0_5:
	movq	_MB_VJIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_m_settype
	jmp	LBB0_6
LBB0_2:
	movq	%r14, %rdi
	callq	_m_freem
	xorl	%r14d, %r14d
LBB0_6:
	movq	-80(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movq	%r14, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_HDR,4,2                    ## @MAX_HDR
	.comm	_MAX_VJHEADER,4,2               ## @MAX_VJHEADER
	.comm	_TYPE_UNCOMPRESSED_TCP,4,2      ## @TYPE_UNCOMPRESSED_TCP
	.comm	_MB_VJIN,4,2                    ## @MB_VJIN
	.no_dead_strip	_VjUncompressTcp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function VjUncompressTcp
_VjUncompressTcp:                       ; @VjUncompressTcp
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x20, x2
	mov	x21, x0
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x25, _MAX_HDR@GOTPAGE
Lloh4:
	ldr	x25, [x25, _MAX_HDR@GOTPAGEOFF]
Lloh5:
	adrp	x23, _MAX_VJHEADER@GOTPAGE
Lloh6:
	ldr	x23, [x23, _MAX_VJHEADER@GOTPAGEOFF]
	ldr	w8, [x25]
	ldr	w9, [x23]
	add	w8, w9, w8
	lsl	x9, x8, #2
	add	x8, x9, #15
	and	x8, x8, #0x7fffffff0
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x26, x9, x8
	mov	sp, x26
	mov	x0, x1
	bl	_m_pullup
	mov	x19, x0
	bl	_m_length
	mov	x22, x0
Lloh9:
	adrp	x8, _TYPE_UNCOMPRESSED_TCP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TYPE_UNCOMPRESSED_TCP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_MBUF_CTOP
	stur	x0, [x29, #-80]
	add	x3, x21, #8
	add	x4, x21, #4
	ldrb	w5, [x21, #1]
	sub	x0, x29, #80
	mov	x1, x22
	mov	x2, x20
	bl	_sl_uncompress_tcp
	cmp	w0, #0
	b.le	LBB0_6
; %bb.2:
Lloh12:
	adrp	x8, _MB_VJIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MB_VJIN@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	b	LBB0_5
LBB0_3:
	ldr	w8, [x23]
	cmp	w22, w8
	csel	w23, w22, w8, lt
	ldrsw	x8, [x25]
	add	x1, x26, x8, lsl #2
	stur	x1, [x29, #-80]
	mov	x0, x19
	mov	x2, x23
	bl	_mbuf_Read
	mov	x19, x0
	add	x3, x21, #8
	add	x4, x21, #4
	ldrb	w5, [x21, #1]
	sub	x0, x29, #80
	mov	x1, x22
	mov	x2, x20
	bl	_sl_uncompress_tcp
	cmp	w0, #0
	b.le	LBB0_6
; %bb.4:
	sub	w8, w23, w22
	add	w2, w8, w0
	ldur	x1, [x29, #-80]
	mov	x0, x19
	mov	w3, #0
	bl	_m_prepend
	mov	x19, x0
Lloh15:
	adrp	x8, _MB_VJIN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MB_VJIN@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
LBB0_5:
	bl	_m_settype
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_m_freem
	mov	x19, #0
LBB0_7:
	mov	sp, x24
	ldur	x8, [x29, #-72]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x19
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_HDR,4,2                    ; @MAX_HDR
	.comm	_MAX_VJHEADER,4,2               ; @MAX_VJHEADER
	.comm	_TYPE_UNCOMPRESSED_TCP,4,2      ; @TYPE_UNCOMPRESSED_TCP
	.comm	_MB_VJIN,4,2                    ; @MB_VJIN
	.no_dead_strip	_VjUncompressTcp
.subsections_via_symbols
