	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_number_of_iters_for_loop
_get_number_of_iters_for_loop:          ## @get_number_of_iters_for_loop
	.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	_current_loops@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rax), %rax
	movslq	%edi, %r15
	movq	(%rax,%r15,8), %rdi
	callq	_number_of_iterations_in_loop
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_TREE_CODE
	movq	_INTEGER_CST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rax
	movl	(%rax), %ebx
LBB0_2:
	movl	%ebx, %edi
	callq	_chrec_contains_undetermined
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_loops,8,3              ## @current_loops
	.comm	_INTEGER_CST,8,3                ## @INTEGER_CST
	.comm	_NULL_TREE,4,2                  ## @NULL_TREE
	.no_dead_strip	_get_number_of_iters_for_loop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_number_of_iters_for_loop
_get_number_of_iters_for_loop:          ; @get_number_of_iters_for_loop
	.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	x20, x0
Lloh0:
	adrp	x21, _current_loops@GOTPAGE
Lloh1:
	ldr	x21, [x21, _current_loops@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x0, [x8, w0, sxtw #3]
	bl	_number_of_iterations_in_loop
	mov	x19, x0
	bl	_TREE_CODE
Lloh2:
	adrp	x8, _INTEGER_CST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INTEGER_CST@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	sxtw	x8, w20
	ldr	x9, [x21]
	ldr	x9, [x9]
	ldr	x8, [x9, x8, lsl #3]
	ldr	w19, [x8]
LBB0_2:
	mov	x0, x19
	bl	_chrec_contains_undetermined
Lloh5:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, w19, w8, eq
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_current_loops,8,3              ; @current_loops
	.comm	_INTEGER_CST,8,3                ; @INTEGER_CST
	.comm	_NULL_TREE,4,2                  ; @NULL_TREE
	.no_dead_strip	_get_number_of_iters_for_loop
.subsections_via_symbols
