	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getXMLCharset                  ## -- Begin function getXMLCharset
	.p2align	4, 0x90
_getXMLCharset:                         ## @getXMLCharset
	.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
	movq	%rsi, %rbx
	movb	$0, (%rsi)
	movq	%rdi, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_getTok
	movq	%rax, %r14
	movq	-48(%rbp), %rsi
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	callq	_matchkey
	testq	%rax, %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcpy
	jmp	LBB0_3
LBB0_2:
	movq	-48(%rbp), %rsi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	callq	_matchkey
	testq	%rax, %rax
	je	LBB0_49
LBB0_3:
	leaq	-48(%rbp), %rdi
	callq	_getTok
	testq	%rax, %rax
	je	LBB0_49
## %bb.4:
	cmpb	$47, (%rax)
	jne	LBB0_49
## %bb.5:
	leaq	-48(%rbp), %rdi
	callq	_getTok
	movq	-48(%rbp), %rsi
	leaq	L_.str.3(%rip), %rdx
	movq	%rax, %rdi
	callq	_matchkey
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_isXml@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_7:
	leaq	-48(%rbp), %rdi
	callq	_getTok
	testq	%rax, %rax
	je	LBB0_49
## %bb.8:
	movq	%rax, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	-1(%rax), %r12
	leaq	-48(%rbp), %r15
	movq	_CHARSET_MAX@GOTPCREL(%rip), %r13
	jmp	LBB0_13
LBB0_27:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%rax)
LBB0_11:                                ##   in Loop: Header=BB0_13 Depth=1
	movb	$0, (%rcx)
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	testq	%rbx, %rbx
	je	LBB0_49
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_21 Depth 2
	movb	(%rbx), %r14b
	movq	%r15, %rdi
	callq	_getTok
	movq	%rax, %rbx
	cmpb	$59, %r14b
	jne	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	leaq	L_.str.4(%rip), %rdx
	callq	_matchkey
	testq	%rax, %rax
	je	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r15, %rdi
	callq	_getTok
	testq	%rax, %rax
	je	LBB0_49
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rax, %rbx
	cmpb	$61, (%rax)
	jne	LBB0_12
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r15, %rdi
	callq	_getTok
	testq	%rax, %rax
	je	LBB0_49
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rax, %rbx
	movb	(%rax), %cl
	movq	-48(%rbp), %rax
	cmpb	$34, %cl
	jne	LBB0_28
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=1
	decq	%rax
	movq	%rbx, %rdx
	incq	%rdx
	cmpq	%rax, %rdx
	je	LBB0_9
## %bb.20:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$92, 1(%rbx)
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	%rdx, %rbx
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_21 Depth=2
	addq	$2, %rbx
LBB0_24:                                ##   in Loop: Header=BB0_21 Depth=2
	movslq	(%r13), %rdx
	addq	%r12, %rdx
	cmpq	%rdx, %rcx
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_21 Depth=2
	movzbl	(%rbx), %edx
	movb	%dl, (%rcx)
	incq	%rcx
	leaq	1(%rbx), %rdx
	cmpq	%rax, %rdx
	jne	LBB0_21
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_13 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rax, %rbx
	jmp	LBB0_11
LBB0_28:
	movq	%rax, %rdx
	subq	%rbx, %rdx
	movslq	(%r13), %rsi
	decq	%rsi
	cmpq	%rsi, %rdx
	jg	LBB0_49
## %bb.29:
	cmpq	%rax, %rbx
	je	LBB0_35
## %bb.30:
	leaq	1(%rbx), %rdx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	leaq	1(%r14), %r11
	movb	%cl, (%r14)
	cmpq	%rax, %rdx
	je	LBB0_47
## %bb.31:
	movq	%rbx, %r9
	notq	%r9
	addq	%rax, %r9
	cmpq	$32, %r9
	jb	LBB0_43
## %bb.32:
	movq	%r14, %rcx
	subq	%rbx, %rcx
	cmpq	$32, %rcx
	jb	LBB0_43
## %bb.33:
	movq	%r9, %r8
	andq	$-32, %r8
	leaq	-32(%r8), %rcx
	movq	%rcx, %rdi
	shrq	$5, %rdi
	incq	%rdi
	movl	%edi, %r10d
	andl	$3, %r10d
	cmpq	$96, %rcx
	jae	LBB0_36
