	.file	"extr_fstab.c_setfsent.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"PATH_FSTAB"
.LC1:
	.string	"re"
	.text
	.p2align 4
	.globl	setfsent
	.type	setfsent, @function
setfsent:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rdi, QWORD PTR _fs_fp[rip]
	test	rdi, rdi
	jne	.L9
	cmp	QWORD PTR fsp_set[rip], 0
	je	.L10
.L4:
	mov	edi, DWORD PTR path_fstab[rip]
	lea	rsi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR _fs_fp[rip], rax
	test	rax, rax
	je	.L6
	mov	QWORD PTR LineNo[rip], 0
	mov	eax, 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	xor	eax, eax
	call	issetugid@PLT
	test	rax, rax
	je	.L5
	xor	edi, edi
	call	setfstab@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	call	rewind@PLT
	mov	eax, 1
	mov	QWORD PTR LineNo[rip], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR errno[rip]
	call	error@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	getenv@PLT
	mov	rdi, rax
	call	setfstab@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	setfsent, .-setfsent
	.comm	path_fstab,4,4
	.comm	fsp_set,8,8
	.comm	errno,4,4
	.comm	_fs_fp,8,8
	.comm	LineNo,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_fstab.c_setfsent.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"PATH_FSTAB\000"
	.align	2
.LC1:
	.ascii	"re\000"
	.text
	.align	2
	.global	setfsent
	.syntax unified
	.arm
	.fpu softvfp
	.type	setfsent, %function
setfsent:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L11
	ldr	r0, [r5]
	cmp	r0, #0
	bne	.L9
	ldr	r3, .L11+4
	ldr	r4, [r3]
	cmp	r4, #0
	beq	.L10
.L4:
	ldr	r3, .L11+8
	ldr	r1, .L11+12
	ldr	r0, [r3]
	bl	fopen
	cmp	r0, #0
	mov	r4, r0
	str	r0, [r5]
	beq	.L6
	mov	r2, #0
	ldr	r3, .L11+16
	mov	r0, #1
	str	r2, [r3]
	pop	{r4, r5, r6, pc}
.L10:
	bl	issetugid
	cmp	r0, #0
	beq	.L5
	mov	r0, r4
	bl	setfstab
	b	.L4
.L9:
	bl	rewind
	mov	r2, #0
	ldr	r3, .L11+16
	mov	r0, #1
	str	r2, [r3]
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r3, .L11+20
	ldr	r0, [r3]
	bl	error
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r0, .L11+24
	bl	getenv
	bl	setfstab
	b	.L4
.L12:
	.align	2
.L11:
	.word	_fs_fp
	.word	fsp_set
	.word	path_fstab
	.word	.LC1
	.word	LineNo
	.word	errno
	.word	.LC0
	.size	setfsent, .-setfsent
	.comm	path_fstab,4,4
	.comm	fsp_set,4,4
	.comm	errno,4,4
	.comm	_fs_fp,4,4
	.comm	LineNo,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
