	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idx_find_step
_idx_find_step:                         ## @idx_find_step
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	16(%rdx), %rax
	movq	(%rax), %r13
	callq	_TREE_CODE
	movq	_MISALIGNED_INDIRECT_REF@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.1:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_ALIGN_INDIRECT_REF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
LBB0_17:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_COMPONENT_REF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.18:
	movq	%rbx, %rdi
	callq	_component_ref_field_offset
	movq	%r13, %rdi
	movq	%rax, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_expr_invariant_in_loop_p       ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_ARRAY_REF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_array_ref_element_size
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_array_ref_low_bound
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_expr_invariant_in_loop_p
	testl	%eax, %eax
	je	LBB0_17
## %bb.5:
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_expr_invariant_in_loop_p
	testl	%eax, %eax
	je	LBB0_17
LBB0_6:
	movq	(%r12), %rdi
	callq	_TREE_CODE
	movq	_SSA_NAME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.7:
	movq	16(%r14), %rdi
	movq	(%r12), %rsi
	callq	_get_iv
	testq	%rax, %rax
	je	LBB0_17
## %bb.8:
	movq	%rax, %r13
	movq	8(%rax), %rax
	movq	%rax, (%r12)
	cmpq	$0, (%r13)
	je	LBB0_16
## %bb.9:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_ARRAY_REF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	callq	_array_ref_element_size
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_INTEGER_CST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
	jmp	LBB0_12
LBB0_11:
	movq	_sizetype@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_build_int_cst
	movq	%rax, %rbx
LBB0_12:
	movq	8(%r13), %rax
	movq	%rax, -72(%rbp)
	movq	(%r13), %rax
	movq	%rax, -48(%rbp)
	movq	16(%r14), %rax
	movq	(%rax), %rdi
	movq	_sizetype@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	8(%r14), %r8d
	leaq	-72(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	xorl	%r15d, %r15d
	xorl	%r9d, %r9d
	callq	_convert_affine_scev
	testl	%eax, %eax
	je	LBB0_17
## %bb.13:
	movq	_MULT_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	movq	-48(%rbp), %rcx
	movq	%rbx, %rdx
	callq	_fold_build2
	movq	(%r14), %rcx
	movq	(%rcx), %rdx
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.14:
	movq	_PLUS_EXPR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%r12), %esi
	movq	%rax, %rcx
	callq	_fold_build2
	movq	(%r14), %rcx
LBB0_15:
	movq	%rax, (%rcx)
LBB0_16:
	movl	$1, %r15d
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_MISALIGNED_INDIRECT_REF,8,3    ## @MISALIGNED_INDIRECT_REF
	.comm	_ALIGN_INDIRECT_REF,8,3         ## @ALIGN_INDIRECT_REF
	.comm	_COMPONENT_REF,8,3              ## @COMPONENT_REF
	.comm	_ARRAY_REF,8,3                  ## @ARRAY_REF
	.comm	_SSA_NAME,8,3                   ## @SSA_NAME
	.comm	_INTEGER_CST,8,3                ## @INTEGER_CST
	.comm	_sizetype,4,2                   ## @sizetype
	.comm	_MULT_EXPR,4,2                  ## @MULT_EXPR
	.comm	_PLUS_EXPR,4,2                  ## @PLUS_EXPR
	.no_dead_strip	_idx_find_step
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idx_find_step
_idx_find_step:                         ; @idx_find_step
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x2, #16]
	ldr	x22, [x8]
	bl	_TREE_CODE
Lloh0:
	adrp	x8, _MISALIGNED_INDIRECT_REF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MISALIGNED_INDIRECT_REF@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_TREE_CODE
Lloh3:
	adrp	x8, _ALIGN_INDIRECT_REF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ALIGN_INDIRECT_REF@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
	mov	x0, x20
	bl	_TREE_CODE
