	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls1_export_keying_material    ## -- Begin function tls1_export_keying_material
	.p2align	4, 0x90
_tls1_export_keying_material:           ## @tls1_export_keying_material
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, %r13
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	16(%rbp), %rcx
	movq	_SSL3_RANDOM_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$2, %rcx
	xorl	%r14d, %r14d
	cmpl	$0, 24(%rbp)
	movl	$0, %edx
	cmovneq	%rcx, %rdx
	addq	%r8, %rdx
	leaq	(%rdx,%rax,2), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_OPENSSL_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_memcpy
	leaq	(%r15,%r12), %rdi
	movq	8(%rbx), %rsi
	movq	_SSL3_RANDOM_SIZE@GOTPCREL(%rip), %r13
	movslq	(%r13), %rdx
	callq	_memcpy
	movslq	(%r13), %rdx
	addq	%rdx, %r12
	leaq	(%r15,%r12), %rdi
	movq	16(%rbx), %rsi
	callq	_memcpy
	cmpl	$0, 24(%rbp)
	movq	16(%rbp), %rdx
	je	LBB0_5
## %bb.2:
	movslq	(%r13), %rax
	addq	%rax, %r12
	movl	%edx, %eax
	rolw	$8, %ax
	movw	%ax, (%r15,%r12)
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_4
## %bb.3:
	testq	%rdx, %rdx
	je	LBB0_5
LBB0_4:
	leaq	(%r12,%r15), %rdi
	addq	$2, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
LBB0_5:
	movq	_TLS_MD_CLIENT_FINISH_CONST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_MD_CLIENT_FINISH_CONST_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	_TLS_MD_SERVER_FINISH_CONST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_MD_SERVER_FINISH_CONST_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	_TLS_MD_MASTER_SECRET_CONST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_MD_MASTER_SECRET_CONST_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	_TLS_MD_EXTENDED_MASTER_SECRET_CONST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_MD_EXTENDED_MASTER_SECRET_CONST_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	_TLS_MD_KEY_EXPANSION_CONST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_MD_KEY_EXPANSION_CONST_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	(%rbx), %rax
	movl	(%rax), %r10d
	movl	4(%rax), %eax
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	pushq	%rax
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_tls1_PRF
	addq	$80, %rsp
	movl	%eax, %r14d
	jmp	LBB0_14
LBB0_11:
	movq	_SSL_F_TLS1_EXPORT_KEYING_MATERIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SSL_R_TLS_ILLEGAL_EXPORTER_LABEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
	xorl	%r14d, %r14d
	jmp	LBB0_13
LBB0_12:
	movq	_SSL_F_TLS1_EXPORT_KEYING_MATERIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
LBB0_13:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_14:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_OPENSSL_clear_free
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL3_RANDOM_SIZE,4,2           ## @SSL3_RANDOM_SIZE
	.comm	_TLS_MD_CLIENT_FINISH_CONST,4,2 ## @TLS_MD_CLIENT_FINISH_CONST
	.comm	_TLS_MD_CLIENT_FINISH_CONST_SIZE,4,2 ## @TLS_MD_CLIENT_FINISH_CONST_SIZE
	.comm	_TLS_MD_SERVER_FINISH_CONST,4,2 ## @TLS_MD_SERVER_FINISH_CONST
	.comm	_TLS_MD_SERVER_FINISH_CONST_SIZE,4,2 ## @TLS_MD_SERVER_FINISH_CONST_SIZE
	.comm	_TLS_MD_MASTER_SECRET_CONST,4,2 ## @TLS_MD_MASTER_SECRET_CONST
	.comm	_TLS_MD_MASTER_SECRET_CONST_SIZE,4,2 ## @TLS_MD_MASTER_SECRET_CONST_SIZE
	.comm	_TLS_MD_EXTENDED_MASTER_SECRET_CONST,4,2 ## @TLS_MD_EXTENDED_MASTER_SECRET_CONST
	.comm	_TLS_MD_EXTENDED_MASTER_SECRET_CONST_SIZE,4,2 ## @TLS_MD_EXTENDED_MASTER_SECRET_CONST_SIZE
	.comm	_TLS_MD_KEY_EXPANSION_CONST,4,2 ## @TLS_MD_KEY_EXPANSION_CONST
	.comm	_TLS_MD_KEY_EXPANSION_CONST_SIZE,4,2 ## @TLS_MD_KEY_EXPANSION_CONST_SIZE
	.comm	_SSL_F_TLS1_EXPORT_KEYING_MATERIAL,4,2 ## @SSL_F_TLS1_EXPORT_KEYING_MATERIAL
	.comm	_SSL_R_TLS_ILLEGAL_EXPORTER_LABEL,4,2 ## @SSL_R_TLS_ILLEGAL_EXPORTER_LABEL
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls1_export_keying_material    ; -- Begin function tls1_export_keying_material
	.p2align	2
