	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function test_PACKET_as_length_prefixed_1
LCPI0_0:
	.byte	2                               ## 0x2
	.byte	4                               ## 0x4
	.byte	6                               ## 0x6
	.byte	8                               ## 0x8
	.byte	10                              ## 0xa
	.byte	12                              ## 0xc
	.byte	14                              ## 0xe
	.byte	16                              ## 0x10
	.byte	18                              ## 0x12
	.byte	20                              ## 0x14
	.byte	22                              ## 0x16
	.byte	24                              ## 0x18
	.byte	26                              ## 0x1a
	.byte	28                              ## 0x1c
	.byte	30                              ## 0x1e
	.byte	32                              ## 0x20
LCPI0_1:
	.byte	1                               ## 0x1
	.byte	2                               ## 0x2
	.byte	3                               ## 0x3
	.byte	4                               ## 0x4
	.byte	5                               ## 0x5
	.byte	6                               ## 0x6
	.byte	7                               ## 0x7
	.byte	8                               ## 0x8
	.byte	9                               ## 0x9
	.byte	10                              ## 0xa
	.byte	11                              ## 0xb
	.byte	12                              ## 0xc
	.byte	13                              ## 0xd
	.byte	14                              ## 0xe
	.byte	15                              ## 0xf
	.byte	16                              ## 0x10
LCPI0_2:
	.space	16,32
LCPI0_3:
	.space	16,64
LCPI0_4:
	.space	16,96
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_test_PACKET_as_length_prefixed_1:      ## @test_PACKET_as_length_prefixed_1
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_BUF_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	leaq	-36(%rbp), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movb	$16, (%rbx)
	movl	(%r15), %eax
	cmpq	$2, %rax
	jb	LBB0_13
## %bb.1:
	leaq	-1(%rax), %r8
	movl	$1, %ecx
	cmpq	$32, %r8
	jb	LBB0_11
## %bb.2:
	movq	%r8, %rcx
	andq	$-32, %rcx
	leaq	-32(%rcx), %rsi
	movq	%rsi, %rdx
	shrq	$5, %rdx
	incq	%rdx
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.4:
	movq	%rdx, %rsi
	andq	$-2, %rsi
	movdqa	LCPI0_1(%rip), %xmm0            ## xmm0 = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]
	movl	$1, %edi
	movdqa	LCPI0_2(%rip), %xmm1            ## xmm1 = [32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]
	movdqa	LCPI0_3(%rip), %xmm2            ## xmm2 = [64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64]
	movdqa	LCPI0_4(%rip), %xmm3            ## xmm3 = [96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96]
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm4
	paddb	%xmm0, %xmm4
	movdqa	%xmm4, %xmm5
	paddb	%xmm1, %xmm5
	movdqu	%xmm4, (%rbx,%rdi)
	movdqu	%xmm5, 16(%rbx,%rdi)
	movdqa	%xmm4, %xmm5
	paddb	%xmm2, %xmm5
	paddb	%xmm3, %xmm4
	movdqu	%xmm5, 32(%rbx,%rdi)
	movdqu	%xmm4, 48(%rbx,%rdi)
	paddb	%xmm2, %xmm0
	addq	$64, %rdi
	addq	$-2, %rsi
	jne	LBB0_5
## %bb.6:
	paddb	%xmm0, %xmm0
	testb	$1, %dl
	je	LBB0_9
LBB0_8:
	movdqa	LCPI0_2(%rip), %xmm1            ## xmm1 = [32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]
	paddb	%xmm0, %xmm1
	movdqu	%xmm0, (%rbx,%rdi)
	movdqu	%xmm1, 16(%rbx,%rdi)
LBB0_9:
	cmpq	%rcx, %r8
	je	LBB0_13
## %bb.10:
	orq	$1, %rcx
LBB0_11:
	leal	(%rcx,%rcx), %edx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movb	%dl, (%rbx,%rcx)
	incq	%rcx
	addb	$2, %dl
	cmpq	%rcx, %rax
	jne	LBB0_12
