	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __color_vfprintf
___color_vfprintf:                      ## @__color_vfprintf
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_perf_use_color_default@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, %eax
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	js	LBB0_1
## %bb.7:
	je	LBB0_8
## %bb.4:
	cmpb	$0, (%r15)
	je	LBB0_8
LBB0_5:
	movq	%r12, %r13
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%rdx, %r12
	movq	%r15, %rdx
	movl	%ecx, %ebx
	callq	_fprintf
	movq	%r12, %rdx
	movl	%ebx, %ecx
	movslq	%eax, %r12
	jmp	LBB0_9
LBB0_1:
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_fileno
	movl	%eax, %edi
	callq	_isatty
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_pager_in_use
	testq	%rax, %rax
	je	LBB0_6
LBB0_3:
	movl	$1, (%r12)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmpb	$0, (%r15)
	jne	LBB0_5
LBB0_8:
	movq	%r12, %r13
	xorl	%r12d, %r12d
LBB0_9:
	movq	%r14, %rdi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	callq	_vfprintf
	movq	%rax, %rbx
	addq	%r12, %rbx
	cmpl	$0, (%r13)
	je	LBB0_12
## %bb.10:
	cmpb	$0, (%r15)
	je	LBB0_12
## %bb.11:
	movq	_PERF_COLOR_RESET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_fprintf
	addq	%rax, %rbx
LBB0_12:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.13:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_fprintf
	addl	%ebx, %eax
	movl	%eax, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r12, %r13
	movl	$0, (%r12)
	xorl	%r12d, %r12d
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_perf_use_color_default,4,2     ## @perf_use_color_default
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_PERF_COLOR_RESET,8,3           ## @PERF_COLOR_RESET
	.no_dead_strip	___color_vfprintf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __color_vfprintf
___color_vfprintf:                      ; @__color_vfprintf
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _perf_use_color_default@GOTPAGE
Lloh1:
	ldr	x24, [x24, _perf_use_color_default@GOTPAGEOFF]
	ldr	w8, [x24]
	tbnz	w8, #31, LBB0_4
; %bb.1:
	cbz	w8, LBB0_7
; %bb.2:
	ldrb	w8, [x21]
	cbz	w8, LBB0_7
LBB0_3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_fprintf
	sxtw	x25, w0
	b	LBB0_8
LBB0_4:
	mov	x0, x20
	bl	_fileno
	bl	_isatty
	cbnz	x0, LBB0_6
; %bb.5:
	bl	_pager_in_use
	cbz	x0, LBB0_14
LBB0_6:
	mov	w8, #1
	str	w8, [x24]
	ldrb	w8, [x21]
	cbnz	w8, LBB0_3
LBB0_7:
	mov	x25, #0
LBB0_8:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	bl	_vfprintf
	add	x22, x0, x25
	ldr	w8, [x24]
	cbz	w8, LBB0_11
; %bb.9:
	ldrb	w8, [x21]
	cbz	w8, LBB0_11
; %bb.10:
Lloh4:
	adrp	x8, _PERF_COLOR_RESET@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PERF_COLOR_RESET@GOTPAGEOFF]
Lloh6:
	ldr	x2, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_fprintf
	add	x22, x0, x22
LBB0_11:
	cbz	x19, LBB0_13
; %bb.12:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_fprintf
	add	w22, w0, w22
LBB0_13:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	x25, #0
	str	wzr, [x24]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_perf_use_color_default,4,2     ; @perf_use_color_default
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_PERF_COLOR_RESET,8,3           ; @PERF_COLOR_RESET
	.no_dead_strip	___color_vfprintf
.subsections_via_symbols
