	.file	"extr_login_audit.c_au_login_fail.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"could not determine audit condition"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"audit error: au_open() failed"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"audit error: au_to_subject32() failed"
	.align 8
.LC3:
	.string	"audit error: au_to_text() failed"
	.align 8
.LC4:
	.string	"audit error: au_to_return32() failed"
	.align 8
.LC5:
	.string	"audit error: au_close() was not committed"
	.text
	.p2align 4
	.globl	au_login_fail
	.type	au_login_fail, @function
au_login_fail:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	getpid@PLT
	mov	edi, DWORD PTR A_GETCOND[rip]
	lea	rsi, 4[rsp]
	mov	edx, 4
	mov	ebx, eax
	call	auditon@PLT
	test	rax, rax
	js	.L16
.L2:
	mov	eax, DWORD PTR AUC_NOAUDIT[rip]
	cmp	DWORD PTR 4[rsp], eax
	je	.L1
	xor	eax, eax
	call	au_open@PLT
	mov	ebp, eax
	cmp	eax, -1
	je	.L17
	test	r13d, r13d
	jne	.L18
.L5:
	mov	rax, QWORD PTR pwd[rip]
	mov	r14d, DWORD PTR [rax]
	mov	r15d, DWORD PTR 4[rax]
	xor	eax, eax
	call	getegid@PLT
	mov	r13d, eax
	xor	eax, eax
	call	geteuid@PLT
	mov	r9d, ebx
	mov	r8d, r15d
	mov	ecx, r14d
	mov	esi, eax
	lea	rax, tid[rip]
	mov	edx, r13d
	mov	edi, r14d
	push	rax
	.cfi_def_cfa_offset 88
	push	rbx
	.cfi_def_cfa_offset 96
.L14:
	call	au_to_subject32@PLT
	mov	r13, rax
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	test	r13, r13
	je	.L19
.L6:
	mov	rsi, r13
	mov	edi, ebp
	call	au_write@PLT
	mov	rdi, r12
	call	au_to_text@PLT
	mov	r12, rax
	test	rax, rax
	je	.L20
.L7:
	mov	rsi, r12
	mov	edi, ebp
	call	au_write@PLT
	mov	rsi, QWORD PTR errno[rip]
	mov	edi, 1
	call	au_to_return32@PLT
	mov	r12, rax
	test	rax, rax
	je	.L21
.L8:
	mov	rsi, r12
	mov	edi, ebp
	call	au_write@PLT
	mov	edx, DWORD PTR AUE_login[rip]
	mov	esi, 1
	mov	edi, ebp
	call	au_close@PLT
	cmp	eax, -1
	je	.L22
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L23
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	xor	eax, eax
	call	getegid@PLT
	mov	r13d, eax
	xor	eax, eax
	call	geteuid@PLT
	mov	r9d, ebx
	mov	ecx, -1
	mov	edx, r13d
	mov	esi, eax
	lea	rax, tid[rip]
	mov	r8d, -1
	mov	edi, -1
	push	rax
	.cfi_remember_state
	.cfi_def_cfa_offset 88
	push	-1
	.cfi_def_cfa_offset 96
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rax, QWORD PTR ENOSYS[rip]
	cmp	QWORD PTR errno[rip], rax
	je	.L1
	lea	rsi, .LC0[rip]
	mov	edi, 1
	call	errx@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L22:
	lea	rsi, .LC5[rip]
	mov	edi, 1
	call	errx@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	lea	rsi, .LC1[rip]
	mov	edi, 1
	call	errx@PLT
	test	r13d, r13d
	je	.L5
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L21:
	lea	rsi, .LC4[rip]
	mov	edi, 1
	call	errx@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L20:
	lea	rsi, .LC3[rip]
	mov	edi, 1
	call	errx@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L19:
	lea	rsi, .LC2[rip]
	mov	edi, 1
	call	errx@PLT
	jmp	.L6
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	au_login_fail, .-au_login_fail
	.comm	tid,4,4
	.comm	pwd,8,8
	.comm	errno,8,8
	.comm	ENOSYS,8,8
	.comm	A_GETCOND,4,4
	.comm	AUE_login,4,4
	.comm	AUC_NOAUDIT,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_login_audit.c_au_login_fail.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"could not determine audit condition\000"
	.align	2
