	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_config_colorbool          ## -- Begin function perf_config_colorbool
	.p2align	4, 0x90
_perf_config_colorbool:                 ## @perf_config_colorbool
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_6
LBB0_5:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_perf_config_bool
	testl	%eax, %eax
	je	LBB0_13
LBB0_6:
	testl	%r14d, %r14d
	js	LBB0_7
## %bb.8:
	testl	%r14d, %r14d
	jne	LBB0_11
	jmp	LBB0_9
LBB0_7:
	movl	$1, %edi
	callq	_isatty
	movl	%eax, %r14d
	testl	%r14d, %r14d
	jne	LBB0_11
LBB0_9:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pager_in_use
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movq	_pager_use_color@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
LBB0_11:
	leaq	L_.str.3(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_14
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	$1, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"never"

L_.str.1:                               ## @.str.1
	.asciz	"always"

L_.str.2:                               ## @.str.2
	.asciz	"auto"

	.comm	_pager_use_color,8,3            ## @pager_use_color
L_.str.3:                               ## @.str.3
	.asciz	"TERM"

L_.str.4:                               ## @.str.4
	.asciz	"dumb"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_config_colorbool          ; -- Begin function perf_config_colorbool
	.p2align	2
_perf_config_colorbool:                 ; @perf_config_colorbool
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	cbz	x1, LBB0_4
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	w0, LBB0_14
; %bb.2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	w0, LBB0_12
; %bb.3:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	w0, LBB0_5
LBB0_4:
	mov	x0, x21
	mov	x1, x20
	bl	_perf_config_bool
	cbz	w0, LBB0_14
LBB0_5:
	tbnz	w19, #31, LBB0_7
; %bb.6:
	cbnz	w19, LBB0_10
	b	LBB0_8
LBB0_7:
	mov	w0, #1
	bl	_isatty
	mov	x19, x0
	cbnz	w19, LBB0_10
LBB0_8:
	bl	_pager_in_use
	mov	x8, x0
	mov	w0, #0
	cbz	x8, LBB0_14
; %bb.9:
Lloh6:
	adrp	x8, _pager_use_color@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pager_use_color@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
LBB0_10:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_13
; %bb.11:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_13
LBB0_12:
	mov	w0, #1
	b	LBB0_14
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"never"

l_.str.1:                               ; @.str.1
	.asciz	"always"

l_.str.2:                               ; @.str.2
	.asciz	"auto"

	.comm	_pager_use_color,8,3            ; @pager_use_color
l_.str.3:                               ; @.str.3
	.asciz	"TERM"

l_.str.4:                               ; @.str.4
	.asciz	"dumb"

.subsections_via_symbols
