	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_early_data_tls1_2
_test_early_data_tls1_2:                ## @test_early_data_tls1_2
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r9d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -96(%rbp)
	xorl	%r14d, %r14d
	leaq	-128(%rbp), %rdi
	leaq	-120(%rbp), %rsi
	leaq	-88(%rbp), %rdx
	leaq	-96(%rbp), %rcx
	xorl	%r8d, %r8d
	callq	_setupearly_data_test
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_16
## %bb.1:
	movq	-88(%rbp), %rdi
	movq	_TLS1_2_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSL_set_max_proto_version
	movq	-88(%rbp), %rdi
	callq	_SSL_set_connect_state
	movq	-88(%rbp), %r15
	movq	_MSG1@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movl	%ebx, %edi
	callq	_strlen
	leaq	-112(%rbp), %rcx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_SSL_write_ex
	movl	%eax, %edi
	callq	_TEST_false
	testl	%eax, %eax
	je	LBB0_16
## %bb.2:
	movq	-96(%rbp), %rdi
	leaq	-80(%rbp), %rsi
	leaq	-104(%rbp), %rcx
	movl	$20, %edx
	callq	_SSL_read_early_data
	movq	_SSL_READ_EARLY_DATA_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_16
## %bb.3:
	movq	-88(%rbp), %r15
	movl	(%r12), %ebx
	movl	%ebx, %edi
	callq	_strlen
	leaq	-112(%rbp), %rcx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_SSL_write_ex
	movl	%eax, %edi
	callq	_TEST_false
	testl	%eax, %eax
	je	LBB0_16
## %bb.4:
	movq	-96(%rbp), %rdi
	leaq	-80(%rbp), %rsi
	leaq	-104(%rbp), %rcx
	movl	$20, %edx
	callq	_SSL_read_early_data
	movq	_SSL_READ_EARLY_DATA_FINISH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_16
## %bb.5:
	movq	-104(%rbp), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_TEST_size_t_eq
	testl	%eax, %eax
	je	LBB0_16
## %bb.6:
	movq	-96(%rbp), %rdi
	callq	_SSL_get_early_data_status
	movq	_SSL_EARLY_DATA_NOT_SENT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%eax, %edi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_16
## %bb.7:
	movq	-88(%rbp), %r15
	movl	(%r12), %ebx
	movl	%ebx, %edi
	callq	_strlen
	leaq	-112(%rbp), %rcx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_SSL_write_ex
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_16
## %bb.8:
	movq	-112(%rbp), %rbx
	movl	(%r12), %edi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_TEST_size_t_eq
	testl	%eax, %eax
	je	LBB0_16
## %bb.9:
	movq	-88(%rbp), %rdi
	callq	_SSL_get_early_data_status
	movl	(%r13), %esi
	movl	%eax, %edi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_16
## %bb.10:
	movq	-96(%rbp), %rdi
	leaq	-80(%rbp), %rsi
	leaq	-104(%rbp), %rcx
	movl	$20, %edx
	callq	_SSL_read_ex
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_16
## %bb.11:
	movq	-104(%rbp), %r15
	movl	(%r12), %ebx
	movl	%ebx, %edi
	callq	_strlen
	leaq	-80(%rbp), %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_TEST_mem_eq
	testl	%eax, %eax
	je	LBB0_16
## %bb.12:
	movq	-96(%rbp), %r15
	movq	_MSG2@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movl	%ebx, %edi
	callq	_strlen
	leaq	-112(%rbp), %rcx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_SSL_write_ex
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_16
## %bb.13:
	movq	-112(%rbp), %rbx
	movl	(%r12), %edi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_TEST_size_t_eq
	testl	%eax, %eax
	je	LBB0_16
