	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_givs_in_stmt_scev
_find_givs_in_stmt_scev:                ## @find_givs_in_stmt_scev
	.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
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	(%rdi), %r12
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rdx)
	movq	%rax, (%rdx)
	movl	%esi, %edi
	callq	_TREE_CODE
	movq	_MODIFY_EXPR@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	xorl	%r14d, %r14d
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movl	%eax, %edi
	callq	_TREE_CODE
	movq	_SSA_NAME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_TREE_OPERAND
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	movl	$1, %r8d
	callq	_simple_iv
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	8(%r15), %rdi
	callq	_expand_simple_operations
	movq	%rax, 8(%r15)
	movq	%rax, %rdi
	callq	_contains_abnormal_ssa_name_p
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	(%r15), %rdi
	callq	_contains_abnormal_ssa_name_p
	xorl	%r14d, %r14d
	testq	%rax, %rax
	sete	%r14b
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NULL_TREE,8,3                  ## @NULL_TREE
	.comm	_MODIFY_EXPR,8,3                ## @MODIFY_EXPR
	.comm	_SSA_NAME,8,3                   ## @SSA_NAME
	.no_dead_strip	_find_givs_in_stmt_scev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_givs_in_stmt_scev
_find_givs_in_stmt_scev:                ; @find_givs_in_stmt_scev
	.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	x19, x2
	mov	x20, x1
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _NULL_TREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NULL_TREE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stp	x8, x8, [x2]
	mov	x0, x1
	bl	_TREE_CODE
Lloh3:
	adrp	x8, _MODIFY_EXPR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MODIFY_EXPR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x20
	mov	w1, #0
	bl	_TREE_OPERAND
	bl	_TREE_CODE
	mov	x8, x0
	mov	w0, #0
Lloh6:
	adrp	x9, _SSA_NAME@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SSA_NAME@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x20
	mov	w1, #1
	bl	_TREE_OPERAND
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	mov	w4, #1
	bl	_simple_iv
	cbz	w0, LBB0_5
; %bb.3:
	ldr	x0, [x19, #8]
	bl	_expand_simple_operations
	str	x0, [x19, #8]
	bl	_contains_abnormal_ssa_name_p
	cbz	x0, LBB0_6
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
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	x0, [x19]
	bl	_contains_abnormal_ssa_name_p
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NULL_TREE,8,3                  ; @NULL_TREE
	.comm	_MODIFY_EXPR,8,3                ; @MODIFY_EXPR
	.comm	_SSA_NAME,8,3                   ; @SSA_NAME
	.no_dead_strip	_find_givs_in_stmt_scev
.subsections_via_symbols
