	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xml_start_tag
_xml_start_tag:                         ## @xml_start_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rsi, %rdi
	movl	$58, %esi
	callq	_strchr
	leaq	1(%rax), %r14
	testq	%rax, %rax
	cmoveq	%rbx, %r14
	movq	(%r12), %rdi
	callq	_strlen
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r15,%rax), %ebx
	addl	$2, %ebx
	movl	8(%r12), %ecx
	movq	(%r12), %rax
	cmpl	%ecx, %ebx
	jle	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_xrealloc
	movq	%rax, (%r12)
	movl	%ebx, 8(%r12)
	jmp	LBB0_3
LBB0_1:
	movl	%ecx, %ebx
LBB0_3:
	movslq	%r15d, %rdi
	addq	%rax, %rdi
	subl	%r15d, %ebx
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %esi
	movq	%r14, %rcx
	callq	_xsnprintf
	movl	24(%r12), %edi
	callq	_FREE_AND_NULL
	movq	16(%r12), %rax
	movq	%r12, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".%s"

	.no_dead_strip	_xml_start_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xml_start_tag
_xml_start_tag:                         ; @xml_start_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	x20, x1
	mov	x19, x0
	mov	x0, x1
	mov	w1, #58
	bl	_strchr
	cmp	x0, #0
	csinc	x20, x20, x0, eq
	ldr	x0, [x19]
	bl	_strlen
	mov	x21, x0
	mov	x0, x20
	bl	_strlen
	add	w8, w21, w0
	add	w22, w8, #2
	ldr	w8, [x19, #8]
	ldr	x0, [x19]
	cmp	w22, w8
	b.le	LBB0_2
; %bb.1:
	mov	x1, x22
	bl	_xrealloc
	str	x0, [x19]
	str	w22, [x19, #8]
	mov	x8, x22
LBB0_2:
	add	x0, x0, w21, sxtw
	sub	w1, w8, w21
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x20
	bl	_xsnprintf
	ldr	w0, [x19, #24]
	bl	_FREE_AND_NULL
	ldr	x2, [x19, #16]
	mov	x0, x19
	mov	w1, #0
	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
	br	x2
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".%s"

	.no_dead_strip	_xml_start_tag
.subsections_via_symbols