## %bb.14:
	movq	-88(%rbp), %rdi
	leaq	-80(%rbp), %rsi
	leaq	-104(%rbp), %rcx
	movl	$20, %edx
	callq	_SSL_read_ex
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movq	-104(%rbp), %r14
	movl	(%r12), %ebx
	movl	%ebx, %edi
	callq	_strlen
	leaq	-80(%rbp), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_TEST_mem_eq
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
LBB0_16:
	movq	_clientpsk@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_SSL_SESSION_free
	movq	_serverpsk@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_SSL_SESSION_free
	movq	$0, (%rbx)
	movq	$0, (%r15)
	movq	-96(%rbp), %rdi
	callq	_SSL_free
	movq	-88(%rbp), %rdi
	callq	_SSL_free
	movq	-120(%rbp), %rdi
	callq	_SSL_CTX_free
	movq	-128(%rbp), %rdi
	callq	_SSL_CTX_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movl	%r14d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TLS1_2_VERSION,4,2             ## @TLS1_2_VERSION
	.comm	_MSG1,4,2                       ## @MSG1
	.comm	_SSL_READ_EARLY_DATA_ERROR,4,2  ## @SSL_READ_EARLY_DATA_ERROR
	.comm	_SSL_READ_EARLY_DATA_FINISH,4,2 ## @SSL_READ_EARLY_DATA_FINISH
	.comm	_SSL_EARLY_DATA_NOT_SENT,4,2    ## @SSL_EARLY_DATA_NOT_SENT
	.comm	_MSG2,4,2                       ## @MSG2
	.comm	_clientpsk,8,3                  ## @clientpsk
	.comm	_serverpsk,8,3                  ## @serverpsk
	.no_dead_strip	_test_early_data_tls1_2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_early_data_tls1_2
