	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function t4_sched_class_lookup
_t4_sched_class_lookup:                 ## @t4_sched_class_lookup
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.5:
	leaq	-56(%rbp), %rdi
	movl	$16, %edx
	callq	_memcpy
	movq	_SCHED_CLS_NONE@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	%rax, -48(%rbp)
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	8(%rbx), %rbx
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %r14
	movq	_SCHED_STATE_UNUSED@GOTPCREL(%rip), %r15
	leaq	-72(%rbp), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$24, %rbx
	addq	$-24, %r14
	je	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	8(%rbx), %rsi
	movq	%r12, %rdi
	movl	$16, %edx
	callq	_memcpy
	movq	(%r13), %rax
	movq	%rax, -64(%rbp)
	movq	-72(%rbp), %rax
	cmpq	-56(%rbp), %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	-64(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_10
	jmp	LBB0_12
LBB0_1:
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.2:
	movq	8(%rbx), %rbx
	movq	_SCHED_STATE_UNUSED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$3, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%rbx)
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$24, %rbx
	addq	$-24, %rcx
	jne	LBB0_3
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCHED_STATE_UNUSED,8,3         ## @SCHED_STATE_UNUSED
	.comm	_SCHED_CLS_NONE,8,3             ## @SCHED_CLS_NONE
	.no_dead_strip	_t4_sched_class_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function t4_sched_class_lookup
_t4_sched_class_lookup:                 ; @t4_sched_class_lookup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x19, [x0]
	cbz	x1, LBB0_7
; %bb.1:
	mov	x20, sp
	mov	x0, sp
	mov	w2, #16
	bl	_memcpy
Lloh0:
	adrp	x22, _SCHED_CLS_NONE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SCHED_CLS_NONE@GOTPAGEOFF]
	ldr	x8, [x22]
	str	x8, [sp, #8]
	ldr	x8, [x19]
	cbz	x8, LBB0_11
; %bb.2:
	add	x20, x20, #8
	ldr	x19, [x19, #8]
	add	x9, sp, #16
	add	x21, x9, #8
	add	x8, x8, x8, lsl #1
	lsl	x23, x8, #3
Lloh2:
	adrp	x24, _SCHED_STATE_UNUSED@GOTPAGE
Lloh3:
	ldr	x24, [x24, _SCHED_STATE_UNUSED@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #24
	subs	x23, x23, #24
	b.eq	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x19, #8
	add	x0, sp, #16
	mov	w2, #16
	bl	_memcpy
	ldr	x8, [x22]
	str	x8, [sp, #24]
	ldr	x8, [sp, #16]
	ldr	x9, [sp]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	w2, #8
	bl	_memcmp
	cbnz	w0, LBB0_3
	b	LBB0_12
LBB0_7:
	ldr	x9, [x19]
	cbz	x9, LBB0_11
; %bb.8:
	ldr	x19, [x19, #8]
Lloh4:
	adrp	x8, _SCHED_STATE_UNUSED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SCHED_STATE_UNUSED@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	add	x9, x9, x9, lsl #1
	lsl	x9, x9, #3
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x19]
	cmp	x10, x8
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x19, x19, #24
	subs	x9, x9, #24
	b.ne	LBB0_9
LBB0_11:
	mov	x19, #0
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SCHED_STATE_UNUSED,8,3         ; @SCHED_STATE_UNUSED
	.comm	_SCHED_CLS_NONE,8,3             ; @SCHED_CLS_NONE
	.no_dead_strip	_t4_sched_class_lookup
.subsections_via_symbols
