	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function classify_suffix
_classify_suffix:                       ## @classify_suffix
	.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
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdx)
	movb	(%rdi), %al
	testb	%al, %al
	je	LBB0_11
## %bb.1:
	cmpb	$46, %al
	jne	LBB0_26
## %bb.2:
	movq	%rdx, %r15
	movq	%rdi, %r13
	movb	$2, %al
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ebx
	movzbl	1(%r13,%r12), %ecx
	addb	$-48, %cl
	leal	3(%rbx), %eax
	incq	%r12
	cmpb	$10, %cl
	jb	LBB0_3
## %bb.4:
	cmpl	$2, %r12d
	jb	LBB0_13
## %bb.5:
	movl	$-1, %eax
	cmpl	$7, %r12d
	jb	LBB0_22
## %bb.6:
	movsbl	1(%r13), %edx
	leal	(%rdx,%rdx,4), %ecx
	movsbl	2(%r13), %esi
	leal	(%rsi,%rcx,2), %r14d
	cmpl	$546, %r14d                     ## imm = 0x222
	jg	LBB0_22
## %bb.7:
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	leaq	3(%r13), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtoll
	movl	%r14d, %edx
	addq	$-521, %rdx                     ## imm = 0xFDF7
	movq	%rdx, %rcx
	subq	%r12, %rcx
	testl	%ecx, %ecx
	js	LBB0_26
## %bb.8:
	cmpl	$529, %r14d                     ## imm = 0x211
	jl	LBB0_23
## %bb.9:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	cmpb	$48, (%rsi)
	je	LBB0_26
LBB0_23:
	movl	%r12d, %esi
	addq	%rsi, %r13
	movq	%rax, (%r15)
	movq	%rax, 8(%r15)
	cmpl	%r12d, %edx
	je	LBB0_33
## %bb.24:
	movl	%r14d, %edx
	subl	%r12d, %edx
	addl	$-522, %edx                     ## imm = 0xFDF6
	cmpl	$3, %edx
	jae	LBB0_27
## %bb.25:
	movq	%rax, %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_11:
	movl	$1, %eax
	jmp	LBB0_22
LBB0_13:
	movabsq	$4611686018427387904, %rax      ## imm = 0x4000000000000000
	movq	%rax, 8(%r15)
	xorl	%ebx, %ebx
LBB0_14:
	movsbl	1(%r13), %ecx
	cmpl	$116, %ecx
	je	LBB0_19
## %bb.15:
	cmpl	$101, %ecx
	je	LBB0_20
## %bb.16:
	movl	$-1, %eax
	cmpl	$98, %ecx
	jne	LBB0_22
## %bb.17:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_21
## %bb.18:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcmp
	xorl	%ecx, %ecx
	negl	%eax
	sbbl	%ecx, %ecx
	orl	%ecx, %ebx
	orl	$16, %ebx
	jmp	LBB0_21
LBB0_19:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcmp
	xorl	%ecx, %ecx
	negl	%eax
	sbbl	%ecx, %ecx
	orl	%ecx, %ebx
	orl	$3, %ebx
	jmp	LBB0_21
LBB0_20:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcmp
	xorl	%ecx, %ecx
	negl	%eax
	sbbl	%ecx, %ecx
	orl	%ecx, %ebx
	orl	$32, %ebx
LBB0_21:
	movl	%ebx, %eax
	jmp	LBB0_22
LBB0_27:
	subl	%r12d, %r14d
	addl	$-521, %r14d                    ## imm = 0xFDF7
	andl	$-4, %r14d
	movq	%rax, %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	imulq	$10000, %rdx, %rdx              ## imm = 0x2710
	imulq	$10000, %rax, %rax              ## imm = 0x2710
	addq	$9999, %rax                     ## imm = 0x270F
	addl	$-4, %r14d
	jne	LBB0_28
LBB0_29:
	testb	$3, %cl
	je	LBB0_32
