	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scan_xml_name
_scan_xml_name:                         ## @scan_xml_name
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	incq	%rdi
	callq	_SPN_VALUE_NAME_CHARS
	movq	%rax, %r12
	subq	%rbx, %rax
	movq	%rax, (%r15)
	cmpq	$64, %rax
	ja	LBB0_10
## %bb.2:
	movq	_OPARG_TYPE_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movsbl	(%r12), %edi
	callq	_IS_WHITESPACE_CHAR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_SPN_WHITESPACE_CHARS
	movq	_option_load_mode@GOTPCREL(%rip), %rdx
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	movq	%rax, %rsi
	movq	%r14, %rcx
	callq	_parse_attrs
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_11
LBB0_4:
	movsbl	(%r12), %edi
	callq	_IS_END_XML_TOKEN_CHAR
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	cmpb	$47, (%r12)
	jne	LBB0_8
## %bb.6:
	cmpb	$62, 1(%r12)
	jne	LBB0_10
## %bb.7:
	incq	%r12
	movq	_OPARG_TYPE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_8:
	incq	%r12
	movq	%r12, %r15
	jmp	LBB0_11
LBB0_10:
	xorl	%r15d, %r15d
LBB0_11:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPARG_TYPE_STRING,4,2          ## @OPARG_TYPE_STRING
	.comm	_option_load_mode,4,2           ## @option_load_mode
	.comm	_OPARG_TYPE_NONE,4,2            ## @OPARG_TYPE_NONE
	.no_dead_strip	_scan_xml_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scan_xml_name
_scan_xml_name:                         ; @scan_xml_name
	.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, x2
	mov	x21, x1
	mov	x22, x0
	add	x0, x0, #1
	bl	_SPN_VALUE_NAME_CHARS
	sub	x8, x0, x22
	str	x8, [x21]
	cmp	x8, #64
	b.hi	LBB0_8
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _OPARG_TYPE_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPARG_TYPE_STRING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19]
	ldrsb	w0, [x0]
	bl	_IS_WHITESPACE_CHAR
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_SPN_WHITESPACE_CHARS
	mov	x1, x0
Lloh3:
	adrp	x2, _option_load_mode@GOTPAGE
Lloh4:
	ldr	x2, [x2, _option_load_mode@GOTPAGEOFF]
	mov	x0, #0
	mov	x3, x19
	bl	_parse_attrs
	mov	x20, x0
	cbz	x0, LBB0_9
LBB0_3:
	ldrsb	w0, [x20]
	bl	_IS_END_XML_TOKEN_CHAR
	cbz	w0, LBB0_8
; %bb.4:
	ldrb	w8, [x20]
	cmp	w8, #47
	b.ne	LBB0_7
; %bb.5:
	ldrb	w8, [x20, #1]!
	cmp	w8, #62
	b.ne	LBB0_8
; %bb.6:
Lloh5:
	adrp	x8, _OPARG_TYPE_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OPARG_TYPE_NONE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_7:
	add	x0, x20, #1
	b	LBB0_9
LBB0_8:
	mov	x0, #0
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_OPARG_TYPE_STRING,4,2          ; @OPARG_TYPE_STRING
	.comm	_option_load_mode,4,2           ; @option_load_mode
	.comm	_OPARG_TYPE_NONE,4,2            ; @OPARG_TYPE_NONE
	.no_dead_strip	_scan_xml_name
.subsections_via_symbols
