	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_PACKET_memdup
_test_PACKET_memdup:                    ## @test_PACKET_memdup
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -56(%rbp)
	movq	_smbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BUF_LEN@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	leaq	-36(%rbp), %rdi
	callq	_PACKET_buf_init
	movl	%eax, %edi
	callq	_TEST_true
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	leaq	-36(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_PACKET_memdup
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movq	-48(%rbp), %rdi
	movq	(%r12), %rsi
	callq	_TEST_size_t_eq
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	movq	-56(%rbp), %rbx
	movq	-48(%rbp), %r15
	leaq	-36(%rbp), %rdi
	callq	_PACKET_data
	movq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_TEST_mem_eq
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	leaq	-36(%rbp), %rdi
	movl	$10, %esi
	callq	_PACKET_forward
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	leaq	-36(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_PACKET_memdup
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movq	-48(%rbp), %rdi
	movq	(%r12), %rsi
	addq	$-10, %rsi
	callq	_TEST_size_t_eq
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	-56(%rbp), %rbx
	movq	-48(%rbp), %r14
	leaq	-36(%rbp), %rdi
	callq	_PACKET_data
	movq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_TEST_mem_eq
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
LBB0_8:
	movq	-56(%rbp), %rdi
	callq	_OPENSSL_free
	movl	%r14d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_smbuf,4,2                      ## @smbuf
	.comm	_BUF_LEN,8,3                    ## @BUF_LEN
	.no_dead_strip	_test_PACKET_memdup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_PACKET_memdup
_test_PACKET_memdup:                    ; @test_PACKET_memdup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	str	xzr, [sp, #24]
Lloh0:
	adrp	x8, _smbuf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _smbuf@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x21, _BUF_LEN@GOTPAGE
Lloh4:
	ldr	x21, [x21, _BUF_LEN@GOTPAGEOFF]
	ldr	x2, [x21]
	add	x0, sp, #12
	bl	_PACKET_buf_init
	bl	_TEST_true
	cbz	w0, LBB0_8
; %bb.1:
	add	x0, sp, #12
	add	x1, sp, #24
	add	x2, sp, #16
	bl	_PACKET_memdup
	bl	_TEST_true
	cbz	w0, LBB0_8
; %bb.2:
	ldr	x0, [sp, #16]
	ldr	x1, [x21]
	bl	_TEST_size_t_eq
	cbz	w0, LBB0_8
; %bb.3:
	ldp	x20, x19, [sp, #16]
	add	x0, sp, #12
	bl	_PACKET_data
	mov	x2, x0
	ldr	x3, [sp, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_TEST_mem_eq
	cbz	w0, LBB0_8
; %bb.4:
	add	x0, sp, #12
	mov	w1, #10
	bl	_PACKET_forward
	bl	_TEST_true
	cbz	w0, LBB0_8
; %bb.5:
	add	x0, sp, #12
	add	x1, sp, #24
	add	x2, sp, #16
	bl	_PACKET_memdup
	bl	_TEST_true
	cbz	w0, LBB0_8
; %bb.6:
	ldr	x0, [sp, #16]
	ldr	x8, [x21]
	sub	x1, x8, #10
	bl	_TEST_size_t_eq
	cbz	w0, LBB0_8
; %bb.7:
	ldp	x20, x19, [sp, #16]
	add	x0, sp, #12
	bl	_PACKET_data
	mov	x2, x0
	ldr	x3, [sp, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_TEST_mem_eq
	cmp	w0, #0
	cset	w19, ne
	b	LBB0_9
LBB0_8:
	mov	w19, #0
LBB0_9:
	ldr	x0, [sp, #24]
	bl	_OPENSSL_free
	mov	x0, x19
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_smbuf,4,2                      ; @smbuf
	.comm	_BUF_LEN,8,3                    ; @BUF_LEN
	.no_dead_strip	_test_PACKET_memdup
.subsections_via_symbols
