	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rxml_load_document_string      ## -- Begin function rxml_load_document_string
	.p2align	4, 0x90
_rxml_load_document_string:             ## @rxml_load_document_string
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$24, %edi
	callq	_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%r15), %r12
	movl	$1, %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, %rcx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	16(%r15), %esi
	movq	_BUFSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-72(%rbp), %rdi
	callq	_yxml_init
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_41
## %bb.3:
	incq	%rbx
	xorl	%ecx, %ecx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	leaq	-72(%rbp), %r13
	xorl	%ecx, %ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
LBB0_4:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_rxml_free_document
	movq	%r15, %rdi
	callq	_free
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_42
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, %edi
	movl	$24, %esi
	callq	_calloc
	movq	%r13, %r14
	movq	%rax, %r13
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leaq	16(%rcx), %rax
	testq	%rcx, %rcx
	cmoveq	-88(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%r13, (%rax)
	movq	-56(%rbp), %rdi
	callq	_strdup
	movq	%rax, 8(%r13)
	movq	(%r15), %r12
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, %r13
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	je	LBB0_41
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %esi
	movq	%r13, %rdi
	callq	_yxml_parse
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-64(%rbp), %rax
	movzbl	(%rax), %eax
	testb	%al, %al
	je	LBB0_7
## %bb.19:                              ##   in Loop: Header=BB0_8 Depth=1
	movb	%al, (%r12)
	movq	-64(%rbp), %rax
	movzbl	1(%rax), %eax
	testb	%al, %al
	je	LBB0_28
## %bb.20:                              ##   in Loop: Header=BB0_8 Depth=1
	movb	%al, 1(%r12)
	movq	-64(%rbp), %rax
	movzbl	2(%rax), %eax
	testb	%al, %al
	je	LBB0_29
## %bb.21:                              ##   in Loop: Header=BB0_8 Depth=1
	movb	%al, 2(%r12)
	movq	-64(%rbp), %rax
	movzbl	3(%rax), %eax
	testb	%al, %al
	je	LBB0_30
## %bb.22:                              ##   in Loop: Header=BB0_8 Depth=1
	movb	%al, 3(%r12)
	movq	-64(%rbp), %rax
	movzbl	4(%rax), %eax
	testb	%al, %al
	je	LBB0_31
## %bb.23:                              ##   in Loop: Header=BB0_8 Depth=1
	movb	%al, 4(%r12)
	movq	-64(%rbp), %rax
	movzbl	5(%rax), %eax
	testb	%al, %al
	je	LBB0_32
## %bb.24:                              ##   in Loop: Header=BB0_8 Depth=1
	movb	%al, 5(%r12)
	movq	-64(%rbp), %rax
	movzbl	6(%rax), %eax
	testb	%al, %al
	je	LBB0_33
## %bb.25:                              ##   in Loop: Header=BB0_8 Depth=1
	movb	%al, 6(%r12)
	movq	-64(%rbp), %rax
	movzbl	7(%rax), %eax
	testb	%al, %al
	je	LBB0_26
## %bb.34:                              ##   in Loop: Header=BB0_8 Depth=1
	movb	%al, 7(%r12)
	addq	$8, %r12
	jmp	LBB0_7
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_37
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpq	%rax, -104(%rbp)                ## 8-byte Folded Reload
	jbe	LBB0_38
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rcx, %r14
	movq	%rax, %rcx
	movq	8(%r15), %rax
	movq	%r14, (%rax,%rcx,8)
	incq	%rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movl	$1, %edi
	movl	$40, %esi
	callq	_calloc
	movq	%rax, 32(%r14)
	jmp	LBB0_39
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	decq	-104(%rbp)                      ## 8-byte Folded Spill
	cmpq	(%r15), %r12
	jbe	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	movb	$0, (%r12)
	movq	(%r15), %r12
	movq	%r12, %rdi
	callq	_strdup
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, -104(%rbp)                ## 8-byte Folded Reload
	jae	LBB0_7
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r15), %rax
	movq	-8(%rax,%rcx,8), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	decq	%rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
LBB0_35:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpq	(%r15), %r12
	jbe	LBB0_7
## %bb.36:                              ##   in Loop: Header=BB0_8 Depth=1
	movb	$0, (%r12)
	movq	(%r15), %r12
	movq	%r12, %rdi
	callq	_strdup
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	jmp	LBB0_7
LBB0_28:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%r12
	jmp	LBB0_7
LBB0_37:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, %edi
	movl	$40, %esi
	callq	_calloc
	movq	%rax, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	jmp	LBB0_40
LBB0_38:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, %edi
	movl	$40, %esi
	movq	%rcx, %r14
	callq	_calloc
	movq	%rax, 24(%r14)
LBB0_39:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %r14
LBB0_40:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-72(%rbp), %rdi
	callq	_strdup
	movq	%r14, %rcx
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, 16(%r14)
	incq	-104(%rbp)                      ## 8-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
LBB0_29:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$2, %r12
	jmp	LBB0_7
LBB0_30:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$3, %r12
	jmp	LBB0_7
LBB0_31:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$4, %r12
	jmp	LBB0_7
LBB0_32:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$5, %r12
	jmp	LBB0_7
LBB0_33:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$6, %r12
	jmp	LBB0_7
LBB0_26:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$7, %r12
	jmp	LBB0_7
