	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls13_export_keying_material_early ## -- Begin function tls13_export_keying_material_early
	.p2align	4, 0x90
_tls13_export_keying_material_early:    ## @tls13_export_keying_material_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_ossl_statem_export_early_allowed
	testl	%eax, %eax
	je	LBB0_14
## %bb.2:
	cmpl	$0, 32(%r12)
	je	LBB0_3
LBB0_6:
	leaq	16(%r12), %rax
LBB0_7:
	movq	(%rax), %rdi
	callq	_SSL_SESSION_get0_cipher
	movl	(%rax), %edi
	callq	_ssl_md
	movq	%rax, %r13
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_EVP_DigestInit_ex
	testq	%rax, %rax
	jle	LBB0_14
## %bb.8:
	movq	16(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_EVP_DigestUpdate
	testq	%rax, %rax
	jle	LBB0_14
## %bb.9:
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_EVP_DigestFinal_ex
	testq	%rax, %rax
	jle	LBB0_14
## %bb.10:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_EVP_DigestInit_ex
	testq	%rax, %rax
	jle	LBB0_14
## %bb.11:
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_EVP_DigestFinal_ex
	testq	%rax, %rax
	jle	LBB0_14
## %bb.12:
	movq	8(%r12), %rdx
	movl	-56(%rbp), %r10d
	movl	-52(%rbp), %eax
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	-104(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movq	%r15, %r9
	pushq	$0
	pushq	%rax
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	callq	_tls13_hkdf_expand
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	-52(%rbp), %eax
	leaq	_tls13_export_keying_material_early.exporterlabel(%rip), %rcx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	$8, %r8d
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	pushq	$0
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	callq	_tls13_hkdf_expand
	addq	$32, %rsp
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
LBB0_14:
	movq	%rbx, %rdi
	callq	_EVP_MD_CTX_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	cmpq	$0, (%r12)
	jle	LBB0_6
## %bb.4:
	movq	16(%r12), %rax
	cmpq	$0, (%rax)
	jne	LBB0_6
## %bb.5:
	leaq	24(%r12), %rax
	jmp	LBB0_7
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_tls13_export_keying_material_early.exporterlabel: ## @tls13_export_keying_material_early.exporterlabel
	.asciz	"exporter"

	.comm	_EVP_MAX_MD_SIZE,4,2            ## @EVP_MAX_MD_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls13_export_keying_material_early ; -- Begin function tls13_export_keying_material_early
	.p2align	2
_tls13_export_keying_material_early:    ; @tls13_export_keying_material_early
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x28, x6
	mov	x20, x5
	mov	x24, x4
	mov	x26, x3
	stur	x2, [x29, #-104]                ; 8-byte Folded Spill
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x1fffffff0
	sub	x23, x9, x12
	mov	sp, x23
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x25, x9, x12
	mov	sp, x25
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x27, x8, x12
	mov	sp, x27
	bl	_EVP_MD_CTX_new
	mov	x19, x0
	cbz	x0, LBB0_11
; %bb.1:
	mov	x0, x21
	bl	_ossl_statem_export_early_allowed
	cbz	w0, LBB0_11
; %bb.2:
	ldr	w8, [x21, #32]
	stur	x22, [x29, #-112]               ; 8-byte Folded Spill
	cbz	w8, LBB0_14
LBB0_3:
	add	x8, x21, #16
LBB0_4:
	ldr	x0, [x8]
	bl	_SSL_SESSION_get0_cipher
	ldr	w0, [x0]
	bl	_ssl_md
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, #0
	bl	_EVP_DigestInit_ex
	cmp	x0, #1
	b.lt	LBB0_11
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x28
	bl	_EVP_DigestUpdate
	cmp	x0, #1
	b.lt	LBB0_11
; %bb.6:
	sub	x2, x29, #92
	mov	x0, x19
	mov	x1, x25
	bl	_EVP_DigestFinal_ex
	cmp	x0, #1
	b.lt	LBB0_11
; %bb.7:
	mov	x0, x19
	mov	x1, x22
	mov	x2, #0
	bl	_EVP_DigestInit_ex
	cmp	x0, #1
	b.lt	LBB0_11
; %bb.8:
	sub	x2, x29, #96
	mov	x0, x19
	mov	x1, x27
	bl	_EVP_DigestFinal_ex
	cmp	x0, #1
	b.lt	LBB0_11
; %bb.9:
	ldr	x2, [x21, #8]
	ldp	w6, w8, [x29, #-96]
	sub	sp, sp, #16
	str	wzr, [sp, #8]
	str	x8, [sp]
	mov	x0, x21
	mov	x1, x22
	mov	x3, x26
	mov	x4, x24
	mov	x5, x27
	mov	x7, x23
	bl	_tls13_hkdf_expand
	add	sp, sp, #16
	cbz	w0, LBB0_11
; %bb.10:
	ldur	w6, [x29, #-92]
	sub	sp, sp, #16
	str	wzr, [sp, #8]
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	str	x8, [sp]
Lloh12:
	adrp	x3, _tls13_export_keying_material_early.exporterlabel@PAGE
Lloh13:
	add	x3, x3, _tls13_export_keying_material_early.exporterlabel@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	w4, #8
	mov	x5, x25
	ldur	x7, [x29, #-112]                ; 8-byte Folded Reload
	bl	_tls13_hkdf_expand
	add	sp, sp, #16
	cmp	w0, #0
	cset	w20, ne
	b	LBB0_12
LBB0_11:
	mov	w20, #0
LBB0_12:
	mov	x0, x19
	bl	_EVP_MD_CTX_free
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.13:
	mov	x0, x20
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	ldr	x8, [x21]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.15:
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
; %bb.16:
	add	x8, x21, #24
	b	LBB0_4
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_tls13_export_keying_material_early.exporterlabel: ; @tls13_export_keying_material_early.exporterlabel
	.asciz	"exporter"

	.comm	_EVP_MAX_MD_SIZE,4,2            ; @EVP_MAX_MD_SIZE
.subsections_via_symbols
