	.file	"extr_xutil.c_going_down.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Finishing with status %d"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"background process exiting with status %d"
	.text
	.p2align 4
	.globl	going_down
	.type	going_down, @function
going_down:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR foreground[rip], 0
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, edi
	je	.L2
	mov	rax, QWORD PTR amd_state[rip]
	cmp	rax, QWORD PTR Start[rip]
	je	.L6
	cmp	rax, QWORD PTR Done[rip]
	je	.L9
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	xor	eax, eax
	call	unregister_amq@PLT
	cmp	QWORD PTR foreground[rip], 0
	jne	.L6
.L2:
	mov	esi, ebp
	lea	rdi, .LC1[rip]
	call	dlog@PLT
	mov	edi, ebp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	exit@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR XLOG_INFO[rip]
	mov	edx, ebp
	lea	rsi, .LC0[rip]
	call	plog@PLT
	mov	edi, ebp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	exit@PLT
	.cfi_endproc
.LFE0:
	.size	going_down, .-going_down
	.comm	foreground,8,8
	.comm	amd_state,8,8
	.comm	XLOG_INFO,4,4
	.comm	Start,8,8
	.comm	Done,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_xutil.c_going_down.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Finishing with status %d\000"
	.align	2
.LC1:
	.ascii	"background process exiting with status %d\000"
	.text
	.align	2
	.global	going_down
	.syntax unified
	.arm
	.fpu softvfp
	.type	going_down, %function
going_down:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L12
	mov	r4, r0
	ldr	r3, [r5]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L12+4
	ldr	r2, .L12+8
	ldr	r3, [r3]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L6
	ldr	r2, .L12+12
	ldr	r2, [r2]
	cmp	r3, r2
	popne	{r4, r5, r6, pc}
	bl	unregister_amq
	ldr	r3, [r5]
	cmp	r3, #0
	beq	.L2
.L6:
	ldr	r3, .L12+16
	mov	r2, r4
	ldr	r0, [r3]
	ldr	r1, .L12+20
	bl	plog
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	exit
.L2:
	mov	r1, r4
	ldr	r0, .L12+24
	bl	dlog
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	exit
.L13:
	.align	2
.L12:
	.word	foreground
	.word	amd_state
	.word	Start
	.word	Done
	.word	XLOG_INFO
	.word	.LC0
	.word	.LC1
	.size	going_down, .-going_down
	.comm	foreground,4,4
	.comm	amd_state,4,4
	.comm	XLOG_INFO,4,4
	.comm	Start,4,4
	.comm	Done,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
