	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_export_key_mat_early
_test_export_key_mat_early:             ## @test_export_key_mat_early
	.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	$408, %rsp                      ## imm = 0x198
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r9d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	$0, -400(%rbp)
	movq	$0, -392(%rbp)
	movq	$0, -376(%rbp)
	movq	$0, -368(%rbp)
	movq	$0, -384(%rbp)
	leaq	-400(%rbp), %rdi
	leaq	-392(%rbp), %rsi
	leaq	-376(%rbp), %rdx
	leaq	-368(%rbp), %rcx
	leaq	-384(%rbp), %r8
	callq	_setupearly_data_test
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	-376(%rbp), %rdi
	xorl	%r14d, %r14d
	leaq	-408(%rbp), %rcx
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_SSL_write_early_data
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_12
## %bb.3:
	movq	-368(%rbp), %rdi
	leaq	-353(%rbp), %rsi
	leaq	-416(%rbp), %rcx
	movl	$1, %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_12
## %bb.4:
	movq	-368(%rbp), %rdi
	callq	_SSL_get_early_data_status
	movq	_SSL_EARLY_DATA_ACCEPTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_12
## %bb.5:
	movq	-376(%rbp), %rdi
	movl	$7, (%rsp)
	leaq	_test_export_key_mat_early.label(%rip), %rcx
	leaq	_test_export_key_mat_early.context(%rip), %r9
	leaq	-112(%rbp), %rsi
	movl	$80, %edx
	movl	$10, %r8d
	callq	_SSL_export_keying_material_early
	movl	%eax, %edi
	movl	$1, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_12
## %bb.6:
	movq	-376(%rbp), %rdi
	movl	$0, (%rsp)
	leaq	_test_export_key_mat_early.label(%rip), %rcx
	xorl	%r14d, %r14d
	leaq	-192(%rbp), %rsi
	movl	$80, %edx
	movl	$10, %r8d
	xorl	%r9d, %r9d
	callq	_SSL_export_keying_material_early
	movl	%eax, %edi
	movl	$1, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:
	movq	-368(%rbp), %rdi
	movl	$7, (%rsp)
	leaq	_test_export_key_mat_early.label(%rip), %rcx
	leaq	_test_export_key_mat_early.context(%rip), %r9
	leaq	-272(%rbp), %rsi
	movl	$80, %edx
	movl	$10, %r8d
	callq	_SSL_export_keying_material_early
	movl	%eax, %edi
	movl	$1, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:
	movq	-368(%rbp), %rdi
	movl	$0, (%rsp)
	leaq	_test_export_key_mat_early.label(%rip), %rcx
	xorl	%r14d, %r14d
	leaq	-352(%rbp), %rsi
	movl	$80, %edx
	movl	$10, %r8d
	xorl	%r9d, %r9d
	callq	_SSL_export_keying_material_early
	movl	%eax, %edi
	movl	$1, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:
	leaq	-112(%rbp), %rdi
	leaq	-272(%rbp), %rdx
	movl	$80, %esi
	movl	$80, %ecx
	callq	_TEST_mem_eq
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:
	leaq	-192(%rbp), %rdi
	leaq	-352(%rbp), %rdx
	movl	$80, %esi
	movl	$80, %ecx
	callq	_TEST_mem_eq
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	leaq	-112(%rbp), %rdi
	leaq	-192(%rbp), %rdx
	movl	$80, %esi
	movl	$80, %ecx
	callq	_TEST_mem_ne
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
	jmp	LBB0_12
LBB0_1:
	xorl	%r14d, %r14d
LBB0_12:
	movq	-384(%rbp), %rdi
	callq	_SSL_SESSION_free
	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	-368(%rbp), %rdi
	callq	_SSL_free
	movq	-376(%rbp), %rdi
	callq	_SSL_free
	movq	-392(%rbp), %rdi
	callq	_SSL_CTX_free
	movq	-400(%rbp), %rdi
	callq	_SSL_CTX_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r14d, %eax
	addq	$408, %rsp                      ## imm = 0x198
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_test_export_key_mat_early.label:       ## @test_export_key_mat_early.label
	.asciz	"test label"

