	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_induction_var_from_exit_cond
_find_induction_var_from_exit_cond:     ## @find_induction_var_from_exit_cond
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_get_loop_exit_condition
	movq	%rax, %rbx
	movq	_NULL_TREE@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	je	LBB0_8
## %bb.1:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_COND_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_COMPARISON_CLASS_P
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_expr_invariant_in_loop_p
	movq	%rax, %r12
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_TREE_OPERAND
	movq	%rax, %rbx
	testq	%r12, %r12
	jne	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_expr_invariant_in_loop_p
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movq	%rax, %rbx
LBB0_6:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_SSA_NAME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
LBB0_7:
	movq	(%r13), %rbx
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NULL_TREE,8,3                  ## @NULL_TREE
	.comm	_COND_EXPR,8,3                  ## @COND_EXPR
	.comm	_SSA_NAME,8,3                   ## @SSA_NAME
	.no_dead_strip	_find_induction_var_from_exit_cond
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_induction_var_from_exit_cond
_find_induction_var_from_exit_cond:     ; @find_induction_var_from_exit_cond
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_get_loop_exit_condition
	mov	x20, x0
Lloh0:
	adrp	x23, _NULL_TREE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NULL_TREE@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.1:
	mov	x0, x20
	bl	_TREE_CODE
Lloh2:
	adrp	x8, _COND_EXPR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _COND_EXPR@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.2:
	mov	x0, x20
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x20, x0
	bl	_COMPARISON_CLASS_P
	cbz	w0, LBB0_7
; %bb.3:
	mov	x0, x20
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x1, x0
	mov	x0, x19
	bl	_expr_invariant_in_loop_p
	mov	x22, x0
	mov	x0, x20
	mov	w1, #1
	bl	_TREE_OPERAND
	mov	x21, x0
	cbnz	x22, LBB0_6
; %bb.4:
	mov	x0, x19
	mov	x1, x21
	bl	_expr_invariant_in_loop_p
	cbz	x0, LBB0_7
; %bb.5:
	mov	x0, x20
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x21, x0
LBB0_6:
	mov	x0, x21
	bl	_TREE_CODE
Lloh5:
	adrp	x8, _SSA_NAME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SSA_NAME@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x23]
	cmp	x0, x8
	csel	x20, x21, x9, eq
	b	LBB0_8
LBB0_7:
	ldr	x20, [x23]
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NULL_TREE,8,3                  ; @NULL_TREE
	.comm	_COND_EXPR,8,3                  ; @COND_EXPR
	.comm	_SSA_NAME,8,3                   ; @SSA_NAME
	.no_dead_strip	_find_induction_var_from_exit_cond
.subsections_via_symbols
