	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_kdf_tls1_prf
_test_kdf_tls1_prf:                     ## @test_kdf_tls1_prf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	$16, -72(%rbp)
	movq	_EVP_PKEY_TLS1_PRF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_EVP_PKEY_CTX_new_id
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_EVP_PKEY_derive_init
	testq	%rax, %rax
	jle	LBB0_3
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_EVP_sha256
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_EVP_PKEY_CTX_set_tls1_prf_md
	testq	%rax, %rax
	jle	LBB0_6
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	$6, %edx
	callq	_EVP_PKEY_CTX_set1_tls1_prf_secret
	testq	%rax, %rax
	jle	LBB0_8
## %bb.9:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_EVP_PKEY_CTX_add1_tls1_prf_seed
	testq	%rax, %rax
	jle	LBB0_10
## %bb.11:
	leaq	-48(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	movq	%r14, %rdi
	callq	_EVP_PKEY_derive
	testq	%rax, %rax
	jle	LBB0_12
## %bb.13:
	movaps	L___const.test_kdf_tls1_prf.expected(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %rdx
	movl	$16, %esi
	movl	$16, %ecx
	callq	_TEST_mem_eq
	xorl	%ebx, %ebx
	testl	%eax, %eax
	setne	%bl
	jmp	LBB0_14
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_TEST_error
	jmp	LBB0_14
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_4
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	callq	_TEST_error
	jmp	LBB0_14
LBB0_8:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_4
LBB0_10:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_4
LBB0_12:
	leaq	L_.str.7(%rip), %rdi
LBB0_4:
	callq	_TEST_error
	xorl	%ebx, %ebx
LBB0_14:
	movq	%r14, %rdi
	callq	_EVP_PKEY_CTX_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movl	%ebx, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_PKEY_TLS1_PRF,4,2          ## @EVP_PKEY_TLS1_PRF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EVP_PKEY_TLS1_PRF"

L_.str.1:                               ## @.str.1
	.asciz	"EVP_PKEY_derive_init"

L_.str.2:                               ## @.str.2
	.asciz	"EVP_PKEY_CTX_set_tls1_prf_md"

L_.str.3:                               ## @.str.3
	.asciz	"secret"

L_.str.4:                               ## @.str.4
	.asciz	"EVP_PKEY_CTX_set1_tls1_prf_secret"

L_.str.5:                               ## @.str.5
	.asciz	"seed"

L_.str.6:                               ## @.str.6
	.asciz	"EVP_PKEY_CTX_add1_tls1_prf_seed"

L_.str.7:                               ## @.str.7
	.asciz	"EVP_PKEY_derive"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @__const.test_kdf_tls1_prf.expected
L___const.test_kdf_tls1_prf.expected:
	.ascii	"\216M\223%0\327e\240\252\351t\303\004s^\314"

	.no_dead_strip	_test_kdf_tls1_prf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_kdf_tls1_prf
_test_kdf_tls1_prf:                     ; @test_kdf_tls1_prf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	mov	w8, #16
	str	x8, [sp, #8]
Lloh3:
	adrp	x8, _EVP_PKEY_TLS1_PRF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_PKEY_TLS1_PRF@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_EVP_PKEY_CTX_new_id
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.1:
	mov	x0, x19
	bl	_EVP_PKEY_derive_init
	cmp	x0, #0
	b.le	LBB0_8
; %bb.2:
	bl	_EVP_sha256
	mov	x1, x0
	mov	x0, x19
	bl	_EVP_PKEY_CTX_set_tls1_prf_md
	cmp	x0, #0
	b.le	LBB0_9
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #6
	bl	_EVP_PKEY_CTX_set1_tls1_prf_secret
	cmp	x0, #0
	b.le	LBB0_10
; %bb.4:
Lloh8:
	adrp	x1, l_.str.5@PAGE
Lloh9:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w2, #4
	bl	_EVP_PKEY_CTX_add1_tls1_prf_seed
	cmp	x0, #0
	b.le	LBB0_11
; %bb.5:
	add	x1, sp, #40
	add	x2, sp, #8
	mov	x0, x19
	bl	_EVP_PKEY_derive
	cmp	x0, #0
	b.le	LBB0_12
; %bb.6:
Lloh10:
	adrp	x8, l___const.test_kdf_tls1_prf.expected@PAGE
Lloh11:
	add	x8, x8, l___const.test_kdf_tls1_prf.expected@PAGEOFF
Lloh12:
	ldr	q0, [x8]
	str	q0, [sp, #16]
	add	x0, sp, #40
	add	x2, sp, #16
	mov	w1, #16
	mov	w3, #16
	bl	_TEST_mem_eq
	cmp	w0, #0
	cset	w20, ne
	b	LBB0_14
LBB0_7:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_13
LBB0_8:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_9:
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_10:
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_13
LBB0_11:
Lloh21:
	adrp	x0, l_.str.6@PAGE
Lloh22:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh23:
	adrp	x0, l_.str.7@PAGE
Lloh24:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_13:
	bl	_TEST_error
	mov	w20, #0
LBB0_14:
	mov	x0, x19
	bl	_EVP_PKEY_CTX_free
	ldur	x8, [x29, #-24]
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_16
; %bb.15:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAddLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_PKEY_TLS1_PRF,4,2          ; @EVP_PKEY_TLS1_PRF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EVP_PKEY_TLS1_PRF"

l_.str.1:                               ; @.str.1
	.asciz	"EVP_PKEY_derive_init"

l_.str.2:                               ; @.str.2
	.asciz	"EVP_PKEY_CTX_set_tls1_prf_md"

l_.str.3:                               ; @.str.3
	.asciz	"secret"

l_.str.4:                               ; @.str.4
	.asciz	"EVP_PKEY_CTX_set1_tls1_prf_secret"

l_.str.5:                               ; @.str.5
	.asciz	"seed"

l_.str.6:                               ; @.str.6
	.asciz	"EVP_PKEY_CTX_add1_tls1_prf_seed"

l_.str.7:                               ; @.str.7
	.asciz	"EVP_PKEY_derive"

	.section	__TEXT,__literal16,16byte_literals
l___const.test_kdf_tls1_prf.expected:   ; @__const.test_kdf_tls1_prf.expected
	.ascii	"\216M\223%0\327e\240\252\351t\303\004s^\314"

	.no_dead_strip	_test_kdf_tls1_prf
.subsections_via_symbols
