	.file	"extr_color_config.c_perf_config_colorbool.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"never"
.LC1:
	.string	"always"
.LC2:
	.string	"auto"
.LC3:
	.string	"TERM"
.LC4:
	.string	"dumb"
	.text
	.p2align 4
	.globl	perf_config_colorbool
	.type	perf_config_colorbool, @function
perf_config_colorbool:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, edx
	test	rsi, rsi
	je	.L2
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	strcasecmp@PLT
	test	eax, eax
	je	.L7
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	strcasecmp@PLT
	mov	r8d, eax
	mov	eax, 1
	test	r8d, r8d
	je	.L1
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	strcasecmp@PLT
	test	eax, eax
	je	.L8
.L2:
	mov	rsi, rbp
	mov	rdi, r12
	call	perf_config_bool@PLT
	test	eax, eax
	je	.L7
.L8:
	test	ebx, ebx
	js	.L22
.L6:
	test	ebx, ebx
	je	.L9
.L11:
	lea	rdi, .LC3[rip]
	call	getenv@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L7
	lea	rsi, .LC4[rip]
	call	strcmp@PLT
	test	rax, rax
	setne	al
	movzx	eax, al
.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
.L9:
	.cfi_restore_state
	xor	eax, eax
	call	pager_in_use@PLT
	test	rax, rax
	jne	.L11
.L7:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	edi, 1
	call	isatty@PLT
	mov	ebx, eax
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	perf_config_colorbool, .-perf_config_colorbool
	.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_color_config.c_perf_config_colorbool.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"never\000"
	.align	2
.LC1:
	.ascii	"always\000"
	.align	2
.LC2:
	.ascii	"auto\000"
	.align	2
.LC3:
	.ascii	"TERM\000"
	.align	2
.LC4:
	.ascii	"dumb\000"
	.text
	.align	2
	.global	perf_config_colorbool
	.syntax unified
	.arm
	.fpu softvfp
	.type	perf_config_colorbool, %function
perf_config_colorbool:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r1, #0
	mov	r6, r0
	mov	r5, r2
	beq	.L2
	mov	r0, r4
	ldr	r1, .L22
	bl	strcasecmp
	cmp	r0, #0
	beq	.L7
	mov	r0, r4
	ldr	r1, .L22+4
	bl	strcasecmp
	cmp	r0, #0
	beq	.L12
	mov	r0, r4
	ldr	r1, .L22+8
	bl	strcasecmp
	cmp	r0, #0
	beq	.L8
.L2:
	mov	r1, r4
	mov	r0, r6
	bl	perf_config_bool
	cmp	r0, #0
	beq	.L7
.L8:
	cmp	r5, #0
	blt	.L21
.L6:
	cmp	r5, #0
	beq	.L9
.L11:
	ldr	r0, .L22+12
	bl	getenv
	cmp	r0, #0
	beq	.L7
	ldr	r1, .L22+16
	bl	strcmp
	subs	r0, r0, #0
	movne	r0, #1
	pop	{r4, r5, r6, pc}
.L9:
	bl	pager_in_use
	cmp	r0, #0
	bne	.L11
.L7:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L12:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L21:
	mov	r0, #1
	bl	isatty
	mov	r5, r0
	b	.L6
.L23:
	.align	2
.L22:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	perf_config_colorbool, .-perf_config_colorbool
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
