	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function service_tree_for
_service_tree_for:                      ## @service_tree_for
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rax
	movq	_IDLE_WORKLOAD@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	jne	LBB0_4
## %bb.3:
	addq	$8, %rax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movq	(%rax), %rcx
	movl	%esi, %esi
	movl	%edx, %eax
	shlq	$2, %rax
	addq	(%rcx,%rsi,8), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDLE_WORKLOAD,4,2              ## @IDLE_WORKLOAD
	.no_dead_strip	_service_tree_for
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function service_tree_for
_service_tree_for:                      ; @service_tree_for
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _IDLE_WORKLOAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDLE_WORKLOAD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_3
; %bb.2:
	add	x0, x0, #8
	ret
LBB0_3:
	ldr	x8, [x0]
	ldr	x8, [x8, w1, uxtw #3]
	add	x0, x8, w2, uxtw #2
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IDLE_WORKLOAD,4,2              ; @IDLE_WORKLOAD
	.no_dead_strip	_service_tree_for
.subsections_via_symbols
