	.file	"43886920.c"
	.intel_syntax noprefix
	.text
	.globl	zksh_ep_parent
	.bss
	.align 4
	.type	zksh_ep_parent, @object
	.size	zksh_ep_parent, 4
zksh_ep_parent:
	.zero	4
	.globl	zksh_ep_proxy
	.align 4
	.type	zksh_ep_proxy, @object
	.size	zksh_ep_proxy, 4
zksh_ep_proxy:
	.zero	4
	.globl	zksh_ep_proxyexit
	.align 4
	.type	zksh_ep_proxyexit, @object
	.size	zksh_ep_proxyexit, 4
zksh_ep_proxyexit:
	.zero	4
	.text
	.globl	zksh_eproxy_usr1
	.type	zksh_eproxy_usr1, @function
zksh_eproxy_usr1:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 10
	jne	.L2
	mov	DWORD PTR zksh_ep_proxyexit[rip], 1
.L2:
	cmp	DWORD PTR -4[rbp], 17
	jne	.L4
	mov	DWORD PTR zksh_ep_proxyexit[rip], 1
.L4:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	zksh_eproxy_usr1, .-zksh_eproxy_usr1
	.section	.rodata
.LC0:
	.string	"Pipe broke"
.LC1:
	.string	"Fork failed"
.LC2:
	.string	"Piping to stdin failed\n"
.LC3:
	.string	"Piping to stdout failed\n"
.LC4:
	.string	"Piping to stderr failed\n"
	.text
	.globl	zksh_eproxy_init
	.type	zksh_eproxy_init, @function
zksh_eproxy_init:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1392
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	getpid@PLT
	mov	DWORD PTR zksh_ep_proxy[rip], eax
	call	getppid@PLT
	mov	DWORD PTR zksh_ep_parent[rip], eax
	lea	rax, -1320[rbp]
	mov	rdi, rax
	call	pipe@PLT
	test	eax, eax
	js	.L6
	lea	rax, -1312[rbp]
	mov	rdi, rax
	call	pipe@PLT
	test	eax, eax
	js	.L6
	lea	rax, -1304[rbp]
	mov	rdi, rax
	call	pipe@PLT
	test	eax, eax
	jns	.L7
