	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xml_endelem
_xml_endelem:                           ## @xml_endelem
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_verb@GOTPCREL(%rip), %r15
	cmpl	$4, (%r15)
	jl	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_2:
	movq	16(%rbx), %rdi
	callq	_free
	movq	$0, 16(%rbx)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.8:
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_xml_is_zone_name
	testl	%eax, %eax
	jne	LBB0_6
## %bb.9:
	cmpl	$0, (%r15)
	je	LBB0_11
## %bb.10:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_11:
	xorl	%edi, %edi
	callq	_exit
LBB0_3:
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_xml_append_ds
LBB0_5:
	movq	$0, 8(%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verb,4,2                       ## @verb
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xml tag end   '%s'\n"

L_.str.1:                               ## @.str.1
	.asciz	"KeyDigest"

L_.str.2:                               ## @.str.2
	.asciz	"Zone"

L_.str.3:                               ## @.str.3
	.asciz	"."

L_str:                                  ## @str
	.asciz	"xml not for the right zone"

	.no_dead_strip	_xml_endelem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xml_endelem
_xml_endelem:                           ; @xml_endelem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _verb@GOTPAGE
Lloh1:
	ldr	x21, [x21, _verb@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #4
	b.lt	LBB0_2
; %bb.1:
	str	x20, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_2:
	ldr	x0, [x19, #16]
	bl	_free
	str	xzr, [x19, #16]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbz	x0, LBB0_8
; %bb.3:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbnz	x0, LBB0_11
; %bb.4:
	ldr	w0, [x19]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_xml_is_zone_name
	cbnz	w0, LBB0_11
; %bb.5:
	ldr	w8, [x21]
	cbz	w8, LBB0_7
; %bb.6:
Lloh10:
	adrp	x0, l_str@PAGE
Lloh11:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_7:
	mov	w0, #0
	bl	_exit
LBB0_8:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_xml_append_ds
LBB0_10:
	str	xzr, [x19, #8]
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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_verb,4,2                       ; @verb
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xml tag end   '%s'\n"

l_.str.1:                               ; @.str.1
	.asciz	"KeyDigest"

l_.str.2:                               ; @.str.2
	.asciz	"Zone"

l_.str.3:                               ; @.str.3
	.asciz	"."

l_str:                                  ; @str
	.asciz	"xml not for the right zone"

	.no_dead_strip	_xml_endelem
.subsections_via_symbols
