	.file	"150183.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\nwriteOptionList: filepath= [%s]\n"
.LC1:
	.string	"w+"
.LC2:
	.string	"Failed to open [%s] for write"
.LC3:
	.string	"ncnt= [%d]\n"
	.align 8
.LC4:
	.string	"<option value=\"%s\" selected=\"selected\">%s</option>\n"
	.align 8
.LC5:
	.string	"<option value=\"%s\">%s</option>\n"
	.text
	.globl	writeOptionList
	.type	writeOptionList, @function
writeOptionList:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -32[rbp], ecx
	mov	QWORD PTR -48[rbp], r8
	mov	DWORD PTR -12[rbp], 0
	cmp	DWORD PTR -12[rbp], 0
	je	.L2
	mov	rax, QWORD PTR fp_debug[rip]
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR fp_debug[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR fp_debug[rip]
	mov	rdi, rax
	call	fflush@PLT
.L2:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L3
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, -1
	jmp	.L4
.L3:
	cmp	DWORD PTR -12[rbp], 0
	je	.L5
	mov	rax, QWORD PTR fp_debug[rip]
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR fp_debug[rip]
	mov	edx, DWORD PTR -28[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR fp_debug[rip]
	mov	rdi, rax
	call	fflush@PLT
.L5:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jne	.L7
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L8
.L7:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L8:
	add	DWORD PTR -16[rbp], 1
.L6:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L9
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	writeOptionList, .-writeOptionList
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"150183.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012writeOptionList: filepath= [%s]\012\000"
	.align	2
.LC1:
	.ascii	"w+\000"
	.align	2
.LC2:
	.ascii	"Failed to open [%s] for write\000"
	.align	2
.LC3:
	.ascii	"ncnt= [%d]\012\000"
	.align	2
.LC4:
	.ascii	"<option value=\"%s\" selected=\"selected\">%s</opti"
	.ascii	"on>\012\000"
	.align	2
.LC5:
	.ascii	"<option value=\"%s\">%s</option>\012\000"
	.text
	.align	2
	.global	writeOptionList
	.syntax unified
	.arm
	.fpu softvfp
	.type	writeOptionList, %function
writeOptionList:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L10
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r1, .L10+4
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L10
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L2:
	ldr	r1, .L10+8
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L3
	ldr	r2, [fp, #-24]
	ldr	r1, .L10+12
	ldr	r0, [fp, #4]
	bl	sprintf
	mvn	r3, #0
	b	.L4
.L3:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L10
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L10+16
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L10
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L5:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L6
.L9:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bne	.L7
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r1
	ldr	r1, .L10+20
	ldr	r0, [fp, #-8]
	bl	fprintf
	b	.L8
.L7:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r1
	ldr	r1, .L10+24
	ldr	r0, [fp, #-8]
	bl	fprintf
.L8:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L6:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L9
	ldr	r0, [fp, #-8]
	bl	fflush
	ldr	r0, [fp, #-8]
	bl	fclose
	mov	r3, #0
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	fp_debug
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	writeOptionList, .-writeOptionList
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
