	.file	"extr_logs-engine.c_logs_parse_option.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%n"
.LC1:
	.string	"Not a valid name: \"%s\"\n"
.LC2:
	.string	"0"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"error: fail to lock paged memory\n"
	.section	.rodata.str1.1
.LC4:
	.string	"nice"
	.text
	.p2align 4
	.globl	logs_parse_option
	.type	logs_parse_option, @function
logs_parse_option:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	sub	edi, 68
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	edi, 51
	ja	.L25
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rdi*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L19-.L4
	.long	.L25-.L4
	.long	.L18-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L17-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L16-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L15-.L4
	.long	.L25-.L4
	.long	.L14-.L4
	.long	.L25-.L4
	.long	.L13-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L12-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L11-.L4
	.long	.L25-.L4
	.long	.L10-.L4
	.long	.L25-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L7-.L4
	.long	.L25-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L25-.L4
	.long	.L25-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L25:
	mov	eax, -1
.L1:
	mov	rsi, QWORD PTR 8[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L32
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	DWORD PTR write_only[rip], 1
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	mov	ecx, DWORD PTR dump_mode[rip]
	xor	edi, edi
	test	ecx, ecx
	sete	dil
	call	assert@PLT
	mov	rax, QWORD PTR optarg[rip]
	mov	DWORD PTR dump_mode[rip], 1
	mov	QWORD PTR dump_query[rip], rax
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, QWORD PTR optarg[rip]
	call	atoi@PLT
	mov	QWORD PTR from_ts[rip], rax
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	DWORD PTR dump_index_mode[rip], 1
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, QWORD PTR optarg[rip]
	lea	rcx, 4[rsp]
	mov	rdx, rsp
	lea	rsi, .LC0[rip]
	call	sscanf@PLT
	xor	edi, edi
	test	eax, eax
	jle	.L20
	mov	eax, DWORD PTR [rsp]
	test	eax, eax
	js	.L20
	cmp	eax, DWORD PTR FN[rip]
	jge	.L20
	movsx	rax, DWORD PTR 4[rsp]
	mov	rdx, QWORD PTR optarg[rip]
	xor	edi, edi
	cmp	BYTE PTR [rdx+rax], 44
	sete	dil
	.p2align 4,,10
	.p2align 3
.L20:
	call	assert@PLT
	movsx	rax, DWORD PTR 4[rsp]
	mov	rdx, QWORD PTR optarg[rip]
	lea	rdi, 1[rdx+rax]
	call	is_name@PLT
	test	eax, eax
	je	.L33
	movsx	rax, DWORD PTR 4[rsp]
	mov	rcx, QWORD PTR optarg[rip]
	movsx	rdx, DWORD PTR [rsp]
	lea	rcx, 1[rcx+rax]
	mov	rax, QWORD PTR field_names[rip]
	mov	DWORD PTR [rax+rdx*4], ecx
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR dump_name[rip], rax
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, QWORD PTR optarg[rip]
	call	atoi@PLT
	mov	QWORD PTR to_ts[rip], rax
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	add	DWORD PTR my_verbosity[rip], 1
.L30:
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, QWORD PTR optarg[rip]
	call	atoi@PLT
	xor	edi, edi
	mov	DWORD PTR mean_event_size[rip], eax
	sub	eax, 51
	cmp	eax, 948
	setbe	dil
	call	assert@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	DWORD PTR index_mode[rip], 1
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, DWORD PTR MCL_CURRENT[rip]
	or	edi, DWORD PTR MCL_FUTURE[rip]
	call	mlockall@PLT
	test	eax, eax
	je	.L30
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	fprintf@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, QWORD PTR optarg[rip]
	call	atol@PLT
	sal	eax, 20
	mov	DWORD PTR max_memory[rip], eax
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, QWORD PTR optarg[rip]
	mov	DWORD PTR errno[rip], 0
	call	atoi@PLT
	mov	rdi, rax
	call	nice@PLT
	mov	eax, DWORD PTR errno[rip]
	test	eax, eax
	je	.L30
	lea	rdi, .LC4[rip]
	call	perror@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, QWORD PTR optarg[rip]
	call	atol@PLT
	sal	eax, 20
	mov	DWORD PTR query_memory[rip], eax
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edx, DWORD PTR dump_mode[rip]
	xor	edi, edi
	test	edx, edx
	sete	dil
	call	assert@PLT
	lea	rax, .LC2[rip]
	mov	DWORD PTR dump_mode[rip], 2
	mov	QWORD PTR dump_query[rip], rax
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR stat_queries_file[rip], rax
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	DWORD PTR test_mode[rip], 1
	xor	eax, eax
	mov	DWORD PTR query_memory[rip], 500000000
	jmp	.L1
.L33:
	movsx	rax, DWORD PTR 4[rsp]
	mov	rdx, QWORD PTR optarg[rip]
	lea	rsi, .LC1[rip]
	mov	edi, DWORD PTR stderr[rip]
	lea	rdx, 1[rdx+rax]
	xor	eax, eax
	call	fprintf@PLT
	xor	eax, eax
	call	usage@PLT
	mov	eax, 2
	jmp	.L1
.L32:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	logs_parse_option, .-logs_parse_option
	.comm	write_only,4,4
	.comm	to_ts,8,8
	.comm	test_mode,4,4
	.comm	stderr,4,4
	.comm	stat_queries_file,8,8
	.comm	query_memory,4,4
	.comm	optarg,8,8
	.comm	my_verbosity,4,4
	.comm	mean_event_size,4,4
	.comm	max_memory,4,4
	.comm	index_mode,4,4
	.comm	from_ts,8,8
	.comm	field_names,8,8
	.comm	errno,4,4
	.comm	dump_query,8,8
	.comm	dump_name,8,8
	.comm	dump_mode,4,4
	.comm	dump_index_mode,4,4
	.comm	MCL_FUTURE,4,4
	.comm	MCL_CURRENT,4,4
	.comm	FN,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_logs-engine.c_logs_parse_option.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%d%n\000"
	.align	2
.LC1:
	.ascii	"Not a valid name: \"%s\"\012\000"
	.align	2
.LC2:
	.ascii	"0\000"
	.align	2
.LC3:
	.ascii	"error: fail to lock paged memory\012\000"
	.align	2
.LC4:
	.ascii	"nice\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	logs_parse_option
	.syntax unified
	.arm
	.fpu softvfp
	.type	logs_parse_option, %function
logs_parse_option:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L37
	sub	sp, sp, #20
	sub	r0, r0, #68
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	cmp	r0, #51
	ldrls	pc, [pc, r0, asl #2]
	b	.L25
.L4:
	.word	.L19
	.word	.L25
	.word	.L18
	.word	.L25
	.word	.L25
	.word	.L17
	.word	.L25
	.word	.L25
	.word	.L25
	.word	.L25
	.word	.L16
	.word	.L25
	.word	.L25
	.word	.L25
	.word	.L15
	.word	.L25
	.word	.L14
	.word	.L25
	.word	.L13
	.word	.L25
	.word	.L25
	.word	.L25
	.word	.L25
	.word	.L25
	.word	.L25
	.word	.L25
	.word	.L25
	.word	.L25
	.word	.L25
	.word	.L25
	.word	.L25
	.word	.L25
	.word	.L25
	.word	.L12
	.word	.L25
	.word	.L25
	.word	.L25
	.word	.L11
	.word	.L25
	.word	.L10
	.word	.L25
	.word	.L9
	.word	.L8
	.word	.L25
	.word	.L25
	.word	.L7
	.word	.L25
	.word	.L6
	.word	.L5
	.word	.L25
	.word	.L25
	.word	.L3
.L25:
	mvn	r0, #0
.L1:
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L35
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L3:
	mov	r2, #1
	ldr	r3, .L37+4
	mov	r0, #0
	str	r2, [r3]
	b	.L1
.L19:
	ldr	r4, .L37+8
	ldr	r0, [r4]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	mov	r1, #1
	ldr	r2, .L37+12
	ldr	r3, .L37+16
	ldr	r2, [r2]
	str	r1, [r4]
	mov	r0, #0
	str	r2, [r3]
	b	.L1
.L18:
	ldr	r3, .L37+12
	ldr	r0, [r3]
	bl	atoi
	mov	r2, r0
	ldr	r3, .L37+20
	mov	r0, #0
	str	r2, [r3]
	b	.L1
.L17:
	mov	r2, #1
	ldr	r3, .L37+24
	mov	r0, #0
	str	r2, [r3]
	b	.L1
.L16:
	ldr	r4, .L37+12
	ldr	r1, .L37+28
	ldr	r0, [r4]
	add	r3, sp, #8
	add	r2, sp, #4
	bl	sscanf
	cmp	r0, #0
	ble	.L28
	ldr	r3, [sp, #4]
	cmp	r3, #0
	blt	.L28
	ldr	r2, .L37+32
	ldr	r2, [r2]
	cmp	r3, r2
	bge	.L28
	ldr	r2, [r4]
	ldr	r3, [sp, #8]
	ldrb	r0, [r2, r3]	@ zero_extendqisi2
	sub	r0, r0, #44
	clz	r0, r0
	lsr	r0, r0, #5
.L20:
	bl	assert
	ldr	r3, [sp, #8]
	ldr	r0, [r4]
	add	r3, r3, #1
	add	r0, r0, r3
	bl	is_name
	cmp	r0, #0
	beq	.L36
	ldr	r2, [sp, #8]
	ldr	r1, .L37+36
	ldr	r3, [r4]
	ldr	r0, [sp, #4]
	ldr	r1, [r1]
	add	r2, r2, #1
	add	r3, r3, r2
	str	r3, [r1, r0, lsl #2]
	mov	r0, #0
	b	.L1
.L15:
	ldr	r2, .L37+12
	ldr	r3, .L37+40
	ldr	r2, [r2]
	mov	r0, #0
	str	r2, [r3]
	b	.L1
.L14:
	ldr	r3, .L37+12
	ldr	r0, [r3]
	bl	atoi
	mov	r2, r0
	ldr	r3, .L37+44
	mov	r0, #0
	str	r2, [r3]
	b	.L1
.L13:
	ldr	r2, .L37+48
	mov	r0, #0
	ldr	r3, [r2]
	add	r3, r3, #1
	str	r3, [r2]
	b	.L1
.L12:
	ldr	r3, .L37+12
	ldr	r0, [r3]
	bl	atoi
	mov	r3, r0
	sub	r0, r0, #51
	cmp	r0, #948
	ldr	r2, .L37+52
	movhi	r0, #0
	movls	r0, #1
	str	r3, [r2]
	bl	assert
	mov	r0, #0
	b	.L1
.L11:
	mov	r2, #1
	ldr	r3, .L37+56
	mov	r0, #0
	str	r2, [r3]
	b	.L1
.L10:
	ldr	r2, .L37+60
	ldr	r3, .L37+64
	ldr	r0, [r2]
	ldr	r3, [r3]
	orr	r0, r0, r3
	bl	mlockall
	cmp	r0, #0
	bne	.L22
.L33:
	mov	r0, #0
	b	.L1
.L9:
	ldr	r3, .L37+12
	ldr	r0, [r3]
	bl	atol
	ldr	r3, .L37+68
	lsl	r0, r0, #20
	str	r0, [r3]
	mov	r0, #0
	b	.L1
.L8:
	mov	r5, #0
	ldr	r3, .L37+12
	ldr	r4, .L37+72
	ldr	r0, [r3]
	str	r5, [r4]
	bl	atoi
	bl	nice
	ldr	r3, [r4]
	cmp	r3, r5
	beq	.L33
	ldr	r0, .L37+76
	bl	perror
	mov	r0, r5
	b	.L1
.L7:
	ldr	r3, .L37+12
	ldr	r0, [r3]
	bl	atol
	ldr	r3, .L37+80
	lsl	r0, r0, #20
	str	r0, [r3]
	mov	r0, #0
	b	.L1
.L6:
	ldr	r4, .L37+8
	ldr	r0, [r4]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	mov	ip, #2
	ldr	r3, .L37+12
	ldr	r1, .L37+84
	ldr	r0, [r3]
	ldr	r2, .L37+88
	ldr	r3, .L37+16
	str	ip, [r4]
	str	r0, [r1]
	mov	r0, #0
	str	r2, [r3]
	b	.L1
.L5:
	mov	r0, #1
	ldr	r1, .L37+92
	ldr	r3, .L37+80
	ldr	r2, .L37+96
	str	r0, [r1]
	mov	r0, #0
	str	r2, [r3]
	b	.L1
.L28:
	mov	r0, #0
	b	.L20
.L22:
	ldr	r3, .L37+100
	ldr	r1, .L37+104
	ldr	r0, [r3]
	bl	fprintf
	b	.L33
.L36:
	ldr	r3, [sp, #8]
	ldr	r2, [r4]
	ldr	r1, .L37+100
	add	r3, r3, #1
	ldr	r0, [r1]
	add	r2, r2, r3
	ldr	r1, .L37+108
	bl	fprintf
	bl	usage
	mov	r0, #2
	b	.L1
.L35:
	bl	__stack_chk_fail
.L38:
	.align	2
.L37:
	.word	.LC5
	.word	write_only
	.word	dump_mode
	.word	optarg
	.word	dump_query
	.word	from_ts
	.word	dump_index_mode
	.word	.LC0
	.word	FN
	.word	field_names
	.word	dump_name
	.word	to_ts
	.word	my_verbosity
	.word	mean_event_size
	.word	index_mode
	.word	MCL_CURRENT
	.word	MCL_FUTURE
	.word	max_memory
	.word	errno
	.word	.LC4
	.word	query_memory
	.word	stat_queries_file
	.word	.LC2
	.word	test_mode
	.word	500000000
	.word	stderr
	.word	.LC3
	.word	.LC1
	.size	logs_parse_option, .-logs_parse_option
	.comm	write_only,4,4
	.comm	to_ts,4,4
	.comm	test_mode,4,4
	.comm	stderr,4,4
	.comm	stat_queries_file,4,4
	.comm	query_memory,4,4
	.comm	optarg,4,4
	.comm	my_verbosity,4,4
	.comm	mean_event_size,4,4
	.comm	max_memory,4,4
	.comm	index_mode,4,4
	.comm	from_ts,4,4
	.comm	field_names,4,4
	.comm	errno,4,4
	.comm	dump_query,4,4
	.comm	dump_name,4,4
	.comm	dump_mode,4,4
	.comm	dump_index_mode,4,4
	.comm	MCL_FUTURE,4,4
	.comm	MCL_CURRENT,4,4
	.comm	FN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
