	.file	"185767.c"
	.intel_syntax noprefix
	.text
	.local	SPT
	.comm	SPT,40,32
	.type	spt_min, @function
spt_min:
.LFB6:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	cmp	QWORD PTR -16[rbp], rax
	cmovbe	rax, QWORD PTR -16[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	spt_min, .-spt_min
	.type	spt_clearenv, @function
spt_clearenv:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	clearenv@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	spt_clearenv, .-spt_clearenv
	.type	spt_copyenv, @function
spt_copyenv:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR environ[rip]
	cmp	QWORD PTR -24[rbp], rax
	je	.L6
	mov	eax, 0
	jmp	.L7
.L6:
	call	spt_clearenv
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L16
	mov	DWORD PTR -16[rbp], 0
	jmp	.L10
.L15:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	esi, 61
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L17
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 1[rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	setenv@PLT
	test	eax, eax
	je	.L13
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	jmp	.L14
.L13:
	mov	eax, 0
.L14:
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 61
	cmp	DWORD PTR -12[rbp], 0
	jne	.L18
	jmp	.L12
.L17:
	nop
.L12:
	add	DWORD PTR -16[rbp], 1
.L10:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L15
	mov	eax, 0
	jmp	.L7
.L16:
	nop
	jmp	.L9
.L18:
	nop
.L9:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR environ[rip], rax
	mov	eax, DWORD PTR -12[rbp]
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	spt_copyenv, .-spt_copyenv
	.type	spt_copyargs, @function
spt_copyargs:
.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	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -12[rbp], 1
	jmp	.L20
.L25:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L27
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L23
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	jmp	.L24
.L23:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rdx], rax
	jmp	.L22
.L27:
	nop
.L22:
	add	DWORD PTR -12[rbp], 1
.L20:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L25
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L26
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L25
.L26:
	mov	eax, 0
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	spt_copyargs, .-spt_copyargs
	.globl	spt_init
	.type	spt_init, @function
spt_init:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR environ[rip]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	je	.L48
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -64[rbp], 0
	jmp	.L31
.L35:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L49
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -56[rbp], rax
	ja	.L49
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rbx, QWORD PTR [rax]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	add	rax, rbx
	mov	QWORD PTR -56[rbp], rax
	jmp	.L34
.L49:
	nop
.L34:
	add	DWORD PTR -64[rbp], 1
.L31:
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L35
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L36
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L35
.L36:
	mov	DWORD PTR -64[rbp], 0
	jmp	.L37
.L40:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -56[rbp], rax
	ja	.L50
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rbx, QWORD PTR [rax]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	add	rax, rbx
	mov	QWORD PTR -56[rbp], rax
	jmp	.L39
.L50:
	nop
.L39:
	add	DWORD PTR -64[rbp], 1
.L37:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L40
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR SPT[rip], rax
	mov	rax, QWORD PTR SPT[rip]
	test	rax, rax
	je	.L51
	mov	rax, QWORD PTR program_invocation_name[rip]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L52
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR program_invocation_name[rip], rax
	mov	rax, QWORD PTR program_invocation_short_name[rip]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L53
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR program_invocation_short_name[rip], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	spt_copyenv
	mov	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -60[rbp], 0
	jne	.L54
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -68[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	spt_copyargs
	mov	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -60[rbp], 0
	jne	.L55
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR SPT[rip+24], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR SPT[rip+8], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR SPT[rip+16], rax
	jmp	.L28
.L51:
	nop
	jmp	.L42
.L52:
	nop
	jmp	.L42
.L53:
	nop
.L42:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -60[rbp], eax
	jmp	.L46
.L54:
	nop
	jmp	.L46
.L55:
	nop
.L46:
	mov	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR SPT[rip+36], eax
	jmp	.L28
.L48:
	nop
.L28:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	spt_init, .-spt_init
	.section	.rodata
.LC0:
	.string	"%s"
	.text
	.globl	setproctitle
	.type	setproctitle, @function
setproctitle:
.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, 512
	mov	QWORD PTR -504[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L57
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L57:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR SPT[rip+8]
	test	rax, rax
	je	.L70
	cmp	QWORD PTR -504[rbp], 0
	je	.L60
	mov	DWORD PTR -472[rbp], 8
	mov	DWORD PTR -468[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -464[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -456[rbp], rax
	lea	rcx, -472[rbp]
	mov	rdx, QWORD PTR -504[rbp]
	lea	rax, -448[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	vsnprintf@PLT
	mov	DWORD PTR -488[rbp], eax
	jmp	.L61
.L60:
	mov	rdx, QWORD PTR SPT[rip]
	lea	rax, -448[rbp]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	mov	esi, 256
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -488[rbp], eax
.L61:
	cmp	DWORD PTR -488[rbp], 0
	jg	.L62
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -484[rbp], eax
	nop
.L63:
	mov	eax, DWORD PTR -484[rbp]
	mov	DWORD PTR SPT[rip+36], eax
	jmp	.L56
.L62:
	movzx	eax, BYTE PTR SPT[rip+32]
	xor	eax, 1
	test	al, al
	je	.L64
	mov	rax, QWORD PTR SPT[rip+16]
	mov	rdx, QWORD PTR SPT[rip+8]
	sub	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR SPT[rip+8]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	BYTE PTR SPT[rip+32], 1
	jmp	.L65
.L64:
	mov	rax, QWORD PTR SPT[rip+16]
	mov	rdx, QWORD PTR SPT[rip+8]
	sub	rax, rdx
	mov	rsi, rax
	mov	edi, 256
	call	spt_min
	mov	rdx, rax
	mov	rax, QWORD PTR SPT[rip+8]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
.L65:
	mov	rax, QWORD PTR SPT[rip+16]
	mov	rdx, QWORD PTR SPT[rip+8]
	sub	rax, rdx
	mov	rsi, rax
	mov	edi, 256
	call	spt_min
	lea	rdx, -1[rax]
	mov	eax, DWORD PTR -488[rbp]
	cdqe
	mov	rsi, rdx
	mov	rdi, rax
	call	spt_min
	mov	DWORD PTR -488[rbp], eax
	mov	eax, DWORD PTR -488[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR SPT[rip+8]
	lea	rcx, -448[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rdx, QWORD PTR SPT[rip+8]
	mov	eax, DWORD PTR -488[rbp]
	cdqe
	add	rax, rdx
	mov	QWORD PTR -480[rbp], rax
	mov	rax, QWORD PTR SPT[rip+24]
	cmp	QWORD PTR -480[rbp], rax
	jnb	.L66
	mov	rax, QWORD PTR SPT[rip+24]
	mov	BYTE PTR [rax], 46
	jmp	.L71
.L66:
	mov	rax, QWORD PTR SPT[rip+24]
	cmp	QWORD PTR -480[rbp], rax
	jne	.L71
	mov	rax, QWORD PTR -480[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR SPT[rip+16]
	cmp	rdx, rax
	jnb	.L71
	mov	rax, QWORD PTR SPT[rip+24]
	mov	BYTE PTR [rax], 32
	add	QWORD PTR -480[rbp], 1
	mov	rax, QWORD PTR -480[rbp]
	mov	BYTE PTR [rax], 0
	jmp	.L71
.L70:
	nop
	jmp	.L56
.L71:
	nop
.L56:
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L69
	call	__stack_chk_fail@PLT
.L69:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	setproctitle, .-setproctitle
	.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	"185767.c"
	.text
	.local	SPT
	.comm	SPT,24,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spt_min, %function
spt_min:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	movcc	r3, r2
	movcs	r3, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	spt_min, .-spt_min
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spt_clearenv, %function
spt_clearenv:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	clearenv
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	spt_clearenv, .-spt_clearenv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spt_copyenv, %function
spt_copyenv:
	@ 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, .L19
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	beq	.L6
	mov	r3, #0
	b	.L7
.L6:
	bl	spt_clearenv
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L16
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L10
.L15:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, #61
	mov	r0, r3
	bl	strchr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	mov	r2, #1
	mov	r1, r3
	bl	setenv
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	b	.L14
.L13:
	mov	r3, #0
.L14:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	mov	r2, #61
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L18
	b	.L12
.L17:
	nop
.L12:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L10:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L15
	mov	r3, #0
	b	.L7
.L16:
	nop
	b	.L9
.L18:
	nop
.L9:
	ldr	r2, .L19
	ldr	r3, [fp, #-24]
	str	r3, [r2]
	ldr	r3, [fp, #-12]
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	environ
	.size	spt_copyenv, .-spt_copyenv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spt_copyargs, %function
spt_copyargs:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L22
.L27:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L29
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L25
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	b	.L26
.L25:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	b	.L24
.L29:
	nop
.L24:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L22:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L27
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L28
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L27
.L28:
	mov	r3, #0
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	spt_copyargs, .-spt_copyargs
	.align	2
	.global	spt_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	spt_init, %function
spt_init:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L58
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L50
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L33
.L37:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L51
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bhi	.L51
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r4, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	add	r3, r4, r3
	str	r3, [fp, #-40]
	b	.L36
.L51:
	nop
.L36:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L33:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L37
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L38
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L37
.L38:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L39
.L42:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bhi	.L52
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r4, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	add	r3, r4, r3
	str	r3, [fp, #-40]
	b	.L41
.L52:
	nop
.L41:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L39:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L42
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L58+4
	str	r2, [r3]
	ldr	r3, .L58+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L53
	ldr	r3, .L58+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L54
	ldr	r2, .L58+8
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	ldr	r3, .L58+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L55
	ldr	r2, .L58+12
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	ldr	r0, [fp, #-28]
	bl	spt_copyenv
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L56
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-48]
	bl	spt_copyargs
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L57
	ldr	r2, .L58+4
	ldr	r3, [fp, #-20]
	str	r3, [r2, #12]
	ldr	r2, .L58+4
	ldr	r3, [fp, #-24]
	str	r3, [r2, #4]
	ldr	r2, .L58+4
	ldr	r3, [fp, #-40]
	str	r3, [r2, #8]
	b	.L30
.L53:
	nop
	b	.L44
.L54:
	nop
	b	.L44
.L55:
	nop
.L44:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	b	.L48
.L56:
	nop
	b	.L48
.L57:
	nop
.L48:
	ldr	r2, .L58+4
	ldr	r3, [fp, #-32]
	str	r3, [r2, #20]
	b	.L30
.L50:
	nop
.L30:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L59:
	.align	2
.L58:
	.word	environ
	.word	SPT
	.word	program_invocation_name
	.word	program_invocation_short_name
	.size	spt_init, .-spt_init
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	setproctitle
	.syntax unified
	.arm
	.fpu softvfp
	.type	setproctitle, %function
setproctitle:
	@ args = 4, pretend = 16, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #292
	ldr	r3, [fp, #4]
	str	r3, [fp, #-296]
	ldr	r3, .L75
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L75+4
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L73
	ldr	r3, [fp, #-296]
	cmp	r3, #0
	beq	.L63
	add	r3, fp, #8
	str	r3, [fp, #-288]
	sub	r0, fp, #272
	ldr	r3, [fp, #-288]
	ldr	r2, [fp, #-296]
	mov	r1, #256
	bl	vsnprintf
	str	r0, [fp, #-284]
	b	.L64
.L63:
	ldr	r3, .L75+4
	ldr	r3, [r3]
	sub	r0, fp, #272
	ldr	r2, .L75+8
	mov	r1, #256
	bl	snprintf
	str	r0, [fp, #-284]
.L64:
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	bgt	.L65
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-276]
	nop
.L66:
	ldr	r2, .L75+4
	ldr	r3, [fp, #-276]
	str	r3, [r2, #20]
	b	.L60
.L65:
	ldr	r3, .L75+4
	ldrb	r3, [r3, #16]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L67
	ldr	r3, .L75+4
	ldr	r0, [r3, #4]
	ldr	r3, .L75+4
	ldr	r2, [r3, #8]
	ldr	r3, .L75+4
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r3, .L75+4
	mov	r2, #1
	strb	r2, [r3, #16]
	b	.L68
.L67:
	ldr	r3, .L75+4
	ldr	r4, [r3, #4]
	ldr	r3, .L75+4
	ldr	r2, [r3, #8]
	ldr	r3, .L75+4
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	mov	r1, r3
	mov	r0, #256
	bl	spt_min
	mov	r3, r0
	mov	r2, r3
	mov	r1, #0
	mov	r0, r4
	bl	memset
.L68:
	ldr	r4, [fp, #-284]
	ldr	r3, .L75+4
	ldr	r2, [r3, #8]
	ldr	r3, .L75+4
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	mov	r1, r3
	mov	r0, #256
	bl	spt_min
	mov	r3, r0
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r4
	bl	spt_min
	mov	r3, r0
	str	r3, [fp, #-284]
	ldr	r3, .L75+4
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-284]
	sub	r1, fp, #272
	mov	r0, r3
	bl	memcpy
	ldr	r3, .L75+4
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-284]
	add	r3, r2, r3
	str	r3, [fp, #-280]
	ldr	r3, .L75+4
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-280]
	cmp	r2, r3
	bcs	.L69
	ldr	r3, .L75+4
	ldr	r3, [r3, #12]
	mov	r2, #46
	strb	r2, [r3]
	b	.L74
.L69:
	ldr	r3, .L75+4
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-280]
	cmp	r2, r3
	bne	.L74
	ldr	r3, [fp, #-280]
	add	r2, r3, #1
	ldr	r3, .L75+4
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bcs	.L74
	ldr	r3, .L75+4
	ldr	r3, [r3, #12]
	mov	r2, #32
	strb	r2, [r3]
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-280]
	mov	r2, #0
	strb	r2, [r3]
	b	.L74
.L73:
	nop
	b	.L60
.L74:
	nop
.L60:
	ldr	r3, .L75
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L72
	bl	__stack_chk_fail
.L72:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, lr}
	add	sp, sp, #16
	bx	lr
.L76:
	.align	2
.L75:
	.word	.LC1
	.word	SPT
	.word	.LC0
	.size	setproctitle, .-setproctitle
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