.LC1:
	.ascii	"audit error: au_open() failed\000"
	.align	2
.LC2:
	.ascii	"audit error: au_to_subject32() failed\000"
	.align	2
.LC3:
	.ascii	"audit error: au_to_text() failed\000"
	.align	2
.LC4:
	.ascii	"audit error: au_to_return32() failed\000"
	.align	2
.LC5:
	.ascii	"audit error: au_close() was not committed\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	au_login_fail
	.syntax unified
	.arm
	.fpu softvfp
	.type	au_login_fail, %function
au_login_fail:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L24
	sub	sp, sp, #28
	mov	r7, r1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r6, r0
	bl	getpid
	mov	r5, r0
	ldr	r0, .L24+4
	mov	r2, #4
	ldr	r0, [r0]
	add	r1, sp, #16
	bl	auditon
	cmp	r0, #0
	blt	.L16
.L2:
	ldr	r3, .L24+8
	ldr	r2, [sp, #16]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L1
	bl	au_open
	cmn	r0, #1
	mov	r4, r0
	beq	.L17
	cmp	r7, #0
	bne	.L18
.L5:
	ldr	r3, .L24+12
	ldr	r2, [r3]
	ldm	r2, {r8, r9}
	bl	geteuid
	mov	r7, r0
	bl	getegid
	mov	r1, r7
	mov	r2, r0
	mov	r3, r8
	ldr	ip, .L24+16
	str	r9, [sp]
	str	r5, [sp, #8]
	str	r5, [sp, #4]
.L14:
	mov	r0, r3
	str	ip, [sp, #12]
	bl	au_to_subject32
	subs	r5, r0, #0
	beq	.L19
.L6:
	mov	r1, r5
	mov	r0, r4
	bl	au_write
	mov	r0, r6
	bl	au_to_text
	subs	r5, r0, #0
	beq	.L20
.L7:
	mov	r1, r5
	mov	r0, r4
	bl	au_write
	ldr	r3, .L24+20
	mov	r0, #1
	ldr	r1, [r3]
	bl	au_to_return32
	subs	r5, r0, #0
	beq	.L21
.L8:
	mov	r1, r5
	mov	r0, r4
	bl	au_write
	ldr	r3, .L24+24
	mov	r0, r4
	mov	r1, #1
	ldr	r2, [r3]
	bl	au_close
	cmn	r0, #1
	beq	.L22
.L1:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L18:
	bl	geteuid
	mov	r7, r0
	bl	getegid
	mvn	r3, #0
	mov	r2, r0
	mov	r1, r7
	ldr	ip, .L24+16
	str	r5, [sp, #4]
	str	r3, [sp, #8]
	str	r3, [sp]
	b	.L14
.L16:
	ldr	r2, .L24+20
	ldr	r3, .L24+28
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L1
	ldr	r1, .L24+32
	mov	r0, #1
	bl	errx
	b	.L2
.L22:
	ldr	r1, .L24+36
	mov	r0, #1
	bl	errx
	b	.L1
.L17:
	mov	r0, #1
	ldr	r1, .L24+40
	bl	errx
	cmp	r7, #0
	beq	.L5
	b	.L18
.L21:
	ldr	r1, .L24+44
	mov	r0, #1
	bl	errx
	b	.L8
.L20:
	ldr	r1, .L24+48
	mov	r0, #1
	bl	errx
	b	.L7
.L19:
	ldr	r1, .L24+52
	mov	r0, #1
	bl	errx
	b	.L6
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC6
	.word	A_GETCOND
	.word	AUC_NOAUDIT
	.word	pwd
	.word	tid
	.word	errno
	.word	AUE_login
	.word	ENOSYS
	.word	.LC0
	.word	.LC5
	.word	.LC1
	.word	.LC4
	.word	.LC3
	.word	.LC2
	.size	au_login_fail, .-au_login_fail
	.comm	tid,4,4
	.comm	pwd,4,4
	.comm	errno,4,4
	.comm	ENOSYS,4,4
	.comm	A_GETCOND,4,4
	.comm	AUE_login,4,4
	.comm	AUC_NOAUDIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
