	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_idle_timeout
_update_idle_timeout:                   ## @update_idle_timeout
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	testl	%esi, %esi
	jne	LBB0_2
## %bb.1:
	cmpl	$0, (%r15)
	je	LBB0_7
LBB0_2:
	movq	_INT64_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, 56(%r15)
	movq	%rax, %rcx
	jne	LBB0_5
## %bb.3:
	cmpq	$0, 48(%r15)
	movq	%rax, %rcx
	jne	LBB0_5
## %bb.4:
	movq	40(%r15), %rcx
	testq	%rcx, %rcx
	cmoveq	%rax, %rcx
LBB0_5:
	movq	32(%r15), %rdx
	movq	(%rdx), %rsi
	cmpq	%rcx, %rsi
	movq	%rcx, %rbx
	cmovlq	%rsi, %rbx
	testq	%rsi, %rsi
	cmoveq	%rcx, %rbx
	cmpq	%rax, %rbx
	je	LBB0_7
## %bb.6:
	leaq	24(%r15), %rdi
	movl	8(%rdx), %esi
	movq	16(%r15), %rax
	movl	(%rax), %edx
	callq	_quicly_rtt_get_pto
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax,2), %eax
	cltq
	movq	_now@GOTPCREL(%rip), %rcx
	cmpq	%rax, %rbx
	cmovgq	%rbx, %rax
	addq	(%rcx), %rax
	movq	%rax, 8(%r15)
	movl	%r14d, (%r15)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT64_MAX,8,3                  ## @INT64_MAX
	.comm	_now,8,3                        ## @now
	.no_dead_strip	_update_idle_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_idle_timeout
_update_idle_timeout:                   ; @update_idle_timeout
	.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, x1
	mov	x20, x0
	cbnz	w1, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	cbz	w8, LBB0_8
LBB0_2:
Lloh0:
	adrp	x8, _INT64_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x20, #56]
	cbz	x9, LBB0_4
; %bb.3:
	mov	x9, x8
	b	LBB0_6
LBB0_4:
	ldr	x10, [x20, #48]
	mov	x9, x8
	cbnz	x10, LBB0_6
; %bb.5:
	ldr	x9, [x20, #40]
	cmp	x9, #0
	csel	x9, x8, x9, eq
LBB0_6:
	ldr	x10, [x20, #32]
	ldr	x11, [x10]
	cmp	x11, x9
	ccmp	x11, #0, #4, lt
	csel	x21, x11, x9, ne
	cmp	x21, x8
	b.eq	LBB0_8
; %bb.7:
	add	x0, x20, #24
	ldr	w1, [x10, #8]
	ldr	x8, [x20, #16]
	ldr	w2, [x8]
	bl	_quicly_rtt_get_pto
	add	w8, w0, w0, lsl #1
	sxtw	x8, w8
Lloh3:
	adrp	x9, _now@GOTPAGE
Lloh4:
	ldr	x9, [x9, _now@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x21, x8
	csel	x8, x21, x8, gt
	add	x8, x8, x9
	str	x8, [x20, #8]
	str	w19, [x20]
LBB0_8:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INT64_MAX,8,3                  ; @INT64_MAX
	.comm	_now,8,3                        ; @now
	.no_dead_strip	_update_idle_timeout
.subsections_via_symbols
