	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_temp_depend_for_sp
_remove_temp_depend_for_sp:             ## @remove_temp_depend_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, %r12d
	movl	%esi, %ebx
	movq	8(%rdi), %r15
	movq	16(%rdi), %rax
	movslq	%esi, %r13
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	(%rax,%r13,8), %rax
	movq	(%rax), %rax
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movslq	%edx, %r14
	movl	(%rax,%r14,4), %edx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, %esi
	callq	_get_next_switch
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	cmpl	%r14d, %r13d
	jne	LBB0_1
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movslq	%r12d, %r12
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%r12,8), %rcx
	movq	%r15, %r14
	movslq	%ebx, %r15
	movq	(%rcx,%r15,8), %rcx
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movslq	%eax, %r13
	movq	(%rcx,%r13,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
	movq	(%r14,%r12,8), %rax
	movq	(%rax,%r15,8), %rax
	movq	$0, (%rax,%r13,8)
	movq	%rbx, %rdi
	callq	_free
	movq	%r14, %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rbx), %eax
	xorl	%edi, %edi
	cmpl	8(%rbx), %eax
	setle	%dil
	callq	_CL_ASSERT
	movl	4(%rbx), %eax
	movl	8(%rbx), %ecx
	movl	%ecx, %esi
	subl	%eax, %esi
	movl	%esi, 8(%rbx)
	movl	$0, 4(%rbx)
	decl	24(%rbx)
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx), %edx
	leal	-1(%rdx), %edi
	cmpl	%edi, %esi
	movq	%r14, %r15
	jge	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%esi, %rdi
	shlq	$3, %rdi
	addq	16(%rbx), %rdi
	addl	%edx, %eax
	subl	%ecx, %eax
	addl	$-2, %eax
	leaq	8(,%rax,8), %rsi
	callq	___bzero
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	cmpl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r13,8), %rax
	movq	(%rax), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_get_next_switch
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_remove_temp_depend_for_sp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_temp_depend_for_sp
_remove_temp_depend_for_sp:             ; @remove_temp_depend_for_sp
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
	ldp	x26, x25, [x0, #8]
	ldr	x8, [x25, w1, sxtw #3]
	ldr	x8, [x8]
	ldr	w2, [x8, w2, sxtw #2]
	bl	_get_next_switch
	cmp	w23, w19
	b.ne	LBB0_2
LBB0_1:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x21, x0
	sxtw	x27, w19
	sxtw	x28, w22
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26, x28, lsl #3]
	ldr	x8, [x8, w23, sxtw #3]
	sxtw	x22, w21
	ldr	x24, [x8, w21, sxtw #3]
	cmp	x24, #0
	cset	w0, ne
	bl	_CL_ASSERT
	ldr	w8, [x24]
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x8, w23
	ldr	x9, [x26, x28, lsl #3]
	ldr	x8, [x9, x8, lsl #3]
	str	xzr, [x8, x22, lsl #3]
	mov	x0, x24
	bl	_free
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldp	w8, w9, [x24, #4]
	cmp	w8, w9
	cset	w0, le
	bl	_CL_ASSERT
	ldp	w9, w8, [x24, #4]
	ldr	w10, [x20]
	sub	w12, w10, #1
	sub	w11, w8, w9
	cmp	w11, w12
	stp	wzr, w11, [x24, #4]
	ldr	w12, [x24, #24]
	sub	w12, w12, #1
	str	w12, [x24, #24]
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x12, [x24, #16]
	add	x0, x12, w11, sxtw #3
	add	w9, w9, w10
	sub	w8, w9, w8
	sub	w8, w8, #2
	lsl	x8, x8, #3
	add	x1, x8, #8
	bl	_bzero
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w22, w19
	b.eq	LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25, x22, lsl #3]
	ldr	x8, [x8]
	ldr	w2, [x8, x27, lsl #2]
	mov	x0, x20
	mov	x1, x22
	bl	_get_next_switch
	mov	x23, x21
	mov	x21, x0
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_remove_temp_depend_for_sp
.subsections_via_symbols