## %bb.34:
	xorl	%esi, %esi
	jmp	LBB0_38
LBB0_35:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_48
LBB0_36:
	andq	$-4, %rdi
	xorl	%esi, %esi
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movups	1(%rbx,%rsi), %xmm0
	movups	17(%rbx,%rsi), %xmm1
	movups	%xmm0, 1(%r14,%rsi)
	movups	%xmm1, 17(%r14,%rsi)
	movups	33(%rbx,%rsi), %xmm0
	movups	49(%rbx,%rsi), %xmm1
	movups	%xmm0, 33(%r14,%rsi)
	movups	%xmm1, 49(%r14,%rsi)
	movups	65(%rbx,%rsi), %xmm0
	movups	81(%rbx,%rsi), %xmm1
	movups	%xmm0, 65(%r14,%rsi)
	movups	%xmm1, 81(%r14,%rsi)
	movups	97(%rbx,%rsi), %xmm0
	movups	113(%rbx,%rsi), %xmm1
	movups	%xmm0, 97(%r14,%rsi)
	movups	%xmm1, 113(%r14,%rsi)
	subq	$-128, %rsi
	addq	$-4, %rdi
	jne	LBB0_37
LBB0_38:
	testq	%r10, %r10
	je	LBB0_41
## %bb.39:
	leaq	(%rbx,%rsi), %rcx
	addq	$17, %rcx
	addq	%r14, %rsi
	addq	$17, %rsi
	shlq	$5, %r10
	xorl	%edi, %edi
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rcx,%rdi), %xmm0
	movups	(%rcx,%rdi), %xmm1
	movups	%xmm0, -16(%rsi,%rdi)
	movups	%xmm1, (%rsi,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %r10
	jne	LBB0_40
LBB0_41:
	addq	%r8, %r11
	cmpq	%r8, %r9
	je	LBB0_47
## %bb.42:
	addq	%r8, %rdx
LBB0_43:
	movl	%eax, %edi
	subl	%edx, %edi
	movq	%rdx, %rsi
	notq	%rsi
	addq	%rax, %rsi
	andq	$7, %rdi
	je	LBB0_45
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdx), %ecx
	incq	%rdx
	movb	%cl, (%r11)
	incq	%r11
	decq	%rdi
	jne	LBB0_44
LBB0_45:
	movq	%r11, %rcx
	cmpq	$7, %rsi
	jb	LBB0_48
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdx), %ecx
	movb	%cl, (%r11)
	movzbl	1(%rdx), %ecx
	movb	%cl, 1(%r11)
	movzbl	2(%rdx), %ecx
	movb	%cl, 2(%r11)
	movzbl	3(%rdx), %ecx
	movb	%cl, 3(%r11)
	movzbl	4(%rdx), %ecx
	movb	%cl, 4(%r11)
	movzbl	5(%rdx), %ecx
	movb	%cl, 5(%r11)
	movzbl	6(%rdx), %ecx
	movb	%cl, 6(%r11)
	movzbl	7(%rdx), %ecx
	movb	%cl, 7(%r11)
	addq	$8, %r11
	addq	$8, %rdx
	cmpq	%rax, %rdx
	jne	LBB0_46
LBB0_47:
	movq	%r11, %rcx
LBB0_48:
	movb	$0, (%rcx)
LBB0_49:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"text"

L_.str.1:                               ## @.str.1
	.asciz	"us-ascii"

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

L_.str.3:                               ## @.str.3
	.asciz	"xml"

	.comm	_isXml,4,2                      ## @isXml
L_.str.4:                               ## @.str.4
	.asciz	"charset"

	.comm	_CHARSET_MAX,4,2                ## @CHARSET_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getXMLCharset                  ; -- Begin function getXMLCharset
	.p2align	2
