	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uv_rtc_unset_timer
_uv_rtc_unset_timer:                    ## @uv_rtc_unset_timer
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movl	%edi, %ebx
	callq	_uv_cpu_to_pnode
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_uv_cpu_to_blade_id
	movq	_blade_info@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movq	(%rcx,%rax,8), %r14
	movl	%ebx, %edi
	callq	_uv_cpu_hub_info
	movslq	(%rax), %r12
	movq	8(%r14), %rbx
	leaq	4(%r14), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movl	(%r14), %eax
	cmpl	%r12d, %eax
	jne	LBB0_6
## %bb.1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, %ebx
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	callq	_uv_read_rtc
	testl	%ebx, %ebx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_3
## %bb.2:
	cmpq	(%rbx,%r12,8), %rax
	jl	LBB0_8
LBB0_3:
	movl	(%r14), %eax
	jmp	LBB0_4
LBB0_6:
	testl	%r13d, %r13d
	je	LBB0_7
LBB0_4:
	movq	_ULLONG_MAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rbx,%r12,8)
	movl	$1, %r13d
	cmpl	%r12d, %eax
	jne	LBB0_8
## %bb.5:
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_uv_rtc_find_next_timer
	jmp	LBB0_8
LBB0_7:
	xorl	%r13d, %r13d
LBB0_8:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_blade_info,8,3                 ## @blade_info
	.comm	_ULLONG_MAX,8,3                 ## @ULLONG_MAX
	.no_dead_strip	_uv_rtc_unset_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uv_rtc_unset_timer
_uv_rtc_unset_timer:                    ; @uv_rtc_unset_timer
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x19, x0
	bl	_uv_cpu_to_pnode
	mov	x20, x0
	mov	x0, x19
	bl	_uv_cpu_to_blade_id
Lloh0:
	adrp	x8, _blade_info@GOTPAGE
Lloh1:
	ldr	x8, [x8, _blade_info@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x21, [x8, w0, sxtw #3]
	mov	x0, x19
	bl	_uv_cpu_hub_info
	ldrsw	x23, [x0]
	ldr	x24, [x21, #8]
	add	x19, x21, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x21]
	cmp	w8, w23
	b.ne	LBB0_4
; %bb.1:
	mov	x0, #0
	bl	_uv_read_rtc
	cbnz	w22, LBB0_3
; %bb.2:
	ldr	x8, [x24, x23, lsl #3]
	cmp	x0, x8
	b.lt	LBB0_8
LBB0_3:
	ldr	w8, [x21]
	b	LBB0_5
LBB0_4:
	cbz	w22, LBB0_8
LBB0_5:
Lloh3:
	adrp	x9, _ULLONG_MAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ULLONG_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	str	x9, [x24, x23, lsl #3]
	cmp	w8, w23
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x21
	mov	x1, x20
	bl	_uv_rtc_find_next_timer
LBB0_7:
	mov	w20, #1
	b	LBB0_9
LBB0_8:
	mov	w20, #0
LBB0_9:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_blade_info,8,3                 ; @blade_info
	.comm	_ULLONG_MAX,8,3                 ; @ULLONG_MAX
	.no_dead_strip	_uv_rtc_unset_timer
.subsections_via_symbols
