	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_full_handshake_impl
_test_full_handshake_impl:              ## @test_full_handshake_impl
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r12d
	movq	_sc_callcnt@GOTPCREL(%rip), %r14
	movl	$0, (%r14)
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_ptls_iovec_init
	movq	_TEST_HANDSHAKE_1RTT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	%eax, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%r12d, %r8d
	callq	_test_handshake
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	testl	%r12d, %r12d
	setne	%bl
	sete	%al
	movl	$2, %ecx
	subl	%eax, %ecx
	xorl	%edi, %edi
	cmpl	%ecx, (%r14)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_ptls_iovec_init
	movl	(%r15), %esi
	movl	%eax, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%r12d, %r8d
	callq	_test_handshake
	leal	(%rbx,%rbx), %eax
	addl	$2, %eax
	xorl	%edi, %edi
	cmpl	%eax, (%r14)
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_ptls_iovec_init
	movl	(%r15), %esi
	movl	%eax, %edi
	xorl	%edx, %edx
	movl	$1, %ecx
	movl	%r12d, %r8d
	callq	_test_handshake
	leal	(%rbx,%rbx,2), %eax
	addl	$3, %eax
	xorl	%edi, %edi
	cmpl	%eax, (%r14)
	sete	%dil
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ok                             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sc_callcnt,4,2                 ## @sc_callcnt
	.comm	_TEST_HANDSHAKE_1RTT,4,2        ## @TEST_HANDSHAKE_1RTT
	.no_dead_strip	_test_full_handshake_impl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_full_handshake_impl
_test_full_handshake_impl:              ; @test_full_handshake_impl
	.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, x0
Lloh0:
	adrp	x20, _sc_callcnt@GOTPAGE
Lloh1:
	ldr	x20, [x20, _sc_callcnt@GOTPAGEOFF]
	str	wzr, [x20]
	mov	x0, #0
	mov	w1, #0
	bl	_ptls_iovec_init
Lloh2:
	adrp	x21, _TEST_HANDSHAKE_1RTT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _TEST_HANDSHAKE_1RTT@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w2, #0
	mov	w3, #0
	mov	x4, x19
	bl	_test_handshake
	ldr	w8, [x20]
	mov	w9, #1
	mov	w10, #4
	mov	w11, #2
	cmp	w19, #0
	csel	w22, w11, w10, eq
	cinc	w9, w9, ne
	mov	w10, #6
	mov	w11, #3
	csel	w23, w11, w10, eq
	cmp	w8, w9
	cset	w0, eq
	bl	_ok
	mov	x0, #0
	mov	w1, #0
	bl	_ptls_iovec_init
	ldr	w1, [x21]
	mov	w2, #0
	mov	w3, #0
	mov	x4, x19
	bl	_test_handshake
	ldr	w8, [x20]
	cmp	w8, w22
	cset	w0, eq
	bl	_ok
	mov	x0, #0
	mov	w1, #0
	bl	_ptls_iovec_init
	ldr	w1, [x21]
	mov	w2, #0
	mov	w3, #1
	mov	x4, x19
	bl	_test_handshake
	ldr	w8, [x20]
	cmp	w8, w23
	cset	w0, eq
	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	_ok
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_sc_callcnt,4,2                 ; @sc_callcnt
	.comm	_TEST_HANDSHAKE_1RTT,4,2        ; @TEST_HANDSHAKE_1RTT
	.no_dead_strip	_test_full_handshake_impl
.subsections_via_symbols