_test_export_key_mat_early.context:     ## @test_export_key_mat_early.context
	.asciz	"context"

	.comm	_SSL_READ_EARLY_DATA_ERROR,4,2  ## @SSL_READ_EARLY_DATA_ERROR
	.comm	_SSL_EARLY_DATA_ACCEPTED,4,2    ## @SSL_EARLY_DATA_ACCEPTED
	.comm	_clientpsk,8,3                  ## @clientpsk
	.comm	_serverpsk,8,3                  ## @serverpsk
	.no_dead_strip	_test_export_key_mat_early
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_export_key_mat_early
_test_export_key_mat_early:             ; @test_export_key_mat_early
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #448
	.cfi_def_cfa_offset 448
	stp	x22, x21, [sp, #400]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #416]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #432]            ; 16-byte Folded Spill
	add	x29, sp, #432
	.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, #56]
	stp	xzr, xzr, [sp, #40]
	str	xzr, [sp, #32]
	add	x0, sp, #64
	add	x1, sp, #56
	add	x2, sp, #48
	add	x3, sp, #40
	add	x4, sp, #32
	bl	_setupearly_data_test
	bl	_TEST_true
	cbz	w0, LBB0_11
; %bb.1:
	ldr	x0, [sp, #48]
	add	x3, sp, #8
	mov	x1, #0
	mov	w2, #0
	bl	_SSL_write_early_data
	bl	_TEST_true
	cbz	w0, LBB0_11
; %bb.2:
	ldr	x0, [sp, #40]
	add	x1, sp, #31
	add	x3, sp, #16
	mov	w2, #1
	bl	_SSL_read_early_data
Lloh3:
	adrp	x8, _SSL_READ_EARLY_DATA_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_READ_EARLY_DATA_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_TEST_int_eq
	cbz	w0, LBB0_11
; %bb.3:
	ldr	x0, [sp, #40]
	bl	_SSL_get_early_data_status
Lloh6:
	adrp	x8, _SSL_EARLY_DATA_ACCEPTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_EARLY_DATA_ACCEPTED@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_TEST_int_eq
	cbz	w0, LBB0_11
; %bb.4:
	ldr	x0, [sp, #48]
Lloh9:
	adrp	x3, _test_export_key_mat_early.label@PAGE
Lloh10:
	add	x3, x3, _test_export_key_mat_early.label@PAGEOFF
Lloh11:
	adrp	x5, _test_export_key_mat_early.context@PAGE
Lloh12:
	add	x5, x5, _test_export_key_mat_early.context@PAGEOFF
	sub	x1, x29, #120
	mov	w2, #80
	mov	w4, #10
	mov	w6, #7
	bl	_SSL_export_keying_material_early
	mov	w1, #1
	bl	_TEST_int_eq
	cbz	w0, LBB0_11
; %bb.5:
	ldr	x0, [sp, #48]
Lloh13:
	adrp	x3, _test_export_key_mat_early.label@PAGE
Lloh14:
	add	x3, x3, _test_export_key_mat_early.label@PAGEOFF
	sub	x1, x29, #200
	mov	w2, #80
	mov	w4, #10
	mov	x5, #0
	mov	w6, #0
	bl	_SSL_export_keying_material_early
	mov	w1, #1
	bl	_TEST_int_eq
	cbz	w0, LBB0_11
; %bb.6:
	ldr	x0, [sp, #40]
Lloh15:
	adrp	x3, _test_export_key_mat_early.label@PAGE
Lloh16:
	add	x3, x3, _test_export_key_mat_early.label@PAGEOFF
Lloh17:
	adrp	x5, _test_export_key_mat_early.context@PAGE
Lloh18:
	add	x5, x5, _test_export_key_mat_early.context@PAGEOFF
	add	x1, sp, #152
	mov	w2, #80
	mov	w4, #10
	mov	w6, #7
	bl	_SSL_export_keying_material_early
	mov	w1, #1
	bl	_TEST_int_eq
	cbz	w0, LBB0_11
; %bb.7:
	ldr	x0, [sp, #40]
Lloh19:
	adrp	x3, _test_export_key_mat_early.label@PAGE
Lloh20:
	add	x3, x3, _test_export_key_mat_early.label@PAGEOFF
	add	x1, sp, #72
	mov	w2, #80
	mov	w4, #10
	mov	x5, #0
	mov	w6, #0
	bl	_SSL_export_keying_material_early
	mov	w1, #1
	bl	_TEST_int_eq
	cbz	w0, LBB0_11
; %bb.8:
	sub	x0, x29, #120
	add	x2, sp, #152
	mov	w1, #80
	mov	w3, #80
	bl	_TEST_mem_eq
	cbz	w0, LBB0_11
; %bb.9:
	sub	x0, x29, #200
	add	x2, sp, #72
	mov	w1, #80
	mov	w3, #80
	bl	_TEST_mem_eq
	cbz	w0, LBB0_11
; %bb.10:
	sub	x0, x29, #120
	sub	x2, x29, #200
	mov	w1, #80
	mov	w3, #80
	bl	_TEST_mem_ne
	cmp	w0, #0
	cset	w19, ne
	b	LBB0_12
LBB0_11:
	mov	w19, #0
LBB0_12:
	ldr	x0, [sp, #32]
	bl	_SSL_SESSION_free
Lloh21:
	adrp	x20, _clientpsk@GOTPAGE
Lloh22:
	ldr	x20, [x20, _clientpsk@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_SSL_SESSION_free
Lloh23:
	adrp	x21, _serverpsk@GOTPAGE
Lloh24:
	ldr	x21, [x21, _serverpsk@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_SSL_SESSION_free
	str	xzr, [x21]
	str	xzr, [x20]
	ldr	x0, [sp, #40]
	bl	_SSL_free
	ldr	x0, [sp, #48]
	bl	_SSL_free
	ldr	x0, [sp, #56]
	bl	_SSL_CTX_free
	ldr	x0, [sp, #64]
	bl	_SSL_CTX_free
	ldur	x8, [x29, #-40]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x19
	ldp	x29, x30, [sp, #432]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #416]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #400]            ; 16-byte Folded Reload
	add	sp, sp, #448
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_test_export_key_mat_early.label:       ; @test_export_key_mat_early.label
	.asciz	"test label"

_test_export_key_mat_early.context:     ; @test_export_key_mat_early.context
	.asciz	"context"

	.comm	_SSL_READ_EARLY_DATA_ERROR,4,2  ; @SSL_READ_EARLY_DATA_ERROR
	.comm	_SSL_EARLY_DATA_ACCEPTED,4,2    ; @SSL_EARLY_DATA_ACCEPTED
	.comm	_clientpsk,8,3                  ; @clientpsk
	.comm	_serverpsk,8,3                  ; @serverpsk
	.no_dead_strip	_test_export_key_mat_early
.subsections_via_symbols
