	.file	"extr_status.c_status_open.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"The status view requires a working tree"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Failed to load status data"
	.text
	.p2align 4
	.type	status_open, @function
status_open:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	is_initial_commit@PLT
	test	rax, rax
	je	.L2
	mov	r12, QWORD PTR status_list_no_head_argv[rip]
	mov	ebx, 65
.L3:
	cmp	QWORD PTR repo[rip+8], 0
	jne	.L4
	mov	rax, QWORD PTR repo[rip]
	cmp	QWORD PTR [rax], 0
	je	.L20
.L4:
	mov	rdi, rbp
	call	reset_view@PLT
	mov	esi, DWORD PTR WATCH_INDEX[rip]
	mov	rdi, rbp
	call	watch_register@PLT
	mov	esi, DWORD PTR LINE_HEADER[rip]
	mov	rdi, rbp
	call	add_line_nodata@PLT
	xor	eax, eax
	call	status_update_onbranch@PLT
	xor	eax, eax
	call	update_index@PLT
	mov	edx, DWORD PTR show_untracked_only[rip]
	test	edx, edx
	je	.L5
.L9:
	mov	rdi, rbp
	call	status_read_untracked@PLT
	test	eax, eax
	jne	.L21
.L6:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, .LC1[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	error@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12, QWORD PTR status_diff_index_argv[rip]
	mov	ebx, 65
	cmp	QWORD PTR status_list_no_head_argv[rip], r12
	mov	edx, 0
	cmovne	ebx, edx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdi, rbp
	call	status_restore@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR SUCCESS[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	ecx, DWORD PTR LINE_STAT_STAGED[rip]
	movsx	edx, bl
	mov	rsi, r12
	mov	rdi, rbp
	call	status_run@PLT
	test	eax, eax
	je	.L6
	mov	eax, DWORD PTR show_untracked_only[rip]
	test	eax, eax
	jne	.L9
	mov	ecx, DWORD PTR LINE_STAT_UNSTAGED[rip]
	mov	rsi, QWORD PTR status_diff_files_argv[rip]
	xor	edx, edx
	mov	rdi, rbp
	call	status_run@PLT
	test	eax, eax
	jne	.L9
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, .LC1[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	error@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	lea	rdi, .LC0[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	error@PLT
	.cfi_endproc
.LFE0:
	.size	status_open, .-status_open
	.comm	status_list_no_head_argv,8,8
	.comm	status_diff_index_argv,8,8
	.comm	status_diff_files_argv,8,8
	.comm	show_untracked_only,4,4
	.comm	repo,16,16
	.comm	WATCH_INDEX,4,4
	.comm	SUCCESS,4,4
	.comm	LINE_STAT_UNSTAGED,4,4
	.comm	LINE_STAT_STAGED,4,4
	.comm	LINE_HEADER,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_status.c_status_open.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"The status view requires a working tree\000"
	.align	2
.LC1:
	.ascii	"Failed to load status data\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	status_open, %function
status_open:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	bl	is_initial_commit
	cmp	r0, #0
	beq	.L2
	mov	r5, #65
	ldr	r3, .L22
	ldr	r6, [r3]
.L3:
	ldr	r3, .L22+4
	ldr	r2, [r3, #4]
	cmp	r2, #0
	bne	.L4
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L20
.L4:
	mov	r0, r4
	bl	reset_view
	ldr	r3, .L22+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	watch_register
	ldr	r3, .L22+12
	ldr	r7, .L22+16
	ldr	r1, [r3]
	mov	r0, r4
	bl	add_line_nodata
	bl	status_update_onbranch
	bl	update_index
	ldr	r3, [r7]
	cmp	r3, #0
	beq	.L5
.L9:
	mov	r0, r4
	bl	status_read_untracked
	cmp	r0, #0
	bne	.L21
.L6:
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r0, .L22+20
	b	error
.L2:
	ldr	r2, .L22+24
	ldr	r3, .L22
	ldr	r6, [r2]
	ldr	r5, [r3]
	cmp	r5, r6
	moveq	r5, #65
	movne	r5, #0
	b	.L3
.L21:
	mov	r0, r4
	bl	status_restore
	ldr	r3, .L22+28
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r3, .L22+32
	mov	r2, r5
	mov	r1, r6
	mov	r0, r4
	ldr	r3, [r3]
	bl	status_run
	cmp	r0, #0
	beq	.L6
	ldr	r2, [r7]
	cmp	r2, #0
	bne	.L9
	ldr	r3, .L22+36
	ldr	r1, .L22+40
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r1, [r1]
	bl	status_run
	cmp	r0, #0
	bne	.L9
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r0, .L22+20
	b	error
.L20:
	ldr	r0, .L22+44
	pop	{r4, r5, r6, r7, r8, lr}
	b	error
.L23:
	.align	2
.L22:
	.word	status_list_no_head_argv
	.word	repo
	.word	WATCH_INDEX
	.word	LINE_HEADER
	.word	show_untracked_only
	.word	.LC1
	.word	status_diff_index_argv
	.word	SUCCESS
	.word	LINE_STAT_STAGED
	.word	LINE_STAT_UNSTAGED
	.word	status_diff_files_argv
	.word	.LC0
	.size	status_open, .-status_open
	.comm	status_list_no_head_argv,4,4
	.comm	status_diff_index_argv,4,4
	.comm	status_diff_files_argv,4,4
	.comm	show_untracked_only,4,4
	.comm	repo,8,4
	.comm	WATCH_INDEX,4,4
	.comm	SUCCESS,4,4
	.comm	LINE_STAT_UNSTAGED,4,4
	.comm	LINE_STAT_STAGED,4,4
	.comm	LINE_HEADER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