_test_early_data_tls1_2:                ; @test_early_data_tls1_2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x5, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	stp	xzr, xzr, [sp, #32]
	stp	xzr, xzr, [sp, #16]
	add	x0, sp, #40
	add	x1, sp, #32
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x4, #0
	bl	_setupearly_data_test
	bl	_TEST_true
	cbz	w0, LBB0_16
; %bb.1:
	ldr	x0, [sp, #24]
Lloh3:
	adrp	x8, _TLS1_2_VERSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TLS1_2_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_SSL_set_max_proto_version
	ldr	x0, [sp, #24]
	bl	_SSL_set_connect_state
	ldr	x19, [sp, #24]
Lloh6:
	adrp	x21, _MSG1@GOTPAGE
Lloh7:
	ldr	x21, [x21, _MSG1@GOTPAGEOFF]
	ldr	w20, [x21]
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x3, sp
	mov	x0, x19
	mov	x1, x20
	bl	_SSL_write_ex
	bl	_TEST_false
	cbz	w0, LBB0_16
; %bb.2:
	ldr	x0, [sp, #16]
	add	x1, sp, #52
	add	x3, sp, #8
	mov	w2, #20
	bl	_SSL_read_early_data
Lloh8:
	adrp	x8, _SSL_READ_EARLY_DATA_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SSL_READ_EARLY_DATA_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_TEST_int_eq
	cbz	w0, LBB0_16
; %bb.3:
	ldr	x19, [sp, #24]
	ldr	w20, [x21]
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x3, sp
	mov	x0, x19
	mov	x1, x20
	bl	_SSL_write_ex
	bl	_TEST_false
	cbz	w0, LBB0_16
; %bb.4:
	ldr	x0, [sp, #16]
	add	x1, sp, #52
	add	x3, sp, #8
	mov	w2, #20
	bl	_SSL_read_early_data
Lloh11:
	adrp	x8, _SSL_READ_EARLY_DATA_FINISH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SSL_READ_EARLY_DATA_FINISH@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_TEST_int_eq
	cbz	w0, LBB0_16
; %bb.5:
	ldr	x0, [sp, #8]
	mov	w1, #0
	bl	_TEST_size_t_eq
	cbz	w0, LBB0_16
; %bb.6:
	ldr	x0, [sp, #16]
	bl	_SSL_get_early_data_status
Lloh14:
	adrp	x22, _SSL_EARLY_DATA_NOT_SENT@GOTPAGE
Lloh15:
	ldr	x22, [x22, _SSL_EARLY_DATA_NOT_SENT@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_TEST_int_eq
	cbz	w0, LBB0_16
; %bb.7:
	ldr	x19, [sp, #24]
	ldr	w20, [x21]
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x3, sp
	mov	x0, x19
	mov	x1, x20
	bl	_SSL_write_ex
	bl	_TEST_true
	cbz	w0, LBB0_16
; %bb.8:
	ldr	x19, [sp]
	ldr	w0, [x21]
	bl	_strlen
	mov	x1, x0
	mov	x0, x19
	bl	_TEST_size_t_eq
	cbz	w0, LBB0_16
; %bb.9:
	ldr	x0, [sp, #24]
	bl	_SSL_get_early_data_status
	ldr	w1, [x22]
	bl	_TEST_int_eq
	cbz	w0, LBB0_16
; %bb.10:
	ldr	x0, [sp, #16]
	add	x1, sp, #52
	add	x3, sp, #8
	mov	w2, #20
	bl	_SSL_read_ex
	bl	_TEST_true
	cbz	w0, LBB0_16
; %bb.11:
	ldr	x19, [sp, #8]
	ldr	w20, [x21]
	mov	x0, x20
	bl	_strlen
	mov	x3, x0
	add	x0, sp, #52
	mov	x1, x19
	mov	x2, x20
	bl	_TEST_mem_eq
	cbz	w0, LBB0_16
; %bb.12:
	ldr	x19, [sp, #16]
Lloh16:
	adrp	x21, _MSG2@GOTPAGE
Lloh17:
	ldr	x21, [x21, _MSG2@GOTPAGEOFF]
	ldr	w20, [x21]
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x3, sp
	mov	x0, x19
	mov	x1, x20
	bl	_SSL_write_ex
	bl	_TEST_true
	cbz	w0, LBB0_16
; %bb.13:
	ldr	x19, [sp]
	ldr	w0, [x21]
	bl	_strlen
	mov	x1, x0
	mov	x0, x19
	bl	_TEST_size_t_eq
	cbz	w0, LBB0_16
; %bb.14:
	ldr	x0, [sp, #24]
	add	x1, sp, #52
	add	x3, sp, #8
	mov	w2, #20
	bl	_SSL_read_ex
	cbz	w0, LBB0_16
; %bb.15:
	ldr	x19, [sp, #8]
	ldr	w20, [x21]
	mov	x0, x20
	bl	_strlen
	mov	x3, x0
	add	x0, sp, #52
	mov	x1, x19
	mov	x2, x20
	bl	_TEST_mem_eq
	cmp	w0, #0
	cset	w19, ne
	b	LBB0_17
LBB0_16:
	mov	w19, #0
LBB0_17:
Lloh18:
	adrp	x20, _clientpsk@GOTPAGE
Lloh19:
	ldr	x20, [x20, _clientpsk@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_SSL_SESSION_free
Lloh20:
	adrp	x21, _serverpsk@GOTPAGE
Lloh21:
	ldr	x21, [x21, _serverpsk@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_SSL_SESSION_free
	str	xzr, [x21]
	str	xzr, [x20]
	ldr	x0, [sp, #16]
	bl	_SSL_free
	ldr	x0, [sp, #24]
	bl	_SSL_free
	ldr	x0, [sp, #32]
	bl	_SSL_CTX_free
	ldr	x0, [sp, #40]
	bl	_SSL_CTX_free
	ldur	x8, [x29, #-40]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_TLS1_2_VERSION,4,2             ; @TLS1_2_VERSION
	.comm	_MSG1,4,2                       ; @MSG1
	.comm	_SSL_READ_EARLY_DATA_ERROR,4,2  ; @SSL_READ_EARLY_DATA_ERROR
	.comm	_SSL_READ_EARLY_DATA_FINISH,4,2 ; @SSL_READ_EARLY_DATA_FINISH
	.comm	_SSL_EARLY_DATA_NOT_SENT,4,2    ; @SSL_EARLY_DATA_NOT_SENT
	.comm	_MSG2,4,2                       ; @MSG2
	.comm	_clientpsk,8,3                  ; @clientpsk
	.comm	_serverpsk,8,3                  ; @serverpsk
	.no_dead_strip	_test_early_data_tls1_2
.subsections_via_symbols
