	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__xml_encode                ## -- Begin function cmd__xml_encode
	.p2align	4, 0x90
_cmd__xml_encode:                       ## @cmd__xml_encode
	.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
	subq	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$1, %ebx
	xorl	%r15d, %r15d
	movq	_stdout@GOTPCREL(%rip), %r12
	movq	_utf8_replace_character@GOTPCREL(%rip), %r14
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
                                        ##       Child Loop BB0_3 Depth 3
	xorl	%eax, %eax
	movq	%rax, -1088(%rbp)               ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	incq	%r15
	cmpq	%rbx, %r15
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=3
	xorl	%edi, %edi
	leaq	-1072(%rbp), %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_xread
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=3
	movq	%rax, %rbx
	jns	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=3
	leaq	L_.str(%rip), %rdi
	callq	_die_errno
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=3
	xorl	%r15d, %r15d
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=3
	movzbl	-1072(%rbp,%r15), %eax
	testq	%r13, %r13
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=3
	movl	%eax, %ecx
	andb	$-64, %cl
	cmpb	$-128, %cl
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=3
	movb	%al, (%r13)
	incq	%r13
	decq	-1088(%rbp)                     ## 8-byte Folded Spill
	jne	LBB0_3
	jmp	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=3
	movzbl	%al, %edx
	testb	$-128, %al
	je	LBB0_16
## %bb.29:                              ##   in Loop: Header=BB0_3 Depth=3
	movl	%edx, %ecx
	andl	$-32, %ecx
	cmpl	$192, %ecx
	jne	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_3 Depth=3
	movb	%al, -1076(%rbp)
	movl	$1, %eax
	jmp	LBB0_31
LBB0_32:                                ##   in Loop: Header=BB0_3 Depth=3
	movl	%edx, %ecx
	andl	$-16, %ecx
	cmpl	$224, %ecx
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_3 Depth=3
	movb	%al, -1076(%rbp)
	movl	$2, %eax
	jmp	LBB0_31
LBB0_34:                                ##   in Loop: Header=BB0_3 Depth=3
	andl	$-8, %edx
	cmpl	$240, %edx
	jne	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_3 Depth=3
	movb	%al, -1076(%rbp)
	movl	$3, %eax