.L6:
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	call	fork@PLT
	mov	DWORD PTR -1380[rbp], eax
	cmp	DWORD PTR -1380[rbp], -1
	jne	.L8
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	cmp	DWORD PTR -1380[rbp], 0
	jne	.L9
	mov	eax, DWORD PTR -1316[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -1312[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -1304[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	mov	eax, DWORD PTR -1320[rbp]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -1308[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -1300[rbp]
	mov	esi, 2
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -1320[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -1308[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -1300[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	jmp	.L19
.L9:
	mov	QWORD PTR -1344[rbp], 5
	mov	QWORD PTR -1336[rbp], 0
	mov	DWORD PTR -1376[rbp], 0
	mov	DWORD PTR -1384[rbp], 0
	lea	rax, -1168[rbp]
	mov	rdi, rax
	call	sigfillset@PLT
	lea	rax, -1168[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	sigdelset@PLT
	lea	rax, -1168[rbp]
	mov	esi, 17
	mov	rdi, rax
	call	sigdelset@PLT
	lea	rsi, zksh_eproxy_usr1[rip]
	mov	edi, 10
	call	signal@PLT
	lea	rsi, zksh_eproxy_usr1[rip]
	mov	edi, 17
	call	signal@PLT
.L17:
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -1296[rbp]
	mov	rdi, rdx
#APP
# 105 "the_stack_data/43886920.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -1372[rbp], edx
	mov	DWORD PTR -1368[rbp], eax
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L11
	mov	rax, QWORD PTR -1296[rbp]
	or	rax, 1
	mov	QWORD PTR -1296[rbp], rax
.L11:
	mov	eax, DWORD PTR -1312[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -1296[rbp+rax*8]
	mov	eax, DWORD PTR -1312[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -1296[rbp+rax*8], rdx
	mov	eax, DWORD PTR -1304[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -1296[rbp+rax*8]
	mov	eax, DWORD PTR -1304[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -1296[rbp+rax*8], rdx
	mov	eax, DWORD PTR zksh_ep_proxyexit[rip]
	test	eax, eax
	je	.L12
	mov	QWORD PTR -1344[rbp], 0
	mov	QWORD PTR -1336[rbp], 1
.L12:
	mov	eax, DWORD PTR -1304[rbp]
	lea	edi, 1[rax]
	lea	rcx, -1168[rbp]
	lea	rdx, -1344[rbp]
	lea	rax, -1296[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	pselect@PLT
	mov	DWORD PTR -1364[rbp], eax
	cmp	DWORD PTR -1364[rbp], 0
	jle	.L13
	mov	rax, QWORD PTR -1296[rbp]
	and	eax, 1
	test	rax, rax
	je	.L14
	lea	rax, -1040[rbp]
	mov	edx, 1024
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	mov	QWORD PTR -1360[rbp], rax
	cmp	QWORD PTR -1360[rbp], 1
	jle	.L14
	mov	rdx, QWORD PTR -1360[rbp]
	mov	eax, DWORD PTR -1316[rbp]
	lea	rcx, -1040[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	QWORD PTR -1352[rbp], rax
	mov	rax, QWORD PTR -1360[rbp]
	cmp	rax, QWORD PTR -1352[rbp]
	je	.L14
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
.L14:
	mov	eax, DWORD PTR -1312[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -1296[rbp+rax*8]
	mov	eax, DWORD PTR -1312[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	rax, rsi
	test	rax, rax
	je	.L15
	mov	eax, DWORD PTR -1312[rbp]
	lea	rcx, -1040[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -1360[rbp], rax
	cmp	QWORD PTR -1360[rbp], 1
	jle	.L15
	mov	rdx, QWORD PTR -1360[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	mov	QWORD PTR -1352[rbp], rax
	mov	rax, QWORD PTR -1360[rbp]
	cmp	rax, QWORD PTR -1352[rbp]
	je	.L15
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
.L15:
	mov	eax, DWORD PTR -1304[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -1296[rbp+rax*8]
	mov	eax, DWORD PTR -1304[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	rax, rsi
	test	rax, rax
	je	.L13
	mov	eax, DWORD PTR -1304[rbp]
	lea	rcx, -1040[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -1360[rbp], rax
	cmp	QWORD PTR -1360[rbp], 0
	jle	.L13
	mov	rdx, QWORD PTR -1360[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	write@PLT
	mov	QWORD PTR -1352[rbp], rax
	mov	rax, QWORD PTR -1360[rbp]
	cmp	rax, QWORD PTR -1352[rbp]
	je	.L13
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
.L13:
	lea	rcx, -1384[rbp]
	mov	eax, DWORD PTR -1380[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	test	eax, eax
	jle	.L16
	mov	DWORD PTR zksh_ep_proxyexit[rip], 1
.L16:
	mov	eax, DWORD PTR zksh_ep_proxyexit[rip]
	test	eax, eax
	je	.L17
	cmp	DWORD PTR -1364[rbp], 0
	jg	.L17
	mov	eax, DWORD PTR -1384[rbp]
	sar	eax, 8
	movzx	eax, al
	mov	edi, eax
	call	exit@PLT
.L19:
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	zksh_eproxy_init, .-zksh_eproxy_init
	.globl	zksh_eproxy_detach
	.type	zksh_eproxy_detach, @function
zksh_eproxy_detach:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR zksh_ep_proxy[rip]
	mov	esi, 10
	mov	edi, eax
	call	kill@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	zksh_eproxy_detach, .-zksh_eproxy_detach
	.globl	zksh_eproxy_wait
	.type	zksh_eproxy_wait, @function
zksh_eproxy_wait:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
.L22:
	mov	edi, 3
	call	sleep@PLT
	mov	eax, DWORD PTR zksh_ep_parent[rip]
	mov	esi, 0
	mov	edi, eax
	call	kill@PLT
	cmp	eax, -1
	jne	.L22
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	zksh_eproxy_wait, .-zksh_eproxy_wait
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"43886920.c"
	.text
	.comm	zksh_ep_parent,4,4
	.comm	zksh_ep_proxy,4,4
	.global	zksh_ep_proxyexit
	.bss
	.align	2
	.type	zksh_ep_proxyexit, %object
	.size	zksh_ep_proxyexit, 4
zksh_ep_proxyexit:
	.space	4
	.text
	.align	2
	.global	zksh_eproxy_usr1
	.syntax unified
	.arm
	.fpu softvfp
	.type	zksh_eproxy_usr1, %function
zksh_eproxy_usr1:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L2
	ldr	r3, .L5
	mov	r2, #1
	str	r2, [r3]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #17
	bne	.L4
	ldr	r3, .L5
	mov	r2, #1
	str	r2, [r3]
.L4:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L6:
	.align	2
.L5:
	.word	zksh_ep_proxyexit
	.size	zksh_eproxy_usr1, .-zksh_eproxy_usr1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Pipe broke\000"
	.align	2
.LC1:
	.ascii	"Fork failed\000"
	.align	2
.LC2:
	.ascii	"Piping to stdin failed\012\000"
	.align	2
.LC3:
	.ascii	"Piping to stdout failed\012\000"
	.align	2
.LC4:
	.ascii	"Piping to stderr failed\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	zksh_eproxy_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	zksh_eproxy_init, %function
zksh_eproxy_init:
	@ args = 0, pretend = 0, frame = 1352
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1360
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	getpid
	mov	r3, r0
	ldr	r2, .L24+4
	str	r3, [r2]
	bl	getppid
	mov	r3, r0
	ldr	r2, .L24+8
	str	r3, [r2]
	sub	r3, fp, #1296
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmp	r3, #0
	blt	.L8
	sub	r3, fp, #1296
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmp	r3, #0
	blt	.L8
	sub	r3, fp, #1280
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmp	r3, #0
	bge	.L9
.L8:
	ldr	r0, .L24+12
	bl	perror
	mov	r0, #1
	bl	exit
.L9:
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-1344]
	ldr	r3, [fp, #-1344]
	cmn	r3, #1
	bne	.L10
	ldr	r0, .L24+16
	bl	perror
	mov	r0, #1
	bl	exit
.L10:
	ldr	r3, [fp, #-1344]
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-1308]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-1304]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-1296]
	mov	r0, r3
	bl	close
	ldr	r3, .L24+20
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	ldr	r3, .L24+24
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	ldr	r3, [fp, #-1312]
	mov	r1, #0
	mov	r0, r3
	bl	dup2
	ldr	r3, [fp, #-1300]
	mov	r1, #1
	mov	r0, r3
	bl	dup2
	ldr	r3, [fp, #-1292]
	mov	r1, #2
	mov	r0, r3
	bl	dup2
	ldr	r3, [fp, #-1312]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-1300]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-1292]
	mov	r0, r3
	bl	close
	mov	r3, #0
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	b	.L23
.L11:
	mov	r3, #5
	str	r3, [fp, #-1320]
	mov	r3, #0
	str	r3, [fp, #-1316]
	mov	r3, #0
	str	r3, [fp, #-1340]
	mov	r3, #0
	str	r3, [fp, #-1352]
	sub	r3, fp, #1152
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	sigfillset
	sub	r3, fp, #1152
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, #10
	mov	r0, r3
	bl	sigdelset
	sub	r3, fp, #1152
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, #17
	mov	r0, r3
	bl	sigdelset
	ldr	r1, .L24+28
	mov	r0, #10
	bl	signal
	ldr	r1, .L24+28
	mov	r0, #17
	bl	signal
.L21:
	sub	r3, fp, #1280
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1336]
	mov	r3, #0
	str	r3, [fp, #-1348]
	b	.L13
.L14:
	ldr	r3, [fp, #-1336]
	ldr	r2, [fp, #-1348]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-1348]
	add	r3, r3, #1
	str	r3, [fp, #-1348]
.L13:
	ldr	r3, [fp, #-1348]
	cmp	r3, #31
	bls	.L14
	ldr	r3, .L24+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-1288]
	orr	r3, r3, #1
	str	r3, [fp, #-1288]
.L15:
	ldr	r3, [fp, #-1304]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-1284]
	ldr	r3, [fp, #-1304]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-1284]
	ldr	r3, [fp, #-1296]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-1284]
	ldr	r3, [fp, #-1296]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-1284]
	ldr	r3, .L24+36
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L16
	mov	r3, #0
	str	r3, [fp, #-1320]
	mov	r3, #1
	str	r3, [fp, #-1316]
.L16:
	ldr	r3, [fp, #-1296]
	add	r0, r3, #1
	sub	r1, fp, #1280
	sub	r1, r1, #4
	sub	r1, r1, #4
	sub	r3, fp, #1152
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp, #4]
	sub	r3, fp, #1312
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	pselect
	str	r0, [fp, #-1332]
	ldr	r3, [fp, #-1332]
	cmp	r3, #0
	ble	.L17
	ldr	r3, [fp, #-1288]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L18
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	mov	r0, #0
	bl	read
	str	r0, [fp, #-1328]
	ldr	r3, [fp, #-1328]
	cmp	r3, #1
	ble	.L18
	ldr	r0, [fp, #-1308]
	ldr	r2, [fp, #-1328]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	bl	write
	str	r0, [fp, #-1324]
	ldr	r2, [fp, #-1328]
	ldr	r3, [fp, #-1324]
	cmp	r2, r3
	beq	.L18
	ldr	r3, .L24+24
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L24+40
	bl	fwrite
.L18:
	ldr	r3, [fp, #-1304]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-1284]
	ldr	r3, [fp, #-1304]
	rsbs	r1, r3, #0
	and	r3, r3, #31
	and	r1, r1, #31
	rsbpl	r3, r1, #0
	mov	r1, #1
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L19
	ldr	r0, [fp, #-1304]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	bl	read
	str	r0, [fp, #-1328]
	ldr	r3, [fp, #-1328]
	cmp	r3, #1
	ble	.L19
	ldr	r2, [fp, #-1328]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, #1
	bl	write
	str	r0, [fp, #-1324]
	ldr	r2, [fp, #-1328]
	ldr	r3, [fp, #-1324]
	cmp	r2, r3
	beq	.L19
	ldr	r3, .L24+24
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L24+44
	bl	fwrite
.L19:
	ldr	r3, [fp, #-1296]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-1284]
	ldr	r3, [fp, #-1296]
	rsbs	r1, r3, #0
	and	r3, r3, #31
	and	r1, r1, #31
	rsbpl	r3, r1, #0
	mov	r1, #1
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L17
	ldr	r0, [fp, #-1296]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	bl	read
	str	r0, [fp, #-1328]
	ldr	r3, [fp, #-1328]
	cmp	r3, #0
	ble	.L17
	ldr	r2, [fp, #-1328]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, #2
	bl	write
	str	r0, [fp, #-1324]
	ldr	r2, [fp, #-1328]
	ldr	r3, [fp, #-1324]
	cmp	r2, r3
	beq	.L17
	ldr	r3, .L24+24
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L24+48
	bl	fwrite
.L17:
	sub	r3, fp, #1344
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-1344]
	bl	waitpid
	mov	r3, r0
	cmp	r3, #0
	ble	.L20
	ldr	r3, .L24+36
	mov	r2, #1
	str	r2, [r3]
.L20:
	ldr	r3, .L24+36
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-1332]
	cmp	r3, #0
	bgt	.L21
	ldr	r3, [fp, #-1352]
	asr	r3, r3, #8
	and	r3, r3, #255
	mov	r0, r3
	bl	exit
.L23:
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC5
	.word	zksh_ep_proxy
	.word	zksh_ep_parent
	.word	.LC0
	.word	.LC1
	.word	stdout
	.word	stderr
	.word	zksh_eproxy_usr1
	.word	stdin
	.word	zksh_ep_proxyexit
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	zksh_eproxy_init, .-zksh_eproxy_init
	.align	2
	.global	zksh_eproxy_detach
	.syntax unified
	.arm
	.fpu softvfp
	.type	zksh_eproxy_detach, %function
zksh_eproxy_detach:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L27
	ldr	r3, [r3]
	mov	r1, #10
	mov	r0, r3
	bl	kill
	nop
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	zksh_ep_proxy
	.size	zksh_eproxy_detach, .-zksh_eproxy_detach
	.align	2
	.global	zksh_eproxy_wait
	.syntax unified
	.arm
	.fpu softvfp
	.type	zksh_eproxy_wait, %function
zksh_eproxy_wait:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
.L30:
	mov	r0, #3
	bl	sleep
	ldr	r3, .L31
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	kill
	mov	r3, r0
	cmn	r3, #1
	bne	.L30
	nop
	nop
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	zksh_ep_parent
	.size	zksh_eproxy_wait, .-zksh_eproxy_wait
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
