	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_file_buffer                    ## -- Begin function file_buffer
	.p2align	4, 0x90
_file_buffer:                           ## @file_buffer
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %rcx
	movq	%rdi, %rbx
	movl	$0, -44(%rbp)
	movq	$0, -72(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -56(%rbp)
	movq	$0, -64(%rbp)
	leaq	-48(%rbp), %rdi
	movq	%r9, %r8
	callq	_buffer_init
	movl	-48(%rbp), %eax
	movl	%eax, 4(%rbx)
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	cmpq	$1, %r14
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.3(%rip), %r12
	jmp	LBB0_34
LBB0_1:
	leaq	L_.str.2(%rip), %r12
LBB0_34:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_file_default
	movl	%eax, -44(%rbp)
	movl	$1, %r15d
	testl	%eax, %eax
	jne	LBB0_37
## %bb.35:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_file_printf
	cmpl	$-1, %eax
	jne	LBB0_37
## %bb.36:
	movl	$-1, -44(%rbp)
	jmp	LBB0_37
LBB0_4:
	movl	(%rbx), %eax
	movq	_MAGIC_NO_CHECK_ENCODING@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	movl	$0, %r12d
	testl	%eax, (%rcx)
	jne	LBB0_6
## %bb.5:
	leaq	-64(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-48(%rbp), %rsi
	leaq	-72(%rbp), %r8
	leaq	-56(%rbp), %r9
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_file_encoding
	movl	%eax, %r12d
	movl	(%rbx), %eax
LBB0_6:
	movq	_MAGIC_NO_CHECK_TAR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
LBB0_11:
	movq	_MAGIC_NO_CHECK_JSON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r13d, %r15d
	testl	%eax, (%rbx)
	je	LBB0_12
LBB0_17:
	movq	_MAGIC_NO_CHECK_CDF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_18
LBB0_23:
	movq	_MAGIC_NO_CHECK_SOFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_24
LBB0_28:
	movq	_MAGIC_NO_CHECK_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_32
LBB0_30:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_file_ascmagic
	movl	%eax, %r15d
	movq	_MAGIC_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_32
## %bb.31:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	movl	%r15d, %edx
	callq	_fprintf
LBB0_32:
	testl	%r15d, %r15d
	jne	LBB0_37
	jmp	LBB0_33
LBB0_7:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_file_is_tar
	movl	%eax, %r15d
	movq	_MAGIC_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_9
## %bb.8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%r15d, %edx
	callq	_fprintf
LBB0_9:
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.10:
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_checkdone
	movl	%r15d, %r13d
	testq	%rax, %rax
	jne	LBB0_37
	jmp	LBB0_11
LBB0_12:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_file_is_json
	movl	%eax, %r15d
	movq	_MAGIC_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_14
## %bb.13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	%r15d, %edx
	callq	_fprintf
LBB0_14:
	testl	%r15d, %r15d
	je	LBB0_15
## %bb.16:
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_checkdone
	testq	%rax, %rax
	jne	LBB0_37
	jmp	LBB0_17
LBB0_18:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_file_trycdf
	movl	%eax, %r15d
	movq	_MAGIC_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_20
## %bb.19:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movl	%r15d, %edx
	callq	_fprintf
LBB0_20:
	testl	%r15d, %r15d
	je	LBB0_21
## %bb.22:
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_checkdone
	testq	%rax, %rax
	jne	LBB0_37
	jmp	LBB0_23
LBB0_24:
	movq	_BINTEST@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%r12d, %r9d
	callq	_file_softmagic
	movl	%eax, %r15d
	movq	_MAGIC_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_26
## %bb.25:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movl	%r15d, %edx
	callq	_fprintf
LBB0_26:
	testl	%r15d, %r15d
	je	LBB0_29
## %bb.27:
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_checkdone
	testq	%rax, %rax
	je	LBB0_28
LBB0_37:
	movl	(%rbx), %eax
	movq	_MAGIC_MIME_ENCODING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_43
## %bb.38:
	movq	_MAGIC_MIME_TYPE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_41
## %bb.39:
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_file_printf
	cmpl	$-1, %eax
	jne	LBB0_41
## %bb.40:
	movl	$-1, -44(%rbp)
LBB0_41:
	movq	-56(%rbp), %rdx
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_file_printf
	cmpl	$-1, %eax
	jne	LBB0_43
## %bb.42:
	movl	$-1, -44(%rbp)
LBB0_43:
	xorl	%edi, %edi
	callq	_free
	leaq	-48(%rbp), %rdi
	callq	_buffer_fini
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	cmovnel	%eax, %r15d
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	xorl	%r15d, %r15d
	jmp	LBB0_17
LBB0_21:
	xorl	%r15d, %r15d
	jmp	LBB0_23
LBB0_29:
	movq	_MAGIC_NO_CHECK_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_30
LBB0_33:
	leaq	L_.str.1(%rip), %r12
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"binary"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"very short file (no magic)"

	.comm	_MAGIC_NO_CHECK_ENCODING,4,2    ## @MAGIC_NO_CHECK_ENCODING
	.comm	_MAGIC_NO_CHECK_TAR,4,2         ## @MAGIC_NO_CHECK_TAR
	.comm	_MAGIC_DEBUG,4,2                ## @MAGIC_DEBUG
	.comm	_stderr,4,2                     ## @stderr
L_.str.4:                               ## @.str.4
	.asciz	"[try tar %d]\n"

	.comm	_MAGIC_NO_CHECK_JSON,4,2        ## @MAGIC_NO_CHECK_JSON
L_.str.5:                               ## @.str.5
	.asciz	"[try json %d]\n"

	.comm	_MAGIC_NO_CHECK_CDF,4,2         ## @MAGIC_NO_CHECK_CDF
L_.str.6:                               ## @.str.6
	.asciz	"[try cdf %d]\n"

	.comm	_MAGIC_NO_CHECK_SOFT,4,2        ## @MAGIC_NO_CHECK_SOFT
	.comm	_BINTEST,4,2                    ## @BINTEST
L_.str.7:                               ## @.str.7
	.asciz	"[try softmagic %d]\n"

L_.str.8:                               ## @.str.8
	.asciz	"%s"

	.comm	_MAGIC_NO_CHECK_TEXT,4,2        ## @MAGIC_NO_CHECK_TEXT
L_.str.9:                               ## @.str.9
	.asciz	"[try ascmagic %d]\n"

	.comm	_MAGIC_MIME_ENCODING,4,2        ## @MAGIC_MIME_ENCODING
	.comm	_MAGIC_MIME_TYPE,4,2            ## @MAGIC_MIME_TYPE
L_.str.10:                              ## @.str.10
	.asciz	"; charset="

	.comm	_MAGIC_NO_CHECK_APPTYPE,4,2     ## @MAGIC_NO_CHECK_APPTYPE
	.comm	_MAGIC_NO_CHECK_COMPRESS,4,2    ## @MAGIC_NO_CHECK_COMPRESS
	.comm	_MAGIC_NO_CHECK_ELF,4,2         ## @MAGIC_NO_CHECK_ELF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_file_buffer                    ; -- Begin function file_buffer
	.p2align	2
_file_buffer:                           ; @file_buffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x5
	mov	x3, x4
	mov	x19, x0
	stur	wzr, [x29, #-36]
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	stp	x8, xzr, [sp, #24]
	str	xzr, [sp, #16]
	add	x0, sp, #8
	mov	x4, x5
	bl	_buffer_init
	ldr	w8, [sp, #8]
	str	w8, [x19, #4]
	cbz	x20, LBB0_3
; %bb.1:
	cmp	x20, #1
	b.ne	LBB0_15
; %bb.2:
Lloh2:
	adrp	x21, l_.str.3@PAGE
Lloh3:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x21, l_.str.2@PAGE
Lloh5:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_file_default
	stur	w0, [x29, #-36]
	cbnz	w0, LBB0_7
; %bb.5:
	str	x21, [sp]
Lloh6:
	adrp	x1, l_.str.8@PAGE
Lloh7:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_file_printf
	cmn	w0, #1
	b.ne	LBB0_7
; %bb.6:
	mov	w8, #-1
	stur	w8, [x29, #-36]
LBB0_7:
	mov	w21, #1
LBB0_8:
	ldr	w8, [x19]
Lloh8:
	adrp	x9, _MAGIC_MIME_ENCODING@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MAGIC_MIME_ENCODING@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.9:
Lloh11:
	adrp	x9, _MAGIC_MIME_TYPE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MAGIC_MIME_TYPE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.10:
Lloh14:
	adrp	x1, l_.str.10@PAGE
Lloh15:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_file_printf
	cmn	w0, #1
	b.ne	LBB0_12
; %bb.11:
	mov	w8, #-1
	stur	w8, [x29, #-36]
LBB0_12:
	ldr	x8, [sp, #24]
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_file_printf
	cmn	w0, #1
	b.ne	LBB0_14
; %bb.13:
	mov	w8, #-1
	stur	w8, [x29, #-36]
LBB0_14:
	mov	x0, #0
	bl	_free
	add	x0, sp, #8
	bl	_buffer_fini
	ldur	w8, [x29, #-36]
	cmp	w8, #0
	csel	w0, w21, w8, eq
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_15:
	ldr	w8, [x19]
Lloh18:
	adrp	x9, _MAGIC_NO_CHECK_ENCODING@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MAGIC_NO_CHECK_ENCODING@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.16:
	mov	w22, #0
	b	LBB0_18
LBB0_17:
	add	x1, sp, #8
	add	x4, sp, #32
	add	x5, sp, #24
	add	x6, sp, #16
	mov	x0, x19
	mov	x2, #0
	mov	w3, #0
	bl	_file_encoding
	mov	x22, x0
	ldr	w8, [x19]
LBB0_18:
Lloh21:
	adrp	x9, _MAGIC_NO_CHECK_TAR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MAGIC_NO_CHECK_TAR@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.19:
	mov	w21, #0
LBB0_20:
	ldr	w8, [x19]
Lloh24:
	adrp	x9, _MAGIC_NO_CHECK_JSON@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MAGIC_NO_CHECK_JSON@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_31
LBB0_21:
	ldr	w8, [x19]
Lloh27:
	adrp	x9, _MAGIC_NO_CHECK_CDF@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MAGIC_NO_CHECK_CDF@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_35
LBB0_22:
	ldr	w8, [x19]
Lloh30:
	adrp	x9, _MAGIC_NO_CHECK_SOFT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _MAGIC_NO_CHECK_SOFT@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_39
LBB0_23:
	ldr	w8, [x19]
Lloh33:
	adrp	x9, _MAGIC_NO_CHECK_TEXT@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MAGIC_NO_CHECK_TEXT@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_26
LBB0_24:
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x22
	bl	_file_ascmagic
	mov	x21, x0
	ldr	w8, [x19]
Lloh36:
	adrp	x9, _MAGIC_DEBUG@GOTPAGE
Lloh37:
	ldr	x9, [x9, _MAGIC_DEBUG@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.25:
Lloh39:
	adrp	x8, _stderr@GOTPAGE
Lloh40:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x1, l_.str.9@PAGE
Lloh43:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x2, x21
	bl	_fprintf
LBB0_26:
	cbnz	w21, LBB0_8
	b	LBB0_44
LBB0_27:
	add	x1, sp, #8
	mov	x0, x19
	bl	_file_is_tar
	mov	x21, x0
	ldr	w8, [x19]
Lloh44:
	adrp	x9, _MAGIC_DEBUG@GOTPAGE
Lloh45:
	ldr	x9, [x9, _MAGIC_DEBUG@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.28:
Lloh47:
	adrp	x8, _stderr@GOTPAGE
Lloh48:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x1, l_.str.4@PAGE
Lloh51:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x21
	bl	_fprintf
LBB0_29:
	cbz	w21, LBB0_20
; %bb.30:
	sub	x1, x29, #36
	mov	x0, x19
	bl	_checkdone
	cbnz	x0, LBB0_8
	b	LBB0_20
LBB0_31:
	add	x1, sp, #8
	mov	x0, x19
	bl	_file_is_json
	mov	x21, x0
	ldr	w8, [x19]
Lloh52:
	adrp	x9, _MAGIC_DEBUG@GOTPAGE
Lloh53:
	ldr	x9, [x9, _MAGIC_DEBUG@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_33
; %bb.32:
Lloh55:
	adrp	x8, _stderr@GOTPAGE
Lloh56:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
Lloh58:
	adrp	x1, l_.str.5@PAGE
Lloh59:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x21
	bl	_fprintf
LBB0_33:
	cbz	w21, LBB0_21
; %bb.34:
	sub	x1, x29, #36
	mov	x0, x19
	bl	_checkdone
	cbnz	x0, LBB0_8
	b	LBB0_21
LBB0_35:
	add	x1, sp, #8
	mov	x0, x19
	bl	_file_trycdf
	mov	x21, x0
	ldr	w8, [x19]
Lloh60:
	adrp	x9, _MAGIC_DEBUG@GOTPAGE
Lloh61:
	ldr	x9, [x9, _MAGIC_DEBUG@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_37
; %bb.36:
Lloh63:
	adrp	x8, _stderr@GOTPAGE
Lloh64:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
Lloh66:
	adrp	x1, l_.str.6@PAGE
Lloh67:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x21
	bl	_fprintf
LBB0_37:
	cbz	w21, LBB0_22
; %bb.38:
	sub	x1, x29, #36
	mov	x0, x19
	bl	_checkdone
	cbnz	x0, LBB0_8
	b	LBB0_22
LBB0_39:
Lloh68:
	adrp	x8, _BINTEST@GOTPAGE
Lloh69:
	ldr	x8, [x8, _BINTEST@GOTPAGEOFF]
Lloh70:
	ldr	w4, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, #0
	mov	x3, #0
	mov	x5, x22
	bl	_file_softmagic
	mov	x21, x0
	ldr	w8, [x19]
Lloh71:
	adrp	x9, _MAGIC_DEBUG@GOTPAGE
Lloh72:
	ldr	x9, [x9, _MAGIC_DEBUG@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_41
; %bb.40:
Lloh74:
	adrp	x8, _stderr@GOTPAGE
Lloh75:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh76:
	ldr	w0, [x8]
Lloh77:
	adrp	x1, l_.str.7@PAGE
Lloh78:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x21
	bl	_fprintf
LBB0_41:
	cbz	w21, LBB0_43
; %bb.42:
	sub	x1, x29, #36
	mov	x0, x19
	bl	_checkdone
	cbnz	x0, LBB0_8
	b	LBB0_23
LBB0_43:
	ldr	w8, [x19]
Lloh79:
	adrp	x9, _MAGIC_NO_CHECK_TEXT@GOTPAGE
Lloh80:
	ldr	x9, [x9, _MAGIC_NO_CHECK_TEXT@GOTPAGEOFF]
Lloh81:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_24
LBB0_44:
Lloh82:
	adrp	x21, l_.str.1@PAGE
Lloh83:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"binary"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"very short file (no magic)"

	.comm	_MAGIC_NO_CHECK_ENCODING,4,2    ; @MAGIC_NO_CHECK_ENCODING
	.comm	_MAGIC_NO_CHECK_TAR,4,2         ; @MAGIC_NO_CHECK_TAR
	.comm	_MAGIC_DEBUG,4,2                ; @MAGIC_DEBUG
	.comm	_stderr,4,2                     ; @stderr
l_.str.4:                               ; @.str.4
	.asciz	"[try tar %d]\n"

	.comm	_MAGIC_NO_CHECK_JSON,4,2        ; @MAGIC_NO_CHECK_JSON
l_.str.5:                               ; @.str.5
	.asciz	"[try json %d]\n"

	.comm	_MAGIC_NO_CHECK_CDF,4,2         ; @MAGIC_NO_CHECK_CDF
l_.str.6:                               ; @.str.6
	.asciz	"[try cdf %d]\n"

	.comm	_MAGIC_NO_CHECK_SOFT,4,2        ; @MAGIC_NO_CHECK_SOFT
	.comm	_BINTEST,4,2                    ; @BINTEST
l_.str.7:                               ; @.str.7
	.asciz	"[try softmagic %d]\n"

l_.str.8:                               ; @.str.8
	.asciz	"%s"

	.comm	_MAGIC_NO_CHECK_TEXT,4,2        ; @MAGIC_NO_CHECK_TEXT
l_.str.9:                               ; @.str.9
	.asciz	"[try ascmagic %d]\n"

	.comm	_MAGIC_MIME_ENCODING,4,2        ; @MAGIC_MIME_ENCODING
	.comm	_MAGIC_MIME_TYPE,4,2            ; @MAGIC_MIME_TYPE
l_.str.10:                              ; @.str.10
	.asciz	"; charset="

	.comm	_MAGIC_NO_CHECK_APPTYPE,4,2     ; @MAGIC_NO_CHECK_APPTYPE
	.comm	_MAGIC_NO_CHECK_COMPRESS,4,2    ; @MAGIC_NO_CHECK_COMPRESS
	.comm	_MAGIC_NO_CHECK_ELF,4,2         ; @MAGIC_NO_CHECK_ELF
.subsections_via_symbols
