	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function start_element
_start_element:                         ## @start_element
	.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
	cmpq	$0, 32(%rdi)
	je	LBB0_1
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_TAG_MAP_SZ@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jle	LBB0_6
## %bb.2:
	movq	_tag_map@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	4(%rax,%rbx,8), %esi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_6:
                                        ## implicit-def: $r12
	cmpl	%eax, %ebx
	jne	LBB0_8
LBB0_29:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hb_error                       ## TAILCALL
LBB0_4:
	movq	(%r12), %rax
	movl	(%rax,%rbx,8), %r12d
	movl	(%r13), %eax
	cmpl	%eax, %ebx
	je	LBB0_29
LBB0_8:
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_free
	movq	$0, 24(%r15)
LBB0_10:
	movl	20(%r15), %edi
	movq	%r12, %rsi
	callq	_queue_push_head
	movl	16(%r15), %edi
	callq	_queue_peek_head
	movq	%rax, %r14
	cmpl	$138, %r12d
	je	LBB0_17
## %bb.11:
	cmpl	$135, %r12d
	je	LBB0_16
## %bb.12:
	cmpl	$132, %r12d
	jne	LBB0_28
## %bb.13:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_free
LBB0_15:
	movq	$0, 8(%r15)
	jmp	LBB0_28
LBB0_17:
	xorl	%eax, %eax
	callq	_hb_value_array_init
	jmp	LBB0_18
LBB0_16:
	xorl	%eax, %eax
	callq	_hb_dict_init
LBB0_18:
	movq	%rax, %rbx
	movq	%rax, -48(%rbp)
	movl	16(%r15), %edi
	movq	%rax, %rsi
	callq	_queue_push_head
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.19:
	testq	%r14, %r14
	je	LBB0_20
## %bb.21:
	movq	%r14, %rdi
	callq	_hb_value_type
	movq	_HB_VALUE_TYPE_ARRAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.22:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_hb_value_array_append
	jmp	LBB0_28
LBB0_20:
	movq	%rbx, (%r15)
	jmp	LBB0_28
LBB0_23:
	movq	_HB_VALUE_TYPE_DICT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.24:
	movq	8(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_25
## %bb.26:
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_hb_dict_set
	jmp	LBB0_28
LBB0_27:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_hb_error
	jmp	LBB0_28
LBB0_25:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_hb_error
	leaq	-48(%rbp), %rdi
	callq	_hb_value_free
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_TAG_MAP_SZ,4,2                 ## @TAG_MAP_SZ
	.comm	_tag_map,8,3                    ## @tag_map
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unrecognized start tag (%s)"

	.comm	_HB_VALUE_TYPE_ARRAY,8,3        ## @HB_VALUE_TYPE_ARRAY
	.comm	_HB_VALUE_TYPE_DICT,8,3         ## @HB_VALUE_TYPE_DICT
L_.str.1:                               ## @.str.1
	.asciz	"No key for dictionary item"

L_.str.2:                               ## @.str.2
	.asciz	"Invalid container type. This shouldn't happen"

	.no_dead_strip	_start_element
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function start_element
_start_element:                         ; @start_element
	.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
	ldr	x8, [x0, #32]
	cbnz	x8, LBB0_9
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _TAG_MAP_SZ@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TAG_MAP_SZ@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x21, #0
	mov	x22, #0
Lloh2:
	adrp	x24, _tag_map@GOTPAGE
Lloh3:
	ldr	x24, [x24, _tag_map@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	add	x8, x8, x21
	ldr	w1, [x8, #4]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x23]
	add	x21, x21, #8
	cmp	x22, x8
	b.lt	LBB0_3
	b	LBB0_6
LBB0_5:
	mov	w22, #0
LBB0_6:
                                        ; implicit-def: $x21
	cmp	w22, w8
	b.ne	LBB0_11
LBB0_7:
	str	x20, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
LBB0_8:
	bl	_hb_error
LBB0_9:
	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
LBB0_10:
	ldr	x8, [x24]
	ldr	w21, [x8, x21]
	ldr	w8, [x23]
	cmp	w22, w8
	b.eq	LBB0_7
LBB0_11:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_13
; %bb.12:
	bl	_free
	str	xzr, [x19, #24]
LBB0_13:
	ldr	w0, [x19, #20]
	mov	x1, x21
	bl	_queue_push_head
	ldr	w0, [x19, #16]
	bl	_queue_peek_head
	mov	x20, x0
	cmp	w21, #138
	b.eq	LBB0_19
; %bb.14:
	cmp	w21, #135
	b.eq	LBB0_20
; %bb.15:
	cmp	w21, #132
	b.ne	LBB0_9
; %bb.16:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_18
; %bb.17:
	bl	_free
LBB0_18:
	str	xzr, [x19, #8]
	b	LBB0_9
LBB0_19:
	bl	_hb_value_array_init
	b	LBB0_21
LBB0_20:
	bl	_hb_dict_init
LBB0_21:
	mov	x21, x0
	str	x0, [sp, #8]
	ldr	w0, [x19, #16]
	mov	x1, x21
	bl	_queue_push_head
	cbz	x21, LBB0_9
; %bb.22:
	cbz	x20, LBB0_25
; %bb.23:
	mov	x0, x20
	bl	_hb_value_type
Lloh6:
	adrp	x8, _HB_VALUE_TYPE_ARRAY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HB_VALUE_TYPE_ARRAY@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_26
; %bb.24:
	mov	x0, x20
	mov	x1, x21
	bl	_hb_value_array_append
	b	LBB0_9
LBB0_25:
	str	x21, [x19]
	b	LBB0_9
LBB0_26:
Lloh9:
	adrp	x8, _HB_VALUE_TYPE_DICT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HB_VALUE_TYPE_DICT@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_29
; %bb.27:
	ldr	x1, [x19, #8]
	cbz	x1, LBB0_30
; %bb.28:
	mov	x0, x20
	mov	x2, x21
	bl	_hb_dict_set
	b	LBB0_9
LBB0_29:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_30:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_hb_error
	add	x0, sp, #8
	bl	_hb_value_free
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_TAG_MAP_SZ,4,2                 ; @TAG_MAP_SZ
	.comm	_tag_map,8,3                    ; @tag_map
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unrecognized start tag (%s)"

	.comm	_HB_VALUE_TYPE_ARRAY,8,3        ; @HB_VALUE_TYPE_ARRAY
	.comm	_HB_VALUE_TYPE_DICT,8,3         ; @HB_VALUE_TYPE_DICT
l_.str.1:                               ; @.str.1
	.asciz	"No key for dictionary item"

l_.str.2:                               ; @.str.2
	.asciz	"Invalid container type. This shouldn't happen"

	.no_dead_strip	_start_element
.subsections_via_symbols