_tls1_export_keying_material:           ; @tls1_export_keying_material
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x26, x7
	mov	x24, x6
	mov	x25, x5
	mov	x27, x4
	mov	x28, x3
	mov	x23, x2
	str	x1, [sp, #56]                   ; 8-byte Folded Spill
	mov	x21, x0
Lloh0:
	adrp	x22, _SSL3_RANDOM_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SSL3_RANDOM_SIZE@GOTPAGEOFF]
	ldrsw	x8, [x22]
	add	x9, x6, #2
	cmp	w7, #0
	csel	x9, xzr, x9, eq
	add	x9, x9, x4
	add	x19, x9, x8, lsl #1
	mov	x0, x19
	bl	_OPENSSL_malloc
	mov	x20, x0
	cbz	x0, LBB0_12
; %bb.1:
	mov	x0, x20
	mov	x1, x28
	mov	x2, x27
	bl	_memcpy
	add	x0, x20, x27
	ldr	x1, [x21, #8]
	ldrsw	x2, [x22]
	bl	_memcpy
	ldrsw	x2, [x22]
	add	x27, x2, x27
	add	x0, x20, x27
	ldr	x1, [x21, #16]
	bl	_memcpy
	cbz	w26, LBB0_5
; %bb.2:
	ldrsw	x8, [x22]
	add	x8, x27, x8
	rev	w9, w24
	lsr	w9, w9, #16
	strh	w9, [x20, x8]
	cbnz	x25, LBB0_4
; %bb.3:
	cbz	x24, LBB0_5
LBB0_4:
	add	x8, x8, x20
	add	x0, x8, #2
	mov	x1, x25
	mov	x2, x24
	bl	_memcpy
LBB0_5:
Lloh2:
	adrp	x8, _TLS_MD_CLIENT_FINISH_CONST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TLS_MD_CLIENT_FINISH_CONST@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _TLS_MD_CLIENT_FINISH_CONST_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TLS_MD_CLIENT_FINISH_CONST_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_memcmp
	cbz	x0, LBB0_11
; %bb.6:
Lloh8:
	adrp	x8, _TLS_MD_SERVER_FINISH_CONST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TLS_MD_SERVER_FINISH_CONST@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _TLS_MD_SERVER_FINISH_CONST_SIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TLS_MD_SERVER_FINISH_CONST_SIZE@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_memcmp
	cbz	x0, LBB0_11
; %bb.7:
Lloh14:
	adrp	x8, _TLS_MD_MASTER_SECRET_CONST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TLS_MD_MASTER_SECRET_CONST@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _TLS_MD_MASTER_SECRET_CONST_SIZE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TLS_MD_MASTER_SECRET_CONST_SIZE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_memcmp
	cbz	x0, LBB0_11
; %bb.8:
Lloh20:
	adrp	x8, _TLS_MD_EXTENDED_MASTER_SECRET_CONST@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TLS_MD_EXTENDED_MASTER_SECRET_CONST@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _TLS_MD_EXTENDED_MASTER_SECRET_CONST_SIZE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TLS_MD_EXTENDED_MASTER_SECRET_CONST_SIZE@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_memcmp
	cbz	x0, LBB0_11
; %bb.9:
Lloh26:
	adrp	x8, _TLS_MD_KEY_EXPANSION_CONST@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TLS_MD_KEY_EXPANSION_CONST@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x8, _TLS_MD_KEY_EXPANSION_CONST_SIZE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _TLS_MD_KEY_EXPANSION_CONST_SIZE@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_memcmp
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x8, [x21]
	ldp	w8, w9, [x8]
	str	wzr, [sp, #48]
	ldr	x10, [sp, #56]                  ; 8-byte Folded Reload
	stp	x10, x23, [sp, #32]
	stp	w9, w8, [sp, #20]
	str	wzr, [sp, #16]
	str	xzr, [sp, #8]
	str	wzr, [sp]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, #0
	mov	w4, #0
	mov	x5, #0
	mov	w6, #0
	mov	x7, #0
	bl	_tls1_PRF
	mov	x21, x0
	b	LBB0_14
LBB0_11:
Lloh32:
	adrp	x8, _SSL_F_TLS1_EXPORT_KEYING_MATERIAL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SSL_F_TLS1_EXPORT_KEYING_MATERIAL@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x8, _SSL_R_TLS_ILLEGAL_EXPORTER_LABEL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SSL_R_TLS_ILLEGAL_EXPORTER_LABEL@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh37:
	adrp	x8, _SSL_F_TLS1_EXPORT_KEYING_MATERIAL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SSL_F_TLS1_EXPORT_KEYING_MATERIAL@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
LBB0_13:
	ldr	w1, [x8]
	bl	_SSLerr
	mov	w21, #0
LBB0_14:
	mov	x0, x20
	mov	x1, x19
	bl	_OPENSSL_clear_free
	mov	x0, x21
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL3_RANDOM_SIZE,4,2           ; @SSL3_RANDOM_SIZE
	.comm	_TLS_MD_CLIENT_FINISH_CONST,4,2 ; @TLS_MD_CLIENT_FINISH_CONST
	.comm	_TLS_MD_CLIENT_FINISH_CONST_SIZE,4,2 ; @TLS_MD_CLIENT_FINISH_CONST_SIZE
	.comm	_TLS_MD_SERVER_FINISH_CONST,4,2 ; @TLS_MD_SERVER_FINISH_CONST
	.comm	_TLS_MD_SERVER_FINISH_CONST_SIZE,4,2 ; @TLS_MD_SERVER_FINISH_CONST_SIZE
	.comm	_TLS_MD_MASTER_SECRET_CONST,4,2 ; @TLS_MD_MASTER_SECRET_CONST
	.comm	_TLS_MD_MASTER_SECRET_CONST_SIZE,4,2 ; @TLS_MD_MASTER_SECRET_CONST_SIZE
	.comm	_TLS_MD_EXTENDED_MASTER_SECRET_CONST,4,2 ; @TLS_MD_EXTENDED_MASTER_SECRET_CONST
	.comm	_TLS_MD_EXTENDED_MASTER_SECRET_CONST_SIZE,4,2 ; @TLS_MD_EXTENDED_MASTER_SECRET_CONST_SIZE
	.comm	_TLS_MD_KEY_EXPANSION_CONST,4,2 ; @TLS_MD_KEY_EXPANSION_CONST
	.comm	_TLS_MD_KEY_EXPANSION_CONST_SIZE,4,2 ; @TLS_MD_KEY_EXPANSION_CONST_SIZE
	.comm	_SSL_F_TLS1_EXPORT_KEYING_MATERIAL,4,2 ; @SSL_F_TLS1_EXPORT_KEYING_MATERIAL
	.comm	_SSL_R_TLS_ILLEGAL_EXPORTER_LABEL,4,2 ; @SSL_R_TLS_ILLEGAL_EXPORTER_LABEL
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
