	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_remove_empty_loops             ## -- Begin function remove_empty_loops
	.p2align	4, 0x90
_remove_empty_loops:                    ## @remove_empty_loops
	.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
	movl	$0, -28(%rbp)
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	leaq	-28(%rbp), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_try_remove_empty_loop
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.3:
	cmpl	$0, -28(%rbp)
	je	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_scev_reset
	movq	_TODO_cleanup_cfg@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TODO_cleanup_cfg,4,2           ## @TODO_cleanup_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_remove_empty_loops             ; -- Begin function remove_empty_loops
	.p2align	2
_remove_empty_loops:                    ; @remove_empty_loops
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	str	wzr, [sp, #12]
	ldr	x8, [x0]
	ldr	x19, [x8]
	cbz	x19, LBB0_4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #12
	mov	x0, x19
	bl	_try_remove_empty_loop
	ldr	x19, [x19]
	cbnz	x19, LBB0_1
; %bb.2:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_4
; %bb.3:
	bl	_scev_reset
Lloh0:
	adrp	x8, _TODO_cleanup_cfg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TODO_cleanup_cfg@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TODO_cleanup_cfg,4,2           ; @TODO_cleanup_cfg
.subsections_via_symbols
