	.file	"extr_ddg.c_build_intra_loop_deps.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	build_intra_loop_deps, @function
build_intra_loop_deps:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r15, 4[rsp]
	call	init_deps_global@PLT
	mov	rdi, r15
	call	init_deps@PLT
	mov	edi, DWORD PTR 16[rbx]
	lea	rcx, 16[rsp]
	lea	rdx, 8[rsp]
	mov	esi, edi
	call	get_ebb_head_tail@PLT
	mov	rdx, QWORD PTR 16[rsp]
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, r15
	call	sched_analyze@PLT
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	jle	.L2
	xor	r14d, r14d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L3:
	add	r14, 1
	cmp	DWORD PTR [rbx], r14d
	jle	.L2
.L11:
	mov	rax, QWORD PTR 8[rbx]
	lea	r13, [rax+r14*8]
	mov	edi, DWORD PTR 4[r13]
	call	INSN_P@PLT
	test	eax, eax
	je	.L3
	mov	edi, DWORD PTR 4[r13]
	call	LOG_LINKS@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	xor	esi, esi
	mov	rdi, rbp
	call	XEXP@PLT
	mov	rdi, rbx
	mov	rsi, rax
	call	get_node_of_insn@PLT
	mov	r12, rax
	test	rax, rax
	je	.L5
	mov	edi, DWORD PTR 4[r13]
	mov	rsi, rbp
	call	add_forw_dep@PLT
	mov	edi, DWORD PTR 4[r12]
	call	INSN_DEPEND@PLT
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbx
	mov	ecx, eax
	call	create_ddg_dependence@PLT
.L5:
	mov	rdi, rbp
	mov	esi, 1
	call	XEXP@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L6
.L4:
	mov	edi, DWORD PTR 4[r13]
	xor	ebp, ebp
	call	mem_access_insn_p@PLT
	test	rax, rax
	jne	.L10
	add	r14, 1
	cmp	DWORD PTR [rbx], r14d
	jg	.L11
	.p2align 4,,10
	.p2align 3
.L2:
	xor	eax, eax
	call	finish_deps_global@PLT
	mov	rdi, r15
	call	free_deps@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L30
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L31:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[r13]
	mov	esi, ebp
	call	TEST_BIT@PLT
	test	eax, eax
	jne	.L8
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, rbx
	call	add_inter_loop_mem_dep@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	lea	rax, 1[rbp]
	cmp	r14, rbp
	je	.L3
	mov	rbp, rax
.L10:
	mov	rax, QWORD PTR 8[rbx]
	lea	r12, [rax+rbp*8]
	mov	edi, DWORD PTR 4[r12]
	call	mem_access_insn_p@PLT
	test	rax, rax
	je	.L8
	jmp	.L31
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	build_intra_loop_deps, .-build_intra_loop_deps
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ddg.c_build_intra_loop_deps.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_intra_loop_deps, %function
build_intra_loop_deps:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	ldr	r3, .L32
	sub	sp, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	init_deps_global
	mov	r0, sp
	bl	init_deps
	ldr	r1, [r7, #8]
	add	r3, sp, #8
	mov	r0, r1
	add	r2, sp, #4
	bl	get_ebb_head_tail
	ldmib	sp, {r1, r2}
	mov	r0, sp
	bl	sched_analyze
	ldr	r3, [r7]
	cmp	r3, #0
	ble	.L2
	mov	r8, #0
	b	.L11
.L29:
	add	r8, r8, #1
.L3:
	ldr	r3, [r7]
	cmp	r3, r8
	ble	.L2
.L11:
	ldr	r6, [r7, #4]
	add	r6, r6, r8, lsl #3
	ldr	r0, [r6, #4]
	bl	INSN_P
	cmp	r0, #0
	beq	.L29
	ldr	r0, [r6, #4]
	bl	LOG_LINKS
	subs	r4, r0, #0
	beq	.L4
.L6:
	mov	r1, #0
	mov	r0, r4
	bl	XEXP
	mov	r1, r0
	mov	r0, r7
	bl	get_node_of_insn
	subs	r5, r0, #0
	beq	.L5
	mov	r1, r4
	ldr	r0, [r6, #4]
	bl	add_forw_dep
	ldr	r0, [r5, #4]
	bl	INSN_DEPEND
	mov	r2, r6
	mov	r3, r0
	mov	r1, r5
	mov	r0, r7
	bl	create_ddg_dependence
.L5:
	mov	r0, r4
	mov	r1, #1
	bl	XEXP
	subs	r4, r0, #0
	bne	.L6
.L4:
	ldr	r0, [r6, #4]
	bl	mem_access_insn_p
	cmp	r0, #0
	beq	.L29
	mov	r4, #0
	add	r8, r8, #1
	b	.L10
.L8:
	add	r4, r4, #1
	cmp	r8, r4
	beq	.L3
.L10:
	ldr	r5, [r7, #4]
	add	r5, r5, r4, lsl #3
	ldr	r0, [r5, #4]
	bl	mem_access_insn_p
	cmp	r0, #0
	beq	.L8
	mov	r1, r4
	ldr	r0, [r6]
	bl	TEST_BIT
	cmp	r0, #0
	bne	.L8
	mov	r2, r5
	mov	r1, r6
	mov	r0, r7
	bl	add_inter_loop_mem_dep
	b	.L8
.L2:
	bl	finish_deps_global
	mov	r0, sp
	bl	free_deps
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L31
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L31:
	bl	__stack_chk_fail
.L33:
	.align	2
.L32:
	.word	.LC0
	.size	build_intra_loop_deps, .-build_intra_loop_deps
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
