	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_determine_packet_number ## -- Begin function quicly_determine_packet_number
	.p2align	4, 0x90
_quicly_determine_packet_number:        ## @quicly_determine_packet_number
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rcx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $rcx
	shlq	%cl, %rsi
	movq	%rsi, %rax
	negq	%rax
	andq	%rdx, %rax
	orq	%rdi, %rax
	movq	%rsi, %rcx
	shrq	%rcx
	leaq	(%rax,%rcx), %rdi
	cmpq	%rdx, %rdi
	jbe	LBB0_1
## %bb.2:
	addq	%rdx, %rcx
	xorl	%edx, %edx
	cmpq	%rsi, %rax
	cmovbeq	%rdx, %rsi
	cmpq	%rcx, %rax
	cmovbeq	%rdx, %rsi
	subq	%rsi, %rax
	popq	%rbp
	retq
LBB0_1:
	addq	%rsi, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_determine_packet_number ; -- Begin function quicly_determine_packet_number
	.p2align	2
_quicly_determine_packet_number:        ; @quicly_determine_packet_number
	.cfi_startproc
; %bb.0:
	mov	w8, #1
	lsl	x8, x8, x1
	neg	x9, x8
	and	x9, x9, x2
	orr	x9, x9, x0
	lsr	x10, x8, #1
	add	x11, x10, x2
	cmp	x9, x8
	ccmp	x9, x11, #0, hi
	csel	x11, x8, xzr, hi
	sub	x11, x9, x11
	add	x8, x9, x8
	add	x9, x9, x10
	cmp	x9, x2
	csel	x0, x11, x8, hi
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
