	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bbr_timer_cancel
_bbr_timer_cancel:                      ## @bbr_timer_cancel
	.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	_PACE_TMR_MASK@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, 24(%rdi)
	je	LBB0_9
## %bb.1:
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	40(%rdi), %rdi
	xorl	%r12d, %r12d
	cmpq	$0, (%rdi)
	je	LBB0_8
## %bb.2:
	cmpl	$1, (%rbx)
	jne	LBB0_8
## %bb.3:
	movq	_HPTS_REMOVE_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tcp_hpts_remove
	movl	$1, %r12d
	cmpq	$0, 32(%rbx)
	je	LBB0_8
## %bb.4:
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_TSTMP_GT
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r14, %rax
	subq	8(%rbx), %rax
	jmp	LBB0_7
LBB0_5:
	xorl	%eax, %eax
LBB0_7:
	movq	32(%rbx), %rcx
	xorl	%edx, %edx
	subq	%rax, %rcx
	cmovgq	%rcx, %rdx
	movq	%rdx, 32(%rbx)
	movq	%r14, 8(%rbx)
LBB0_8:
	movl	$0, (%rbx)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	movl	%r12d, %ecx
	callq	_bbr_log_to_cancel
	movl	24(%rbx), %eax
	movl	(%r13), %ecx
	movl	%ecx, %edx
	andl	%eax, %edx
	movl	%edx, 16(%rbx)
	notl	%ecx
	andl	%eax, %ecx
	movl	%ecx, 24(%rbx)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PACE_TMR_MASK,4,2              ## @PACE_TMR_MASK
	.comm	_HPTS_REMOVE_OUTPUT,4,2         ## @HPTS_REMOVE_OUTPUT
	.no_dead_strip	_bbr_timer_cancel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bbr_timer_cancel
_bbr_timer_cancel:                      ; @bbr_timer_cancel
	.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
	ldr	w8, [x0, #24]
Lloh0:
	adrp	x22, _PACE_TMR_MASK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PACE_TMR_MASK@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x0, [x0, #40]
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.3:
Lloh2:
	adrp	x8, _HPTS_REMOVE_OUTPUT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HPTS_REMOVE_OUTPUT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_tcp_hpts_remove
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_9
; %bb.4:
	ldr	x1, [x19, #8]
	mov	x0, x20
	bl	_TSTMP_GT
	cbz	x0, LBB0_7
; %bb.5:
	ldr	x8, [x19, #8]
	sub	x8, x20, x8
	b	LBB0_8
LBB0_6:
	mov	w3, #0
	b	LBB0_10
LBB0_7:
	mov	x8, #0
LBB0_8:
	ldr	x9, [x19, #32]
	subs	x8, x9, x8
	csel	x8, x8, xzr, gt
	str	x8, [x19, #32]
	str	x20, [x19, #8]
LBB0_9:
	mov	w3, #1
LBB0_10:
	str	wzr, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_bbr_log_to_cancel
	ldr	w8, [x19, #24]
	ldr	w9, [x22]
	and	w10, w9, w8
	str	w10, [x19, #16]
	bic	w8, w8, w9
	str	w8, [x19, #24]
LBB0_11:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PACE_TMR_MASK,4,2              ; @PACE_TMR_MASK
	.comm	_HPTS_REMOVE_OUTPUT,4,2         ; @HPTS_REMOVE_OUTPUT
	.no_dead_strip	_bbr_timer_cancel
.subsections_via_symbols
