	.file	"extr_login.c_checknologin.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"r"
	.text
	.p2align 4
	.type	checknologin, @function
checknologin:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 1048
	.cfi_def_cfa_offset 1072
	mov	edi, DWORD PTR _PATH_NOLOGIN[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 1032[rsp], rax
	xor	eax, eax
	mov	rbx, rsp
	call	fopen@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L2
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, DWORD PTR stdout[rip]
	mov	rdi, rbx
	call	fputs@PLT
.L2:
	mov	rdx, rbp
	mov	esi, 1024
	mov	rdi, rbx
	call	fgets@PLT
	test	rax, rax
	jne	.L4
	mov	rdi, rbp
	call	fclose@PLT
	xor	edi, edi
	call	exit@PLT
.L1:
	mov	rax, QWORD PTR 1032[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 1048
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	checknologin, .-checknologin
	.comm	stdout,4,4
	.comm	_PATH_NOLOGIN,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.c_checknologin.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"r\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	checknologin, %function
checknologin:
	@ args = 0, pretend = 0, frame = 1032
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L10
	sub	sp, sp, #1024
	ldr	r0, [r3]
	ldr	r3, .L10+4
	sub	sp, sp, #8
	ldr	r1, .L10+8
	ldr	r3, [r3]
	str	r3, [sp, #1028]
	mov	r3,#0
	bl	fopen
	subs	r5, r0, #0
	beq	.L1
	ldr	r6, .L10+12
	b	.L2
.L4:
	ldr	r1, [r6]
	add	r0, sp, #4
	bl	fputs
.L2:
	mov	r2, r5
	mov	r1, #1024
	add	r0, sp, #4
	bl	fgets
	subs	r4, r0, #0
	bne	.L4
	mov	r0, r5
	bl	fclose
	mov	r0, r4
	bl	exit
.L1:
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [sp, #1028]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #1024
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	_PATH_NOLOGIN
	.word	.LC1
	.word	.LC0
	.word	stdout
	.size	checknologin, .-checknologin
	.comm	stdout,4,4
	.comm	_PATH_NOLOGIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
