	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_send_stateless_reset    ## -- Begin function quicly_send_stateless_reset
	.p2align	4, 0x90
_quicly_send_stateless_reset:           ## @quicly_send_stateless_reset
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	movq	_QUICLY_STATELESS_RESET_PACKET_MIN_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	*8(%rdi)
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	leaq	20(%rax), %rdi
	movq	%r13, %rsi
	callq	_set_address
	movq	%rbx, %rdi
	addq	$16, %rdi
	movq	%r12, %rsi
	callq	_set_address
	movq	16(%r14), %rax
	movq	(%rbx), %rdi
	movl	(%r15), %esi
	movq	_QUICLY_STATELESS_RESET_TOKEN_LEN@GOTPCREL(%rip), %r12
	subl	(%r12), %esi
	callq	*(%rax)
	movq	_QUICLY_QUIC_BIT@GOTPCREL(%rip), %rax
	movq	(%rbx), %rcx
	movq	_QUICLY_LONG_HEADER_RESERVED_BITS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	(%rcx), %edx
	orl	(%rax), %edx
	movl	%edx, (%rcx)
	movq	8(%r14), %rdi
	movslq	(%r15), %rax
	leaq	(%rcx,%rax,4), %rsi
	movslq	(%r12), %rax
	shlq	$2, %rax
	subq	%rax, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	*(%rdi)
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movl	(%r15), %eax
	movl	%eax, 8(%rbx)
	jmp	LBB0_6
LBB0_4:
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	callq	*(%rdi)
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QUICLY_STATELESS_RESET_PACKET_MIN_LEN,4,2 ## @QUICLY_STATELESS_RESET_PACKET_MIN_LEN
	.comm	_QUICLY_STATELESS_RESET_TOKEN_LEN,4,2 ## @QUICLY_STATELESS_RESET_TOKEN_LEN
	.comm	_QUICLY_QUIC_BIT,4,2            ## @QUICLY_QUIC_BIT
	.comm	_QUICLY_LONG_HEADER_RESERVED_BITS,4,2 ## @QUICLY_LONG_HEADER_RESERVED_BITS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_send_stateless_reset    ; -- Begin function quicly_send_stateless_reset
	.p2align	2
_quicly_send_stateless_reset:           ; @quicly_send_stateless_reset
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x0, [x0]
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x24, _QUICLY_STATELESS_RESET_PACKET_MIN_LEN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _QUICLY_STATELESS_RESET_PACKET_MIN_LEN@GOTPAGEOFF]
	ldr	w1, [x24]
	blr	x8
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	add	x0, x19, #20
	mov	x1, x23
	bl	_set_address
	add	x0, x19, #16
	mov	x1, x22
	bl	_set_address
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	ldr	x0, [x19]
	ldr	w9, [x24]
Lloh2:
	adrp	x22, _QUICLY_STATELESS_RESET_TOKEN_LEN@GOTPAGE
Lloh3:
	ldr	x22, [x22, _QUICLY_STATELESS_RESET_TOKEN_LEN@GOTPAGEOFF]
	ldr	w10, [x22]
	sub	w1, w9, w10
	blr	x8
Lloh4:
	adrp	x8, _QUICLY_QUIC_BIT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _QUICLY_QUIC_BIT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	w10, [x9]
Lloh7:
	adrp	x11, _QUICLY_LONG_HEADER_RESERVED_BITS@GOTPAGE
Lloh8:
	ldr	x11, [x11, _QUICLY_LONG_HEADER_RESERVED_BITS@GOTPAGEOFF]
Lloh9:
	ldr	w11, [x11]
	bic	w10, w10, w11
	orr	w8, w10, w8
	str	w8, [x9]
	ldr	x0, [x20, #8]
	ldr	x8, [x0]
	ldrsw	x10, [x24]
	add	x9, x9, x10, lsl #2
	ldrsw	x10, [x22]
	sub	x1, x9, x10, lsl #2
	mov	x2, x21
	blr	x8
	cbz	w0, LBB0_3
; %bb.2:
	ldr	w8, [x24]
	str	w8, [x19, #8]
	b	LBB0_4
LBB0_3:
	ldr	x0, [x20]
	ldr	x8, [x0]
	mov	x1, x19
	blr	x8
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_QUICLY_STATELESS_RESET_PACKET_MIN_LEN,4,2 ; @QUICLY_STATELESS_RESET_PACKET_MIN_LEN
	.comm	_QUICLY_STATELESS_RESET_TOKEN_LEN,4,2 ; @QUICLY_STATELESS_RESET_TOKEN_LEN
	.comm	_QUICLY_QUIC_BIT,4,2            ; @QUICLY_QUIC_BIT
	.comm	_QUICLY_LONG_HEADER_RESERVED_BITS,4,2 ; @QUICLY_LONG_HEADER_RESERVED_BITS
.subsections_via_symbols
