	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_secret
_test_secret:                           ## @test_secret
	.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
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	%rsp, -120(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	(%rbx), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_KEYLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	_IVLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_ssl_handshake_md
	movq	%rax, %rbx
	leaq	-56(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_ssl_handshake_hash
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	-56(%rbp), %rax
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	-112(%rbp), %r8                 ## 8-byte Reload
	movq	%r14, %r9
	pushq	$1
	pushq	%rax
	pushq	%r13
	pushq	%rax
	callq	_tls13_hkdf_expand
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%r13, %r14
	movl	-56(%rbp), %ecx
	movq	%r13, %rdi
	movl	%ecx, %esi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_TEST_mem_eq
	xorl	%r13d, %r13d
	testl	%eax, %eax
	je	LBB0_12
## %bb.6:
	movq	_KEYLEN@GOTPCREL(%rip), %r15
	movl	(%r15), %r8d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_tls13_derive_key
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	_KEYLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ecx, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_TEST_mem_eq
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:
	movq	_IVLEN@GOTPCREL(%rip), %r15
	movl	(%r15), %r8d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_tls13_derive_iv
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movq	16(%rbp), %rdx
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %esi
	callq	_TEST_mem_eq
	xorl	%r13d, %r13d
	testl	%eax, %eax
	setne	%r13b
	jmp	LBB0_12
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	callq	_TEST_error
	xorl	%r13d, %r13d
LBB0_12:
	movq	-120(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r13d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	callq	_TEST_error
	jmp	LBB0_12
LBB0_10:
	leaq	L_.str.3(%rip), %rdi
	callq	_TEST_error
	jmp	LBB0_12
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ## @EVP_MAX_MD_SIZE
	.comm	_KEYLEN,4,2                     ## @KEYLEN
	.comm	_IVLEN,4,2                      ## @IVLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get hash"

L_.str.1:                               ## @.str.1
	.asciz	"Secret generation failed"

L_.str.2:                               ## @.str.2
	.asciz	"Key generation failed"

L_.str.3:                               ## @.str.3
	.asciz	"IV generation failed"

	.no_dead_strip	_test_secret
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_secret
_test_secret:                           ; @test_secret
	.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, #48
	stp	x6, x5, [x29, #-128]            ; 16-byte Folded Spill
	mov	x25, x3
	mov	x26, x2
	mov	x27, x1
	mov	x20, x0
	mov	x8, sp
	stp	x4, x8, [x29, #-112]            ; 16-byte Folded Spill
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	x12, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh4:
	ldr	x12, [x12, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
	ldr	w8, [x12]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	w23, [x12]
	mov	x9, x23
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
Lloh9:
	adrp	x8, _KEYLEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KEYLEN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	mov	x9, x8
Lloh12:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh13:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x28, x9, x8
	mov	sp, x28
Lloh14:
	adrp	x8, _IVLEN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IVLEN@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	mov	x9, x8
Lloh17:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh18:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	bl	_ssl_handshake_md
	mov	x19, x0
	sub	x3, x29, #96
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	bl	_ssl_handshake_hash
	cbz	w0, LBB0_7
; %bb.1:
	ldur	x6, [x29, #-96]
	sub	sp, sp, #16
	mov	w8, #1
	str	w8, [sp, #8]
	str	x6, [sp]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x27
	mov	x3, x26
	mov	x4, x25
	mov	x5, x21
	mov	x7, x22
	bl	_tls13_hkdf_expand
	add	sp, sp, #16
	cbz	w0, LBB0_8
; %bb.2:
	ldur	w1, [x29, #-96]
	mov	x0, x22
	ldur	x2, [x29, #-112]                ; 8-byte Folded Reload
	mov	x3, x1
	bl	_TEST_mem_eq
	cbz	w0, LBB0_12
; %bb.3:
Lloh19:
	adrp	x21, _KEYLEN@GOTPAGE
Lloh20:
	ldr	x21, [x21, _KEYLEN@GOTPAGEOFF]
	ldr	w4, [x21]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x28
	bl	_tls13_derive_key
	cbz	w0, LBB0_9
; %bb.4:
	ldr	w1, [x21]
	mov	x0, x28
	ldur	x2, [x29, #-120]                ; 8-byte Folded Reload
	mov	x3, x1
	bl	_TEST_mem_eq
	cbz	w0, LBB0_12
; %bb.5:
Lloh21:
	adrp	x21, _IVLEN@GOTPAGE
Lloh22:
	ldr	x21, [x21, _IVLEN@GOTPAGEOFF]
	ldr	w4, [x21]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x24
	bl	_tls13_derive_iv
	cbz	w0, LBB0_10
; %bb.6:
	ldr	w1, [x21]
	mov	x0, x24
	ldur	x2, [x29, #-128]                ; 8-byte Folded Reload
	mov	x3, x1
	bl	_TEST_mem_eq
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_12
LBB0_7:
Lloh23:
	adrp	x0, l_.str@PAGE
Lloh24:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_11
LBB0_8:
Lloh25:
	adrp	x0, l_.str.1@PAGE
Lloh26:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh27:
	adrp	x0, l_.str.2@PAGE
Lloh28:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh29:
	adrp	x0, l_.str.3@PAGE
Lloh30:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_11:
	bl	_TEST_error
	mov	w0, #0
LBB0_12:
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-88]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	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:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ; @EVP_MAX_MD_SIZE
	.comm	_KEYLEN,4,2                     ; @KEYLEN
	.comm	_IVLEN,4,2                      ; @IVLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get hash"

l_.str.1:                               ; @.str.1
	.asciz	"Secret generation failed"

l_.str.2:                               ; @.str.2
	.asciz	"Key generation failed"

l_.str.3:                               ; @.str.3
	.asciz	"IV generation failed"

	.no_dead_strip	_test_secret
.subsections_via_symbols
