	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cook_xml_text
_cook_xml_text:                         ## @cook_xml_text
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movb	$-128, -26(%rbp)
	leaq	-28(%rbp), %r14
	leaq	-40(%rbp), %r15
	movq	%rdi, %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	2(%rdi), %rax
	movq	%rax, -40(%rbp)
	movzbl	1(%rdi), %eax
	movb	%al, -28(%rbp)
	leaq	3(%rdi), %rax
	movq	%rax, -40(%rbp)
	movzbl	2(%rdi), %eax
	movb	%al, -27(%rbp)
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_strtoul
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	%al, (%rbx)
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	movq	-40(%rbp), %rdi
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rdi), %rax
	movq	%rax, -40(%rbp)
	movzbl	(%rdi), %eax
	cmpb	$37, %al
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$38, %al
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$-128, %al
	jne	LBB0_6
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	callq	_parse_xml_encoding
	movb	%al, (%rbx)
	cmpl	$128, %eax
	jne	LBB0_7
	jmp	LBB0_9
LBB0_4:
	movb	$-128, (%rbx)
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cook_xml_text
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cook_xml_text
_cook_xml_text:                         ; @cook_xml_text
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	w8, #128
	strb	w8, [sp, #6]
	mov	x19, x0
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x0, #2
	str	x8, [sp, #8]
	ldrb	w8, [x0, #1]
	strb	w8, [sp, #4]
	add	x8, x0, #3
	str	x8, [sp, #8]
	ldrb	w8, [x0, #2]
	strb	w8, [sp, #5]
	add	x0, sp, #4
	mov	x1, #0
	mov	w2, #16
	bl	_strtoul
	mov	x8, x0
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	strb	w8, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #1
	ldr	x0, [sp, #8]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x0, #1
	str	x8, [sp, #8]
	ldrb	w8, [x0]
	cmp	w8, #37
	b.eq	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #38
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #128
	b.ne	LBB0_2
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	bl	_parse_xml_encoding
	strb	w0, [x19]
	cmp	w0, #128
	b.ne	LBB0_3
	b	LBB0_9
LBB0_8:
	strb	w8, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cook_xml_text
.subsections_via_symbols
