	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_mime
_parse_mime:                            ## @parse_mime
	.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
	movslq	(%rdx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rcx, %rbx
	movq	(%rsi), %rcx
	shlq	$4, %rax
	movq	-8(%rax,%rcx), %rdx
	movl	-16(%rax,%rcx), %eax
	xorl	%ecx, %ecx
	subl	$1, %eax
	cmovbl	%ecx, %eax
	movslq	%eax, %r15
	shlq	$4, %r15
	movq	(%rdx,%r15), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	8(%rdx,%r15), %r8
	leaq	L_.str.1(%rip), %rdx
	xorl	%esi, %esi
	movq	%rbx, %r9
	xorl	%eax, %eax
	callq	_file_error
	movl	$-1, %eax
	jmp	LBB0_22
LBB0_3:
	leaq	L_.str(%rip), %rdx
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_file_error
	movl	$-1, %eax
	jmp	LBB0_22
LBB0_4:
	leaq	(%rdx,%r15), %r13
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_13
## %bb.5:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$7, %r14
	ja	LBB0_14
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	movzbl	(%rbx,%r14), %eax
	movq	(%r13), %rcx
	leaq	1(%r14), %r12
	movb	%al, (%rcx,%r14)
	movzbl	1(%rbx,%r14), %eax
	movq	%r12, %r14
	testb	%al, %al
	je	LBB0_15
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_isascii
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movsbl	(%rbx,%r14), %edi
	callq	_isalnum
	testq	%rax, %rax
	jne	LBB0_6
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movsbl	(%rbx,%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_19
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$8, %r14
	jb	LBB0_7
LBB0_19:
	movq	%r14, %r12
	cmpq	$8, %r12
	jne	LBB0_20
	jmp	LBB0_16
LBB0_13:
	xorl	%r12d, %r12d
	jmp	LBB0_20
LBB0_14:
	movq	%r14, %r12
LBB0_15:
	cmpq	$8, %r12
	jne	LBB0_20
LBB0_16:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%r15), %rax
	movb	$0, 7(%rax)
	movq	_R_MAGIC_CHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testl	%eax, (%rdi)
	je	LBB0_18
## %bb.17:
	movq	(%r13), %rdx
	leaq	L_.str.3(%rip), %rsi
	movl	$8, %r12d
	movl	$8, %ecx
	callq	_file_magwarn
	jmp	LBB0_21
LBB0_20:
	movq	(%r13), %rax
	movb	$0, (%rax,%r12)
LBB0_21:
	xorl	%eax, %eax
	cmpq	$1, %r12
	sbbl	%eax, %eax
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	$8, %r12d
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No current entry for MIME type"

L_.str.1:                               ## @.str.1
	.asciz	"Current entry already has a MIME type: %s\nDescription: %s\nNew type: %s"

	.comm	_EATAB,4,2                      ## @EATAB
L_.str.2:                               ## @.str.2
	.asciz	"-+/."

	.comm	_R_MAGIC_CHECK,4,2              ## @R_MAGIC_CHECK
L_.str.3:                               ## @.str.3
	.asciz	"MIME type `%s' truncated %zu"

	.no_dead_strip	_parse_mime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_mime
_parse_mime:                            ; @parse_mime
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	w8, [x2]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x20, x3
	ldr	x9, [x1]
	sub	w8, w8, #1
	add	x8, x9, w8, sxtw #4
	ldr	x23, [x8, #8]
	ldr	w8, [x8]
	sub	w9, w8, #1
	cmp	w8, #0
	csel	w8, wzr, w9, eq
	sxtw	x24, w8
	add	x22, x23, w8, sxtw #4
	ldr	x8, [x22]
	ldrb	w9, [x8]
	cbz	w9, LBB0_5
; %bb.2:
	add	x9, x23, x24, lsl #4
	ldr	x9, [x9, #8]
	stp	x9, x20, [sp, #8]
	str	x8, [sp]
Lloh0:
	adrp	x2, l_.str.1@PAGE
Lloh1:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
LBB0_4:
	mov	x0, x19
	mov	w1, #0
	bl	_file_error
	mov	w0, #-1
	b	LBB0_21
LBB0_5:
	ldrb	w8, [x20]
	cbz	w8, LBB0_14
; %bb.6:
	mov	x25, #0
Lloh4:
	adrp	x21, l_.str.2@PAGE
Lloh5:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldrsb	w1, [x20, x25]
	mov	x0, x21
	bl	_strchr
	cmp	x0, #0
	ccmp	x25, #8, #2, ne
	b.hs	LBB0_16
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x20, x25
	ldrb	w9, [x8]
	ldr	x10, [x22]
	add	x26, x25, #1
	strb	w9, [x10, x25]
	ldrb	w8, [x8, #1]
	mov	x25, x26
	cbz	w8, LBB0_13
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_isascii
	cbz	x0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrsb	w0, [x20, x25]
	bl	_isalnum
	cbz	x0, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	x25, #7
	b.ls	LBB0_8
; %bb.12:
	mov	x26, x25
LBB0_13:
	cmp	x26, #8
	b.ne	LBB0_15
	b	LBB0_17
LBB0_14:
	mov	x26, #0
LBB0_15:
	ldr	x8, [x22]
	strb	wzr, [x8, x26]
	b	LBB0_20
LBB0_16:
	mov	x26, x25
	cmp	x26, #8
	b.ne	LBB0_15
LBB0_17:
	add	x8, x23, x24, lsl #4
	ldr	x8, [x8, #8]
	strb	wzr, [x8, #7]
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _R_MAGIC_CHECK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _R_MAGIC_CHECK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.18:
	ldr	x2, [x22]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w26, #8
	mov	x0, x19
	mov	w3, #8
	bl	_file_magwarn
	b	LBB0_20
LBB0_19:
	mov	w26, #8
LBB0_20:
	cmp	x26, #0
	csetm	w0, eq
LBB0_21:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No current entry for MIME type"

l_.str.1:                               ; @.str.1
	.asciz	"Current entry already has a MIME type: %s\nDescription: %s\nNew type: %s"

	.comm	_EATAB,4,2                      ; @EATAB
l_.str.2:                               ; @.str.2
	.asciz	"-+/."

	.comm	_R_MAGIC_CHECK,4,2              ; @R_MAGIC_CHECK
l_.str.3:                               ; @.str.3
	.asciz	"MIME type `%s' truncated %zu"

	.no_dead_strip	_parse_mime
.subsections_via_symbols
