	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StructData_AddItem             ## -- Begin function StructData_AddItem
	.p2align	4, 0x90
_StructData_AddItem:                    ## @StructData_AddItem
	.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
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	callq	_assert
	movq	(%rbx), %r14
	cmpq	8(%rbx), %r14
	jne	LBB0_1
## %bb.2:
	movq	_STRUCT_EXTENSION_COUNT@GOTPCREL(%rip), %rax
	addq	(%rax), %r14
	movq	%r14, 8(%rbx)
	movq	16(%rbx), %rdi
	shll	$4, %r14d
	movl	%r14d, %esi
	callq	_realloc
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	%r15, 16(%rbx)
	movq	(%rbx), %r14
	jmp	LBB0_3
LBB0_1:
	movq	16(%rbx), %r15
LBB0_3:
	movq	%r13, %rdi
	callq	_xmlstrdup
	shlq	$4, %r14
	movl	%eax, 12(%r15,%r14)
	movl	%r12d, (%r15,%r14)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r15,%r14)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r15,%r14)
	incq	(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRUCT_EXTENSION_COUNT,8,3     ## @STRUCT_EXTENSION_COUNT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StructData_AddItem             ; -- Begin function StructData_AddItem
	.p2align	2
_StructData_AddItem:                    ; @StructData_AddItem
	.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	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	cmp	x23, #0
	cset	w0, ne
	bl	_assert
	ldp	x25, x8, [x20]
	cmp	x25, x8
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _STRUCT_EXTENSION_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRUCT_EXTENSION_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, x25
	str	x8, [x20, #8]
	ldr	x0, [x20, #16]
	lsl	w1, w8, #4
	bl	_realloc
	mov	x24, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	str	x24, [x20, #16]
	ldr	x25, [x20]
	b	LBB0_3
LBB0_2:
	ldr	x24, [x20, #16]
LBB0_3:
	mov	x0, x23
	bl	_xmlstrdup
	add	x8, x24, x25, lsl #4
	stp	w22, w21, [x8]
	stp	w19, w0, [x8, #8]
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
	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	_STRUCT_EXTENSION_COUNT,8,3     ; @STRUCT_EXTENSION_COUNT
.subsections_via_symbols
