	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xml_next_tag                   ## -- Begin function xml_next_tag
	.p2align	4, 0x90
_xml_next_tag:                          ## @xml_next_tag
	.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	%rcx, %r14
	movq	%rdx, %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rdi
	movzbl	-1(%rdi), %eax
	testb	%al, %al
	je	LBB0_11
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$60, %al
	jne	LBB0_1
## %bb.3:
	movq	%rdi, (%rsi)
	cmpb	$47, (%rdi)
	leaq	1(%rdi), %rbx
	cmovneq	%rdi, %rbx
	movq	%rbx, (%r15)
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx), %edi
	callq	_isalnum
	testq	%rax, %rax
	jne	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%rbx), %eax
	cmpb	$45, %al
	je	LBB0_13
## %bb.6:
	cmpb	$58, %al
	jne	LBB0_8
## %bb.7:
	incq	%rbx
	movq	%rbx, (%r15)
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rbx
	movzbl	-1(%rbx), %eax
	testb	%al, %al
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpb	$62, %al
	jne	LBB0_8
## %bb.10:
	movq	%rbx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_11:
	movl	$1, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xml_next_tag                   ; -- Begin function xml_next_tag
	.p2align	2
_xml_next_tag:                          ; @xml_next_tag
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x3
	mov	x20, x2
	add	x8, x0, #1
	ldurb	w9, [x8, #-1]
	cbz	w9, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #60
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x8, x8, #1
	ldurb	w9, [x8, #-1]
	cbnz	w9, LBB0_1
LBB0_3:
	mov	w0, #1
	b	LBB0_14
LBB0_4:
	str	x8, [x1]
	mov	x9, x8
	ldrb	w10, [x9], #1
	cmp	w10, #47
	csel	x21, x9, x8, eq
	str	x21, [x20]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x21]
	bl	_isalnum
	cbnz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x21]
	cmp	w8, #45
	b.eq	LBB0_5
; %bb.8:
	cmp	w8, #58
	b.ne	LBB0_10
; %bb.9:
	add	x21, x21, #1
	str	x21, [x20]
LBB0_10:
	add	x8, x21, #1
	ldurb	w9, [x8, #-1]
	cbz	w9, LBB0_3
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	cmp	w9, #62
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x8, x8, #1
	ldurb	w9, [x8, #-1]
	cbnz	w9, LBB0_11
	b	LBB0_3
LBB0_13:
	mov	w0, #0
	str	x8, [x19]
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
