	.file	"extr_builtin-report.c_parse_callchain_opt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	","
.LC1:
	.string	"graph"
.LC2:
	.string	"flat"
.LC3:
	.string	"fractal"
.LC4:
	.string	"none"
.LC5:
	.string	"caller"
.LC6:
	.string	"callee"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC7:
	.string	"Can't register callchain params\n"
	.text
	.p2align 4
	.type	parse_callchain_opt, @function
parse_callchain_opt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	edx, edx
	jne	.L27
	mov	DWORD PTR symbol_conf[rip], 1
	mov	rbp, rsi
	test	rsi, rsi
	je	.L16
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	strtok@PLT
	mov	r12, rax
	test	rax, rax
	je	.L25
	mov	rdi, rbp
	call	strlen@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	mov	edx, eax
	call	strncmp@PLT
	test	eax, eax
	jne	.L6
	mov	eax, DWORD PTR CHAIN_GRAPH_ABS[rip]
	mov	DWORD PTR callchain_param[rip+12], eax
.L7:
	lea	rsi, .LC0[rip]
	xor	edi, edi
	call	strtok@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L12
	mov	r12, rsp
	mov	rdi, rax
	mov	rsi, r12
	call	strtod@PLT
	mov	DWORD PTR callchain_param[rip+8], eax
	cmp	QWORD PTR [rsp], rbp
	je	.L25
	lea	rsi, .LC0[rip]
	xor	edi, edi
	call	strtok@PLT
	mov	r8, rax
	test	rax, rax
	je	.L12
	cmp	BYTE PTR [rax], 99
	jne	.L28
.L14:
	mov	ecx, 7
	lea	rdi, .LC5[rip]
	mov	rsi, r8
	repz cmpsb
	seta	al
	sbb	al, 0
	test	al, al
	je	.L29
	mov	ecx, 7
	lea	rdi, .LC6[rip]
	mov	rsi, r8
	repz cmpsb
	seta	al
	sbb	al, 0
	test	al, al
	jne	.L25
	mov	eax, DWORD PTR ORDER_CALLEE[rip]
	mov	DWORD PTR callchain_param[rip], eax
.L12:
	lea	rdi, callchain_param[rip]
	call	callchain_register_param@PLT
	test	rax, rax
	js	.L30
.L16:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L31
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	mov	rax, QWORD PTR [rdi]
	mov	DWORD PTR [rax], 1
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L28:
	xor	edx, edx
	mov	rsi, r12
	mov	rdi, rax
	call	strtoul@PLT
	lea	rsi, .LC0[rip]
	xor	edi, edi
	mov	DWORD PTR callchain_param[rip+4], eax
	call	strtok@PLT
	mov	r8, rax
	test	rax, rax
	jne	.L14
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L29:
	mov	eax, DWORD PTR ORDER_CALLER[rip]
	mov	DWORD PTR callchain_param[rip], eax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, rbp
	call	strlen@PLT
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	mov	edx, eax
	call	strncmp@PLT
	test	eax, eax
	jne	.L8
	mov	eax, DWORD PTR CHAIN_FLAT[rip]
	mov	DWORD PTR callchain_param[rip+12], eax
	jmp	.L7
.L30:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	call	fprintf@PLT
.L25:
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, rbp
	call	strlen@PLT
	lea	rsi, .LC3[rip]
	mov	rdi, r12
	mov	edx, eax
	call	strncmp@PLT
	test	eax, eax
	jne	.L9
	mov	eax, DWORD PTR CHAIN_GRAPH_REL[rip]
	mov	DWORD PTR callchain_param[rip+12], eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, rbp
	call	strlen@PLT
	lea	rsi, .LC4[rip]
	mov	rdi, r12
	mov	edx, eax
	call	strncmp@PLT
	test	eax, eax
	jne	.L25
	mov	DWORD PTR symbol_conf[rip], 0
	mov	edx, DWORD PTR CHAIN_NONE[rip]
	mov	DWORD PTR callchain_param[rip+12], edx
	jmp	.L1
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	parse_callchain_opt, .-parse_callchain_opt
	.comm	symbol_conf,4,4
	.comm	stderr,4,4
	.comm	callchain_param,16,16
	.comm	ORDER_CALLER,4,4
	.comm	ORDER_CALLEE,4,4
	.comm	CHAIN_NONE,4,4
	.comm	CHAIN_GRAPH_REL,4,4
	.comm	CHAIN_GRAPH_ABS,4,4
	.comm	CHAIN_FLAT,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_builtin-report.c_parse_callchain_opt.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	",\000"
	.align	2
.LC1:
	.ascii	"graph\000"
	.align	2
.LC2:
	.ascii	"flat\000"
	.align	2
.LC3:
	.ascii	"fractal\000"
	.align	2
.LC4:
	.ascii	"none\000"
	.align	2
