	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function file2color
_file2color:                            ## @file2color
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_strlen
	cltq
	leaq	(%rbx,%rax), %r14
	addq	$-3, %r14
	cmpq	%rbx, %r14
	cmovbq	%rbx, %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	movw	$-521, %bx                      ## imm = 0xFDF7
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	xorl	%ebx, %ebx
	negq	%rax
	sbbl	%ebx, %ebx
	orl	$45045, %ebx                    ## imm = 0xAFF5
	jmp	LBB0_10
LBB0_8:
	movw	$-20491, %bx                    ## imm = 0xAFF5
LBB0_10:
	movzwl	%bx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"zip"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"gen"

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

L_.str.5:                               ## @.str.5
	.asciz	"cso"

L_.str.6:                               ## @.str.6
	.asciz	"cue"

L_.str.7:                               ## @.str.7
	.asciz	"gmv"

L_.str.8:                               ## @.str.8
	.asciz	"pat"

	.no_dead_strip	_file2color
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function file2color
_file2color:                            ; @file2color
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_strlen
	add	x8, x19, w0, sxtw
	sub	x8, x8, #3
	cmp	x8, x19
	csel	x19, x19, x8, lo
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_9
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_9
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_9
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_9
; %bb.4:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_9
; %bb.5:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_9
; %bb.6:
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_9
; %bb.7:
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_11
; %bb.8:
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cmp	x0, #0
	mov	w8, #-20491
	csinv	w8, w8, wzr, eq
	b	LBB0_10
LBB0_9:
	mov	w8, #65015
LBB0_10:
	and	w0, w8, #0xffff
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	w8, #45045
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"zip"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"gen"

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

l_.str.5:                               ; @.str.5
	.asciz	"cso"

l_.str.6:                               ; @.str.6
	.asciz	"cue"

l_.str.7:                               ; @.str.7
	.asciz	"gmv"

l_.str.8:                               ; @.str.8
	.asciz	"pat"

	.no_dead_strip	_file2color
.subsections_via_symbols
