	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_canonicalize_induction_variables ## -- Begin function canonicalize_induction_variables
	.p2align	4, 0x90
_canonicalize_induction_variables:      ## @canonicalize_induction_variables
	.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
	movl	(%rdi), %eax
	cmpl	$1, %eax
	jbe	LBB0_1
## %bb.3:
	movq	%rdi, %r15
	xorl	%r14d, %r14d
	movl	$1, %ebx
	movq	_UL_SINGLE_ITER@GOTPCREL(%rip), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movl	%eax, %ecx
	cmpq	%rcx, %rbx
	jae	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rcx
	movq	(%rcx,%rbx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r12), %ecx
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$1, %r8d
	callq	_canonicalize_loop_induction_variables
	orl	%eax, %r14d
	movl	(%r15), %eax
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	callq	_scev_reset
	jmp	LBB0_2
LBB0_7:
	xorl	%eax, %eax
	callq	_scev_reset
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.8:
	movq	_TODO_cleanup_cfg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_2:
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UL_SINGLE_ITER,4,2             ## @UL_SINGLE_ITER
	.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	_canonicalize_induction_variables ; -- Begin function canonicalize_induction_variables
	.p2align	2
_canonicalize_induction_variables:      ; @canonicalize_induction_variables
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.ls	LBB0_5
; %bb.1:
	mov	x19, x0
	mov	w20, #0
	mov	w21, #1
Lloh0:
	adrp	x22, _UL_SINGLE_ITER@GOTPAGE
Lloh1:
	ldr	x22, [x22, _UL_SINGLE_ITER@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, uxtw
	b.hs	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	ldr	x1, [x9, x21, lsl #3]
	cbz	x1, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w3, [x22]
	mov	x0, x19
	mov	w2, #1
	mov	w4, #1
	bl	_canonicalize_loop_induction_variables
	orr	w20, w0, w20
	ldr	w8, [x19]
	b	LBB0_2
LBB0_5:
	bl	_scev_reset
	b	LBB0_8
LBB0_6:
	bl	_scev_reset
	cbz	w20, LBB0_8
; %bb.7:
Lloh2:
	adrp	x8, _TODO_cleanup_cfg@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TODO_cleanup_cfg@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_UL_SINGLE_ITER,4,2             ; @UL_SINGLE_ITER
	.comm	_TODO_cleanup_cfg,4,2           ; @TODO_cleanup_cfg
.subsections_via_symbols
