	.file	"extr_sub-process.c_subprocess_read_status.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"status="
	.text
	.p2align 4
	.globl	subprocess_read_status
	.type	subprocess_read_status, @function
subprocess_read_status:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	r14, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, edi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r12, rsp
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, rbp
	call	strbuf_list_free@PLT
.L6:
	xor	esi, esi
	mov	rdx, r12
	mov	edi, ebx
	call	packet_read_line_gently@PLT
	test	eax, eax
	js	.L2
	mov	rdi, QWORD PTR [rsp]
	test	rdi, rdi
	je	.L2
	mov	edx, 2
	mov	esi, 61
	call	strbuf_split_str@PLT
	mov	rbp, rax
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L4
	cmp	QWORD PTR 8[rax], 0
	je	.L4
	cmp	QWORD PTR 8[rbp], 0
	je	.L4
	mov	edi, DWORD PTR [rax]
	mov	rsi, r14
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
	mov	rdi, r13
	call	strbuf_reset@PLT
	mov	rsi, QWORD PTR 8[rbp]
	mov	rdi, r13
	call	strbuf_addbuf@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	test	eax, eax
	mov	edx, 0
	cmovg	eax, edx
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L13
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	subprocess_read_status, .-subprocess_read_status
	.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_sub-process.c_subprocess_read_status.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"status=\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	subprocess_read_status
	.syntax unified
	.arm
	.fpu softvfp
	.type	subprocess_read_status, %function
subprocess_read_status:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L20
	sub	sp, sp, #12
	mov	r5, r0
	mov	r6, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	ldr	r7, .L20+4
	b	.L6
.L4:
	mov	r0, r4
	bl	strbuf_list_free
.L6:
	mov	r2, sp
	mov	r1, #0
	mov	r0, r5
	bl	packet_read_line_gently
	subs	r3, r0, #0
	blt	.L2
	ldr	r0, [sp]
	cmp	r0, #0
	beq	.L2
	mov	r2, #2
	mov	r1, #61
	bl	strbuf_split_str
	ldr	r3, [r0]
	mov	r4, r0
	cmp	r3, #0
	beq	.L4
	ldr	r2, [r3, #4]
	cmp	r2, #0
	beq	.L4
	ldr	r2, [r0, #4]
	cmp	r2, #0
	beq	.L4
	mov	r1, r7
	ldr	r0, [r3]
	bl	strcmp
	cmp	r0, #0
	bne	.L4
	mov	r0, r6
	bl	strbuf_reset
	mov	r0, r6
	ldr	r1, [r4, #4]
	bl	strbuf_addbuf
	b	.L4
.L2:
	and	r0, r3, r3, asr #31
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC1
	.word	.LC0
	.size	subprocess_read_status, .-subprocess_read_status
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
