	.file	"extr_builtin-report.c_perf_report__setup_sample_type.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Selected --sort parent, but no callchain data. Did you call 'perf record' without -g?\n"
	.align 8
.LC1:
	.string	"Selected -g but no callchain data. Did you call 'perf record' without -g?\n"
	.align 8
.LC2:
	.string	"Can't register callchain params.\n"
	.align 8
.LC3:
	.string	"Selected -b but no branch data. Did you call perf record without -b?\n"
	.text
	.p2align 4
	.type	perf_report__setup_sample_type, @function
perf_report__setup_sample_type:
.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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	r12, QWORD PTR 8[rdi]
	mov	rbx, rdi
	mov	edi, DWORD PTR 4[r12]
	call	perf_evlist__sample_type@PLT
	mov	ebp, eax
	and	eax, DWORD PTR PERF_SAMPLE_CALLCHAIN[rip]
	or	eax, DWORD PTR [r12]
	jne	.L2
	cmp	QWORD PTR sort__has_parent[rip], 0
	jne	.L12
	mov	edx, DWORD PTR symbol_conf[rip]
	test	edx, edx
	jne	.L13
	cmp	DWORD PTR sort__branch_mode[rip], 1
	jne	.L8
.L9:
	test	DWORD PTR PERF_SAMPLE_BRANCH_STACK[rip], ebp
	je	.L14
	.p2align 4,,10
	.p2align 3
.L8:
	xor	eax, eax
.L1:
	pop	rbx
	.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
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR CHAIN_NONE[rip]
	cmp	QWORD PTR callchain_param[rip], rax
	je	.L6
	mov	eax, DWORD PTR [rbx]
	or	eax, DWORD PTR symbol_conf[rip]
	je	.L15
.L6:
	cmp	DWORD PTR sort__branch_mode[rip], 1
	jne	.L8
	mov	eax, DWORD PTR [r12]
	test	eax, eax
	jne	.L8
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rdi, callchain_param[rip]
	mov	DWORD PTR symbol_conf[rip], 1
	call	callchain_register_param@PLT
	test	rax, rax
	jns	.L6
	lea	rdi, .LC2[rip]
	call	ui__error@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rdi, .LC0[rip]
	call	ui__error@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
.L14:
	lea	rdi, .LC3[rip]
	call	ui__error@PLT
	or	eax, -1
	jmp	.L1
.L13:
	lea	rdi, .LC1[rip]
	call	ui__error@PLT
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	perf_report__setup_sample_type, .-perf_report__setup_sample_type
	.comm	symbol_conf,4,4
	.comm	sort__has_parent,8,8
	.comm	sort__branch_mode,4,4
	.comm	callchain_param,8,8
	.comm	PERF_SAMPLE_CALLCHAIN,4,4
	.comm	PERF_SAMPLE_BRANCH_STACK,4,4
	.comm	EINVAL,4,4
	.comm	CHAIN_NONE,8,8
	.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_perf_report__setup_sample_type.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Selected --sort parent, but no callchain data. Did "
	.ascii	"you call 'perf record' without -g?\012\000"
	.align	2
.LC1:
	.ascii	"Selected -g but no callchain data. Did you call 'pe"
	.ascii	"rf record' without -g?\012\000"
	.align	2
.LC2:
	.ascii	"Can't register callchain params.\012\000"
	.align	2
.LC3:
	.ascii	"Selected -b but no branch data. Did you call perf r"
	.ascii	"ecord without -b?\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	perf_report__setup_sample_type, %function
perf_report__setup_sample_type:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, [r0, #4]
	mov	r4, r0
	ldr	r0, [r6, #4]
	bl	perf_evlist__sample_type
	ldr	r3, .L20
	ldr	r2, [r6]
	ldr	r3, [r3]
	mov	r5, r0
	and	r3, r3, r0
	orrs	r3, r3, r2
	bne	.L2
	ldr	r3, .L20+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L20+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L20+12
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L8
.L9:
	ldr	r3, .L20+16
	ldr	r3, [r3]
	tst	r5, r3
	beq	.L18
.L8:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r0, .L20+20
	ldr	r3, .L20+24
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L6
	ldr	r3, .L20+8
	ldr	r1, [r4]
	ldr	r2, [r3]
	orrs	r2, r1, r2
	beq	.L19
.L6:
	ldr	r3, .L20+12
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L8
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L9
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L19:
	mov	r2, #1
	str	r2, [r3]
	bl	callchain_register_param
	cmp	r0, #0
	bge	.L6
	ldr	r0, .L20+28
	bl	ui__error
	ldr	r3, .L20+32
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L16:
	ldr	r0, .L20+36
	bl	ui__error
	ldr	r3, .L20+32
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L18:
	ldr	r0, .L20+40
	bl	ui__error
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L17:
	ldr	r0, .L20+44
	bl	ui__error
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L21:
	.align	2
.L20:
	.word	PERF_SAMPLE_CALLCHAIN
	.word	sort__has_parent
	.word	symbol_conf
	.word	sort__branch_mode
	.word	PERF_SAMPLE_BRANCH_STACK
	.word	callchain_param
	.word	CHAIN_NONE
	.word	.LC2
	.word	EINVAL
	.word	.LC0
	.word	.LC3
	.word	.LC1
	.size	perf_report__setup_sample_type, .-perf_report__setup_sample_type
	.comm	symbol_conf,4,4
	.comm	sort__has_parent,4,4
	.comm	sort__branch_mode,4,4
	.comm	callchain_param,4,4
	.comm	PERF_SAMPLE_CALLCHAIN,4,4
	.comm	PERF_SAMPLE_BRANCH_STACK,4,4
	.comm	EINVAL,4,4
	.comm	CHAIN_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
