	.file	"extr_auditd.c_close_all.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"auditd_gen_record(AUE_audit_shutdown) %s: %m"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Disabling audit failed! : %s"
.LC2:
	.string	"Could not unregister"
.LC3:
	.string	"Finished"
	.text
	.p2align 4
	.type	close_all, @function
close_all:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR TIMESTAMP_LEN[rip]
	mov	rcx, rsp
	lea	r12d, 1[rax]
	movsx	rax, r12d
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L27:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L27
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L28
.L4:
	mov	edi, DWORD PTR AUE_audit_shutdown[rip]
	xor	esi, esi
	mov	r13, rsp
	call	auditd_gen_record@PLT
	mov	edi, eax
	test	eax, eax
	je	.L5
	call	auditd_strerror@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	xor	eax, eax
	call	auditd_log_err@PLT
.L5:
	mov	eax, DWORD PTR AUC_DISABLED[rip]
	lea	rdi, -44[rbp]
	xor	ebx, ebx
	mov	DWORD PTR -44[rbp], eax
	call	audit_set_cond@PLT
	test	eax, eax
	jne	.L29
.L6:
	mov	edi, DWORD PTR AUD_STATE_DISABLED[rip]
	call	auditd_set_state@PLT
	xor	edi, edi
	mov	edx, r12d
	mov	rsi, r13
	call	getTSstr@PLT
	test	rax, rax
	je	.L30
.L7:
	mov	rdi, QWORD PTR lastfile[rip]
	test	rdi, rdi
	je	.L8
	call	free@PLT
.L8:
	xor	eax, eax
	call	close_misc@PLT
	add	ebx, eax
	mov	r12d, ebx
	jne	.L31
.L9:
	lea	rdi, .LC3[rip]
	call	auditd_log_info@PLT
	mov	rax, QWORD PTR -40[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L32
	lea	rsp, -24[rbp]
	mov	eax, r12d
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_restore_state
	mov	rdi, r13
	call	close_lastfile@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L29:
	mov	edi, DWORD PTR errno[rip]
	mov	ebx, 1
	call	strerror@PLT
	lea	rdi, .LC1[rip]
	mov	esi, eax
	xor	eax, eax
	call	auditd_log_err@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L31:
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	auditd_log_err@PLT
	xor	eax, eax
	call	audit_warn_postsigterm@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L28:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L32:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	close_all, .-close_all
	.comm	lastfile,8,8
	.comm	errno,4,4
	.comm	TIMESTAMP_LEN,4,4
	.comm	AUE_audit_shutdown,4,4
	.comm	AUD_STATE_DISABLED,4,4
	.comm	AUC_DISABLED,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_auditd.c_close_all.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"auditd_gen_record(AUE_audit_shutdown) %s: %m\000"
	.align	2
.LC1:
	.ascii	"Disabling audit failed! : %s\000"
	.align	2
.LC2:
	.ascii	"Could not unregister\000"
	.align	2
.LC3:
	.ascii	"Finished\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	close_all, %function
close_all:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #12
	ldr	r2, .L27
	ldr	r3, .L27+4
	ldr	r2, [r2]
	ldr	r0, [r3]
	add	r3, r2, #8
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L27+8
	mov	r1, #0
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	add	r5, r2, #1
	bl	auditd_gen_record
	cmp	r0, #0
	mov	r6, sp
	bne	.L22
.L2:
	ldr	r3, .L27+12
	sub	r0, fp, #28
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	bl	audit_set_cond
	subs	r4, r0, #0
	bne	.L23
.L3:
	ldr	r3, .L27+16
	ldr	r0, [r3]
	bl	auditd_set_state
	mov	r2, r5
	mov	r1, r6
	mov	r0, #0
	bl	getTSstr
	cmp	r0, #0
	beq	.L24
.L4:
	ldr	r3, .L27+20
	ldr	r0, [r3]
	cmp	r0, #0
	beq	.L5
	bl	free
.L5:
	bl	close_misc
	adds	r4, r4, r0
	bne	.L25
.L6:
	ldr	r0, .L27+24
	bl	auditd_log_info
	ldr	r3, .L27+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L26
	mov	r0, r4
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L22:
	bl	auditd_strerror
	mov	r1, r0
	ldr	r0, .L27+28
	bl	auditd_log_err
	b	.L2
.L25:
	ldr	r0, .L27+32
	bl	auditd_log_err
	bl	audit_warn_postsigterm
	b	.L6
.L24:
	mov	r0, r6
	bl	close_lastfile
	b	.L4
.L23:
	ldr	r3, .L27+36
	mov	r4, #1
	ldr	r0, [r3]
	bl	strerror
	mov	r1, r0
	ldr	r0, .L27+40
	bl	auditd_log_err
	b	.L3
.L26:
	bl	__stack_chk_fail
.L28:
	.align	2
.L27:
	.word	TIMESTAMP_LEN
	.word	AUE_audit_shutdown
	.word	.LC4
	.word	AUC_DISABLED
	.word	AUD_STATE_DISABLED
	.word	lastfile
	.word	.LC3
	.word	.LC0
	.word	.LC2
	.word	errno
	.word	.LC1
	.size	close_all, .-close_all
	.comm	lastfile,4,4
	.comm	errno,4,4
	.comm	TIMESTAMP_LEN,4,4
	.comm	AUE_audit_shutdown,4,4
	.comm	AUD_STATE_DISABLED,4,4
	.comm	AUC_DISABLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
