	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function estimate_loops_at_level
_estimate_loops_at_level:               ## @estimate_loops_at_level
	.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
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_free
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_propagate_freq
	movq	24(%r15), %r15
	testq	%r15, %r15
	je	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	16(%r15), %rdi
	movl	%r14d, %esi
	callq	_estimate_loops_at_level
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_EDGE_COUNT
	testq	%rax, %rax
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_loop_latch_edge
	movl	%eax, %edi
	callq	_EDGE_INFO
	movl	$1, (%rax)
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_get_loop_body
	movq	%rax, %r12
	cmpl	$0, (%r15)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12,%rbx,8), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_bitmap_set_bit
	incq	%rbx
	movl	(%r15), %eax
	cmpq	%rax, %rbx
	jb	LBB0_6
	jmp	LBB0_7
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_estimate_loops_at_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function estimate_loops_at_level
_estimate_loops_at_level:               ; @estimate_loops_at_level
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w22, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_free
	mov	x0, x20
	mov	x1, x19
	bl	_propagate_freq
	ldr	x20, [x20, #24]
	cbz	x20, LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x0, [x20, #16]
	mov	x1, x19
	bl	_estimate_loops_at_level
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_EDGE_COUNT
	cmp	x0, #1
	b.lt	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_loop_latch_edge
	bl	_EDGE_INFO
	str	w22, [x0]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_get_loop_body
	mov	x21, x0
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, #0
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21, x23, lsl #3]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bitmap_set_bit
	add	x23, x23, #1
	ldr	w8, [x20]
	cmp	x23, x8
	b.lo	LBB0_7
	b	LBB0_2
LBB0_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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_estimate_loops_at_level
.subsections_via_symbols
