	.file	"extr_utilities.c_removeleaf.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"removeleaf: not a leaf"
.LC1:
	.string	"warning: %s: %s\n"
.LC2:
	.string	"Remove leaf %s\n"
	.text
	.p2align 4
	.globl	removeleaf
	.type	removeleaf, @function
removeleaf:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR LEAF[rip]
	cmp	QWORD PTR [rdi], rax
	je	.L2
	lea	rsi, .LC0[rip]
	call	badentry@PLT
.L2:
	mov	edx, DWORD PTR TMPNAME[rip]
	mov	eax, DWORD PTR 8[rbp]
	mov	rdi, rbp
	or	eax, DWORD PTR REMOVED[rip]
	not	edx
	and	eax, edx
	mov	DWORD PTR 8[rbp], eax
	call	myname@PLT
	mov	r12, rax
	mov	eax, DWORD PTR Nflag[rip]
	test	eax, eax
	jne	.L3
	mov	rdi, r12
	call	unlink@PLT
	test	rax, rax
	js	.L6
.L3:
	mov	edi, DWORD PTR stdout[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdx, r12
	lea	rsi, .LC2[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	vprintf@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	mov	edi, DWORD PTR stderr[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdx, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	rcx, rax
	lea	rsi, .LC1[rip]
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	fprintf@PLT
	.cfi_endproc
.LFE0:
	.size	removeleaf, .-removeleaf
	.comm	stdout,4,4
	.comm	stderr,4,4
	.comm	errno,4,4
	.comm	TMPNAME,4,4
	.comm	REMOVED,4,4
	.comm	Nflag,4,4
	.comm	LEAF,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_utilities.c_removeleaf.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"removeleaf: not a leaf\000"
	.align	2
.LC1:
	.ascii	"warning: %s: %s\012\000"
	.align	2
.LC2:
	.ascii	"Remove leaf %s\012\000"
	.text
	.align	2
	.global	removeleaf
	.syntax unified
	.arm
	.fpu softvfp
	.type	removeleaf, %function
removeleaf:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L7
	ldr	r2, [r0]
	ldr	r3, [r3]
	push	{r4, r5, r6, lr}
	cmp	r2, r3
	mov	r4, r0
	beq	.L2
	ldr	r1, .L7+4
	bl	badentry
.L2:
	ldr	r3, .L7+8
	ldr	r2, .L7+12
	ldr	r1, [r3]
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	orr	r3, r3, r1
	bic	r3, r3, r2
	str	r3, [r4, #4]
	mov	r0, r4
	bl	myname
	ldr	r3, .L7+16
	mov	r4, r0
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
	bl	unlink
	cmp	r0, #0
	blt	.L6
.L3:
	ldr	r3, .L7+20
	mov	r2, r4
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	ldr	r1, .L7+24
	b	vprintf
.L6:
	ldr	r3, .L7+28
	ldr	r2, .L7+32
	ldr	r0, [r3]
	ldr	r5, [r2]
	bl	strerror
	mov	r2, r4
	mov	r3, r0
	ldr	r1, .L7+36
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	fprintf
.L8:
	.align	2
.L7:
	.word	LEAF
	.word	.LC0
	.word	REMOVED
	.word	TMPNAME
	.word	Nflag
	.word	stdout
	.word	.LC2
	.word	errno
	.word	stderr
	.word	.LC1
	.size	removeleaf, .-removeleaf
	.comm	stdout,4,4
	.comm	stderr,4,4
	.comm	errno,4,4
	.comm	TMPNAME,4,4
	.comm	REMOVED,4,4
	.comm	Nflag,4,4
	.comm	LEAF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
