	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_color_terminal
_check_color_terminal:                  ## @check_color_terminal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.2(%rip), %rdi
	callq	_getenv
	xorl	%ebx, %ebx
	testq	%rax, %rax
	sete	%bl
LBB0_3:
	movq	_use_color@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AV_LOG_FORCE_COLOR"

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

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

	.comm	_use_color,4,2                  ## @use_color
	.comm	_INVALID_HANDLE_VALUE,8,3       ## @INVALID_HANDLE_VALUE
	.comm	_STD_ERROR_HANDLE,4,2           ## @STD_ERROR_HANDLE
	.comm	_attr_orig,4,2                  ## @attr_orig
	.comm	_background,4,2                 ## @background
	.comm	_con,8,3                        ## @con
	.no_dead_strip	_check_color_terminal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_color_terminal
_check_color_terminal:                  ; @check_color_terminal
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_3
LBB0_2:
	mov	w8, #0
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_getenv
	cmp	x0, #0
	cset	w8, eq
LBB0_4:
Lloh6:
	adrp	x9, _use_color@GOTPAGE
Lloh7:
	ldr	x9, [x9, _use_color@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AV_LOG_FORCE_COLOR"

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

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

	.comm	_use_color,4,2                  ; @use_color
	.comm	_INVALID_HANDLE_VALUE,8,3       ; @INVALID_HANDLE_VALUE
	.comm	_STD_ERROR_HANDLE,4,2           ; @STD_ERROR_HANDLE
	.comm	_attr_orig,4,2                  ; @attr_orig
	.comm	_background,4,2                 ; @background
	.comm	_con,8,3                        ; @con
	.no_dead_strip	_check_color_terminal
.subsections_via_symbols
