	.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	$56, %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, %r12
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movl	$0, -52(%rbp)
	movq	$0, -80(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -64(%rbp)
	movq	$0, -72(%rbp)
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	_PHP_STREAM_AS_FD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-48(%rbp), %rdx
	movq	%rsi, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_php_stream_cast
	movq	_SUCCESS@GOTPCREL(%rip), %rcx
	movl	$-1, %esi
	cmpl	%eax, (%rcx)
	jne	LBB0_4
## %bb.3:
	movl	-48(%rbp), %esi
	jmp	LBB0_4
LBB0_1:
	movl	$-1, %esi
LBB0_4:
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_buffer_init
	movl	-48(%rbp), %eax
	movl	%eax, 4(%r15)
	testq	%r14, %r14
	je	LBB0_5
## %bb.6:
	cmpq	$1, %r14
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %r12
	jmp	LBB0_38
LBB0_5:
	leaq	L_.str.2(%rip), %r12
LBB0_38:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_file_default
	movl	%eax, -52(%rbp)
	movl	$1, %ebx
	testl	%eax, %eax
	jne	LBB0_41
## %bb.39:
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_file_printf
	cmpl	$-1, %eax
	jne	LBB0_41
## %bb.40:
	movl	$-1, -52(%rbp)
	jmp	LBB0_41
LBB0_8:
	movl	(%r15), %eax
	movq	_MAGIC_NO_CHECK_ENCODING@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	movl	$0, %r12d
	testl	%eax, (%rcx)
	jne	LBB0_10
## %bb.9:
	leaq	-72(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-48(%rbp), %rsi
	leaq	-80(%rbp), %r8
	leaq	-64(%rbp), %r9
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_file_encoding
	movl	%eax, %r12d
	movl	(%r15), %eax
LBB0_10:
	movq	_MAGIC_NO_CHECK_TAR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
LBB0_15:
	movq	_MAGIC_NO_CHECK_JSON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r13d, %ebx
	testl	%eax, (%r15)
	je	LBB0_16
LBB0_21:
	movq	_MAGIC_NO_CHECK_CDF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_22
LBB0_27:
	movq	_MAGIC_NO_CHECK_SOFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_28
LBB0_32:
	movq	_MAGIC_NO_CHECK_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	jne	LBB0_36
LBB0_34:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_file_ascmagic
	movl	%eax, %ebx
	movq	_MAGIC_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_36
## %bb.35:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	movl	%ebx, %edx
	callq	_fprintf
LBB0_36:
	testl	%ebx, %ebx
	jne	LBB0_41
	jmp	LBB0_37
LBB0_11:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_file_is_tar
	movl	%eax, %ebx
	movq	_MAGIC_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_13
## %bb.12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edx
	callq	_fprintf
LBB0_13:
	testl	%ebx, %ebx
	je	LBB0_15
## %bb.14:
	leaq	-52(%rbp), %rsi
	movq	%r15, %rdi
	callq	_checkdone
	movl	%ebx, %r13d
	testq	%rax, %rax
	jne	LBB0_41
	jmp	LBB0_15
LBB0_16:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_file_is_json
	movl	%eax, %ebx
	movq	_MAGIC_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_18
## %bb.17:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edx
	callq	_fprintf
LBB0_18:
	testl	%ebx, %ebx
	je	LBB0_19
## %bb.20:
	leaq	-52(%rbp), %rsi
	movq	%r15, %rdi
	callq	_checkdone
	testq	%rax, %rax
	jne	LBB0_41
	jmp	LBB0_21
LBB0_22:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_file_trycdf
	movl	%eax, %ebx
	movq	_MAGIC_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_24
## %bb.23:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edx
	callq	_fprintf
LBB0_24:
	testl	%ebx, %ebx
	je	LBB0_25
## %bb.26:
	leaq	-52(%rbp), %rsi
	movq	%r15, %rdi
	callq	_checkdone
	testq	%rax, %rax
	jne	LBB0_41
	jmp	LBB0_27
LBB0_28:
	movq	_BINTEST@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%r12d, %r9d
	callq	_file_softmagic
	movl	%eax, %ebx
	movq	_MAGIC_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_30
## %bb.29:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movl	%ebx, %edx
	callq	_fprintf
LBB0_30:
	testl	%ebx, %ebx
	je	LBB0_33
## %bb.31:
	leaq	-52(%rbp), %rsi
	movq	%r15, %rdi
	callq	_checkdone
	testq	%rax, %rax
	je	LBB0_32
LBB0_41:
	movl	(%r15), %eax
	movq	_MAGIC_MIME_ENCODING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_47
## %bb.42:
	movq	_MAGIC_MIME_TYPE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_45
## %bb.43:
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_file_printf
	cmpl	$-1, %eax
	jne	LBB0_45
## %bb.44:
	movl	$-1, -52(%rbp)
LBB0_45:
	movq	-64(%rbp), %rdx
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_file_printf
	cmpl	$-1, %eax
	jne	LBB0_47
## %bb.46:
	movl	$-1, -52(%rbp)
LBB0_47:
	xorl	%edi, %edi
	callq	_efree
	leaq	-48(%rbp), %rdi
	callq	_buffer_fini
	movl	-52(%rbp), %eax
	testl	%eax, %eax
	cmovnel	%eax, %ebx
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_25:
	xorl	%ebx, %ebx
	jmp	LBB0_27
LBB0_33:
	movq	_MAGIC_NO_CHECK_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_34
LBB0_37:
	leaq	L_.str.1(%rip), %r12
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"binary"

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

	.comm	_PHP_STREAM_AS_FD,4,2           ## @PHP_STREAM_AS_FD
	.comm	_SUCCESS,4,2                    ## @SUCCESS
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	x21, x4
	mov	x22, x2
	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]
	cbz	x1, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _PHP_STREAM_AS_FD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PHP_STREAM_AS_FD@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	add	x2, sp, #8
	mov	x0, x1
	mov	x1, x8
	mov	w3, #0
	bl	_php_stream_cast
Lloh5:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
	cmp	w8, w0
	csinv	w1, w9, wzr, eq
	b	LBB0_3
LBB0_2:
	mov	w1, #-1
LBB0_3:
	add	x0, sp, #8
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	bl	_buffer_init
	ldr	w8, [sp, #8]
	str	w8, [x19, #4]
	cbz	x20, LBB0_6
; %bb.4:
	cmp	x20, #1
	b.ne	LBB0_18
; %bb.5:
Lloh8:
	adrp	x21, l_.str.3@PAGE
Lloh9:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh10:
	adrp	x21, l_.str.2@PAGE
Lloh11:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	bl	_file_default
	stur	w0, [x29, #-36]
	cbnz	w0, LBB0_10
; %bb.8:
	str	x21, [sp]
Lloh12:
	adrp	x1, l_.str.8@PAGE
Lloh13:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_file_printf
	cmn	w0, #1
	b.ne	LBB0_10
; %bb.9:
	mov	w8, #-1
	stur	w8, [x29, #-36]
LBB0_10:
	mov	w21, #1
LBB0_11:
	ldr	w8, [x19]
Lloh14:
	adrp	x9, _MAGIC_MIME_ENCODING@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MAGIC_MIME_ENCODING@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.12:
Lloh17:
	adrp	x9, _MAGIC_MIME_TYPE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MAGIC_MIME_TYPE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.13:
Lloh20:
	adrp	x1, l_.str.10@PAGE
Lloh21:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_file_printf
	cmn	w0, #1
	b.ne	LBB0_15
; %bb.14:
	mov	w8, #-1
	stur	w8, [x29, #-36]
LBB0_15:
	ldr	x8, [sp, #24]
	str	x8, [sp]
Lloh22:
	adrp	x1, l_.str.8@PAGE
Lloh23:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_file_printf
	cmn	w0, #1
	b.ne	LBB0_17
; %bb.16:
	mov	w8, #-1
	stur	w8, [x29, #-36]
LBB0_17:
	mov	x0, #0
	bl	_efree
	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_18:
	ldr	w8, [x19]
Lloh24:
	adrp	x9, _MAGIC_NO_CHECK_ENCODING@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MAGIC_NO_CHECK_ENCODING@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.19:
	mov	w22, #0
	b	LBB0_21
LBB0_20:
	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_21:
Lloh27:
	adrp	x9, _MAGIC_NO_CHECK_TAR@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MAGIC_NO_CHECK_TAR@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_30
; %bb.22:
	mov	w21, #0
LBB0_23:
	ldr	w8, [x19]
Lloh30:
	adrp	x9, _MAGIC_NO_CHECK_JSON@GOTPAGE
Lloh31:
	ldr	x9, [x9, _MAGIC_NO_CHECK_JSON@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_34
LBB0_24:
	ldr	w8, [x19]
Lloh33:
	adrp	x9, _MAGIC_NO_CHECK_CDF@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MAGIC_NO_CHECK_CDF@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_38
LBB0_25:
	ldr	w8, [x19]
Lloh36:
	adrp	x9, _MAGIC_NO_CHECK_SOFT@GOTPAGE
Lloh37:
	ldr	x9, [x9, _MAGIC_NO_CHECK_SOFT@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_42
LBB0_26:
	ldr	w8, [x19]
Lloh39:
	adrp	x9, _MAGIC_NO_CHECK_TEXT@GOTPAGE
Lloh40:
	ldr	x9, [x9, _MAGIC_NO_CHECK_TEXT@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_29
LBB0_27:
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x22
	bl	_file_ascmagic
	mov	x21, x0
	ldr	w8, [x19]
Lloh42:
	adrp	x9, _MAGIC_DEBUG@GOTPAGE
Lloh43:
	ldr	x9, [x9, _MAGIC_DEBUG@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.28:
Lloh45:
	adrp	x8, _stderr@GOTPAGE
Lloh46:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
Lloh48:
	adrp	x1, l_.str.9@PAGE
Lloh49:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x2, x21
	bl	_fprintf
LBB0_29:
	cbnz	w21, LBB0_11
	b	LBB0_47
LBB0_30:
	add	x1, sp, #8
	mov	x0, x19
	bl	_file_is_tar
	mov	x21, x0
	ldr	w8, [x19]
Lloh50:
	adrp	x9, _MAGIC_DEBUG@GOTPAGE
Lloh51:
	ldr	x9, [x9, _MAGIC_DEBUG@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_32
; %bb.31:
Lloh53:
	adrp	x8, _stderr@GOTPAGE
Lloh54:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
Lloh56:
	adrp	x1, l_.str.4@PAGE
Lloh57:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x21
	bl	_fprintf
LBB0_32:
	cbz	w21, LBB0_23
; %bb.33:
	sub	x1, x29, #36
	mov	x0, x19
	bl	_checkdone
	cbnz	x0, LBB0_11
	b	LBB0_23
LBB0_34:
	add	x1, sp, #8
	mov	x0, x19
	bl	_file_is_json
	mov	x21, x0
	ldr	w8, [x19]
Lloh58:
	adrp	x9, _MAGIC_DEBUG@GOTPAGE
Lloh59:
	ldr	x9, [x9, _MAGIC_DEBUG@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_36
; %bb.35:
Lloh61:
	adrp	x8, _stderr@GOTPAGE
Lloh62:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x8]
Lloh64:
	adrp	x1, l_.str.5@PAGE
Lloh65:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x21
	bl	_fprintf
LBB0_36:
	cbz	w21, LBB0_24
; %bb.37:
	sub	x1, x29, #36
	mov	x0, x19
	bl	_checkdone
	cbnz	x0, LBB0_11
	b	LBB0_24
LBB0_38:
	add	x1, sp, #8
	mov	x0, x19
	bl	_file_trycdf
	mov	x21, x0
	ldr	w8, [x19]
Lloh66:
	adrp	x9, _MAGIC_DEBUG@GOTPAGE
Lloh67:
	ldr	x9, [x9, _MAGIC_DEBUG@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_40
; %bb.39:
Lloh69:
	adrp	x8, _stderr@GOTPAGE
Lloh70:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh71:
	ldr	w0, [x8]
Lloh72:
	adrp	x1, l_.str.6@PAGE
Lloh73:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x21
	bl	_fprintf
LBB0_40:
	cbz	w21, LBB0_25
; %bb.41:
	sub	x1, x29, #36
	mov	x0, x19
	bl	_checkdone
	cbnz	x0, LBB0_11
	b	LBB0_25
LBB0_42:
Lloh74:
	adrp	x8, _BINTEST@GOTPAGE
Lloh75:
	ldr	x8, [x8, _BINTEST@GOTPAGEOFF]
Lloh76:
	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]
Lloh77:
	adrp	x9, _MAGIC_DEBUG@GOTPAGE
Lloh78:
	ldr	x9, [x9, _MAGIC_DEBUG@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_44
; %bb.43:
Lloh80:
	adrp	x8, _stderr@GOTPAGE
Lloh81:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x8]
Lloh83:
	adrp	x1, l_.str.7@PAGE
Lloh84:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x21
	bl	_fprintf
LBB0_44:
	cbz	w21, LBB0_46
; %bb.45:
	sub	x1, x29, #36
	mov	x0, x19
	bl	_checkdone
	cbnz	x0, LBB0_11
	b	LBB0_26
LBB0_46:
	ldr	w8, [x19]
Lloh85:
	adrp	x9, _MAGIC_NO_CHECK_TEXT@GOTPAGE
Lloh86:
	ldr	x9, [x9, _MAGIC_NO_CHECK_TEXT@GOTPAGEOFF]
Lloh87:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_27
LBB0_47:
Lloh88:
	adrp	x21, l_.str.1@PAGE
Lloh89:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	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 AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpAdd	Lloh88, Lloh89
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"binary"

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

	.comm	_PHP_STREAM_AS_FD,4,2           ; @PHP_STREAM_AS_FD
	.comm	_SUCCESS,4,2                    ; @SUCCESS
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
