	.file	"extr_memcontrol.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"can't open %s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	cmp	edi, 1
	jle	.L16
	mov	r12d, edi
	mov	r13, rsi
	mov	edi, DWORD PTR _PATH_MEM[rip]
	mov	esi, DWORD PTR O_RDONLY[rip]
	call	open@PLT
	mov	r14d, eax
	cmp	eax, -1
	je	.L17
.L4:
	mov	rbx, QWORD PTR functions[rip]
	mov	rsi, QWORD PTR 8[rbx]
	test	rsi, rsi
	je	.L5
	mov	rbp, QWORD PTR 8[r13]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rsi, QWORD PTR 24[rbx]
	add	rbx, 16
	test	rsi, rsi
	je	.L5
.L6:
	mov	rdi, rbp
	call	strcmp@PLT
	test	eax, eax
	jne	.L18
.L5:
	mov	edi, r14d
	lea	rdx, 8[r13]
	lea	esi, -1[r12]
	call	[QWORD PTR [rbx]]
	mov	edi, r14d
	call	close@PLT
.L3:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	xor	edi, edi
	call	help@PLT
	jmp	.L3
.L17:
	mov	edx, DWORD PTR _PATH_MEM[rip]
	lea	rsi, .LC0[rip]
	mov	edi, 1
	call	err@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	functions,8,8
	.comm	_PATH_MEM,4,4
	.comm	O_RDONLY,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_memcontrol.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"can't open %s\000"
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #1
	push	{r4, r5, r6, r7, r8, lr}
	ble	.L16
	ldr	r3, .L19
	ldr	r4, .L19+4
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [r4]
	ldr	r1, [r3]
	bl	open
	cmn	r0, #1
	mov	r8, r0
	beq	.L17
.L4:
	ldr	r3, .L19+8
	ldr	r4, [r3]
	ldr	r1, [r4, #4]
	cmp	r1, #0
	beq	.L5
	ldr	r5, [r7, #4]
	b	.L6
.L18:
	ldr	r1, [r4, #12]
	add	r4, r4, #8
	cmp	r1, #0
	beq	.L5
.L6:
	mov	r0, r5
	bl	strcmp
	cmp	r0, #0
	bne	.L18
.L5:
	mov	r0, r8
	ldr	r3, [r4]
	add	r2, r7, #4
	sub	r1, r6, #1
	blx	r3
	mov	r0, r8
	bl	close
.L3:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	mov	r0, #0
	bl	help
	b	.L3
.L17:
	ldr	r2, [r4]
	ldr	r1, .L19+12
	mov	r0, #1
	bl	err
	b	.L4
.L20:
	.align	2
.L19:
	.word	O_RDONLY
	.word	_PATH_MEM
	.word	functions
	.word	.LC0
	.size	main, .-main
	.comm	functions,4,4
	.comm	_PATH_MEM,4,4
	.comm	O_RDONLY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
