	.file	"extr_t_rwtoro.c_basic_test.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/nullm"
	.text
	.p2align 4
	.type	basic_test, @function
basic_test:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r9
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	test	ecx, ecx
	jne	.L20
	test	r8, r8
	je	.L18
	mov	rdi, rsi
	call	r8
.L18:
	mov	edx, r15d
	mov	rsi, rbp
	mov	rdi, r14
	call	remount_ro@PLT
	test	rbx, rbx
	je	.L1
.L8:
	mov	rdi, rbp
	call	rbx
	test	r12d, r12d
	jne	.L9
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	add	rsp, 40
	.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
.L22:
	.cfi_restore_state
	mov	rsi, rbp
	mov	edx, r15d
	lea	rbp, .LC0[rip]
	mov	rdi, r14
	call	remount_ro@PLT
	test	rbx, rbx
	jne	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	xor	esi, esi
	lea	rdi, .LC0[rip]
	call	rump_sys_unmount@PLT
	mov	edi, eax
	call	RL@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	mov	esi, 511
	lea	rdi, .LC0[rip]
	call	rump_sys_mkdir@PLT
	mov	edi, eax
	call	RL@PLT
	lea	rcx, 20[rsp]
	xor	esi, esi
	mov	edx, 4
	mov	rdi, rcx
	mov	QWORD PTR 8[rsp], rcx
	call	memset@PLT
	mov	rdi, rbp
	call	__UNCONST@PLT
	mov	edi, DWORD PTR MOUNT_NULL[rip]
	mov	rcx, QWORD PTR 8[rsp]
	xor	edx, edx
	mov	r8d, 4
	lea	rsi, .LC0[rip]
	mov	DWORD PTR 20[rsp], eax
	call	rump_sys_mount@PLT
	mov	edi, eax
	call	RL@PLT
	test	r13, r13
	je	.L22
	lea	rdi, .LC0[rip]
	call	r13
	mov	edx, r15d
	mov	rsi, rbp
	mov	rdi, r14
	call	remount_ro@PLT
	test	rbx, rbx
	je	.L9
	lea	rbp, .LC0[rip]
	mov	rdi, rbp
	call	rbx
	test	r12d, r12d
	je	.L1
	jmp	.L9
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	basic_test, .-basic_test
	.comm	MOUNT_NULL,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_t_rwtoro.c_basic_test.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"/nullm\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	basic_test, %function
basic_test:
	@ args = 8, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r8, r3, #0
	ldr	r3, .L23
	sub	sp, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r9, r0
	mov	r4, r1
	mov	r6, r2
	ldr	r7, [sp, #48]
	ldr	r5, [sp, #52]
	bne	.L21
	cmp	r7, #0
	beq	.L18
	mov	r0, r1
	blx	r7
	mov	r2, r6
	mov	r1, r4
	mov	r0, r9
.L18:
	bl	remount_ro
	cmp	r5, #0
	beq	.L1
.L8:
	mov	r0, r4
	blx	r5
	cmp	r8, #0
	bne	.L9
.L1:
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L21:
	mov	r10, #0
	ldr	r1, .L23+4
	ldr	r0, .L23+8
	bl	rump_sys_mkdir
	bl	RL
	mov	r0, r4
	str	r10, [sp, #8]
	bl	__UNCONST
	mov	r1, #4
	mov	ip, r0
	ldr	r3, .L23+12
	str	r1, [sp]
	mov	r2, r10
	ldr	r0, [r3]
	ldr	r1, .L23+8
	add	r3, sp, #8
	str	ip, [sp, #8]
	bl	rump_sys_mount
	bl	RL
	cmp	r7, r10
	beq	.L19
	ldr	r0, .L23+8
	blx	r7
.L19:
	mov	r1, r4
	mov	r2, r6
	mov	r0, r9
	bl	remount_ro
	cmp	r5, #0
	ldrne	r4, .L23+8
	bne	.L8
.L9:
	mov	r1, #0
	ldr	r0, .L23+8
	bl	rump_sys_unmount
	bl	RL
	b	.L1
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC1
	.word	511
	.word	.LC0
	.word	MOUNT_NULL
	.size	basic_test, .-basic_test
	.comm	MOUNT_NULL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
