	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_hkdf
_test_hkdf:                             ## @test_hkdf
	.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	%r12
	pushq	%rbx
	subq	$112, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PTLS_CIPHER_SUITE_AES_128_GCM_SHA256@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_find_cipher
	movq	%rsp, %r12
	movq	(%rax), %r14
	movabsq	$3389837449627398, %rax         ## imm = 0xC0B0A09080706
	movq	%rax, -50(%rbp)
	movabsq	$506097522914230528, %rax       ## imm = 0x706050403020100
	movq	%rax, -56(%rbp)
	movaps	L___const.test_hkdf.ikm(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movabsq	$3108366801636107, %rax         ## imm = 0xB0B0B0B0B0B0B
	movq	%rax, -65(%rbp)
	movabsq	$-579005069656919568, %rax      ## imm = 0xF7F6F5F4F3F2F1F0
	movq	%rax, -96(%rbp)
	movl	$16382199, -89(%rbp)            ## imm = 0xF9F8F7
	movq	_PTLS_MAX_DIGEST_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	leaq	-56(%rbp), %rdi
	movl	$13, %esi
	callq	_ptls_iovec_init
	movl	%eax, %r15d
	leaq	-80(%rbp), %rdi
	movl	$22, %esi
	callq	_ptls_iovec_init
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_ptls_hkdf_extract
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$32, %edx
	callq	_memcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ok
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_ptls_iovec_init
	movl	%eax, %ebx
	leaq	-96(%rbp), %rdi
	movl	$10, %esi
	callq	_ptls_iovec_init
	leaq	-144(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$42, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_ptls_hkdf_expand
	leaq	l_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	$42, %edx
	callq	_memcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ok
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ctx,4,2                        ## @ctx
	.comm	_PTLS_CIPHER_SUITE_AES_128_GCM_SHA256,4,2 ## @PTLS_CIPHER_SUITE_AES_128_GCM_SHA256
	.section	__TEXT,__const
l___const.test_hkdf.salt:               ## @__const.test_hkdf.salt
	.asciz	"\000\001\002\003\004\005\006\007\b\t\n\013\f"

	.section	__TEXT,__cstring,cstring_literals
	.p2align	4                               ## @__const.test_hkdf.ikm
L___const.test_hkdf.ikm:
	.asciz	"\013\013\013\013\013\013\013\013\013\013\013\013\013\013\013\013\013\013\013\013\013\013"

L___const.test_hkdf.info:               ## @__const.test_hkdf.info
	.asciz	"\360\361\362\363\364\365\366\367\370\371"

	.comm	_PTLS_MAX_DIGEST_SIZE,4,2       ## @PTLS_MAX_DIGEST_SIZE
L_.str:                                 ## @.str
	.asciz	"\007w\t6,.2\337\r\334?\r\304{\272c\220\266\307;\265\017\2341\"\354\204J\327\302\263\345"

	.section	__TEXT,__const
l_.str.1:                               ## @.str.1
	.asciz	"<\262_%\372\254\325z\220COd\3206/*--\n\220\317\032ZL]\260-V\354\304\305\2774\000r\b\325\270\207\030Xe"

	.no_dead_strip	_test_hkdf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_hkdf
_test_hkdf:                             ; @test_hkdf
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #112
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _ctx@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ctx@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _PTLS_CIPHER_SUITE_AES_128_GCM_SHA256@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PTLS_CIPHER_SUITE_AES_128_GCM_SHA256@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_find_cipher
	mov	x22, sp
	ldr	x19, [x0]
Lloh9:
	adrp	x8, l___const.test_hkdf.salt@PAGE
Lloh10:
	add	x8, x8, l___const.test_hkdf.salt@PAGEOFF
	ldr	x9, [x8]
	stur	x9, [x29, #-56]
	ldur	x8, [x8, #6]
	stur	x8, [x29, #-50]
Lloh11:
	adrp	x8, l___const.test_hkdf.ikm@PAGE
Lloh12:
	add	x8, x8, l___const.test_hkdf.ikm@PAGEOFF
	ldr	q0, [x8]
	stur	q0, [x29, #-80]
	ldur	x8, [x8, #15]
	stur	x8, [x29, #-65]
Lloh13:
	adrp	x8, l___const.test_hkdf.info@PAGE
Lloh14:
	add	x8, x8, l___const.test_hkdf.info@PAGEOFF
Lloh15:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	mov	w8, #63735
	movk	w8, #249, lsl #16
	stur	w8, [x29, #-89]
Lloh16:
	adrp	x8, _PTLS_MAX_DIGEST_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PTLS_MAX_DIGEST_SIZE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	mov	x9, x8
Lloh19:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh20:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	sub	x0, x29, #56
	mov	w1, #13
	bl	_ptls_iovec_init
	mov	x21, x0
	sub	x0, x29, #80
	mov	w1, #22
	bl	_ptls_iovec_init
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_ptls_hkdf_extract
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	w2, #32
	bl	_memcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_ok
	ldr	w1, [x19]
	mov	x0, x20
	bl	_ptls_iovec_init
	mov	x20, x0
	sub	x0, x29, #96
	mov	w1, #10
	bl	_ptls_iovec_init
	mov	x4, x0
	sub	x1, x29, #138
	mov	x0, x19
	mov	w2, #42
	mov	x3, x20
	bl	_ptls_hkdf_expand
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	sub	x0, x29, #138
	mov	w2, #42
	bl	_memcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_ok
	mov	sp, x22
	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_2
; %bb.1:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAddLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ctx,4,2                        ; @ctx
	.comm	_PTLS_CIPHER_SUITE_AES_128_GCM_SHA256,4,2 ; @PTLS_CIPHER_SUITE_AES_128_GCM_SHA256
	.section	__TEXT,__const
l___const.test_hkdf.salt:               ; @__const.test_hkdf.salt
	.asciz	"\000\001\002\003\004\005\006\007\b\t\n\013\f"

	.section	__TEXT,__cstring,cstring_literals
l___const.test_hkdf.ikm:                ; @__const.test_hkdf.ikm
	.asciz	"\013\013\013\013\013\013\013\013\013\013\013\013\013\013\013\013\013\013\013\013\013\013"

l___const.test_hkdf.info:               ; @__const.test_hkdf.info
	.asciz	"\360\361\362\363\364\365\366\367\370\371"

	.comm	_PTLS_MAX_DIGEST_SIZE,4,2       ; @PTLS_MAX_DIGEST_SIZE
l_.str:                                 ; @.str
	.asciz	"\007w\t6,.2\337\r\334?\r\304{\272c\220\266\307;\265\017\2341\"\354\204J\327\302\263\345"

	.section	__TEXT,__const
l_.str.1:                               ; @.str.1
	.asciz	"<\262_%\372\254\325z\220COd\3206/*--\n\220\317\032ZL]\260-V\354\304\305\2774\000r\b\325\270\207\030Xe"

	.no_dead_strip	_test_hkdf
.subsections_via_symbols
