	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_is_destination          ## -- Begin function quicly_is_destination
	.p2align	4, 0x90
_quicly_is_destination:                 ## @quicly_is_destination
	.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, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	48(%rcx), %rax
	movl	(%rax), %edi
	callq	_QUICLY_PACKET_IS_LONG_HEADER
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	leaq	16(%r13), %rdi
	movq	%r12, %rsi
	callq	_compare_socket_address
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.2:
	movq	(%r13), %rax
	movq	_AF_UNSPEC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_compare_socket_address
	testq	%rax, %rax
	jne	LBB0_19
LBB0_4:
	movq	%r13, %rdi
	callq	_quicly_is_client
	testl	%eax, %eax
	je	LBB0_5
LBB0_7:
	movq	48(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.8:
	movq	24(%r13), %rax
	cmpq	8(%r14), %rax
	jne	LBB0_11
## %bb.9:
	movq	32(%r13), %rax
	cmpq	16(%r14), %rax
	jne	LBB0_11
## %bb.10:
	movq	40(%r13), %rax
	cmpq	24(%r14), %rax
	je	LBB0_16
LBB0_11:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_is_stateless_reset
	testq	%rax, %rax
	je	LBB0_12
## %bb.17:
	movq	_QUICLY__DECODED_PACKET_CACHED_IS_STATELESS_RESET@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_13:
	leaq	16(%r13), %rdi
	movq	%r12, %rsi
	callq	_compare_socket_address
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movq	(%r13), %rax
	movq	_AF_UNSPEC@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.15:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_compare_socket_address
	jmp	LBB0_19
LBB0_12:
	xorl	%ebx, %ebx
	jmp	LBB0_19
LBB0_5:
	cmpq	$0, 40(%r14)
	je	LBB0_7
## %bb.6:
	leaq	8(%r13), %rdi
	movl	32(%r14), %esi
	callq	_quicly_cid_is_equal
	testq	%rax, %rax
	je	LBB0_7
LBB0_16:
	movq	_QUICLY__DECODED_PACKET_CACHED_NOT_STATELESS_RESET@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	$1, %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_UNSPEC,8,3                  ## @AF_UNSPEC
	.comm	_QUICLY__DECODED_PACKET_CACHED_NOT_STATELESS_RESET,4,2 ## @QUICLY__DECODED_PACKET_CACHED_NOT_STATELESS_RESET
	.comm	_QUICLY__DECODED_PACKET_CACHED_IS_STATELESS_RESET,4,2 ## @QUICLY__DECODED_PACKET_CACHED_IS_STATELESS_RESET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_is_destination          ; -- Begin function quicly_is_destination
	.p2align	2
_quicly_is_destination:                 ; @quicly_is_destination
	.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
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x3, #48]
	ldr	w0, [x8]
	bl	_QUICLY_PACKET_IS_LONG_HEADER
	cbz	x0, LBB0_6
; %bb.1:
	add	x0, x20, #16
	mov	x1, x22
	bl	_compare_socket_address
	cbz	x0, LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_19
LBB0_3:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _AF_UNSPEC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_UNSPEC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x21
	bl	_compare_socket_address
	cbnz	x0, LBB0_2
LBB0_5:
	mov	x0, x20
	bl	_quicly_is_client
	cbz	w0, LBB0_15
LBB0_6:
	ldr	x8, [x20, #48]
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.7:
	ldr	x8, [x20, #24]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	ldr	x8, [x20, #32]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
	ldr	x8, [x20, #40]
	ldr	x9, [x19, #24]
	cmp	x8, x9
	b.eq	LBB0_17
LBB0_10:
	mov	x0, x20
	mov	x1, x19
	bl	_is_stateless_reset
	cbz	x0, LBB0_19
; %bb.11:
Lloh3:
	adrp	x8, _QUICLY__DECODED_PACKET_CACHED_IS_STATELESS_RESET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QUICLY__DECODED_PACKET_CACHED_IS_STATELESS_RESET@GOTPAGEOFF]
	b	LBB0_18
LBB0_12:
	add	x0, x20, #16
	mov	x1, x22
	bl	_compare_socket_address
	cbz	x0, LBB0_17
; %bb.13:
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _AF_UNSPEC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AF_UNSPEC@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.14:
	mov	x0, x20
	mov	x1, x21
	bl	_compare_socket_address
	mov	w0, #0
	b	LBB0_19
LBB0_15:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_6
; %bb.16:
	add	x0, x20, #8
	ldr	w1, [x19, #32]
	bl	_quicly_cid_is_equal
	cbz	x0, LBB0_6
LBB0_17:
Lloh8:
	adrp	x8, _QUICLY__DECODED_PACKET_CACHED_NOT_STATELESS_RESET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _QUICLY__DECODED_PACKET_CACHED_NOT_STATELESS_RESET@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #1
LBB0_19:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_UNSPEC,8,3                  ; @AF_UNSPEC
	.comm	_QUICLY__DECODED_PACKET_CACHED_NOT_STATELESS_RESET,4,2 ; @QUICLY__DECODED_PACKET_CACHED_NOT_STATELESS_RESET
	.comm	_QUICLY__DECODED_PACKET_CACHED_IS_STATELESS_RESET,4,2 ; @QUICLY__DECODED_PACKET_CACHED_IS_STATELESS_RESET
.subsections_via_symbols
