	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_node
_build_node:                            ## @build_node
	.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	%r8, %r14
	movq	(%rdi), %r10
	movq	(%r10), %r9
	movslq	%esi, %rax
	shlq	$5, %rax
	movl	28(%r9,%rax), %ebx
	movl	%ebx, 24(%rdx)
	movl	24(%r9,%rax), %esi
	movl	%esi, 28(%rdx)
	movq	_XML_CTYPE_NAME@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %ebx
	jne	LBB0_4
## %bb.1:
	movq	(%r14), %rcx
	movq	%rcx, 8(%rdx)
	movq	16(%r9,%rax), %rcx
	movq	(%r14), %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %esi
	movl	%esi, (%rax)
	addq	$4, %rax
	cmpl	$0, (%rcx)
	leaq	4(%rcx), %rcx
	jne	LBB0_2
## %bb.3:
	movq	%rax, (%r14)
	movl	$0, (%rdx)
	movq	$0, 16(%rdx)
	jmp	LBB0_8
LBB0_4:
	movq	%rcx, %r13
	movl	(%r9,%rax), %ebx
	movl	%ebx, (%rdx)
	movq	(%rcx), %rsi
	movq	%rsi, 16(%rdx)
	movq	%rbx, %rsi
	shlq	$5, %rsi
	addq	%rsi, (%rcx)
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.5:
	movq	(%r10), %rsi
	addq	%rsi, %rax
	addq	$4, %rax
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%r10, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rax), %rbx
	movq	16(%rdx), %rdx
	addq	%r15, %rdx
	movl	%ebx, %esi
	movq	%r13, %rcx
	movq	%r14, %r8
	callq	_build_node
	movq	-48(%rbp), %r10                 ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	incq	%r12
	movq	(%r10), %rax
	shlq	$5, %rbx
	addq	%rbx, %rax
	addq	$8, %rax
	movl	(%rdx), %esi
	addq	$32, %r15
	cmpq	%rsi, %r12
	jb	LBB0_6
LBB0_7:
	movq	$0, 8(%rdx)
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XML_CTYPE_NAME,4,2             ## @XML_CTYPE_NAME
	.no_dead_strip	_build_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_node
_build_node:                            ; @build_node
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x4
	mov	x19, x2
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x24, [x0]
	ldr	x9, [x24]
	sxtw	x8, w1
	add	x10, x9, x8, lsl #5
	ldp	w12, w11, [x10, #24]
	stp	w11, w12, [x2, #24]
Lloh0:
	adrp	x12, _XML_CTYPE_NAME@GOTPAGE
Lloh1:
	ldr	x12, [x12, _XML_CTYPE_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x12]
	cmp	w11, w12
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x20]
	str	x8, [x19, #8]
	ldr	x8, [x10, #16]
	ldr	x9, [x20]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	str	w10, [x9], #4
	ldr	w10, [x8], #4
	cbnz	w10, LBB0_2
; %bb.3:
	str	x9, [x20]
	str	wzr, [x19]
	str	xzr, [x19, #16]
	b	LBB0_8
LBB0_4:
	mov	x21, x3
	lsl	x10, x8, #5
	ldr	w9, [x9, x10]
	str	w9, [x19]
	ldr	x10, [x3]
	str	x10, [x19, #16]
	ldr	x10, [x3]
	add	x10, x10, x9, lsl #5
	str	x10, [x3]
	cbz	w9, LBB0_7
; %bb.5:
	mov	x22, x0
	mov	x25, #0
	mov	x26, #0
	ldr	x9, [x24]
	add	x8, x9, x8, lsl #5
	add	x8, x8, #4
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x23, [x8]
	ldr	x8, [x19, #16]
	add	x2, x8, x25
	mov	x0, x22
	mov	x1, x23
	mov	x3, x21
	mov	x4, x20
	bl	_build_node
	add	x26, x26, #1
	ldr	x8, [x24]
	add	x8, x8, x23, lsl #5
	add	x8, x8, #8
	ldr	w9, [x19]
	add	x25, x25, #32
	cmp	x26, x9
	b.lo	LBB0_6
LBB0_7:
	str	xzr, [x19, #8]
LBB0_8:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XML_CTYPE_NAME,4,2             ; @XML_CTYPE_NAME
	.no_dead_strip	_build_node
.subsections_via_symbols
