	.file	"extr_uu_pname.c_uu_setpname.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"unknown_command"
	.text
	.p2align 4
	.globl	uu_setpname
	.type	uu_setpname, @function
uu_setpname:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	test	rdi, rdi
	je	.L14
.L2:
	mov	esi, 47
	mov	rdi, rbx
	call	strrchr@PLT
	test	rax, rax
	je	.L15
	cmp	BYTE PTR 1[rax], 0
	je	.L16
	add	rax, 1
.L12:
	mov	QWORD PTR pname[rip], rax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	BYTE PTR [rax], 0
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	xor	eax, eax
	call	getexecname@PLT
	test	rax, rax
	jne	.L12
	lea	rax, .LC0[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	QWORD PTR pname[rip], rax
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rax, rbx
	mov	QWORD PTR pname[rip], rbx
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	uu_setpname, .-uu_setpname
	.comm	pname,8,8
	.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_uu_pname.c_uu_setpname.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unknown_command\000"
	.text
	.align	2
	.global	uu_setpname
	.syntax unified
	.arm
	.fpu softvfp
	.type	uu_setpname, %function
uu_setpname:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	subs	r4, r0, #0
	beq	.L13
.L2:
	mov	r1, #47
	mov	r0, r4
	bl	strrchr
	cmp	r0, #0
	beq	.L14
	ldrb	r3, [r0, #1]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L15
	ldr	r3, .L16
	add	r0, r0, #1
.L11:
	str	r0, [r3]
	pop	{r4, pc}
.L15:
	strb	r3, [r0]
	b	.L2
.L13:
	bl	getexecname
	cmp	r0, #0
	ldr	r3, .L16
	bne	.L11
	ldr	r0, .L16+4
	str	r0, [r3]
	pop	{r4, pc}
.L14:
	ldr	r3, .L16
	mov	r0, r4
	str	r4, [r3]
	pop	{r4, pc}
.L17:
	.align	2
.L16:
	.word	pname
	.word	.LC0
	.size	uu_setpname, .-uu_setpname
	.comm	pname,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