Lloh6:
	adrp	x8, _COMPONENT_REF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _COMPONENT_REF@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_component_ref_field_offset
	mov	x1, x0
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_expr_invariant_in_loop_p
LBB0_6:
	mov	x0, x20
	bl	_TREE_CODE
Lloh9:
	adrp	x25, _ARRAY_REF@GOTPAGE
Lloh10:
	ldr	x25, [x25, _ARRAY_REF@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.7:
	mov	x0, x20
	bl	_array_ref_element_size
	mov	x24, x0
	mov	x0, x20
	bl	_array_ref_low_bound
	mov	x23, x0
	mov	x0, x22
	mov	x1, x24
	bl	_expr_invariant_in_loop_p
	cbz	w0, LBB0_3
; %bb.8:
	mov	x0, x22
	mov	x1, x23
	bl	_expr_invariant_in_loop_p
	cbz	w0, LBB0_3
LBB0_9:
	ldr	x0, [x21]
	bl	_TREE_CODE
Lloh11:
	adrp	x8, _SSA_NAME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SSA_NAME@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_19
; %bb.10:
	ldr	x0, [x19, #16]
	ldr	x1, [x21]
	bl	_get_iv
	cbz	x0, LBB0_3
; %bb.11:
	mov	x22, x0
	ldr	x8, [x0, #8]
	str	x8, [x21]
	ldr	x8, [x0]
	cbz	x8, LBB0_19
; %bb.12:
	mov	x0, x20
	bl	_TREE_CODE
	ldr	x8, [x25]
Lloh14:
	adrp	x21, _sizetype@GOTPAGE
Lloh15:
	ldr	x21, [x21, _sizetype@GOTPAGEOFF]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x20
	bl	_array_ref_element_size
	mov	x20, x0
	bl	_TREE_CODE
Lloh16:
	adrp	x8, _INTEGER_CST@GOTPAGE
Lloh17:
	ldr	x8, [x8, _INTEGER_CST@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
	b	LBB0_15
LBB0_14:
	ldr	w0, [x21]
	mov	w1, #1
	bl	_build_int_cst
	mov	x20, x0
LBB0_15:
	ldr	x8, [x22, #8]
	str	x8, [sp, #8]
	ldr	x8, [x22]
	str	x8, [sp]
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	ldr	w1, [x21]
	ldr	w4, [x19, #8]
	add	x2, sp, #8
	mov	x3, sp
	mov	w5, #0
	bl	_convert_affine_scev
	cbz	w0, LBB0_3
; %bb.16:
Lloh19:
	adrp	x8, _MULT_EXPR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MULT_EXPR@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldr	w1, [x21]
	ldr	x3, [sp]
	mov	x2, x20
	bl	_fold_build2
	mov	x3, x0
	ldr	x8, [x19]
	ldr	x2, [x8]
	cbz	x2, LBB0_18
; %bb.17:
Lloh22:
	adrp	x8, _PLUS_EXPR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PLUS_EXPR@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldr	w1, [x21]
	bl	_fold_build2
	ldr	x8, [x19]
	str	x0, [x8]
	b	LBB0_19
LBB0_18:
	str	x3, [x8]
LBB0_19:
	mov	w0, #1
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MISALIGNED_INDIRECT_REF,8,3    ; @MISALIGNED_INDIRECT_REF
	.comm	_ALIGN_INDIRECT_REF,8,3         ; @ALIGN_INDIRECT_REF
	.comm	_COMPONENT_REF,8,3              ; @COMPONENT_REF
	.comm	_ARRAY_REF,8,3                  ; @ARRAY_REF
	.comm	_SSA_NAME,8,3                   ; @SSA_NAME
	.comm	_INTEGER_CST,8,3                ; @INTEGER_CST
	.comm	_sizetype,4,2                   ; @sizetype
	.comm	_MULT_EXPR,4,2                  ; @MULT_EXPR
	.comm	_PLUS_EXPR,4,2                  ; @PLUS_EXPR
	.no_dead_strip	_idx_find_step
.subsections_via_symbols