LBB0_41:
	movq	%r15, %rdi
	callq	_free
LBB0_42:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_6
	.long	L0_0_set_35
	.end_data_region
                                        ## -- End function
	.comm	_BUFSIZE,4,2                    ## @BUFSIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rxml_load_document_string      ; -- Begin function rxml_load_document_string
	.p2align	2
_rxml_load_document_string:             ; @rxml_load_document_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x0
	mov	w0, #24
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_38
; %bb.1:
	ldr	x21, [x19]
	mov	w0, #1
	mov	w1, #8
	bl	_calloc
	mov	x20, x0
	cbz	x0, LBB0_39
; %bb.2:
	ldr	w1, [x19, #16]
Lloh0:
	adrp	x8, _BUFSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUFSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #8
	bl	_yxml_init
	ldrb	w8, [x23]
	cbz	w8, LBB0_40
; %bb.3:
	mov	x28, #0
	mov	x22, #0
	mov	x24, #0
	mov	x25, #0
	add	x26, x23, #1
Lloh3:
	adrp	x27, lJTI0_0@PAGE
Lloh4:
	add	x27, x27, lJTI0_0@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	mov	w1, #24
	bl	_calloc
	mov	x23, x0
	add	x8, x28, #16
	cmp	x28, #0
	csel	x8, x22, x8, eq
	str	x0, [x8]
	ldr	x0, [sp, #24]
	bl	_strdup
	str	x0, [x23, #8]
	ldr	x21, [x19]
	mov	x28, x23
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x26], #1
	cbz	w8, LBB0_40
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w1, w8
	add	x0, sp, #8
	bl	_yxml_parse
	tbnz	w0, #31, LBB0_39
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	adr	x9, LBB0_4
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #16]
	ldrb	w9, [x8]
	cbz	w9, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x8, x21
	strb	w9, [x8], #1
	ldr	x9, [sp, #16]
	ldrb	w9, [x9, #1]
	cbz	w9, LBB0_27
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	strb	w9, [x21, #1]
	ldr	x8, [sp, #16]
	ldrb	w8, [x8, #2]
	cbz	w8, LBB0_32
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	strb	w8, [x21, #2]
	ldr	x8, [sp, #16]
	ldrb	w8, [x8, #3]
	cbz	w8, LBB0_33
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	strb	w8, [x21, #3]
	ldr	x8, [sp, #16]
	ldrb	w8, [x8, #4]
	cbz	w8, LBB0_34
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	strb	w8, [x21, #4]
	ldr	x8, [sp, #16]
	ldrb	w8, [x8, #5]
	cbz	w8, LBB0_35
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	strb	w8, [x21, #5]
	ldr	x8, [sp, #16]
	ldrb	w8, [x8, #6]
	cbz	w8, LBB0_36
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	strb	w8, [x21, #6]
	ldr	x8, [sp, #16]
	ldrb	w8, [x8, #7]
	cbz	w8, LBB0_37
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	strb	w8, [x21, #7]
	add	x21, x21, #8
	b	LBB0_5
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	x22, LBB0_28
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	x24, x25
	b.ls	LBB0_29
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	str	x22, [x8, x25, lsl #3]
	add	x25, x25, #1
	mov	w0, #1
	mov	w1, #40
	bl	_calloc
	str	x0, [x22, #32]
	b	LBB0_30
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x24, x24, #1
	ldr	x8, [x19]
	cmp	x21, x8
	b.ls	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_6 Depth=1
	strb	wzr, [x21]
	ldr	x21, [x19]
	mov	x0, x21
	bl	_strdup
	str	x0, [x22, #8]
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x24, x25
	b.hs	LBB0_5
; %bb.24:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	x25, x25, #1
	ldr	x8, [x19, #8]
	ldr	x22, [x8, x25, lsl #3]
	b	LBB0_5
LBB0_25:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	cmp	x21, x8
	b.ls	LBB0_5
; %bb.26:                               ;   in Loop: Header=BB0_6 Depth=1
	strb	wzr, [x21]
	ldr	x21, [x19]
	mov	x0, x21
	bl	_strdup
	str	x0, [x28]
	b	LBB0_5
LBB0_27:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x8
	b	LBB0_5
LBB0_28:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	mov	w1, #40
	bl	_calloc
	mov	x22, x0
	str	x0, [x20]
	b	LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	mov	w1, #40
	bl	_calloc
	str	x0, [x22, #24]
LBB0_30:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, x0
LBB0_31:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #8]
	bl	_strdup
	mov	x28, #0
	str	x0, [x22, #16]
	add	x24, x24, #1
	b	LBB0_5
LBB0_32:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #2
	b	LBB0_5
LBB0_33:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #3
	b	LBB0_5
LBB0_34:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #4
	b	LBB0_5
LBB0_35:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #5
	b	LBB0_5
LBB0_36:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #6
	b	LBB0_5
LBB0_37:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #7
	b	LBB0_5
LBB0_38:
	mov	x20, #0
LBB0_39:
	mov	x0, x20
	bl	_rxml_free_document
	mov	x0, x19
	bl	_free
	mov	x20, #0
	b	LBB0_41
LBB0_40:
	mov	x0, x19
	bl	_free
LBB0_41:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_18-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
                                        ; -- End function
	.comm	_BUFSIZE,4,2                    ; @BUFSIZE
.subsections_via_symbols
