	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rack_timer_cancel
_rack_timer_cancel:                     ## @rack_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
	movl	%ecx, %r14d
	movq	%rsi, %rbx
	movq	_PACE_PKT_OUTPUT@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	xorl	%r15d, %r15d
	testl	%eax, 4(%rsi)
	je	LBB0_3
## %bb.1:
	movl	8(%rbx), %esi
	movl	%edx, %edi
	callq	_TSTMP_GEQ
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	16(%rbx), %rdi
	movq	_HPTS_REMOVE_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tcp_hpts_remove
	movl	$1, %r15d
LBB0_3:
	movl	4(%rbx), %eax
	movq	_PACE_TMR_MASK@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	andl	%eax, %ecx
	je	LBB0_8
## %bb.4:
	movl	%ecx, (%rbx)
	movq	16(%rbx), %rdi
	cmpq	$0, (%rdi)
	je	LBB0_7
## %bb.5:
	testl	%eax, (%r12)
	jne	LBB0_7
## %bb.6:
	movq	_HPTS_REMOVE_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tcp_hpts_remove
	movl	$1, %r15d
LBB0_7:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_rack_log_to_cancel
	movl	(%r13), %eax
	notl	%eax
	andl	%eax, 4(%rbx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PACE_PKT_OUTPUT,4,2            ## @PACE_PKT_OUTPUT
	.comm	_HPTS_REMOVE_OUTPUT,4,2         ## @HPTS_REMOVE_OUTPUT
	.comm	_PACE_TMR_MASK,4,2              ## @PACE_TMR_MASK
	.no_dead_strip	_rack_timer_cancel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rack_timer_cancel
_rack_timer_cancel:                     ; @rack_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
	mov	x20, x3
	mov	x19, x1
	ldr	w8, [x1, #4]
Lloh0:
	adrp	x21, _PACE_PKT_OUTPUT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PACE_PKT_OUTPUT@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	w1, [x19, #8]
	mov	x0, x2
	bl	_TSTMP_GEQ
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x0, [x19, #16]
Lloh2:
	adrp	x8, _HPTS_REMOVE_OUTPUT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HPTS_REMOVE_OUTPUT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_tcp_hpts_remove
	mov	w1, #1
	b	LBB0_4
LBB0_3:
	mov	w1, #0
LBB0_4:
	ldr	w8, [x19, #4]
Lloh5:
	adrp	x22, _PACE_TMR_MASK@GOTPAGE
Lloh6:
	ldr	x22, [x22, _PACE_TMR_MASK@GOTPAGEOFF]
	ldr	w9, [x22]
	ands	w9, w9, w8
	b.eq	LBB0_9
; %bb.5:
	str	w9, [x19]
	ldr	x0, [x19, #16]
	ldr	x9, [x0]
	cbz	x9, LBB0_8
; %bb.6:
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_8
; %bb.7:
Lloh7:
	adrp	x8, _HPTS_REMOVE_OUTPUT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HPTS_REMOVE_OUTPUT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_tcp_hpts_remove
	mov	w1, #1
LBB0_8:
	mov	x0, x19
	mov	x2, x20
	bl	_rack_log_to_cancel
	ldr	w8, [x22]
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
	str	w8, [x19, #4]
LBB0_9:
	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
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PACE_PKT_OUTPUT,4,2            ; @PACE_PKT_OUTPUT
	.comm	_HPTS_REMOVE_OUTPUT,4,2         ; @HPTS_REMOVE_OUTPUT
	.comm	_PACE_TMR_MASK,4,2              ; @PACE_TMR_MASK
	.no_dead_strip	_rack_timer_cancel
.subsections_via_symbols