LBB0_13:
	movslq	%eax, %rdx
	leaq	-44(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_PACKET_buf_init
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_20
## %bb.14:
	leaq	-40(%rbp), %rdi
	movl	$17, %edx
	movq	%rbx, %rsi
	callq	_PACKET_buf_init
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_20
## %bb.15:
	leaq	-44(%rbp), %rdi
	leaq	-36(%rbp), %rsi
	callq	_PACKET_as_length_prefixed_1
	movl	%eax, %edi
	callq	_TEST_false
	testl	%eax, %eax
	je	LBB0_20
## %bb.16:
	leaq	-44(%rbp), %rdi
	callq	_PACKET_remaining
	movslq	(%r15), %rsi
	movl	%eax, %edi
	callq	_TEST_size_t_eq
	testl	%eax, %eax
	je	LBB0_20
## %bb.17:
	leaq	-40(%rbp), %rdi
	leaq	-36(%rbp), %rsi
	callq	_PACKET_as_length_prefixed_1
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_20
## %bb.18:
	leaq	-40(%rbp), %rdi
	callq	_PACKET_remaining
	xorl	%r14d, %r14d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_size_t_eq
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	leaq	-36(%rbp), %rdi
	callq	_PACKET_remaining
	movl	$16, %esi
	movl	%eax, %edi
	callq	_TEST_size_t_eq
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	movl	%r14d, %eax
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32]
	movl	$1, %edi
	testb	$1, %dl
	jne	LBB0_8
	jmp	LBB0_9
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUF_LEN,4,2                    ## @BUF_LEN
	.no_dead_strip	_test_PACKET_as_length_prefixed_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function test_PACKET_as_length_prefixed_1
lCPI0_0:
	.byte	1                               ; 0x1
	.byte	2                               ; 0x2
	.byte	3                               ; 0x3
	.byte	4                               ; 0x4
	.byte	5                               ; 0x5
	.byte	6                               ; 0x6
	.byte	7                               ; 0x7
	.byte	8                               ; 0x8
	.byte	9                               ; 0x9
	.byte	10                              ; 0xa
	.byte	11                              ; 0xb
	.byte	12                              ; 0xc
	.byte	13                              ; 0xd
	.byte	14                              ; 0xe
	.byte	15                              ; 0xf
	.byte	16                              ; 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_test_PACKET_as_length_prefixed_1:      ; @test_PACKET_as_length_prefixed_1
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	sp, sp, #32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x20, _BUF_LEN@GOTPAGE
Lloh4:
	ldr	x20, [x20, _BUF_LEN@GOTPAGEOFF]
	ldr	w8, [x20]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	sub	x0, x29, #36
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w8, #16
	strb	w8, [x19]
	ldr	w8, [x20]
	cmp	w8, #2
	b.lo	LBB0_7
; %bb.1:
	sub	x10, x8, #1
	cmp	x10, #16
	b.hs	LBB0_3
; %bb.2:
	mov	w9, #1
	b	LBB0_6
LBB0_3:
	and	x11, x10, #0xfffffffffffffff0
	orr	x9, x11, #0x1
Lloh7:
	adrp	x12, lCPI0_0@PAGE
Lloh8:
	ldr	q0, [x12, lCPI0_0@PAGEOFF]
	add	x12, x19, #1
	movi.16b	v1, #16
	mov	x13, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	shl.16b	v2, v0, #1
	str	q2, [x12], #16
	add.16b	v0, v0, v1
	subs	x13, x13, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x11
	b.eq	LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w10, w9, #1
	strb	w10, [x19, x9]
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_6
LBB0_7:
	sxtw	x2, w8
	sub	x0, x29, #28
	mov	x1, x19
	bl	_PACKET_buf_init
	bl	_TEST_true
	cbz	w0, LBB0_14
; %bb.8:
	sub	x0, x29, #32
	mov	x1, x19
	mov	w2, #17
	bl	_PACKET_buf_init
	bl	_TEST_true
	cbz	w0, LBB0_14
; %bb.9:
	sub	x0, x29, #28
	sub	x1, x29, #36
	bl	_PACKET_as_length_prefixed_1
	bl	_TEST_false
	cbz	w0, LBB0_14
; %bb.10:
	sub	x0, x29, #28
	bl	_PACKET_remaining
	ldrsw	x1, [x20]
	bl	_TEST_size_t_eq
	cbz	w0, LBB0_14
; %bb.11:
	sub	x0, x29, #32
	sub	x1, x29, #36
	bl	_PACKET_as_length_prefixed_1
	bl	_TEST_true
	cbz	w0, LBB0_14
; %bb.12:
	sub	x0, x29, #32
	bl	_PACKET_remaining
	mov	x1, #0
	bl	_TEST_size_t_eq
	cbz	w0, LBB0_14
; %bb.13:
	sub	x0, x29, #36
	bl	_PACKET_remaining
	mov	w1, #16
	bl	_TEST_size_t_eq
	cmp	w0, #0
	cset	w0, ne
LBB0_14:
	ldur	x8, [x29, #-24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BUF_LEN,4,2                    ; @BUF_LEN
	.no_dead_strip	_test_PACKET_as_length_prefixed_1
.subsections_via_symbols
