	.file	"985216.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"/dev/null"
.LC1:
	.string	"am"
.LC2:
	.string	"broadcast"
.LC3:
	.string	"--user"
.LC4:
	.string	"0"
.LC5:
	.string	"-n"
	.align 8
.LC6:
	.string	"com.termux.api/.TermuxApiReceiver"
.LC7:
	.string	"--es"
.LC8:
	.string	"socket_input"
.LC9:
	.string	"socket_output"
.LC10:
	.string	"api_method"
	.align 8
.LC11:
	.string	"/data/data/com.termux/files/usr/bin/am"
	.align 8
.LC12:
	.string	"execv(\"/data/data/com.termux/files/usr/bin/am\")"
	.text
	.globl	exec_am_broadcast
	.type	exec_am_broadcast, @function
exec_am_broadcast:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	edi, 1
	call	close@PLT
	mov	esi, 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	open@PLT
	mov	edi, 0
	call	close@PLT
	mov	DWORD PTR -12[rbp], 15
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, .LC1[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	lea	rdx, .LC2[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 16
	lea	rdx, .LC3[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 24
	lea	rdx, .LC4[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 32
	lea	rdx, .LC5[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 40
	lea	rdx, .LC6[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 48
	lea	rdx, .LC7[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 56
	lea	rdx, .LC8[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 64[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 72
	lea	rdx, .LC7[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 80
	lea	rdx, .LC9[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 88[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 96
	lea	rdx, .LC7[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 104
	lea	rdx, .LC10[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 112[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, 16[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rsi, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	call	execv@PLT
	lea	rdi, .LC12[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	exec_am_broadcast, .-exec_am_broadcast
	.section	.rodata
.LC13:
	.string	"%d"
.LC14:
	.string	"asprintf"
	.text
	.globl	exec_callback
	.type	exec_callback, @function
exec_callback:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	esi, 0
	mov	edi, 0
	call	getcwd@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movabs	rsi, 8243122440036246063
	movabs	rdi, 7812726532173493613
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	mov	DWORD PTR 16[rax], 1801675106
	mov	BYTE PTR 20[rax], 0
	mov	edx, DWORD PTR -36[rbp]
	lea	rax, -24[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	asprintf@PLT
	cmp	eax, -1
	jne	.L3
	lea	rdi, .LC14[rip]
	call	perror@PLT
.L3:
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	execl@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	exec_callback, .-exec_callback
	.section	.rodata
.LC15:
	.string	"%x%x-%x-%x-%x-%x%x%x"
	.text
	.globl	generate_uuid
	.type	generate_uuid, @function
generate_uuid:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -56[rbp], rdi
	mov	eax, 0
	call	arc4random@PLT
	mov	r13d, eax
	mov	eax, 0
	call	arc4random@PLT
	mov	r12d, eax
	mov	eax, 0
	call	arc4random@PLT
	mov	ebx, eax
	mov	eax, 0
	call	arc4random@PLT
	movsx	rdx, eax
	imul	rdx, rdx, -2147352567
	shr	rdx, 32
	add	edx, eax
	sar	edx, 13
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	ecx, edx
	sal	ecx, 14
	sub	ecx, edx
	sub	eax, ecx
	mov	edx, eax
	lea	r15d, 32768[rdx]
	mov	eax, 0
	call	arc4random@PLT
	and	eax, 4095
	or	ah, 64
	mov	DWORD PTR -60[rbp], eax
	call	getpid@PLT
	mov	DWORD PTR -64[rbp], eax
	mov	eax, 0
	call	arc4random@PLT
	mov	r14d, eax
	mov	eax, 0
	call	arc4random@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	push	r13
	push	r12
	push	rbx
	push	r15
	mov	r9d, DWORD PTR -60[rbp]
	mov	r8d, DWORD PTR -64[rbp]
	mov	ecx, r14d
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 32
	nop
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	generate_uuid, .-generate_uuid
	.globl	transmit_stdin_to_socket
	.type	transmit_stdin_to_socket, @function
transmit_stdin_to_socket:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1200
	mov	QWORD PTR -1192[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -1192[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -1168[rbp], eax
	mov	DWORD PTR -1172[rbp], 110
	lea	rax, -1152[rbp]
	mov	rcx, rax
	lea	rdx, -1172[rbp]
	mov	eax, DWORD PTR -1168[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -1164[rbp], eax
	jmp	.L7
.L9:
	mov	rdx, QWORD PTR -1160[rbp]
	lea	rcx, -1040[rbp]
	mov	eax, DWORD PTR -1164[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	test	rax, rax
	js	.L12
.L7:
	lea	rax, -1040[rbp]
	mov	edx, 1024
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	mov	QWORD PTR -1160[rbp], rax
	cmp	QWORD PTR -1160[rbp], 0
	jg	.L9
	jmp	.L8
.L12:
	nop
.L8:
	mov	eax, DWORD PTR -1164[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	transmit_stdin_to_socket, .-transmit_stdin_to_socket
	.section	.rodata
.LC16:
	.string	"recvmsg()"
	.text
	.globl	transmit_socket_to_stdout
	.type	transmit_socket_to_stdout, @function
transmit_socket_to_stdout:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1424
	mov	DWORD PTR -1412[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -1040[rbp]
	mov	QWORD PTR -1376[rbp], rax
	mov	QWORD PTR -1368[rbp], 1024
	mov	QWORD PTR -1360[rbp], 0
	mov	QWORD PTR -1352[rbp], 0
	mov	QWORD PTR -1344[rbp], 0
	mov	QWORD PTR -1336[rbp], 0
	mov	QWORD PTR -1328[rbp], 0
	mov	QWORD PTR -1320[rbp], 0
	mov	QWORD PTR -1312[rbp], 0
	mov	DWORD PTR -1396[rbp], -1
	lea	rax, -1376[rbp]
	mov	QWORD PTR -1344[rbp], rax
	mov	QWORD PTR -1336[rbp], 1
	lea	rax, -1296[rbp]
	mov	QWORD PTR -1328[rbp], rax
	mov	QWORD PTR -1320[rbp], 256
	jmp	.L14
.L19:
	mov	rax, QWORD PTR -1320[rbp]
	cmp	rax, 15
	jbe	.L15
	mov	rax, QWORD PTR -1328[rbp]
	jmp	.L16
.L15:
	mov	eax, 0
.L16:
	mov	QWORD PTR -1384[rbp], rax
	cmp	QWORD PTR -1384[rbp], 0
	je	.L17
	mov	rax, QWORD PTR -1384[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	rax, 20
	jne	.L17
	mov	rax, QWORD PTR -1384[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, 1
	jne	.L17
	mov	rax, QWORD PTR -1384[rbp]
	add	rax, 16
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -1396[rbp], eax
.L17:
	cmp	DWORD PTR -1396[rbp], -1
	je	.L18
	cmp	QWORD PTR -1392[rbp], 1
	jne	.L18
	movzx	eax, BYTE PTR -1040[rbp]
	cmp	al, 64
	jne	.L18
	mov	QWORD PTR -1392[rbp], 0
.L18:
	mov	rdx, QWORD PTR -1392[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	mov	QWORD PTR -1320[rbp], 256
.L14:
	lea	rcx, -1360[rbp]
	mov	eax, DWORD PTR -1412[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	recvmsg@PLT
	mov	QWORD PTR -1392[rbp], rax
	cmp	QWORD PTR -1392[rbp], 0
	jg	.L19
	cmp	QWORD PTR -1392[rbp], 0
	jns	.L20
	lea	rdi, .LC16[rip]
	call	perror@PLT
.L20:
	mov	eax, DWORD PTR -1396[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	transmit_socket_to_stdout, .-transmit_socket_to_stdout
	.section	.rodata
.LC17:
	.string	"socket()"
.LC18:
	.string	"bind(input)"
.LC19:
	.string	"bind(output)"
.LC20:
	.string	"listen()"
.LC21:
	.string	"fork()"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 768
	mov	DWORD PTR -756[rbp], edi
	mov	QWORD PTR -768[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -384[rbp]
	mov	eax, 0
	mov	ecx, 19
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -248[rbp], 268435459
	lea	rax, -384[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 17
	call	sigaction@PLT
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	generate_uuid
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	generate_uuid
	lea	rdx, -720[rbp]
	mov	eax, 0
	mov	ecx, 13
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	mov	WORD PTR [rdx], ax
	add	rdx, 2
	mov	WORD PTR -720[rbp], 1
	lea	rdx, -608[rbp]
	mov	eax, 0
	mov	ecx, 13
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	mov	WORD PTR [rdx], ax
	add	rdx, 2
	mov	WORD PTR -608[rbp], 1
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -224[rbp]
	lea	rcx, -720[rbp]
	add	rcx, 3
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -112[rbp]
	lea	rcx, -608[rbp]
	add	rcx, 3
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	edx, 0
	mov	esi, 524289
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -744[rbp], eax
	cmp	DWORD PTR -744[rbp], -1
	jne	.L24
	lea	rdi, .LC17[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L35
.L24:
	mov	edx, 0
	mov	esi, 524289
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -752[rbp], eax
	mov	eax, DWORD PTR -752[rbp]
	cmp	eax, -1
	jne	.L26
	lea	rdi, .LC17[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L35
.L26:
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	edx, 3[rax]
	lea	rax, -720[rbp]
	mov	rcx, rax
	mov	eax, DWORD PTR -744[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L27
	lea	rdi, .LC18[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L35
.L27:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	edx, 3[rax]
	lea	rax, -608[rbp]
	mov	rcx, rax
	mov	eax, DWORD PTR -752[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L28
	lea	rdi, .LC19[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L35
.L28:
	mov	eax, DWORD PTR -744[rbp]
	mov	esi, 1
	mov	edi, eax
	call	listen@PLT
	cmp	eax, -1
	jne	.L29
	lea	rdi, .LC20[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L35
.L29:
	mov	eax, DWORD PTR -752[rbp]
	mov	esi, 1
	mov	edi, eax
	call	listen@PLT
	cmp	eax, -1
	jne	.L30
	lea	rdi, .LC20[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L35
.L30:
	call	fork@PLT
	mov	DWORD PTR -740[rbp], eax
	cmp	DWORD PTR -740[rbp], -1
	je	.L31
	cmp	DWORD PTR -740[rbp], 0
	je	.L32
	jmp	.L37
.L31:
	lea	rdi, .LC21[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L35
.L32:
	lea	rcx, -112[rbp]
	lea	rdx, -224[rbp]
	mov	rsi, QWORD PTR -768[rbp]
	mov	eax, DWORD PTR -756[rbp]
	mov	edi, eax
	call	exec_am_broadcast
.L37:
	mov	DWORD PTR -748[rbp], 110
	lea	rax, -496[rbp]
	mov	rcx, rax
	lea	rdx, -748[rbp]
	mov	eax, DWORD PTR -744[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -736[rbp], eax
	lea	rdx, -752[rbp]
	lea	rax, -728[rbp]
	mov	rcx, rdx
	lea	rdx, transmit_stdin_to_socket[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	eax, DWORD PTR -736[rbp]
	mov	edi, eax
	call	transmit_socket_to_stdout
	mov	DWORD PTR -732[rbp], eax
	mov	eax, DWORD PTR -736[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	DWORD PTR -732[rbp], -1
	je	.L34
	mov	eax, DWORD PTR -732[rbp]
	mov	edi, eax
	call	exec_callback
.L34:
	mov	eax, 0
.L35:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.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	"985216.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/dev/null\000"
	.align	2
.LC1:
	.ascii	"am\000"
	.align	2
.LC2:
	.ascii	"broadcast\000"
	.align	2
.LC3:
	.ascii	"--user\000"
	.align	2
.LC4:
	.ascii	"0\000"
	.align	2
.LC5:
	.ascii	"-n\000"
	.align	2
.LC6:
	.ascii	"com.termux.api/.TermuxApiReceiver\000"
	.align	2
.LC7:
	.ascii	"--es\000"
	.align	2
.LC8:
	.ascii	"socket_input\000"
	.align	2
.LC9:
	.ascii	"socket_output\000"
	.align	2
.LC10:
	.ascii	"api_method\000"
	.align	2
.LC11:
	.ascii	"/data/data/com.termux/files/usr/bin/am\000"
	.align	2
.LC12:
	.ascii	"execv(\"/data/data/com.termux/files/usr/bin/am\")\000"
	.text
	.align	2
	.global	exec_am_broadcast
	.syntax unified
	.arm
	.fpu softvfp
	.type	exec_am_broadcast, %function
exec_am_broadcast:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r0, #1
	bl	close
	mov	r1, #0
	ldr	r0, .L2
	bl	open
	mov	r0, #0
	bl	close
	mov	r3, #15
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, .L2+4
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldr	r2, .L2+8
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	ldr	r2, .L2+12
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #12
	ldr	r2, .L2+16
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #16
	ldr	r2, .L2+20
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #20
	ldr	r2, .L2+24
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #24
	ldr	r2, .L2+28
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #28
	ldr	r2, .L2+32
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #32
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #36
	ldr	r2, .L2+28
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #40
	ldr	r2, .L2+36
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #44
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #48
	ldr	r2, .L2+28
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #52
	ldr	r2, .L2+40
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #56
	ldr	r2, [fp, #-20]
	ldr	r2, [r2, #4]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r0, r2, r3
	ldr	r3, [fp, #-20]
	add	r1, r3, #8
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, [fp, #-8]
	ldr	r0, .L2+44
	bl	execv
	ldr	r0, .L2+48
	bl	perror
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	exec_am_broadcast, .-exec_am_broadcast
	.section	.rodata
	.align	2
.LC13:
	.ascii	"/bin/termux-callback\000"
	.align	2
.LC14:
	.ascii	"%d\000"
	.align	2
.LC15:
	.ascii	"asprintf\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	exec_callback
	.syntax unified
	.arm
	.fpu softvfp
	.type	exec_callback, %function
exec_callback:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #0
	mov	r0, #0
	bl	getcwd
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	ldr	r2, .L7+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #21
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #16
	ldr	r2, [fp, #-24]
	ldr	r1, .L7+8
	mov	r0, r3
	bl	asprintf
	mov	r3, r0
	cmn	r3, #1
	bne	.L5
	ldr	r0, .L7+12
	bl	perror
.L5:
	ldr	r3, [fp, #-16]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	execl
	ldr	r0, [fp, #-12]
	bl	perror
	mov	r0, #1
	bl	exit
.L8:
	.align	2
.L7:
	.word	.LC16
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	exec_callback, .-exec_callback
	.section	.rodata
	.align	2
.LC17:
	.ascii	"%x%x-%x-%x-%x-%x%x%x\000"
	.text
	.align	2
	.global	generate_uuid
	.syntax unified
	.arm
	.fpu softvfp
	.type	generate_uuid, %function
generate_uuid:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	bl	arc4random
	mov	r8, r0
	bl	arc4random
	mov	r9, r0
	bl	getpid
	mov	r3, r0
	mov	r10, r3
	bl	arc4random
	mov	r3, r0
	lsl	r3, r3, #20
	lsr	r3, r3, #20
	orr	r4, r3, #16384
	bl	arc4random
	mov	r2, r0
	ldr	r3, .L10
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #13
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #14
	sub	r3, r3, r1
	sub	r1, r2, r3
	add	r5, r1, #32768
	bl	arc4random
	mov	r6, r0
	bl	arc4random
	mov	r7, r0
	bl	arc4random
	mov	r3, r0
	str	r3, [sp, #20]
	str	r7, [sp, #16]
	str	r6, [sp, #12]
	str	r5, [sp, #8]
	str	r4, [sp, #4]
	str	r10, [sp]
	mov	r3, r9
	mov	r2, r8
	ldr	r1, .L10+4
	ldr	r0, [fp, #-40]
	bl	sprintf
	nop
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	.align	2
.L10:
	.word	-2147352567
	.word	.LC17
	.size	generate_uuid, .-generate_uuid
	.section	.rodata
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	transmit_stdin_to_socket
	.syntax unified
	.arm
	.fpu softvfp
	.type	transmit_stdin_to_socket, %function
transmit_stdin_to_socket:
	@ args = 0, pretend = 0, frame = 1168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1168
	str	r0, [fp, #-1168]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-1168]
	ldr	r3, [r3]
	str	r3, [fp, #-1156]
	mov	r3, #110
	str	r3, [fp, #-1160]
	sub	r3, fp, #1136
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #1152
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r0, [fp, #-1156]
	bl	accept
	str	r0, [fp, #-1152]
	b	.L13
.L15:
	ldr	r2, [fp, #-1148]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-1152]
	bl	write
	mov	r3, r0
	cmp	r3, #0
	blt	.L18
.L13:
	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, #-1148]
	ldr	r3, [fp, #-1148]
	cmp	r3, #0
	bgt	.L15
	b	.L14
.L18:
	nop
.L14:
	ldr	r0, [fp, #-1152]
	bl	close
	mov	r3, #0
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC18
	.size	transmit_stdin_to_socket, .-transmit_stdin_to_socket
	.section	.rodata
	.align	2
.LC19:
	.ascii	"recvmsg()\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	transmit_socket_to_stdout
	.syntax unified
	.arm
	.fpu softvfp
	.type	transmit_socket_to_stdout, %function
transmit_socket_to_stdout:
	@ args = 0, pretend = 0, frame = 1344
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1344
	str	r0, [fp, #-1344]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1324]
	mov	r3, #1024
	str	r3, [fp, #-1320]
	sub	r3, fp, #1312
	sub	r3, r3, #4
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	str	r2, [r3, #24]
	mvn	r3, #0
	str	r3, [fp, #-1332]
	sub	r3, fp, #1312
	sub	r3, r3, #4
	sub	r3, r3, #8
	str	r3, [fp, #-1308]
	mov	r3, #1
	str	r3, [fp, #-1304]
	sub	r3, fp, #1280
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1300]
	mov	r3, #256
	str	r3, [fp, #-1296]
	b	.L22
.L27:
	ldr	r3, [fp, #-1296]
	cmp	r3, #11
	bls	.L23
	ldr	r3, [fp, #-1300]
	b	.L24
.L23:
	mov	r3, #0
.L24:
	str	r3, [fp, #-1328]
	ldr	r3, [fp, #-1328]
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-1328]
	ldr	r3, [r3]
	cmp	r3, #16
	bne	.L25
	ldr	r3, [fp, #-1328]
	ldr	r3, [r3, #8]
	cmp	r3, #1
	bne	.L25
	ldr	r3, [fp, #-1328]
	add	r3, r3, #12
	ldr	r3, [r3]
	str	r3, [fp, #-1332]
.L25:
	ldr	r3, [fp, #-1332]
	cmn	r3, #1
	beq	.L26
	ldr	r3, [fp, #-1336]
	cmp	r3, #1
	bne	.L26
	ldrb	r3, [fp, #-1032]	@ zero_extendqisi2
	cmp	r3, #64
	bne	.L26
	mov	r3, #0
	str	r3, [fp, #-1336]
.L26:
	ldr	r2, [fp, #-1336]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, #1
	bl	write
	mov	r3, #256
	str	r3, [fp, #-1296]
.L22:
	sub	r3, fp, #1312
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1344]
	bl	recvmsg
	str	r0, [fp, #-1336]
	ldr	r3, [fp, #-1336]
	cmp	r3, #0
	bgt	.L27
	ldr	r3, [fp, #-1336]
	cmp	r3, #0
	bge	.L28
	ldr	r0, .L31+4
	bl	perror
.L28:
	ldr	r3, [fp, #-1332]
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC20
	.word	.LC19
	.size	transmit_socket_to_stdout, .-transmit_socket_to_stdout
	.section	.rodata
	.align	2
.LC21:
	.ascii	"socket()\000"
	.align	2
.LC22:
	.ascii	"bind(input)\000"
	.align	2
.LC23:
	.ascii	"bind(output)\000"
	.align	2
.LC24:
	.ascii	"listen()\000"
	.align	2
.LC25:
	.ascii	"fork()\000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 720
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #720
	str	r0, [fp, #-728]
	str	r1, [fp, #-732]
	ldr	r3, .L48
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #356
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #268435459
	str	r3, [fp, #-224]
	sub	r3, fp, #356
	mov	r2, #0
	mov	r1, r3
	mov	r0, #17
	bl	sigaction
	sub	r3, fp, #216
	mov	r0, r3
	bl	generate_uuid
	sub	r3, fp, #116
	mov	r0, r3
	bl	generate_uuid
	sub	r3, fp, #692
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #12
	sub	r3, r3, #680
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #580
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #12
	sub	r3, r3, #568
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #216
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #216
	sub	r3, fp, #692
	add	r3, r3, #3
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #116
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #116
	sub	r3, fp, #580
	add	r3, r3, #3
	mov	r0, r3
	bl	strncpy
	mov	r2, #0
	ldr	r1, .L48+4
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-708]
	ldr	r3, [fp, #-708]
	cmn	r3, #1
	bne	.L34
	ldr	r0, .L48+8
	bl	perror
	mov	r3, #1
	b	.L45
.L34:
	mov	r2, #0
	ldr	r1, .L48+4
	mov	r0, #1
	bl	socket
	mov	r3, r0
	str	r3, [fp, #-720]
	ldr	r3, [fp, #-720]
	cmn	r3, #1
	bne	.L36
	ldr	r0, .L48+8
	bl	perror
	mov	r3, #1
	b	.L45
.L36:
	sub	r3, fp, #692
	mov	r4, r3
	sub	r3, fp, #216
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #3
	mov	r2, r3
	mov	r1, r4
	ldr	r0, [fp, #-708]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L37
	ldr	r0, .L48+12
	bl	perror
	mov	r3, #1
	b	.L45
.L37:
	ldr	r4, [fp, #-720]
	sub	r3, fp, #580
	mov	r5, r3
	sub	r3, fp, #116
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #3
	mov	r2, r3
	mov	r1, r5
	mov	r0, r4
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L38
	ldr	r0, .L48+16
	bl	perror
	mov	r3, #1
	b	.L45
.L38:
	mov	r1, #1
	ldr	r0, [fp, #-708]
	bl	listen
	mov	r3, r0
	cmn	r3, #1
	bne	.L39
	ldr	r0, .L48+20
	bl	perror
	mov	r3, #1
	b	.L45
.L39:
	ldr	r3, [fp, #-720]
	mov	r1, #1
	mov	r0, r3
	bl	listen
	mov	r3, r0
	cmn	r3, #1
	bne	.L40
	ldr	r0, .L48+20
	bl	perror
	mov	r3, #1
	b	.L45
.L40:
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-704]
	ldr	r3, [fp, #-704]
	cmn	r3, #1
	beq	.L41
	ldr	r3, [fp, #-704]
	cmp	r3, #0
	beq	.L42
	b	.L47
.L41:
	ldr	r0, .L48+24
	bl	perror
	mov	r3, #1
	b	.L45
.L42:
	sub	r3, fp, #116
	sub	r2, fp, #216
	ldr	r1, [fp, #-732]
	ldr	r0, [fp, #-728]
	bl	exec_am_broadcast
.L47:
	mov	r3, #110
	str	r3, [fp, #-716]
	sub	r3, fp, #468
	mov	r1, r3
	sub	r3, fp, #716
	mov	r2, r3
	ldr	r0, [fp, #-708]
	bl	accept
	str	r0, [fp, #-700]
	sub	r3, fp, #720
	sub	r0, fp, #712
	ldr	r2, .L48+28
	mov	r1, #0
	bl	pthread_create
	ldr	r0, [fp, #-700]
	bl	transmit_socket_to_stdout
	str	r0, [fp, #-696]
	ldr	r0, [fp, #-700]
	bl	close
	ldr	r3, [fp, #-696]
	cmn	r3, #1
	beq	.L44
	ldr	r0, [fp, #-696]
	bl	exec_callback
.L44:
	mov	r3, #0
.L45:
	ldr	r2, .L48
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC26
	.word	524289
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	transmit_stdin_to_socket
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
