	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_temp_depend_to_permanent_for_sp
_set_temp_depend_to_permanent_for_sp:   ## @set_temp_depend_to_permanent_for_sp
	.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
	movl	%ecx, %r15d
	movl	%esi, %r12d
	movq	(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movslq	%esi, %rbx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rax
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movslq	%edx, %r14
	movl	(%rax,%r14,4), %edx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, %esi
	callq	_get_next_switch
	cmpl	%r14d, %ebx
	jne	LBB0_1
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%eax, %r13d
	movslq	%r15d, %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %rax
	movslq	%r12d, %rcx
	movq	(%rax,%rcx,8), %rax
	movslq	%r13d, %r12
	movq	(%rax,%r12,8), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_CL_ASSERT
	cmpl	$1, (%rbx)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, (%rbx)
	cmpl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	jne	LBB0_6
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 8(%rbx)
	cmpl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	je	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_get_next_switch
	movl	%r13d, %r12d
	movl	%eax, %r13d
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_set_temp_depend_to_permanent_for_sp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_temp_depend_to_permanent_for_sp
_set_temp_depend_to_permanent_for_sp:   ; @set_temp_depend_to_permanent_for_sp
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	ldp	x25, x24, [x0]
	ldr	x8, [x24, w1, sxtw #3]
	ldr	x8, [x8]
	ldr	w2, [x8, w2, sxtw #2]
	bl	_get_next_switch
	cmp	w22, w19
	b.ne	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x21, x0
	sxtw	x26, w19
	sxtw	x23, w23
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25, x23, lsl #3]
	ldr	x8, [x8, w22, sxtw #3]
	ldr	x22, [x8, w21, sxtw #3]
	cmp	x22, #0
	cset	w0, ne
	bl	_CL_ASSERT
	ldr	w8, [x22]
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x22]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x22, #8]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x1, w21
	cmp	w1, w19
	b.eq	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24, x1, lsl #3]
	ldr	x8, [x8]
	ldr	w2, [x8, x26, lsl #2]
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_get_next_switch
	mov	x22, x21
	mov	x21, x0
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_set_temp_depend_to_permanent_for_sp
.subsections_via_symbols
