	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cbq_update
_cbq_update:                            ## @cbq_update
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	88(%rdi), %rax
	movl	(%rdi), %r13d
	movq	$0, 88(%rdi)
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	leaq	24(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %r12
	cmpq	%r12, %r14
	cmovgq	%r14, %r12
	movq	%r12, (%rbx)
	movq	%r12, %r15
	negq	%r15
	movzbl	24(%rbx), %ecx
	sarq	%cl, %r15
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_L2T
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_L2T
	addq	%r12, %r14
	addq	%r15, %r14
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	subq	%r14, %rax
	addq	8(%r15), %rax
	movq	%rax, 40(%rbx)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %r14
	movq	%r14, 8(%rbx)
	movq	56(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %r12
	incl	52(%rbx)
	addl	%r13d, 48(%rbx)
	subq	8(%rbx), %r14
	cmpq	$134217729, %r14                ## imm = 0x8000001
	jb	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %r14
	testq	%r14, %r14
	jg	LBB0_7
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_L2T
	movzbl	24(%rbx), %ecx
	addq	%r12, %r14
	sarq	%cl, %r12
	addq	%rax, %r12
	subq	%r12, %r14
	testq	%r14, %r14
	jle	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_PSCHED_PASTPERFECT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%rbx)
	movq	16(%rbx), %rax
	cmpq	%rax, %r14
	jle	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, (%rbx)
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, (%rbx)
	jmp	LBB0_10
LBB0_11:
	movl	16(%r15), %edx
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cbq_update_toplevel            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PSCHED_PASTPERFECT,8,3         ## @PSCHED_PASTPERFECT
	.no_dead_strip	_cbq_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cbq_update
_cbq_update:                            ; @cbq_update
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x0
	ldr	x19, [x0, #88]
	ldr	w21, [x0]
	str	xzr, [x0, #88]
	cbz	x19, LBB0_10
; %bb.1:
	add	x22, x20, #24
	ldr	x8, [x20, #8]
	movi.2s	v0, #1
	mov.s	v0[0], w21
	str	q0, [sp]                        ; 16-byte Folded Spill
	mov	w25, #1
	movk	w25, #2048, lsl #16
Lloh0:
	adrp	x26, _PSCHED_PASTPERFECT@GOTPAGE
Lloh1:
	ldr	x26, [x26, _PSCHED_PASTPERFECT@GOTPAGEOFF]
	mov	x23, x19
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	x10, x9, [x23, #24]
	cmp	x8, x9
	csel	x27, x8, x9, gt
	str	x27, [x23]
	neg	x8, x27
	asr	x28, x8, x10
	mov	x0, x22
	mov	x1, x21
	bl	_L2T
	mov	x24, x0
	mov	x0, x23
	mov	x1, x21
	bl	_L2T
	ldr	x8, [x20, #8]
	add	x9, x24, x27
	add	x9, x9, x28
	sub	x9, x0, x9
	add	x8, x9, x8
	str	x8, [x23, #40]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #8]
	str	x8, [x23, #8]
	ldr	x23, [x23, #56]
	cbz	x23, LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x23, #48]
	ldr	q1, [sp]                        ; 16-byte Folded Reload
	add.2s	v0, v0, v1
	str	d0, [x23, #48]
	ldp	x24, x9, [x23]
	sub	x27, x8, x9
	cmp	x27, x25
	b.lo	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23, #16]
	cmp	x8, #0
	b.gt	LBB0_7
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	mov	x1, x21
	bl	_L2T
	ldr	x8, [x23, #24]
	asr	x8, x24, x8
	add	x9, x27, x24
	add	x8, x0, x8
	sub	x8, x9, x8
	cmp	x8, #0
	b.le	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x26]
	str	x9, [x23, #40]
	ldr	x9, [x23, #16]
	cmp	x8, x9
	b.le	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x9, [x23]
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x8, [x23]
	b	LBB0_3
LBB0_10:
	ldr	w2, [x20, #16]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_cbq_update_toplevel
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PSCHED_PASTPERFECT,8,3         ; @PSCHED_PASTPERFECT
	.no_dead_strip	_cbq_update
.subsections_via_symbols
