	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function file_gettype
_file_gettype:                          ## @file_gettype
	.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
	movq	%rdi, %rbx
	movb	(%rdi), %al
	movq	_GZIP_MAGIC0@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_3
## %bb.1:
	movb	1(%rbx), %cl
	movq	_GZIP_MAGIC1@GOTPCREL(%rip), %rdx
	movq	_FT_GZIP@GOTPCREL(%rip), %rax
	cmpb	(%rdx), %cl
	je	LBB0_15
## %bb.2:
	movq	_GZIP_OMAGIC1@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %cl
	je	LBB0_15
LBB0_3:
	movq	_BZIP2_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movb	3(%rbx), %al
	addb	$-48, %al
	cmpb	$10, %al
	jae	LBB0_6
## %bb.5:
	movq	_FT_BZIP2@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_6:
	movq	_Z_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	_PACK_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	_XZ_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	_LZ_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:
	movq	_FT_LZ@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_7:
	movq	_FT_Z@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_9:
	movq	_FT_PACK@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_11:
	movq	_FT_XZ@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_13:
	movq	_FT_UNKNOWN@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GZIP_MAGIC0,1,0                ## @GZIP_MAGIC0
	.comm	_GZIP_MAGIC1,1,0                ## @GZIP_MAGIC1
	.comm	_GZIP_OMAGIC1,1,0               ## @GZIP_OMAGIC1
	.comm	_FT_GZIP,4,2                    ## @FT_GZIP
	.comm	_BZIP2_MAGIC,4,2                ## @BZIP2_MAGIC
	.comm	_FT_BZIP2,4,2                   ## @FT_BZIP2
	.comm	_Z_MAGIC,4,2                    ## @Z_MAGIC
	.comm	_FT_Z,4,2                       ## @FT_Z
	.comm	_PACK_MAGIC,4,2                 ## @PACK_MAGIC
	.comm	_FT_PACK,4,2                    ## @FT_PACK
	.comm	_XZ_MAGIC,4,2                   ## @XZ_MAGIC
	.comm	_FT_XZ,4,2                      ## @FT_XZ
	.comm	_LZ_MAGIC,4,2                   ## @LZ_MAGIC
	.comm	_FT_LZ,4,2                      ## @FT_LZ
	.comm	_FT_UNKNOWN,4,2                 ## @FT_UNKNOWN
	.no_dead_strip	_file_gettype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function file_gettype
_file_gettype:                          ; @file_gettype
	.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
	ldrb	w8, [x0]
Lloh0:
	adrp	x9, _GZIP_MAGIC0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GZIP_MAGIC0@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.1:
	ldrb	w8, [x19, #1]
Lloh2:
	adrp	x9, _GZIP_MAGIC1@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GZIP_MAGIC1@GOTPAGEOFF]
	ldrb	w9, [x9]
Lloh4:
	adrp	x10, _GZIP_OMAGIC1@GOTPAGE
Lloh5:
	ldr	x10, [x10, _GZIP_OMAGIC1@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _FT_GZIP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FT_GZIP@GOTPAGEOFF]
	b	LBB0_13
LBB0_3:
Lloh8:
	adrp	x8, _BZIP2_MAGIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BZIP2_MAGIC@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #3
	bl	_memcmp
	cbnz	x0, LBB0_6
; %bb.4:
	ldrb	w8, [x19, #3]
	sub	w8, w8, #48
	cmp	w8, #10
	b.hs	LBB0_6
; %bb.5:
Lloh11:
	adrp	x8, _FT_BZIP2@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FT_BZIP2@GOTPAGEOFF]
	b	LBB0_13
LBB0_6:
Lloh13:
	adrp	x8, _Z_MAGIC@GOTPAGE
Lloh14:
	ldr	x8, [x8, _Z_MAGIC@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	bl	_memcmp
	cbz	x0, LBB0_10
; %bb.7:
Lloh16:
	adrp	x8, _PACK_MAGIC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PACK_MAGIC@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	bl	_memcmp
	cbz	x0, LBB0_11
; %bb.8:
Lloh19:
	adrp	x8, _XZ_MAGIC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _XZ_MAGIC@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_12
; %bb.9:
Lloh22:
	adrp	x8, _LZ_MAGIC@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LZ_MAGIC@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4
	bl	_memcmp
Lloh25:
	adrp	x8, _FT_UNKNOWN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FT_UNKNOWN@GOTPAGEOFF]
Lloh27:
	adrp	x9, _FT_LZ@GOTPAGE
Lloh28:
	ldr	x9, [x9, _FT_LZ@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	b	LBB0_13
LBB0_10:
Lloh29:
	adrp	x8, _FT_Z@GOTPAGE
Lloh30:
	ldr	x8, [x8, _FT_Z@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh31:
	adrp	x8, _FT_PACK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _FT_PACK@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh33:
	adrp	x8, _FT_XZ@GOTPAGE
Lloh34:
	ldr	x8, [x8, _FT_XZ@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_GZIP_MAGIC0,1,0                ; @GZIP_MAGIC0
	.comm	_GZIP_MAGIC1,1,0                ; @GZIP_MAGIC1
	.comm	_GZIP_OMAGIC1,1,0               ; @GZIP_OMAGIC1
	.comm	_FT_GZIP,4,2                    ; @FT_GZIP
	.comm	_BZIP2_MAGIC,4,2                ; @BZIP2_MAGIC
	.comm	_FT_BZIP2,4,2                   ; @FT_BZIP2
	.comm	_Z_MAGIC,4,2                    ; @Z_MAGIC
	.comm	_FT_Z,4,2                       ; @FT_Z
	.comm	_PACK_MAGIC,4,2                 ; @PACK_MAGIC
	.comm	_FT_PACK,4,2                    ; @FT_PACK
	.comm	_XZ_MAGIC,4,2                   ; @XZ_MAGIC
	.comm	_FT_XZ,4,2                      ; @FT_XZ
	.comm	_LZ_MAGIC,4,2                   ; @LZ_MAGIC
	.comm	_FT_LZ,4,2                      ; @FT_LZ
	.comm	_FT_UNKNOWN,4,2                 ; @FT_UNKNOWN
	.no_dead_strip	_file_gettype
.subsections_via_symbols
