	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_preconv_cue                    ## -- Begin function preconv_cue
	.p2align	4, 0x90
_preconv_cue:                           ## @preconv_cue
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r15
	movq	8(%rdi), %rbx
	leaq	(%r15,%rsi), %r14
	movq	%rbx, %rdx
	subq	%rsi, %rdx
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_memchr
	addq	%rbx, %r15
	testq	%rax, %rax
	cmovneq	%rax, %r15
	movq	%r15, %rbx
	subq	%r14, %rbx
	cmpq	$10, %rbx
	jb	LBB0_10
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$7, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.2:
	addq	$-3, %r15
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	$3, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_3
LBB0_10:
	movq	_MPARSE_UTF8@GOTPCREL(%rip), %rax
	movq	_MPARSE_LATIN1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	orl	(%rax), %r15d
LBB0_21:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	addq	$-10, %rbx
	je	LBB0_10
## %bb.4:
	addq	$7, %r14
	leaq	L_.str.2(%rip), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r14
	decq	%rbx
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$32, (%r14)
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	movl	$59, %esi
	movq	%rbx, %rdx
	callq	_memchr
	leaq	1(%rax), %r13
	testq	%rax, %rax
	cmoveq	%r15, %r13
	subq	%r14, %r13
	cmpq	$7, %r13
	jb	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$7, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	%r13, %r14
	subq	%r13, %rbx
	jne	LBB0_5
	jmp	LBB0_10
LBB0_11:
	xorl	%r15d, %r15d
	addq	$-7, %rbx
	je	LBB0_21
## %bb.12:
	addq	$7, %r14
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$32, (%r14)
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%r14
	decq	%rbx
	jne	LBB0_13
	jmp	LBB0_21
LBB0_15:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	$5, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	cmpq	$11, %r13
	jb	LBB0_21
## %bb.18:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movl	$11, %edx
	callq	_strncasecmp
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_21
## %bb.19:
	movq	_MPARSE_LATIN1@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_16:
	movq	_MPARSE_UTF8@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %r15d
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".\\\" -*-"

L_.str.1:                               ## @.str.1
	.asciz	"-*-"

	.comm	_MPARSE_UTF8,4,2                ## @MPARSE_UTF8
	.comm	_MPARSE_LATIN1,4,2              ## @MPARSE_LATIN1
L_.str.2:                               ## @.str.2
	.asciz	"coding:"

L_.str.3:                               ## @.str.3
	.asciz	"utf-8"

L_.str.4:                               ## @.str.4
	.asciz	"iso-latin-1"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_preconv_cue                    ; -- Begin function preconv_cue
	.p2align	2
_preconv_cue:                           ; @preconv_cue
	.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
	ldp	x19, x20, [x0]
	add	x21, x19, x1
	sub	x2, x20, x1
	mov	x0, x21
	mov	w1, #10
	bl	_memchr
	add	x8, x19, x20
	cmp	x0, #0
	csel	x19, x8, x0, eq
	sub	x20, x19, x21
	cmp	x20, #10
	b.lo	LBB0_3
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	w2, #7
	bl	_memcmp
	cbnz	x0, LBB0_3
; %bb.2:
	sub	x19, x19, #3
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #3
	bl	_memcmp
	cbz	x0, LBB0_5
LBB0_3:
Lloh4:
	adrp	x8, _MPARSE_UTF8@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MPARSE_UTF8@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _MPARSE_LATIN1@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MPARSE_LATIN1@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w0, w9, w8
LBB0_4:
	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_5:
	subs	x20, x20, #10
	b.eq	LBB0_3
; %bb.6:
	add	x21, x21, #7
Lloh10:
	adrp	x22, l_.str.2@PAGE
Lloh11:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x21, x21, #1
	subs	x20, x20, #1
	b.eq	LBB0_3
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21]
	cmp	w8, #32
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
	mov	w1, #59
	mov	x2, x20
	bl	_memchr
	cmp	x0, #0
	csinc	x8, x19, x0, eq
	sub	x23, x8, x21
	cmp	x23, #7
	b.lo	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	w2, #7
	bl	_strncasecmp
	cbz	x0, LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x21, x21, x23
	subs	x20, x20, x23
	b.ne	LBB0_8
	b	LBB0_3
LBB0_12:
	subs	x8, x20, #7
	b.eq	LBB0_19
; %bb.13:
	add	x19, x21, #7
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x19]
	cmp	w9, #32
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	w0, #0
	add	x19, x19, #1
	subs	x8, x8, #1
	b.ne	LBB0_14
	b	LBB0_4
LBB0_16:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #5
	bl	_strncasecmp
	cbz	x0, LBB0_20
; %bb.17:
	cmp	x23, #11
	b.lo	LBB0_19
; %bb.18:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w2, #11
	bl	_strncasecmp
Lloh16:
	adrp	x8, _MPARSE_LATIN1@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MPARSE_LATIN1@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, w8, wzr, eq
	b	LBB0_4
LBB0_19:
	mov	w0, #0
	b	LBB0_4
LBB0_20:
Lloh19:
	adrp	x8, _MPARSE_UTF8@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MPARSE_UTF8@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".\\\" -*-"

l_.str.1:                               ; @.str.1
	.asciz	"-*-"

	.comm	_MPARSE_UTF8,4,2                ; @MPARSE_UTF8
	.comm	_MPARSE_LATIN1,4,2              ; @MPARSE_LATIN1
l_.str.2:                               ; @.str.2
	.asciz	"coding:"

l_.str.3:                               ; @.str.3
	.asciz	"utf-8"

l_.str.4:                               ; @.str.4
	.asciz	"iso-latin-1"

.subsections_via_symbols