.LC5:
	.ascii	"caller\000"
	.align	2
.LC6:
	.ascii	"callee\000"
	.align	2
.LC7:
	.ascii	"Can't register callchain params\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_callchain_opt, %function
parse_callchain_opt:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L36
	sub	sp, sp, #8
	cmp	r2, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bne	.L30
	mov	r3, #1
	ldr	r6, .L36+4
	cmp	r1, #0
	mov	r4, r1
	str	r3, [r6]
	beq	.L16
	mov	r0, r4
	ldr	r1, .L36+8
	bl	strtok
	subs	r5, r0, #0
	beq	.L28
	mov	r0, r4
	bl	strlen
	ldr	r1, .L36+12
	mov	r2, r0
	mov	r4, r0
	mov	r0, r5
	bl	strncmp
	cmp	r0, #0
	bne	.L6
	ldr	r3, .L36+16
	ldr	r5, .L36+20
	ldr	r3, [r3]
	str	r3, [r5, #12]
.L7:
	mov	r0, #0
	ldr	r1, .L36+8
	bl	strtok
	subs	r4, r0, #0
	beq	.L12
	mov	r1, sp
	bl	strtod
	ldr	r3, [sp]
	str	r0, [r5, #8]
	cmp	r3, r4
	beq	.L28
	mov	r0, #0
	ldr	r1, .L36+8
	bl	strtok
	subs	r4, r0, #0
	beq	.L12
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #99
	bne	.L31
.L14:
	mov	r0, r4
	ldr	r1, .L36+24
	bl	strcmp
	cmp	r0, #0
	beq	.L32
	mov	r0, r4
	ldr	r1, .L36+28
	bl	strcmp
	cmp	r0, #0
	bne	.L28
	ldr	r3, .L36+32
	ldr	r3, [r3]
	str	r3, [r5]
.L12:
	ldr	r0, .L36+20
	bl	callchain_register_param
	cmp	r0, #0
	blt	.L33
.L16:
	mov	r0, #0
.L1:
	ldr	r3, .L36
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L34
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L30:
	mov	r2, #1
	ldr	r3, [r0]
	mov	r0, #0
	str	r2, [r3]
	b	.L1
.L6:
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L36+36
	bl	strncmp
	cmp	r0, #0
	beq	.L35
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L36+40
	bl	strncmp
	cmp	r0, #0
	bne	.L9
	ldr	r3, .L36+44
	ldr	r5, .L36+20
	ldr	r3, [r3]
	str	r3, [r5, #12]
	b	.L7
.L35:
	ldr	r3, .L36+48
	ldr	r5, .L36+20
	ldr	r3, [r3]
	str	r3, [r5, #12]
	b	.L7
.L31:
	mov	r1, sp
	mov	r2, #0
	bl	strtoul
	mov	r3, r0
	ldr	r1, .L36+8
	mov	r0, #0
	str	r3, [r5, #4]
	bl	strtok
	subs	r4, r0, #0
	bne	.L14
	b	.L12
.L32:
	ldr	r3, .L36+52
	ldr	r0, .L36+20
	ldr	r3, [r3]
	str	r3, [r5]
	bl	callchain_register_param
	cmp	r0, #0
	bge	.L16
	b	.L33
.L9:
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L36+56
	bl	strncmp
	cmp	r0, #0
	bne	.L28
	ldr	r2, .L36+60
	ldr	r3, .L36+20
	ldr	r2, [r2]
	str	r0, [r6]
	str	r2, [r3, #12]
	b	.L1
.L33:
	ldr	r3, .L36+64
	ldr	r1, .L36+68
	ldr	r0, [r3]
	bl	fprintf
.L28:
	mvn	r0, #0
	b	.L1
.L34:
	bl	__stack_chk_fail
.L37:
	.align	2
.L36:
	.word	.LC8
	.word	symbol_conf
	.word	.LC0
	.word	.LC1
	.word	CHAIN_GRAPH_ABS
	.word	callchain_param
	.word	.LC5
	.word	.LC6
	.word	ORDER_CALLEE
	.word	.LC2
	.word	.LC3
	.word	CHAIN_GRAPH_REL
	.word	CHAIN_FLAT
	.word	ORDER_CALLER
	.word	.LC4
	.word	CHAIN_NONE
	.word	stderr
	.word	.LC7
	.size	parse_callchain_opt, .-parse_callchain_opt
	.comm	symbol_conf,4,4
	.comm	stderr,4,4
	.comm	callchain_param,16,4
	.comm	ORDER_CALLER,4,4
	.comm	ORDER_CALLEE,4,4
	.comm	CHAIN_NONE,4,4
	.comm	CHAIN_GRAPH_REL,4,4
	.comm	CHAIN_GRAPH_ABS,4,4
	.comm	CHAIN_FLAT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
