	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scev_direction                 ## -- Begin function scev_direction
	.p2align	4, 0x90
_scev_direction:                        ## @scev_direction
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	callq	_evolution_function_is_affine_p
	movq	_EV_DIR_UNKNOWN@GOTPCREL(%rip), %r14
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	%ebx, %edi
	callq	_CHREC_RIGHT
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_TREE_CODE
	movq	_INTEGER_CST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movl	%ebx, %edi
	callq	_tree_int_cst_sign_bit
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_EV_DIR_GROWS@GOTPCREL(%rip), %r14
	jmp	LBB0_5
LBB0_3:
	movq	_EV_DIR_DECREASES@GOTPCREL(%rip), %r14
LBB0_5:
	movl	(%r14), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EV_DIR_UNKNOWN,4,2             ## @EV_DIR_UNKNOWN
	.comm	_INTEGER_CST,8,3                ## @INTEGER_CST
	.comm	_EV_DIR_DECREASES,4,2           ## @EV_DIR_DECREASES
	.comm	_EV_DIR_GROWS,4,2               ## @EV_DIR_GROWS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scev_direction                 ; -- Begin function scev_direction
	.p2align	2
_scev_direction:                        ; @scev_direction
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_evolution_function_is_affine_p
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_CHREC_RIGHT
	mov	x19, x0
	bl	_TREE_CODE
Lloh0:
	adrp	x8, _INTEGER_CST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTEGER_CST@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_tree_int_cst_sign_bit
Lloh3:
	adrp	x8, _EV_DIR_DECREASES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EV_DIR_DECREASES@GOTPAGEOFF]
Lloh5:
	adrp	x9, _EV_DIR_GROWS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EV_DIR_GROWS@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	b	LBB0_4
LBB0_3:
Lloh7:
	adrp	x8, _EV_DIR_UNKNOWN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EV_DIR_UNKNOWN@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EV_DIR_UNKNOWN,4,2             ; @EV_DIR_UNKNOWN
	.comm	_INTEGER_CST,8,3                ; @INTEGER_CST
	.comm	_EV_DIR_DECREASES,4,2           ; @EV_DIR_DECREASES
	.comm	_EV_DIR_GROWS,4,2               ; @EV_DIR_GROWS
.subsections_via_symbols
