	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rack_post_recovery
_rack_post_recovery:                    ## @rack_post_recovery
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	48(%rdi), %edi
	callq	_INP_WLOCK_ASSERT
	movq	40(%rbx), %r14
	movq	%rbx, %rdi
	callq	_CC_ALGO
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movl	(%r15), %eax
	movq	32(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%rbx, %rdi
	callq	_CC_ALGO
	movq	32(%rbx), %rdi
	callq	*(%rax)
LBB0_2:
	cmpq	$0, 16(%r14)
	je	LBB0_5
## %bb.3:
	movl	(%r14), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	imull	4(%r14), %eax
	cmpl	$50, %eax
	movl	$50, %ecx
	cmovll	%eax, %ecx
	movl	(%rbx), %edx
	imull	%edx, %ecx
	movslq	%ecx, %rax
	imulq	$-1374389535, %rax, %rax        ## imm = 0xAE147AE1
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	addl	%edx, %eax
	movl	%eax, (%rbx)
	jmp	LBB0_7
LBB0_5:
	movslq	(%rbx), %rax
	movq	8(%rbx), %rcx
	cmpq	%rax, %rcx
	jge	LBB0_7
## %bb.6:
	movl	%ecx, (%rbx)
	movl	%ecx, %eax
LBB0_7:
	movq	8(%r14), %rcx
	testq	%rcx, %rcx
	jle	LBB0_9
## %bb.8:
	addl	%ecx, %eax
	movl	%eax, (%rbx)
	movq	$0, 8(%r14)
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_rack_log_to_prr
LBB0_9:
	movl	16(%rbx), %edi
	movl	20(%rbx), %eax
	movl	%eax, 24(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_EXIT_RECOVERY                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rack_post_recovery
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rack_post_recovery
_rack_post_recovery:                    ; @rack_post_recovery
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #48]
	bl	_INP_WLOCK_ASSERT
	ldr	x20, [x19, #40]
	mov	x0, x19
	bl	_CC_ALGO
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x21]
	ldr	x9, [x19, #32]
	str	w8, [x9]
	mov	x0, x19
	bl	_CC_ALGO
	ldr	x8, [x0]
	ldr	x0, [x19, #32]
	blr	x8
LBB0_2:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	w8, [x20]
	cbz	w8, LBB0_5
; %bb.4:
	ldr	w9, [x20, #4]
	mul	w8, w9, w8
	mov	w9, #50
	cmp	w8, #50
	csel	w8, w8, w9, lt
	ldr	w9, [x19]
	mul	w8, w8, w9
	mov	w10, #31457
	movk	w10, #44564, lsl #16
	smull	x8, w8, w10
	lsr	x10, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w10
	add	w8, w8, w9
	str	w8, [x19]
	b	LBB0_7
LBB0_5:
	ldrsw	x8, [x19]
	ldr	x9, [x19, #8]
	cmp	x9, x8
	b.ge	LBB0_7
; %bb.6:
	str	w9, [x19]
	mov	x8, x9
LBB0_7:
	ldr	x9, [x20, #8]
	cmp	x9, #1
	b.lt	LBB0_9
; %bb.8:
	add	w8, w8, w9
	str	w8, [x19]
	str	xzr, [x20, #8]
	mov	x0, x20
	mov	w1, #1
	bl	_rack_log_to_prr
LBB0_9:
	ldp	w0, w8, [x19, #16]
	str	w8, [x19, #24]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_EXIT_RECOVERY
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rack_post_recovery
.subsections_via_symbols
