	.file	"extr_indent_wrapper.c_cmd_popen.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"sh"
.LC1:
	.string	"-c"
.LC2:
	.string	"/bin/sh"
.LC3:
	.string	"w"
.LC4:
	.string	"r"
	.text
	.p2align 4
	.type	cmd_popen, @function
cmd_popen:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	sub	rsp, 80
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 8[rsp], rsi
	lea	rdi, 16[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	call	pipe@PLT
	test	rax, rax
	js	.L2
	lea	rdi, 24[rsp]
	call	pipe@PLT
	test	rax, rax
	js	.L13
	lea	rax, .LC0[rip]
	mov	QWORD PTR 48[rsp], rbx
	mov	QWORD PTR 32[rsp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 56[rsp], 0
	call	vfork@PLT
	endbr64
	cmp	eax, -1
	je	.L5
	test	eax, eax
	jne	.L7
	mov	esi, DWORD PTR STDOUT_FILENO[rip]
	mov	edi, DWORD PTR 20[rsp]
	call	dup2@PLT
	mov	esi, DWORD PTR STDIN_FILENO[rip]
	mov	edi, DWORD PTR 24[rsp]
	call	dup2@PLT
	mov	edi, DWORD PTR 16[rsp]
	call	close@PLT
	mov	edi, DWORD PTR 28[rsp]
	call	close@PLT
	mov	edx, DWORD PTR environ[rip]
	lea	rsi, 32[rsp]
	lea	rdi, .LC2[rip]
	call	execve@PLT
	mov	edi, 127
	call	exit@PLT
.L7:
	mov	edi, DWORD PTR 28[rsp]
	lea	rsi, .LC3[rip]
	call	fdopen@PLT
	mov	rbx, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR 16[rsp]
	lea	rsi, .LC4[rip]
	mov	QWORD PTR [rbx], rax
	call	fdopen@PLT
	mov	edi, DWORD PTR 20[rsp]
	mov	QWORD PTR 8[rbx], rax
	call	close@PLT
	mov	edi, DWORD PTR 24[rsp]
	call	close@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, DWORD PTR 16[rsp]
	call	close@PLT
	mov	edi, DWORD PTR 20[rsp]
	call	close@PLT
.L2:
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR 8[rax], 0
	mov	QWORD PTR [rax], 0
.L1:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 80
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR 16[rsp]
	call	close@PLT
	mov	edi, DWORD PTR 20[rsp]
	call	close@PLT
	mov	edi, DWORD PTR 24[rsp]
	call	close@PLT
	mov	edi, DWORD PTR 28[rsp]
	call	close@PLT
	jmp	.L2
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cmd_popen, .-cmd_popen
	.comm	environ,4,4
	.comm	STDOUT_FILENO,4,4
	.comm	STDIN_FILENO,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_indent_wrapper.c_cmd_popen.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sh\000"
	.align	2
.LC1:
	.ascii	"-c\000"
	.align	2
.LC2:
	.ascii	"/bin/sh\000"
	.align	2
.LC3:
	.ascii	"w\000"
	.align	2
.LC4:
	.ascii	"r\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmd_popen, %function
cmd_popen:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L15
	sub	sp, sp, #48
	str	r1, [sp, #4]
	mov	r4, r0
	add	r0, sp, #28
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	pipe
	cmp	r0, #0
	blt	.L2
	add	r0, sp, #36
	bl	pipe
	cmp	r0, #0
	blt	.L13
	mov	r1, #0
	ldr	r2, .L15+4
	ldr	r3, .L15+8
	str	r4, [sp, #20]
	str	r1, [sp, #24]
	str	r2, [sp, #12]
	str	r3, [sp, #16]
	bl	vfork
	cmn	r0, #1
	beq	.L5
	cmp	r0, #0
	bne	.L7
	ldr	r3, .L15+12
	ldr	r0, [sp, #32]
	ldr	r1, [r3]
	bl	dup2
	ldr	r3, .L15+16
	ldr	r0, [sp, #36]
	ldr	r1, [r3]
	bl	dup2
	ldr	r0, [sp, #28]
	bl	close
	ldr	r0, [sp, #40]
	bl	close
	ldr	r3, .L15+20
	ldr	r0, .L15+24
	ldr	r2, [r3]
	add	r1, sp, #12
	bl	execve
	mov	r0, #127
	bl	exit
.L7:
	ldr	r1, .L15+28
	ldr	r0, [sp, #40]
	bl	fdopen
	ldr	r4, [sp, #4]
	ldr	r1, .L15+32
	str	r0, [r4]
	ldr	r0, [sp, #28]
	bl	fdopen
	mov	r3, r0
	ldr	r0, [sp, #32]
	str	r3, [r4, #4]
	bl	close
	ldr	r0, [sp, #36]
	bl	close
	b	.L1
.L13:
	ldr	r0, [sp, #28]
	bl	close
	ldr	r0, [sp, #32]
	bl	close
.L2:
	mov	r3, #0
	ldr	r2, [sp, #4]
	str	r3, [r2, #4]
	str	r3, [r2]
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #48
	@ sp needed
	pop	{r4, pc}
.L5:
	ldr	r0, [sp, #28]
	bl	close
	ldr	r0, [sp, #32]
	bl	close
	ldr	r0, [sp, #36]
	bl	close
	ldr	r0, [sp, #40]
	bl	close
	b	.L2
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	STDOUT_FILENO
	.word	STDIN_FILENO
	.word	environ
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	cmd_popen, .-cmd_popen
	.comm	environ,4,4
	.comm	STDOUT_FILENO,4,4
	.comm	STDIN_FILENO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
