	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generate_resumption_token
_generate_resumption_token:             ## @generate_resumption_token
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	leaq	-28(%rbp), %rdi
	callq	_quic_get_address_token_encryptor
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_ptls_buffer_reserve
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-28(%rbp), %eax
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	leaq	1(%rcx), %rsi
	movq	%rsi, (%rbx)
	movl	%eax, (%rdx,%rcx,4)
	movq	_ptls_openssl_random_bytes@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%r14, %r8
	callq	_quicly_encrypt_address_token
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ptls_openssl_random_bytes,4,2  ## @ptls_openssl_random_bytes
	.no_dead_strip	_generate_resumption_token
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generate_resumption_token
_generate_resumption_token:             ; @generate_resumption_token
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x20, x2
	add	x0, sp, #12
	bl	_quic_get_address_token_encryptor
	mov	x21, x0
	mov	x0, x20
	mov	w1, #1
	bl	_ptls_buffer_reserve
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w8, [sp, #12]
	ldp	x3, x9, [x20]
	add	x10, x3, #1
	str	x10, [x20]
	str	w8, [x9, x3, lsl #2]
Lloh0:
	adrp	x8, _ptls_openssl_random_bytes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ptls_openssl_random_bytes@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x21
	mov	x2, x20
	mov	x4, x19
	bl	_quicly_encrypt_address_token
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ptls_openssl_random_bytes,4,2  ; @ptls_openssl_random_bytes
	.no_dead_strip	_generate_resumption_token
.subsections_via_symbols
