	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xml_charhandle
_xml_charhandle:                        ## @xml_charhandle
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_15
## %bb.1:
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	_verb@GOTPCREL(%rip), %rbx
	cmpl	$4, (%rbx)
	jl	LBB0_6
## %bb.2:
	cmpq	$0, 8(%r15)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_printf
	testl	%r14d, %r14d
	jle	LBB0_5
## %bb.3:
	movl	%r14d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rbx,4), %edi
	callq	_putchar
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_4
LBB0_5:
	leaq	L_str.9(%rip), %rdi
	callq	_puts
	movq	(%r15), %r12
	movq	_verb@GOTPCREL(%rip), %rbx
LBB0_6:
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.12:
	cmpq	$0, 8(%r15)
	je	LBB0_15
## %bb.13:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_xml_selectbio
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%rax, %rdi
	jmp	LBB0_8
LBB0_7:
	movq	16(%r15), %rdi
LBB0_8:
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_BIO_write
	testq	%rax, %rax
	js	LBB0_9
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	cmpl	$0, (%rbx)
	je	LBB0_11
## %bb.10:
	leaq	L_str.8(%rip), %rdi
	callq	_puts
LBB0_11:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_verb,4,2                       ## @verb
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s charhandle: '"

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

L_.str.2:                               ## @.str.2
	.space	1

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

L_str.8:                                ## @str.8
	.asciz	"out of memory in BIO_write"

L_str.9:                                ## @str.9
	.asciz	"'"

	.no_dead_strip	_xml_charhandle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xml_charhandle
_xml_charhandle:                        ; @xml_charhandle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x22, [x0]
	cbz	x22, LBB0_11
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _verb@GOTPAGE
Lloh1:
	ldr	x23, [x23, _verb@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #4
	b.lt	LBB0_6
; %bb.2:
	ldr	x8, [x21, #8]
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh4:
	adrp	x10, l_.str.2@PAGE
Lloh5:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x8, x10, x9, eq
	stp	x8, x22, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	cmp	w19, #1
	b.lt	LBB0_5
; %bb.3:
	mov	w22, w19
	mov	x24, x20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24], #4
	bl	_putchar
	subs	x22, x22, #1
	b.ne	LBB0_4
LBB0_5:
Lloh8:
	adrp	x0, l_str.9@PAGE
Lloh9:
	add	x0, x0, l_str.9@PAGEOFF
	bl	_puts
	ldr	x22, [x21]
LBB0_6:
Lloh10:
	adrp	x1, l_.str.6@PAGE
Lloh11:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_strcasecmp
	cbz	x0, LBB0_9
; %bb.7:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_11
; %bb.8:
	mov	x0, x21
	mov	x1, x22
	bl	_xml_selectbio
	cbnz	x0, LBB0_10
	b	LBB0_11
LBB0_9:
	ldr	x0, [x21, #16]
LBB0_10:
	mov	x1, x20
	mov	x2, x19
	bl	_BIO_write
	tbnz	x0, #63, LBB0_12
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_12:
	ldr	w8, [x23]
	cbz	w8, LBB0_14
; %bb.13:
Lloh12:
	adrp	x0, l_str.8@PAGE
Lloh13:
	add	x0, x0, l_str.8@PAGEOFF
	bl	_puts
LBB0_14:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_verb,4,2                       ; @verb
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s charhandle: '"

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

l_.str.2:                               ; @.str.2
	.space	1

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

l_str.8:                                ; @str.8
	.asciz	"out of memory in BIO_write"

l_str.9:                                ; @str.9
	.asciz	"'"

	.no_dead_strip	_xml_charhandle
.subsections_via_symbols
