	.file	"extr_pull-tar.c_tar_pull_unref.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tar_pull_unref
	.type	tar_pull_unref, @function
tar_pull_unref:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L2
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	edi, DWORD PTR [rdi]
	cmp	edi, 1
	jle	.L3
	mov	esi, DWORD PTR SIGKILL[rip]
	call	kill_and_sigcont@PLT
	mov	edi, DWORD PTR 0[rbp]
	xor	esi, esi
	call	wait_for_terminate@PLT
.L3:
	mov	edi, DWORD PTR 76[rbp]
	call	pull_job_unref@PLT
	mov	edi, DWORD PTR 72[rbp]
	call	pull_job_unref@PLT
	mov	edi, DWORD PTR 68[rbp]
	call	pull_job_unref@PLT
	mov	edi, DWORD PTR 64[rbp]
	call	pull_job_unref@PLT
	mov	edi, DWORD PTR 60[rbp]
	call	curl_glue_unref@PLT
	mov	edi, DWORD PTR 56[rbp]
	call	sd_event_unref@PLT
	mov	rdi, QWORD PTR 48[rbp]
	test	rdi, rdi
	jne	.L16
	mov	rdi, QWORD PTR 40[rbp]
	test	rdi, rdi
	jne	.L17
.L5:
	mov	rdi, QWORD PTR 32[rbp]
	call	free@PLT
	mov	rdi, QWORD PTR 24[rbp]
	call	free@PLT
	mov	rdi, QWORD PTR 16[rbp]
	call	free@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	free@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	mfree@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	esi, DWORD PTR REMOVE_ROOT[rip]
	or	esi, DWORD PTR REMOVE_PHYSICAL[rip]
	or	esi, DWORD PTR REMOVE_SUBVOLUME[rip]
	call	rm_rf@PLT
	mov	rdi, QWORD PTR 48[rbp]
	call	free@PLT
	mov	rdi, QWORD PTR 40[rbp]
	test	rdi, rdi
	je	.L5
.L17:
	call	unlink@PLT
	mov	rdi, QWORD PTR 40[rbp]
	call	free@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_def_cfa_offset 8
	.cfi_restore 6
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	tar_pull_unref, .-tar_pull_unref
	.comm	SIGKILL,4,4
	.comm	REMOVE_SUBVOLUME,4,4
	.comm	REMOVE_ROOT,4,4
	.comm	REMOVE_PHYSICAL,4,4
	.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_pull-tar.c_tar_pull_unref.c"
	.text
	.align	2
	.global	tar_pull_unref
	.syntax unified
	.arm
	.fpu softvfp
	.type	tar_pull_unref, %function
tar_pull_unref:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	subs	r4, r0, #0
	popeq	{r4, pc}
	ldr	r0, [r4]
	cmp	r0, #1
	ble	.L3
	ldr	r3, .L16
	ldr	r1, [r3]
	bl	kill_and_sigcont
	mov	r1, #0
	ldr	r0, [r4]
	bl	wait_for_terminate
.L3:
	ldr	r0, [r4, #48]
	bl	pull_job_unref
	ldr	r0, [r4, #44]
	bl	pull_job_unref
	ldr	r0, [r4, #40]
	bl	pull_job_unref
	ldr	r0, [r4, #36]
	bl	pull_job_unref
	ldr	r0, [r4, #32]
	bl	curl_glue_unref
	ldr	r0, [r4, #28]
	bl	sd_event_unref
	ldr	r0, [r4, #24]
	cmp	r0, #0
	bne	.L14
	ldr	r0, [r4, #20]
	cmp	r0, #0
	bne	.L15
.L5:
	ldr	r0, [r4, #16]
	bl	free
	ldr	r0, [r4, #12]
	bl	free
	ldr	r0, [r4, #8]
	bl	free
	ldr	r0, [r4, #4]
	bl	free
	mov	r0, r4
	pop	{r4, lr}
	b	mfree
.L14:
	ldr	r3, .L16+4
	ldr	r2, .L16+8
	ldr	r1, .L16+12
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, [r1]
	orr	r3, r3, r2
	orr	r1, r3, r1
	bl	rm_rf
	ldr	r0, [r4, #24]
	bl	free
	ldr	r0, [r4, #20]
	cmp	r0, #0
	beq	.L5
.L15:
	bl	unlink
	ldr	r0, [r4, #20]
	bl	free
	b	.L5
.L17:
	.align	2
.L16:
	.word	SIGKILL
	.word	REMOVE_ROOT
	.word	REMOVE_PHYSICAL
	.word	REMOVE_SUBVOLUME
	.size	tar_pull_unref, .-tar_pull_unref
	.comm	SIGKILL,4,4
	.comm	REMOVE_SUBVOLUME,4,4
	.comm	REMOVE_ROOT,4,4
	.comm	REMOVE_PHYSICAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