LBB0_31:                                ##   in Loop: Header=BB0_3 Depth=3
	movq	%rax, -1088(%rbp)               ## 8-byte Spill
	leaq	-1075(%rbp), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	(%r14), %rdi
	movl	(%r12), %esi
	callq	_fputs
	decq	%r15
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_3 Depth 3
	xorl	%r13d, %r13d
	jmp	LBB0_3
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=2
	leal	-34(%rax), %ecx
	cmpb	$28, %cl
	ja	LBB0_24
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=2
	movzbl	%cl, %ecx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rcx,4), %rcx
	addq	%rsi, %rcx
	jmpq	*%rcx
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	(%r12), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_fputs
	jmp	LBB0_2
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=2
	cmpb	$32, %al
	jb	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=2
	movl	(%r12), %esi
	movl	%edx, %edi
	callq	_fputc
	jmp	LBB0_2
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	(%r12), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_fputs
	jmp	LBB0_2
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	(%r12), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_fputs
	jmp	LBB0_2
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	(%r12), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_fputs
	jmp	LBB0_2
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	(%r12), %esi
	leaq	L_.str.5(%rip), %rdi
	callq	_fputs
	jmp	LBB0_2
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=2
	cmpb	$13, %al
	ja	LBB0_36
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=2
	movl	$9728, %eax                     ## imm = 0x2600
	btq	%rdx, %rax
	jae	LBB0_36
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=2
	movl	(%r12), %edi
	leaq	L_.str.6(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_fprintf
	jmp	LBB0_2
LBB0_36:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	(%r14), %rdi
	movl	(%r12), %esi
	callq	_fputs
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	-1076(%rbp), %rdi
	subl	%edi, %r13d
	movl	(%r12), %ecx
	movl	%r13d, %esi
	movl	$1, %edx
	callq	_fwrite
	jmp	LBB0_1
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_37
## %bb.6:
	xorl	%eax, %eax
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
LJTI0_0:
	.long	L0_0_set_21
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_18
	.long	L0_0_set_20
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_22
	.long	L0_0_set_24
	.long	L0_0_set_23
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not read <stdin>"

	.comm	_utf8_replace_character,8,3     ## @utf8_replace_character
	.comm	_stdout,4,2                     ## @stdout
L_.str.1:                               ## @.str.1
	.asciz	"&amp;"

L_.str.2:                               ## @.str.2
	.asciz	"&apos;"

L_.str.3:                               ## @.str.3
	.asciz	"&quot;"

L_.str.4:                               ## @.str.4
	.asciz	"&lt;"

L_.str.5:                               ## @.str.5
	.asciz	"&gt;"

L_.str.6:                               ## @.str.6
	.asciz	"&#x%02x;"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__xml_encode                ; -- Begin function cmd__xml_encode
	.p2align	2
_cmd__xml_encode:                       ; @cmd__xml_encode
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #1056
	mov	x24, #0
	mov	x25, #0
	mov	x28, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x27, sp, #12
	stur	x8, [x29, #-96]
	add	x23, x27, #1
	add	x20, sp, #16
Lloh3:
	adrp	x19, l_.str@PAGE
Lloh4:
	add	x19, x19, l_.str@PAGEOFF
Lloh5:
	adrp	x21, _stdout@GOTPAGE
Lloh6:
	ldr	x21, [x21, _stdout@GOTPAGEOFF]
Lloh7:
	adrp	x22, _utf8_replace_character@GOTPAGE
Lloh8:
	ldr	x22, [x22, _utf8_replace_character@GOTPAGEOFF]
	mov	w26, #1
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x22]
	ldr	w1, [x21]
	bl	_fputs
	mov	x28, #0
	sub	x24, x24, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x24, x24, #1
	cmp	x24, x26
	b.ne	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #16
	mov	w0, #0
	mov	w2, #1024
	bl	_xread
	cbz	x0, LBB0_31
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x26, x0
	tbz	x0, #63, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_die_errno
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x24, #0
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w2, [x20, x24]
	cbz	x28, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	and	w8, w2, #0xc0
	cmp	w8, #128
	b.ne	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	strb	w2, [x28], #1
	subs	x25, x25, #1
	b.ne	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	sub	w1, w28, w27
	ldr	w3, [x21]
	add	x0, sp, #12
	mov	w2, #1
	bl	_fwrite
	mov	x28, #0
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	tbnz	w2, #7, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	sub	w8, w2, #34
	cmp	w8, #28
	b.hi	LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh9:
	adrp	x11, lJTI0_0@PAGE
Lloh10:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_14
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x21]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_30
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	and	w8, w2, #0xe0
	cmp	w8, #192
	b.ne	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	strb	w2, [sp, #12]
	mov	w25, #1
	mov	x28, x23
	b	LBB0_2
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	and	w8, w2, #0xf0
	cmp	w8, #224
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	strb	w2, [sp, #12]
	mov	w25, #2
	mov	x28, x23
	b	LBB0_2
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	and	w8, w2, #0xf8
	cmp	w8, #240
	b.ne	LBB0_29
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
	strb	w2, [sp, #12]
	mov	w25, #3
	mov	x28, x23
	b	LBB0_2
LBB0_21:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w2, #32
	b.lo	LBB0_27
; %bb.22:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x21]
	mov	x0, x2
	bl	_fputc
	mov	x28, #0
	b	LBB0_2
LBB0_23:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x21]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_30
LBB0_24:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x21]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_30
LBB0_25:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x21]
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_30
LBB0_26:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x21]
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_30
LBB0_27:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w2, #13
	mov	w8, #1
	lsl	w8, w8, w2
	mov	w9, #9728
	and	w8, w8, w9
	ccmp	w8, #0, #4, ls
	b.eq	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x21]
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
	mov	x28, #0
	b	LBB0_2
LBB0_29:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x22]
	ldr	w1, [x21]
LBB0_30:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_fputs
	mov	x28, #0
	b	LBB0_2
LBB0_31:
	ldur	x8, [x29, #-96]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.32:
	mov	w0, #0
	add	sp, sp, #1056
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_24-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_25-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
	.byte	(LBB0_26-LBB0_14)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not read <stdin>"

	.comm	_utf8_replace_character,8,3     ; @utf8_replace_character
	.comm	_stdout,4,2                     ; @stdout
l_.str.1:                               ; @.str.1
	.asciz	"&amp;"

l_.str.2:                               ; @.str.2
	.asciz	"&apos;"

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

l_.str.4:                               ; @.str.4
	.asciz	"&lt;"

l_.str.5:                               ; @.str.5
	.asciz	"&gt;"

l_.str.6:                               ; @.str.6
	.asciz	"&#x%02x;"

.subsections_via_symbols
