	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calc_hotspot_params
_calc_hotspot_params:                   ## @calc_hotspot_params
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %rbx
	movl	%esi, %r15d
	movl	%edi, %r12d
	movl	%esi, %eax
	shll	$4, %eax
	movl	%eax, (%rcx)
	shrl	$2, %edx
	movl	%edx, %edi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_max
	movl	%eax, (%r14)
	movl	(%rbx), %esi
	cmpl	%r15d, %esi
	jbe	LBB0_5
## %bb.1:
	movl	%r12d, %edi
	movl	%eax, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	callq	_too_many_hotspot_blocks
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %esi
	shrl	%esi
	movl	%esi, (%rbx)
	cmpl	%r15d, %esi
	jbe	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %edx
	movl	%r12d, %edi
	jmp	LBB0_2
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_calc_hotspot_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calc_hotspot_params
_calc_hotspot_params:                   ; @calc_hotspot_params
	.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	x19, x4
	mov	x20, x3
	mov	x21, x1
	mov	x22, x0
	lsl	w8, w1, #4
	str	w8, [x3]
	lsr	w0, w2, #2
	mov	w1, #1024
	bl	_max
	str	w0, [x19]
	ldr	w1, [x20]
	cmp	w1, w21
	b.ls	LBB0_5
; %bb.1:
	mov	x2, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_too_many_hotspot_blocks
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20]
	lsr	w1, w8, #1
	str	w1, [x20]
	cmp	w1, w21
	b.ls	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w2, [x19]
	b	LBB0_2
LBB0_5:
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_calc_hotspot_params
.subsections_via_symbols
