	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function end_element
_end_element:                           ## @end_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
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	_TAG_MAP_SZ@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_6
## %bb.1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	_tag_map@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	8(%rax,%r14), %esi
	movq	%r13, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	(%r12), %rax
	addq	$16, %r14
                                        ## implicit-def: $rcx
	cmpq	%rax, %rbx
	jb	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movq	(%r15), %rax
	movq	(%rax,%r14), %rcx
	movq	(%r12), %rax
LBB0_5:
	cmpq	%rax, %rbx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%rcx, %rbx
	jne	LBB0_7
LBB0_6:
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	callq	_g_debug
	movq	_A_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_7:
	movl	4(%r14), %edi
	callq	_g_queue_pop_head
	cmpq	%rbx, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	movq	%rbx, %rcx
	callq	_g_warning
LBB0_9:
	cmpq	$128, %rbx
	jne	LBB0_11
## %bb.10:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TAG_MAP_SZ,8,3                 ## @TAG_MAP_SZ
	.comm	_tag_map,8,3                    ## @tag_map
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unrecognized end tag (%s)"

	.comm	_A_NONE,8,3                     ## @A_NONE
L_.str.1:                               ## @.str.1
	.asciz	"start tag != end tag: (%s %d) %d"

	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_end_element
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function end_element
_end_element:                           ; @end_element
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x23, _TAG_MAP_SZ@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TAG_MAP_SZ@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x21, #0
	mov	x22, #0
Lloh2:
	adrp	x24, _tag_map@GOTPAGE
Lloh3:
	ldr	x24, [x24, _tag_map@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	add	x8, x8, x21
	ldr	w1, [x8, #8]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	ldr	x8, [x23]
	add	x21, x21, #16
	cmp	x22, x8
	b.lo	LBB0_2
; %bb.4:
                                        ; implicit-def: $x21
	cmp	x22, x8
	b.eq	LBB0_6
	b	LBB0_7
LBB0_5:
	ldr	x8, [x24]
	ldr	x21, [x8, x21]
	ldr	x8, [x23]
	cmp	x22, x8
	b.ne	LBB0_7
LBB0_6:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_g_debug
Lloh6:
	adrp	x8, _A_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _A_NONE@GOTPAGEOFF]
Lloh8:
	ldr	x21, [x8]
LBB0_7:
	ldr	w0, [x19, #4]
	bl	_g_queue_pop_head
	cmp	x0, x21
	b.eq	LBB0_9
; %bb.8:
	mov	x2, x0
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	mov	x3, x21
	bl	_g_warning
LBB0_9:
	cmp	x21, #128
	b.ne	LBB0_11
; %bb.10:
Lloh11:
	adrp	x8, _FALSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_TAG_MAP_SZ,8,3                 ; @TAG_MAP_SZ
	.comm	_tag_map,8,3                    ; @tag_map
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unrecognized end tag (%s)"

	.comm	_A_NONE,8,3                     ; @A_NONE
l_.str.1:                               ; @.str.1
	.asciz	"start tag != end tag: (%s %d) %d"

	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_end_element
.subsections_via_symbols
