	.file	"extr_fsck.c_mark_unreachable_referents.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mark_unreachable_referents, @function
mark_unreachable_referents:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rsi, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR the_repository[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR FSCK_OPTIONS_DEFAULT[rip]
	mov	DWORD PTR 4[rsp], eax
	call	lookup_object@PLT
	test	rax, rax
	je	.L1
	mov	rbp, rax
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR HAS_OBJ[rip], eax
	je	.L1
	test	DWORD PTR REACHABLE[rip], eax
	jne	.L1
	mov	rax, QWORD PTR OBJ_NONE[rip]
	cmp	QWORD PTR 8[rbp], rax
	je	.L19
.L4:
	mov	eax, DWORD PTR mark_used[rip]
	lea	rdx, 4[rsp]
	xor	esi, esi
	mov	rdi, rbp
	mov	DWORD PTR 4[rsp], eax
	call	fsck_walk@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	edi, DWORD PTR the_repository[rip]
	xor	edx, edx
	lea	rsi, 16[rbp]
	call	oid_object_info@PLT
	test	eax, eax
	je	.L4
	mov	edi, DWORD PTR the_repository[rip]
	xor	ecx, ecx
	mov	edx, eax
	mov	rsi, rbp
	call	object_as_type@PLT
	jmp	.L4
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mark_unreachable_referents, .-mark_unreachable_referents
	.comm	the_repository,4,4
	.comm	mark_used,4,4
	.comm	REACHABLE,4,4
	.comm	OBJ_NONE,8,8
	.comm	HAS_OBJ,4,4
	.comm	FSCK_OPTIONS_DEFAULT,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_fsck.c_mark_unreachable_referents.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mark_unreachable_referents, %function
mark_unreachable_referents:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L21
	ldr	r6, .L21+4
	ldr	r3, [r3]
	ldr	r2, .L21+8
	sub	sp, sp, #8
	mov	r1, r0
	ldr	r0, [r6]
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	str	r3, [sp]
	bl	lookup_object
	subs	r5, r0, #0
	beq	.L1
	ldr	r2, .L21+12
	ldr	r3, [r5]
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L1
	ldr	r2, .L21+16
	ldr	r4, [r2]
	ands	r4, r3, r4
	bne	.L1
	ldr	r3, .L21+20
	ldr	r2, [r5, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L19
.L4:
	ldr	r3, .L21+24
	mov	r0, r5
	ldr	r3, [r3]
	mov	r2, sp
	mov	r1, #0
	str	r3, [sp]
	bl	fsck_walk
.L1:
	ldr	r3, .L21+8
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L19:
	mov	r2, r4
	ldr	r0, [r6]
	add	r1, r5, #8
	bl	oid_object_info
	subs	r2, r0, #0
	beq	.L4
	mov	r3, r4
	mov	r1, r5
	ldr	r0, [r6]
	bl	object_as_type
	b	.L4
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	FSCK_OPTIONS_DEFAULT
	.word	the_repository
	.word	.LC0
	.word	HAS_OBJ
	.word	REACHABLE
	.word	OBJ_NONE
	.word	mark_used
	.size	mark_unreachable_referents, .-mark_unreachable_referents
	.comm	the_repository,4,4
	.comm	mark_used,4,4
	.comm	REACHABLE,4,4
	.comm	OBJ_NONE,4,4
	.comm	HAS_OBJ,4,4
	.comm	FSCK_OPTIONS_DEFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