## %bb.30:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addb	%cl, %cl
	addb	%sil, %cl
	addb	%bl, %cl
	movzbl	%cl, %ecx
	andl	$3, %ecx
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	addq	%rdx, %rdx
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rax,%rax,4), %rax
	addq	%rax, %rax
	addq	$9, %rax
	decl	%ecx
	jne	LBB0_31
LBB0_32:
	movq	%rdx, (%r15)
	movq	%rax, 8(%r15)
LBB0_33:
	movb	(%r13), %al
	testb	%al, %al
	je	LBB0_36
## %bb.34:
	movl	$4, %ebx
	cmpb	$46, %al
	je	LBB0_14
LBB0_26:
	movl	$-1, %eax
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	movl	$5, %eax
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".bin"

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

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

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

	.no_dead_strip	_classify_suffix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function classify_suffix
_classify_suffix:                       ; @classify_suffix
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	stp	xzr, xzr, [x2]
	ldrb	w8, [x0]
	cbz	w8, LBB0_17
; %bb.1:
	cmp	w8, #46
	b.ne	LBB0_24
; %bb.2:
	mov	x20, x2
	mov	x19, x0
	mov	x22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x19, x22
	ldrb	w8, [x8, #1]
	sub	w8, w8, #48
	add	x22, x22, #1
	cmp	w8, #10
	b.lo	LBB0_3
; %bb.4:
	cmp	w22, #2
	b.lo	LBB0_18
; %bb.5:
	cmp	w22, #7
	b.lo	LBB0_24
; %bb.6:
	ldrsb	w8, [x19, #1]
	mov	w9, #10
	ldrsb	w10, [x19, #2]
	madd	w23, w8, w9, w10
	cmp	w23, #546
	b.gt	LBB0_24
; %bb.7:
	add	x21, x19, #3
	mov	x0, x21
	mov	w1, #0
	mov	w2, #10
	bl	_strtoll
	sub	x8, x23, #521
	cmp	w8, w22
	b.mi	LBB0_24
; %bb.8:
	cmp	w23, #529
	b.lt	LBB0_10
; %bb.9:
	ldrb	w9, [x21]
	cmp	w9, #48
	b.eq	LBB0_24
LBB0_10:
	add	x19, x19, w22, uxtw
	stp	x0, x0, [x20]
	cmp	w8, w22
	b.eq	LBB0_14
; %bb.11:
	sub	w8, w23, w22
	sub	w8, w8, #521
	mov	w9, #10
	mov	x10, x0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	x10, x10, x10, lsl #2
	lsl	x10, x10, #1
	mul	x11, x0, x9
	add	x0, x11, #9
	subs	w8, w8, #1
	b.ne	LBB0_12
; %bb.13:
	stp	x10, x0, [x20]
LBB0_14:
	ldrb	w8, [x19]
	cbz	w8, LBB0_29
; %bb.15:
	cmp	w8, #46
	b.ne	LBB0_24
; %bb.16:
	mov	w21, #4
	b	LBB0_19
LBB0_17:
	mov	w21, #1
	b	LBB0_25
LBB0_18:
	mov	w21, #0
	mov	x8, #4611686018427387904
	str	x8, [x20, #8]
LBB0_19:
	ldrsb	w8, [x19, #1]
	cmp	w8, #116
	b.eq	LBB0_26
; %bb.20:
	cmp	w8, #101
	b.eq	LBB0_27
; %bb.21:
	cmp	w8, #98
	b.ne	LBB0_24
; %bb.22:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_25
; %bb.23:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	orr	w8, w21, #0x10
	b	LBB0_28
LBB0_24:
	mov	w21, #-1
LBB0_25:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_26:
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	orr	w8, w21, #0x3
	b	LBB0_28
LBB0_27:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	orr	w8, w21, #0x20
LBB0_28:
	cmp	w0, #0
	csinv	w21, w8, wzr, eq
	b	LBB0_25
LBB0_29:
	mov	w21, #5
	b	LBB0_25
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".bin"

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

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

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

	.no_dead_strip	_classify_suffix
.subsections_via_symbols
