	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_keyset
_init_keyset:                           ## @init_keyset
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdx, %rbx
	shrq	$32, %rbx
	movq	_PTLS_MAX_DIGEST_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_PTLS_MAX_SECRET_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_PTLS_SHA256_DIGEST_SIZE@GOTPCREL(%rip), %r12
	cmpl	%r14d, (%r12)
	jge	LBB0_2
## %bb.1:
	movq	_ptls_openssl_sha256@GOTPCREL(%rip), %rdi
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %r13
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	callq	_ptls_calc_hash
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%r13, %r15
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	callq	_ptls_iovec_init
	movq	%rax, %r14
	movq	%rax, %rbx
	shrq	$32, %rbx
LBB0_2:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 24(%r15)
	shlq	$32, %rbx
	movl	%r14d, %r14d
	orq	%rbx, %r14
	movq	_ptls_openssl_bfecb@GOTPCREL(%rip), %rdi
	movq	_ptls_openssl_aes128ecb@GOTPCREL(%rip), %rsi
	movq	_ptls_openssl_sha256@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_quicly_new_default_cid_encryptor
	movq	%rax, 16(%r15)
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	_ptls_openssl_aes128gcm@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_ptls_iovec_init
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %r10
	leaq	L_.str(%rip), %r8
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	movq	%r14, %rcx
	movq	%rax, %r9
	pushq	%r10
	movq	%r10, %r12
	callq	_ptls_hkdf_expand_label
	addq	$16, %rsp
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	_ptls_openssl_aes128gcm@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	movq	%r13, %rcx
	movq	%r12, %r8
	callq	_ptls_aead_new
	movq	%rax, 8(%r15)
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movq	%r13, %rcx
	movq	%r12, %r8
	callq	_ptls_aead_new
	movq	%rax, (%r15)
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ptls_clear_memory
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %esi
	movq	%r13, %rdi
	callq	_ptls_clear_memory
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PTLS_MAX_DIGEST_SIZE,4,2       ## @PTLS_MAX_DIGEST_SIZE
	.comm	_PTLS_MAX_SECRET_SIZE,4,2       ## @PTLS_MAX_SECRET_SIZE
	.comm	_PTLS_SHA256_DIGEST_SIZE,4,2    ## @PTLS_SHA256_DIGEST_SIZE
	.comm	_ptls_openssl_sha256,4,2        ## @ptls_openssl_sha256
	.comm	_ptls_openssl_bfecb,4,2         ## @ptls_openssl_bfecb
	.comm	_ptls_openssl_aes128ecb,4,2     ## @ptls_openssl_aes128ecb
	.comm	_ptls_openssl_aes128gcm,4,2     ## @ptls_openssl_aes128gcm
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"address-token"

L_.str.1:                               ## @.str.1
	.space	1

	.no_dead_strip	_init_keyset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_keyset
_init_keyset:                           ; @init_keyset
	.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, #16
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	lsr	x2, x2, #32
Lloh3:
	adrp	x8, _PTLS_MAX_DIGEST_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PTLS_MAX_DIGEST_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w27, [x8]
	lsl	x8, x27, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh8:
	adrp	x8, _PTLS_MAX_SECRET_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PTLS_MAX_SECRET_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w28, [x8]
	lsl	x8, x28, #2
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh13:
	adrp	x24, _PTLS_SHA256_DIGEST_SIZE@GOTPAGE
Lloh14:
	ldr	x24, [x24, _PTLS_SHA256_DIGEST_SIZE@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, w22
	b.ge	LBB0_2
; %bb.1:
Lloh15:
	adrp	x0, _ptls_openssl_sha256@GOTPAGE
Lloh16:
	ldr	x0, [x0, _ptls_openssl_sha256@GOTPAGEOFF]
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, x22
	bl	_ptls_calc_hash
	ldr	w1, [x24]
	mov	x0, x20
	bl	_ptls_iovec_init
	mov	x22, x0
	lsr	x2, x0, #32
LBB0_2:
	str	w23, [x19, #24]
	bfi	x22, x2, #32, #32
Lloh17:
	adrp	x0, _ptls_openssl_bfecb@GOTPAGE
Lloh18:
	ldr	x0, [x0, _ptls_openssl_bfecb@GOTPAGEOFF]
Lloh19:
	adrp	x1, _ptls_openssl_aes128ecb@GOTPAGE
Lloh20:
	ldr	x1, [x1, _ptls_openssl_aes128ecb@GOTPAGEOFF]
Lloh21:
	adrp	x23, _ptls_openssl_sha256@GOTPAGE
Lloh22:
	ldr	x23, [x23, _ptls_openssl_sha256@GOTPAGEOFF]
	mov	x2, x23
	mov	x3, x22
	bl	_quicly_new_default_cid_encryptor
	str	x0, [x19, #16]
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
Lloh23:
	adrp	x24, _ptls_openssl_aes128gcm@GOTPAGE
Lloh24:
	ldr	x24, [x24, _ptls_openssl_aes128gcm@GOTPAGEOFF]
	ldr	w25, [x24]
	mov	x0, #0
	mov	w1, #0
	bl	_ptls_iovec_init
	mov	x5, x0
Lloh25:
	adrp	x4, l_.str@PAGE
Lloh26:
	add	x4, x4, l_.str@PAGEOFF
Lloh27:
	adrp	x26, l_.str.1@PAGE
Lloh28:
	add	x26, x26, l_.str.1@PAGEOFF
	mov	x0, x23
	mov	x1, x21
	mov	x2, x25
	mov	x3, x22
	mov	x6, x26
	bl	_ptls_hkdf_expand_label
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	mov	x0, x24
	mov	x1, x23
	mov	w2, #1
	mov	x3, x21
	mov	x4, x26
	bl	_ptls_aead_new
	str	x0, [x19, #8]
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x24
	mov	x1, x23
	mov	w2, #0
	mov	x3, x21
	mov	x4, x26
	bl	_ptls_aead_new
	str	x0, [x19]
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	lsl	w1, w27, #2
	mov	x0, x20
	bl	_ptls_clear_memory
	lsl	w1, w28, #2
	mov	x0, x21
	bl	_ptls_clear_memory
	ldur	x8, [x29, #-88]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	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_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_PTLS_MAX_DIGEST_SIZE,4,2       ; @PTLS_MAX_DIGEST_SIZE
	.comm	_PTLS_MAX_SECRET_SIZE,4,2       ; @PTLS_MAX_SECRET_SIZE
	.comm	_PTLS_SHA256_DIGEST_SIZE,4,2    ; @PTLS_SHA256_DIGEST_SIZE
	.comm	_ptls_openssl_sha256,4,2        ; @ptls_openssl_sha256
	.comm	_ptls_openssl_bfecb,4,2         ; @ptls_openssl_bfecb
	.comm	_ptls_openssl_aes128ecb,4,2     ; @ptls_openssl_aes128ecb
	.comm	_ptls_openssl_aes128gcm,4,2     ; @ptls_openssl_aes128gcm
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"address-token"

l_.str.1:                               ; @.str.1
	.space	1

	.no_dead_strip	_init_keyset
.subsections_via_symbols
