	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm_tree_advb
_pm_tree_advb:                          ## @pm_tree_advb
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	24(%rsi), %rcx
	movq	32(%rsi), %rax
	movl	(%rcx,%rax,4), %r12d
	testl	%r12d, %r12d
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	leaq	24(%rbx), %r15
	movq	40(%rbx), %rcx
	movq	(%rcx,%rax,8), %r13
	movq	%r15, %rsi
	callq	_pm_tree_advance
	movq	24(%rbx), %rcx
	movq	32(%rbx), %rax
	movl	(%rcx,%rax,4), %ecx
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.3:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	40(%rbx), %rcx
	addq	(%rcx,%rax,8), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_pm_tree_advance
	movslq	(%r14), %r15
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movl	(%r14,%r15,8), %eax
	movl	%eax, (%r14)
	jmp	LBB0_6
LBB0_1:
	movq	(%rbx), %rax
	movl	$0, 4(%rax)
	movq	_FREQ_INFTY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rbx), %rcx
	movq	%rax, 8(%rcx)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	movslq	4(%r14), %r15
	decq	%r15
	movl	%r15d, 4(%r14)
	xorl	%edi, %edi
	testl	%r15d, %r15d
	setne	%dil
	callq	_assert
LBB0_6:
	movl	%r12d, (%r14,%r15,8)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r14,%r15,8)
	movq	(%rbx), %rax
	movl	%r15d, 4(%rax)
	movq	16(%rbx), %rcx
	movq	%r13, 8(%rcx)
	xorl	%eax, %eax
	cmpq	(%rcx), %r13
	setl	%al
LBB0_7:
	movq	%rax, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FREQ_INFTY,8,3                 ## @FREQ_INFTY
	.no_dead_strip	_pm_tree_advb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm_tree_advb
_pm_tree_advb:                          ; @pm_tree_advb
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x21, x1
	ldp	x9, x8, [x21, #24]!
	ldr	w22, [x9, x8, lsl #2]
	cbz	w22, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	x9, [x19, #40]
	ldr	x24, [x9, x8, lsl #3]
	mov	x1, x21
	bl	_pm_tree_advance
	ldp	x9, x8, [x19, #24]
	ldr	w23, [x9, x8, lsl #2]
	cbz	w23, LBB0_4
; %bb.2:
	ldr	x9, [x19, #40]
	ldr	x8, [x9, x8, lsl #3]
	add	x24, x8, x24
	mov	x0, x20
	mov	x1, x21
	bl	_pm_tree_advance
	ldr	w8, [x20]
	cbz	w8, LBB0_5
; %bb.3:
	sxtw	x21, w8
	lsl	x9, x21, #3
	ldr	w9, [x20, x9]
	str	w9, [x20]
	b	LBB0_6
LBB0_4:
	mov	x8, #0
	ldr	x9, [x19]
	str	wzr, [x9, #4]
Lloh0:
	adrp	x9, _FREQ_INFTY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FREQ_INFTY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x10, [x19, #16]
	str	x9, [x10, #8]
	b	LBB0_7
LBB0_5:
	ldrsw	x8, [x20, #4]
	sub	x21, x8, #1
	str	w21, [x20, #4]
	cmp	w21, #0
	cset	w0, ne
	bl	_assert
	mov	x8, x21
LBB0_6:
	add	x9, x20, x21, lsl #3
	stp	w22, w23, [x9]
	ldr	x9, [x19]
	str	w8, [x9, #4]
	ldr	x8, [x19, #16]
	str	x24, [x8, #8]
	ldr	x8, [x8]
	cmp	x24, x8
	cset	w8, lt
LBB0_7:
	str	x8, [x19, #8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FREQ_INFTY,8,3                 ; @FREQ_INFTY
	.no_dead_strip	_pm_tree_advb
.subsections_via_symbols
