	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function default_encrypt_cid
_default_encrypt_cid:                   ## @default_encrypt_cid
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-112(%rbp), %r12
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movq	%r12, %rdi
	cmpl	$8, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$16, %eax
	jne	LBB0_3
## %bb.2:
	movl	12(%rbx), %esi
	leaq	-112(%rbp), %rdi
	callq	_quicly_encode64
	movq	%rax, %rdi
	jmp	LBB0_4
LBB0_3:
	xorl	%edi, %edi
	callq	_assert
	movq	%r12, %rdi
LBB0_4:
	movl	(%rbx), %esi
	callq	_quicly_encode32
	movl	4(%rbx), %esi
	shll	$8, %esi
	orl	8(%rbx), %esi
	movq	%rax, %rdi
	callq	_quicly_encode32
	subq	%r12, %rax
	sarq	$2, %rax
	movq	(%r13), %rcx
	movq	(%rcx), %rcx
	movslq	(%rcx), %rcx
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	sete	%dil
	callq	_assert
	movq	(%r13), %rdi
	movl	4(%r15), %esi
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdx
	callq	_ptls_cipher_encrypt
	movq	(%r13), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	movl	4(%r15), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_generate_reset_token
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_default_encrypt_cid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function default_encrypt_cid
_default_encrypt_cid:                   ; @default_encrypt_cid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	add	x24, sp, #8
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w8, #8
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #16
	b.ne	LBB0_4
; %bb.2:
	ldr	w1, [x22, #12]
	add	x0, sp, #8
	bl	_quicly_encode64
	mov	x23, x0
	b	LBB0_5
LBB0_3:
	add	x23, sp, #8
	b	LBB0_5
LBB0_4:
	add	x23, sp, #8
	mov	w0, #0
	bl	_assert
LBB0_5:
	ldr	w1, [x22]
	mov	x0, x23
	bl	_quicly_encode32
	ldp	w8, w9, [x22, #4]
	orr	w1, w9, w8, lsl #8
	bl	_quicly_encode32
	sub	x8, x0, x24
	ldr	x9, [x20]
	ldr	x9, [x9]
	ldrsw	x9, [x9]
	cmp	x9, x8, asr #2
	cset	w0, eq
	bl	_assert
	ldr	x0, [x20]
	ldr	w1, [x21, #4]
	ldr	x8, [x0]
	ldr	w3, [x8]
	add	x2, sp, #8
	bl	_ptls_cipher_encrypt
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x21]
	cbz	x19, LBB0_7
; %bb.6:
	ldr	w2, [x21, #4]
	mov	x0, x20
	mov	x1, x19
	bl	_generate_reset_token
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_default_encrypt_cid
.subsections_via_symbols