_getXMLCharset:                         ; @getXMLCharset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	strb	wzr, [x1]
	str	x0, [sp, #8]
	add	x0, sp, #8
	bl	_getTok
	mov	x20, x0
	ldr	x1, [sp, #8]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	bl	_matchkey
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcpy
	b	LBB0_3
LBB0_2:
	ldr	x1, [sp, #8]
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_matchkey
	cbz	x0, LBB0_33
LBB0_3:
	add	x0, sp, #8
	bl	_getTok
	cbz	x0, LBB0_33
; %bb.4:
	ldrb	w8, [x0]
	cmp	w8, #47
	b.ne	LBB0_33
; %bb.5:
	add	x0, sp, #8
	bl	_getTok
	ldr	x1, [sp, #8]
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_matchkey
	cbz	x0, LBB0_7
; %bb.6:
Lloh8:
	adrp	x8, _isXml@GOTPAGE
Lloh9:
	ldr	x8, [x8, _isXml@GOTPAGEOFF]
	mov	w9, #1
Lloh10:
	str	w9, [x8]
LBB0_7:
	add	x0, sp, #8
	bl	_getTok
	cbz	x0, LBB0_33
; %bb.8:
	mov	x20, x0
	sub	x22, x19, #1
Lloh11:
	adrp	x21, l_.str.4@PAGE
Lloh12:
	add	x21, x21, l_.str.4@PAGEOFF
Lloh13:
	adrp	x23, _CHARSET_MAX@GOTPAGE
Lloh14:
	ldr	x23, [x23, _CHARSET_MAX@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
	mov	x20, x9
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	strb	wzr, [x8]
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	cbz	x20, LBB0_33
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	ldrb	w24, [x20]
	add	x0, sp, #8
	bl	_getTok
	mov	x20, x0
	cmp	w24, #59
	b.ne	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x20
	mov	x2, x21
	bl	_matchkey
	cbz	x0, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x0, sp, #8
	bl	_getTok
	cbz	x0, LBB0_33
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x20, x0
	ldrb	w8, [x0]
	cmp	w8, #61
	b.ne	LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x0, sp, #8
	bl	_getTok
	cbz	x0, LBB0_33
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x20, x0
	ldrb	w11, [x0]
	ldr	x8, [sp, #8]
	cmp	w11, #34
	b.ne	LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	sub	x9, x8, #1
	add	x10, x20, #1
	mov	x8, x19
	cmp	x10, x9
	b.eq	LBB0_9
LBB0_19:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w11, [x20, #1]
	add	x12, x20, #2
	cmp	w11, #92
	csel	x20, x12, x10, eq
	ldrsw	x10, [x23]
	add	x10, x22, x10
	cmp	x8, x10
	b.eq	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	mov	x10, x20
	ldrb	w11, [x10], #1
	strb	w11, [x8], #1
	cmp	x10, x9
	b.ne	LBB0_19
	b	LBB0_9
LBB0_21:                                ;   in Loop: Header=BB0_12 Depth=1
	strb	wzr, [x19]
	b	LBB0_10
LBB0_22:
	ldrsw	x9, [x23]
	sub	x9, x9, #1
	sub	x10, x8, x20
	cmp	x10, x9
	b.gt	LBB0_33
; %bb.23:
	cmp	x20, x8
	b.eq	LBB0_31
; %bb.24:
	add	x10, x20, #1
	mov	x9, x19
	strb	w11, [x9], #1
	cmp	x10, x8
	b.eq	LBB0_32
; %bb.25:
	mvn	x11, x20
	add	x11, x11, x8
	cmp	x11, #64
	b.lo	LBB0_30
; %bb.26:
	sub	x12, x19, x20
	cmp	x12, #64
	b.lo	LBB0_30
; %bb.27:
	and	x12, x11, #0xffffffffffffffc0
	add	x9, x9, x12
	add	x10, x10, x12
	add	x13, x19, #33
	add	x14, x20, #33
	mov	x15, x12
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x14, #-32]
	ldp	q2, q3, [x14], #64
	stp	q0, q1, [x13, #-32]
	stp	q2, q3, [x13], #64
	subs	x15, x15, #64
	b.ne	LBB0_28
; %bb.29:
	cmp	x11, x12
	b.eq	LBB0_32
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x10], #1
	strb	w11, [x9], #1
	cmp	x10, x8
	b.ne	LBB0_30
	b	LBB0_32
LBB0_31:
	mov	x9, x19
LBB0_32:
	strb	wzr, [x9]
LBB0_33:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"text"

l_.str.1:                               ; @.str.1
	.asciz	"us-ascii"

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

l_.str.3:                               ; @.str.3
	.asciz	"xml"

	.comm	_isXml,4,2                      ; @isXml
l_.str.4:                               ; @.str.4
	.asciz	"charset"

	.comm	_CHARSET_MAX,4,2                ; @CHARSET_MAX
.subsections_via_symbols
