	.file	"683563.c"
	.intel_syntax noprefix
	.text
	.local	child_pid
	.comm	child_pid,4,4
	.local	exitpipefd
	.comm	exitpipefd,8,8
	.section	.rodata
.LC0:
	.string	"/sbin/udhcpc"
.LC1:
	.string	"execv"
	.text
	.type	child, @function
child:
.LFB6:
	.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
	sub	rsp, 48
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR exitpipefd[rip]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR exitpipefd[rip+4]
	mov	edi, eax
	call	close@PLT
	mov	edi, 0
	call	close@PLT
	mov	eax, DWORD PTR -68[rbp]
	add	eax, 1
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -56[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L2:
	cmp	rsp, rdx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L4
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -48[rbp], rax
	lea	rdi, .LC0[rip]
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -68[rbp]
	movsx	rdx, edx
	mov	QWORD PTR [rax+rdx*8], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execv@PLT
	lea	rsi, .LC1[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
	.cfi_endproc
.LFE6:
	.size	child, .-child
	.section	.rodata
.LC2:
	.string	"unexpected command: %d"
	.text
	.type	process_erlang_request, @function
process_erlang_request:
.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, 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -144[rbp]
	mov	edx, 128
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	mov	QWORD PTR -152[rbp], rax
	cmp	QWORD PTR -152[rbp], 0
	jg	.L7
	mov	eax, DWORD PTR child_pid[rip]
	mov	esi, 9
	mov	edi, eax
	call	kill@PLT
	mov	edi, 0
	call	exit@PLT
.L7:
	mov	QWORD PTR -160[rbp], 0
	jmp	.L8
.L14:
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -160[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 3
	je	.L9
	cmp	eax, 3
	jg	.L10
	cmp	eax, 1
	je	.L11
	cmp	eax, 2
	je	.L12
	jmp	.L10
.L11:
	mov	eax, DWORD PTR child_pid[rip]
	mov	esi, 10
	mov	edi, eax
	call	kill@PLT
	jmp	.L13
.L12:
	mov	eax, DWORD PTR child_pid[rip]
	mov	esi, 12
	mov	edi, eax
	call	kill@PLT
	jmp	.L13
.L9:
	mov	eax, DWORD PTR child_pid[rip]
	mov	esi, 9
	mov	edi, eax
	call	kill@PLT
	mov	edi, 0
	call	exit@PLT
.L10:
	mov	eax, DWORD PTR child_pid[rip]
	mov	esi, 9
	mov	edi, eax
	call	kill@PLT
	lea	rdx, -144[rbp]
	mov	rax, QWORD PTR -160[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edx, eax
	lea	rsi, .LC2[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L13:
	add	QWORD PTR -160[rbp], 1
.L8:
	mov	rax, QWORD PTR -160[rbp]
	cmp	rax, QWORD PTR -152[rbp]
	jl	.L14
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	process_erlang_request, .-process_erlang_request
	.section	.rodata
.LC3:
	.string	"poll failed"
	.text
	.type	parent, @function
parent:
.LFB8:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L23:
	mov	DWORD PTR -32[rbp], 0
	mov	WORD PTR -28[rbp], 1
	mov	WORD PTR -26[rbp], 0
	mov	eax, DWORD PTR exitpipefd[rip]
	mov	DWORD PTR -24[rbp], eax
	mov	WORD PTR -20[rbp], 1
	mov	WORD PTR -18[rbp], 0
	lea	rax, -32[rbp]
	mov	edx, -1
	mov	esi, 2
	mov	rdi, rax
	call	poll@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	jns	.L17
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L26
	mov	eax, DWORD PTR child_pid[rip]
	mov	esi, 9
	mov	edi, eax
	call	kill@PLT
	lea	rsi, .LC3[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L17:
	movzx	eax, WORD PTR -26[rbp]
	cwde
	and	eax, 17
	test	eax, eax
	je	.L20
	mov	eax, 0
	call	process_erlang_request
.L20:
	movzx	eax, WORD PTR -18[rbp]
	cwde
	and	eax, 17
	test	eax, eax
	jne	.L27
	jmp	.L23
.L26:
	nop
	jmp	.L23
.L27:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	parent, .-parent
	.section	.rodata
.LC4:
	.string	"write"
	.text
	.type	signal_handler, @function
signal_handler:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -20[rbp], 17
	jne	.L29
	mov	BYTE PTR -9[rbp], 0
	mov	eax, DWORD PTR exitpipefd[rip+4]
	lea	rcx, -9[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	test	rax, rax
	jns	.L33
	lea	rsi, .LC4[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L29:
	mov	eax, DWORD PTR child_pid[rip]
	mov	edx, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	kill@PLT
.L33:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	signal_handler, .-signal_handler
	.section	.rodata
	.align 8
.LC5:
	.string	"Can't elevate to root permissions required by udhdpc"
	.text
	.type	force_identity, @function
force_identity:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -12[rbp]
	lea	rcx, -16[rbp]
	lea	rax, -20[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getresuid@PLT
	mov	eax, DWORD PTR -20[rbp]
	test	eax, eax
	je	.L37
	mov	edx, DWORD PTR -16[rbp]
	mov	ecx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	setresuid@PLT
	test	eax, eax
	jns	.L37
	lea	rsi, .LC5[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L37:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	force_identity, .-force_identity
	.section	.rodata
.LC6:
	.string	"pipe"
.LC7:
	.string	"fork"
	.text
	.type	run_udhcpc, @function
run_udhcpc:
.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, 176
	mov	DWORD PTR -164[rbp], edi
	mov	QWORD PTR -176[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	force_identity
	lea	rdi, exitpipefd[rip]
	call	pipe@PLT
	test	eax, eax
	jns	.L39
	lea	rsi, .LC6[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L39:
	lea	rax, signal_handler[rip]
	mov	QWORD PTR -160[rbp], rax
	lea	rax, -160[rbp]
	add	rax, 8
	mov	rdi, rax
	call	sigemptyset@PLT
	mov	DWORD PTR -24[rbp], 0
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 17
	call	sigaction@PLT
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 2
	call	sigaction@PLT
	call	fork@PLT
	mov	DWORD PTR child_pid[rip], eax
	mov	eax, DWORD PTR child_pid[rip]
	test	eax, eax
	jns	.L40
	lea	rsi, .LC7[rip]
	mov	edi, 1
	mov	eax, 0
	call	err@PLT
.L40:
	mov	eax, DWORD PTR child_pid[rip]
	test	eax, eax
	jne	.L41
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -164[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	child
	jmp	.L44
.L41:
	mov	eax, 0
	call	parent
.L44:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	run_udhcpc, .-run_udhcpc
	.section	.rodata
.LC8:
	.string	""
	.text
	.type	getenv_nonull, @function
getenv_nonull:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	getenv@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L46
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L48
.L46:
	lea	rax, .LC8[rip]
.L48:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	getenv_nonull, .-getenv_nonull
	.section	.rodata
.LC9:
	.string	"message"
.LC10:
	.string	"dns"
.LC11:
	.string	"domain"
.LC12:
	.string	"router"
.LC13:
	.string	"subnet"
.LC14:
	.string	"broadcast"
.LC15:
	.string	"ip"
.LC16:
	.string	"interface"
.LC17:
	.string	"%s,%s,%s,%s,%s,%s,%s,%s,%s\n"
	.text
	.type	process_udhcpc_callback, @function
process_udhcpc_callback:
.LFB13:
	.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, 40
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	lea	rdi, .LC9[rip]
	call	getenv_nonull
	mov	r14, rax
	lea	rdi, .LC10[rip]
	call	getenv_nonull
	mov	r13, rax
	lea	rdi, .LC11[rip]
	call	getenv_nonull
	mov	r12, rax
	lea	rdi, .LC12[rip]
	call	getenv_nonull
	mov	rbx, rax
	lea	rdi, .LC13[rip]
	call	getenv_nonull
	mov	QWORD PTR -72[rbp], rax
	lea	rdi, .LC14[rip]
	call	getenv_nonull
	mov	QWORD PTR -80[rbp], rax
	lea	rdi, .LC15[rip]
	call	getenv_nonull
	mov	r15, rax
	lea	rdi, .LC16[rip]
	call	getenv_nonull
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	push	r14
	push	r13
	push	r12
	push	rbx
	mov	r9, QWORD PTR -72[rbp]
	mov	r8, QWORD PTR -80[rbp]
	mov	rcx, r15
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@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
.LFE13:
	.size	process_udhcpc_callback, .-process_udhcpc_callback
	.section	.rodata
	.align 8
.LC18:
	.string	"Pass at least one parameter. For example, \"udhcpc\" to start up udhcpc."
.LC19:
	.string	"udhcpc"
	.text
	.globl	main
	.type	main, @function
main:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 1
	jg	.L51
	lea	rsi, .LC18[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L51:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L52
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	mov	rsi, rdx
	mov	edi, eax
	call	run_udhcpc
	jmp	.L53
.L52:
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	process_udhcpc_callback
.L53:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE14:
	.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	"683563.c"
	.text
	.local	child_pid
	.comm	child_pid,4,4
	.local	exitpipefd
	.comm	exitpipefd,8,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/sbin/udhcpc\000"
	.align	2
.LC1:
	.ascii	"execv\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	child, %function
child:
	@ 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]
	str	r1, [fp, #-28]
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L3+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r3, .L3+4
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	close
	mov	r0, #0
	bl	close
	ldr	r3, [fp, #-24]
	add	ip, r3, #1
	sub	r3, ip, #1
	str	r3, [fp, #-16]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r0, .L3+8
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r0, r3, #4
	ldr	r3, [fp, #-28]
	add	r1, r3, #4
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	execv
	ldr	r1, .L3+12
	mov	r0, #1
	bl	err
.L4:
	.align	2
.L3:
	.word	.LC2
	.word	exitpipefd
	.word	.LC0
	.word	.LC1
	.size	child, .-child
	.section	.rodata
	.align	2
.LC3:
	.ascii	"unexpected command: %d\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_erlang_request, %function
process_erlang_request:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #136
	mov	r2, #128
	mov	r1, r3
	mov	r0, #0
	bl	read
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bgt	.L6
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r1, #9
	mov	r0, r3
	bl	kill
	mov	r0, #0
	bl	exit
.L6:
	mov	r3, #0
	str	r3, [fp, #-144]
	b	.L7
.L13:
	sub	r2, fp, #136
	ldr	r3, [fp, #-144]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #3
	beq	.L8
	cmp	r3, #3
	bgt	.L9
	cmp	r3, #1
	beq	.L10
	cmp	r3, #2
	beq	.L11
	b	.L9
.L10:
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r1, #10
	mov	r0, r3
	bl	kill
	b	.L12
.L11:
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r1, #12
	mov	r0, r3
	bl	kill
	b	.L12
.L8:
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r1, #9
	mov	r0, r3
	bl	kill
	mov	r0, #0
	bl	exit
.L9:
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r1, #9
	mov	r0, r3
	bl	kill
	sub	r2, fp, #136
	ldr	r3, [fp, #-144]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, .L15+8
	mov	r0, #1
	bl	errx
.L12:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L7:
	ldr	r2, [fp, #-144]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L13
	nop
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC4
	.word	child_pid
	.word	.LC3
	.size	process_erlang_request, .-process_erlang_request
	.section	.rodata
	.align	2
.LC5:
	.ascii	"poll failed\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parent, %function
parent:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L24:
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #1
	strh	r3, [fp, #-20]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-18]	@ movhi
	ldr	r3, .L29+4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3, #1
	strh	r3, [fp, #-12]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-10]	@ movhi
	sub	r3, fp, #24
	mvn	r2, #0
	mov	r1, #2
	mov	r0, r3
	bl	poll
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L18
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L27
	ldr	r3, .L29+8
	ldr	r3, [r3]
	mov	r1, #9
	mov	r0, r3
	bl	kill
	ldr	r1, .L29+12
	mov	r0, #1
	bl	err
.L18:
	ldrsh	r3, [fp, #-18]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #17
	cmp	r3, #0
	beq	.L21
	bl	process_erlang_request
.L21:
	ldrsh	r3, [fp, #-10]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #17
	cmp	r3, #0
	bne	.L28
	b	.L24
.L27:
	nop
	b	.L24
.L28:
	nop
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC6
	.word	exitpipefd
	.word	child_pid
	.word	.LC5
	.size	parent, .-parent
	.section	.rodata
	.align	2
.LC7:
	.ascii	"write\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	signal_handler, %function
signal_handler:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-16]
	cmp	r3, #17
	bne	.L32
	mov	r3, #0
	strb	r3, [fp, #-9]
	ldr	r3, .L37+4
	ldr	r3, [r3, #4]
	sub	r1, fp, #9
	mov	r2, #1
	mov	r0, r3
	bl	write
	mov	r3, r0
	cmp	r3, #0
	bge	.L36
	ldr	r1, .L37+8
	mov	r0, #1
	bl	err
.L32:
	ldr	r3, .L37+12
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	kill
.L36:
	nop
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC8
	.word	exitpipefd
	.word	.LC7
	.word	child_pid
	.size	signal_handler, .-signal_handler
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Can't elevate to root permissions required by udhdp"
	.ascii	"c\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	force_identity, %function
force_identity:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r2, fp, #12
	sub	r1, fp, #16
	sub	r3, fp, #20
	mov	r0, r3
	bl	getresuid
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r2, [fp, #-16]
	mov	r0, r3
	bl	setresuid
	mov	r3, r0
	cmp	r3, #0
	bge	.L42
	ldr	r1, .L43+4
	mov	r0, #1
	bl	errx
.L42:
	nop
	ldr	r3, .L43
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L41
	bl	__stack_chk_fail
.L41:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC10
	.word	.LC9
	.size	force_identity, .-force_identity
	.section	.rodata
	.align	2
.LC11:
	.ascii	"pipe\000"
	.align	2
.LC12:
	.ascii	"fork\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_udhcpc, %function
run_udhcpc:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-152]
	str	r1, [fp, #-156]
	ldr	r3, .L52
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	force_identity
	ldr	r0, .L52+4
	bl	pipe
	mov	r3, r0
	cmp	r3, #0
	bge	.L46
	ldr	r1, .L52+8
	mov	r0, #1
	bl	err
.L46:
	ldr	r3, .L52+12
	str	r3, [fp, #-148]
	sub	r3, fp, #148
	add	r3, r3, #4
	mov	r0, r3
	bl	sigemptyset
	mov	r3, #0
	str	r3, [fp, #-16]
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #17
	bl	sigaction
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	mov	r0, #2
	bl	sigaction
	bl	fork
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L52+16
	str	r2, [r3]
	ldr	r3, .L52+16
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L47
	ldr	r1, .L52+20
	mov	r0, #1
	bl	err
.L47:
	ldr	r3, .L52+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L48
	ldr	r1, [fp, #-156]
	ldr	r0, [fp, #-152]
	bl	child
	b	.L51
.L48:
	bl	parent
.L51:
	nop
	ldr	r3, .L52
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L50
	bl	__stack_chk_fail
.L50:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC13
	.word	exitpipefd
	.word	.LC11
	.word	signal_handler
	.word	child_pid
	.word	.LC12
	.size	run_udhcpc, .-run_udhcpc
	.section	.rodata
	.align	2
.LC14:
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	getenv_nonull, %function
getenv_nonull:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	getenv
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L55
	ldr	r3, [fp, #-8]
	b	.L57
.L55:
	ldr	r3, .L58
.L57:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L59:
	.align	2
.L58:
	.word	.LC14
	.size	getenv_nonull, .-getenv_nonull
	.section	.rodata
	.align	2
.LC15:
	.ascii	"interface\000"
	.align	2
.LC16:
	.ascii	"ip\000"
	.align	2
.LC17:
	.ascii	"broadcast\000"
	.align	2
.LC18:
	.ascii	"subnet\000"
	.align	2
.LC19:
	.ascii	"router\000"
	.align	2
.LC20:
	.ascii	"domain\000"
	.align	2
.LC21:
	.ascii	"dns\000"
	.align	2
.LC22:
	.ascii	"message\000"
	.align	2
.LC23:
	.ascii	"%s,%s,%s,%s,%s,%s,%s,%s,%s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_udhcpc_callback, %function
process_udhcpc_callback:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #44
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r4, [r3]
	ldr	r0, .L61
	bl	getenv_nonull
	mov	r10, r0
	ldr	r0, .L61+4
	bl	getenv_nonull
	str	r0, [fp, #-48]
	ldr	r0, .L61+8
	bl	getenv_nonull
	mov	r5, r0
	ldr	r0, .L61+12
	bl	getenv_nonull
	mov	r6, r0
	ldr	r0, .L61+16
	bl	getenv_nonull
	mov	r7, r0
	ldr	r0, .L61+20
	bl	getenv_nonull
	mov	r8, r0
	ldr	r0, .L61+24
	bl	getenv_nonull
	mov	r9, r0
	ldr	r0, .L61+28
	bl	getenv_nonull
	mov	r3, r0
	str	r3, [sp, #20]
	str	r9, [sp, #16]
	str	r8, [sp, #12]
	str	r7, [sp, #8]
	str	r6, [sp, #4]
	str	r5, [sp]
	ldr	r3, [fp, #-48]
	mov	r2, r10
	mov	r1, r4
	ldr	r0, .L61+32
	bl	printf
	nop
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.size	process_udhcpc_callback, .-process_udhcpc_callback
	.section	.rodata
	.align	2
.LC24:
	.ascii	"Pass at least one parameter. For example, \"udhcpc\""
	.ascii	" to start up udhcpc.\000"
	.align	2
.LC25:
	.ascii	"udhcpc\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bgt	.L64
	ldr	r1, .L67
	mov	r0, #1
	bl	errx
.L64:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L67+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L65
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	run_udhcpc
	b	.L66
.L65:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	process_udhcpc_callback
.L66:
	mov	r0, #0
	bl	exit
.L68:
	.align	2
.L67:
	.word	.LC24
	.word	.LC25
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
