	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_encoder_from_prefix        ## -- Begin function get_encoder_from_prefix
	.p2align	4, 0x90
_get_encoder_from_prefix:               ## @get_encoder_from_prefix
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	%edi, %r14d
	leaq	-40(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	_parse_namespace
	movl	(%rbx), %r12d
	movq	-48(%rbp), %rdi
	callq	_BAD_CAST
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_xmlSearchNs
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rax), %rsi
	movq	-40(%rbp), %rdx
	movl	%r14d, %edi
	callq	_get_encoder
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movl	%r14d, %edi
	movq	%rbx, %rsi
	jmp	LBB0_4
LBB0_3:
	movq	%r15, %rdi
	callq	_xmlStrlen
	movl	%r14d, %edi
	movq	%r15, %rsi
LBB0_4:
	movl	%eax, %edx
	callq	_get_encoder_ex
	movq	%rax, %rbx
LBB0_5:
	movq	-40(%rbp), %rdi
	callq	_efree
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_efree
LBB0_7:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	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	_get_encoder_from_prefix        ; -- Begin function get_encoder_from_prefix
	.p2align	2
_get_encoder_from_prefix:               ; @get_encoder_from_prefix
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x21, x1
	mov	x19, x0
	mov	x1, sp
	add	x2, sp, #8
	mov	x0, x20
	bl	_parse_namespace
	ldr	w22, [x21]
	ldr	x0, [sp, #8]
	bl	_BAD_CAST
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	bl	_xmlSearchNs
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x1, [x0]
	ldr	x2, [sp]
	mov	x0, x19
	bl	_get_encoder
	mov	x20, x0
	cbnz	x0, LBB0_5
; %bb.2:
	ldr	x20, [sp]
	mov	x0, x20
	bl	_strlen
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	bl	_xmlStrlen
LBB0_4:
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_get_encoder_ex
	mov	x20, x0
LBB0_5:
	ldr	x0, [sp]
	bl	_efree
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_efree
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
