	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tbs_sched_start_schedule
_tbs_sched_start_schedule:              ## @tbs_sched_start_schedule
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r15
	movq	8(%rdi), %rax
	movq	(%rax), %r12
	leaq	8(%r15), %rbx
	movq	%rbx, %rdi
	callq	_list_empty
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	callq	_ktime_get
	movl	%eax, %r14d
	movq	_GVT_SCHED_VGPU_PRI_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_ktime_set
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ktime_add
	movl	%eax, 12(%r15)
	movl	$1, (%r15)
	leaq	8(%r12), %rsi
	movq	%rbx, %rdi
	callq	_list_add
	leaq	4(%r12), %rbx
	movq	%rbx, %rdi
	callq	_hrtimer_active
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_ktime_get
	movl	(%r12), %esi
	movl	%eax, %edi
	callq	_ktime_add_ns
	movq	_HRTIMER_MODE_ABS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_hrtimer_start
LBB0_3:
	movl	$1, 4(%r15)
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GVT_SCHED_VGPU_PRI_TIME,4,2    ## @GVT_SCHED_VGPU_PRI_TIME
	.comm	_HRTIMER_MODE_ABS,4,2           ## @HRTIMER_MODE_ABS
	.no_dead_strip	_tbs_sched_start_schedule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tbs_sched_start_schedule
_tbs_sched_start_schedule:              ; @tbs_sched_start_schedule
	.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
	ldp	x21, x8, [x0]
	ldr	x22, [x8]
	add	x19, x21, #8
	mov	x0, x19
	bl	_list_empty
	cbz	w0, LBB0_4
; %bb.1:
	bl	_ktime_get
	mov	x20, x0
Lloh0:
	adrp	x8, _GVT_SCHED_VGPU_PRI_TIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GVT_SCHED_VGPU_PRI_TIME@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_ktime_set
	mov	x1, x0
	mov	x0, x20
	bl	_ktime_add
	str	w0, [x21, #12]
	mov	w20, #1
	str	w20, [x21]
	add	x1, x22, #8
	mov	x0, x19
	bl	_list_add
	add	x19, x22, #4
	mov	x0, x19
	bl	_hrtimer_active
	cbnz	w0, LBB0_3
; %bb.2:
	bl	_ktime_get
	ldr	w1, [x22]
	bl	_ktime_add_ns
	mov	x1, x0
Lloh3:
	adrp	x8, _HRTIMER_MODE_ABS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HRTIMER_MODE_ABS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hrtimer_start
LBB0_3:
	str	w20, [x21, #4]
LBB0_4:
	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	_GVT_SCHED_VGPU_PRI_TIME,4,2    ; @GVT_SCHED_VGPU_PRI_TIME
	.comm	_HRTIMER_MODE_ABS,4,2           ; @HRTIMER_MODE_ABS
	.no_dead_strip	_tbs_sched_start_schedule
.subsections_via_symbols
