	.file	"extr_revision.c_limit_to_ancestry.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	limit_to_ancestry, @function
limit_to_ancestry:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	QWORD PTR [rsp], 0
	test	rsi, rsi
	je	.L20
	mov	r12, rsi
	mov	r13, rsp
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, QWORD PTR [r12]
	mov	rsi, r13
	call	commit_list_insert@PLT
	mov	r12, QWORD PTR 8[r12]
	test	r12, r12
	jne	.L3
	mov	r11, QWORD PTR [rsp]
.L2:
	mov	edi, DWORD PTR TMP_MARK[rip]
	mov	rax, rbp
	test	rbp, rbp
	je	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	or	DWORD PTR [rdx], edi
	test	rax, rax
	jne	.L4
.L6:
	mov	r12d, DWORD PTR UNINTERESTING[rip]
	mov	r9d, r12d
	or	r9d, edi
	.p2align 4,,10
	.p2align 3
.L5:
	test	r11, r11
	je	.L13
	mov	rax, r11
	xor	r10d, r10d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L41
.L7:
	mov	rcx, QWORD PTR [rax]
	mov	edx, DWORD PTR [rcx]
	test	edx, r9d
	jne	.L10
	mov	rsi, QWORD PTR 8[rcx]
	test	rsi, rsi
	je	.L10
.L12:
	mov	r8, QWORD PTR [rsi]
	test	DWORD PTR [r8], edi
	je	.L42
	mov	rax, QWORD PTR 8[rax]
	or	edx, edi
	mov	r10d, 1
	mov	DWORD PTR [rcx], edx
	test	rax, rax
	jne	.L7
.L41:
	test	r10d, r10d
	jne	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rax, rbx
	test	rbx, rbx
	je	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rcx, QWORD PTR [rax]
	mov	edx, DWORD PTR [rcx]
	test	edx, edi
	jne	.L16
	or	edx, r12d
	mov	DWORD PTR [rcx], edx
.L16:
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L8
	mov	edx, edi
	not	edx
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rax, QWORD PTR [rbx]
	mov	rbx, QWORD PTR 8[rbx]
	and	DWORD PTR [rax], edx
	test	rbx, rbx
	jne	.L17
.L9:
	not	edi
	test	rbp, rbp
	je	.L15
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rax, QWORD PTR 0[rbp]
	mov	rbp, QWORD PTR 8[rbp]
	and	DWORD PTR [rax], edi
	test	rbp, rbp
	jne	.L18
.L15:
	mov	rdi, r11
	call	free_commit_list@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L43
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L42:
	.cfi_restore_state
	mov	rsi, QWORD PTR 8[rsi]
	test	rsi, rsi
	jne	.L12
	jmp	.L10
.L20:
	xor	r11d, r11d
	jmp	.L2
.L43:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	limit_to_ancestry, .-limit_to_ancestry
	.comm	UNINTERESTING,4,4
	.comm	TMP_MARK,4,4
	.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_revision.c_limit_to_ancestry.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	limit_to_ancestry, %function
limit_to_ancestry:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r2, .L41
	sub	sp, sp, #12
	subs	r6, r1, #0
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	mov	r5, r0
	str	r3, [sp]
	beq	.L20
	mov	r4, r6
.L3:
	ldr	r0, [r4]
	mov	r1, sp
	bl	commit_list_insert
	ldr	r4, [r4, #4]
	cmp	r4, #0
	bne	.L3
	ldr	r0, [sp]
.L2:
	ldr	r3, .L41+4
	cmp	r5, #0
	ldr	lr, [r3]
	movne	r3, r5
	beq	.L6
.L4:
	ldm	r3, {r1, r3}
	ldr	r2, [r1]
	cmp	r3, #0
	orr	r2, r2, lr
	str	r2, [r1]
	bne	.L4
.L6:
	ldr	r3, .L41+8
	ldr	r9, [r3]
	orr	r7, r9, lr
.L5:
	cmp	r0, #0
	beq	.L13
	mov	r3, r0
	mov	r8, #0
	b	.L7
.L10:
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L38
.L7:
	ldr	r1, [r3]
	ldr	r2, [r1]
	tst	r2, r7
	bne	.L10
	ldr	ip, [r1, #4]
	cmp	ip, #0
	beq	.L10
.L12:
	ldr	r4, [ip]
	ldr	r4, [r4]
	tst	lr, r4
	beq	.L39
	ldr	r3, [r3, #4]
	orr	r2, r2, lr
	cmp	r3, #0
	mov	r8, #1
	str	r2, [r1]
	bne	.L7
.L38:
	cmp	r8, #0
	bne	.L5
.L13:
	cmp	r6, #0
	movne	r3, r6
	beq	.L9
.L8:
	ldr	r1, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, [r1]
	tst	r2, lr
	orreq	r2, r9, r2
	streq	r2, [r1]
	cmp	r3, #0
	bne	.L8
	mvn	r1, lr
.L17:
	ldm	r6, {r2, r6}
	ldr	r3, [r2]
	cmp	r6, #0
	and	r3, r3, r1
	str	r3, [r2]
	bne	.L17
.L9:
	cmp	r5, #0
	mvnne	lr, lr
	beq	.L15
.L18:
	ldm	r5, {r2, r5}
	ldr	r3, [r2]
	cmp	r5, #0
	and	r3, r3, lr
	str	r3, [r2]
	bne	.L18
.L15:
	bl	free_commit_list
	ldr	r3, .L41
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L40
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L39:
	ldr	ip, [ip, #4]
	cmp	ip, #0
	bne	.L12
	b	.L10
.L20:
	mov	r0, r6
	b	.L2
.L40:
	bl	__stack_chk_fail
.L42:
	.align	2
.L41:
	.word	.LC0
	.word	TMP_MARK
	.word	UNINTERESTING
	.size	limit_to_ancestry, .-limit_to_ancestry
	.comm	UNINTERESTING,4,4
	.comm	TMP_MARK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
