	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_base64_totext              ## -- Begin function isc_base64_totext
	.p2align	4, 0x90
_isc_base64_totext:                     ## @isc_base64_totext
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	cmpl	$5, %esi
	movl	$4, %r15d
	cmovgel	%esi, %r15d
	leaq	-45(%rbp), %rdi
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	movl	$5, %edx
	callq	_memset
	movl	(%r12), %ebx
	cmpl	$3, %ebx
	jge	LBB0_1
LBB0_6:
	cmpl	$1, %ebx
	je	LBB0_9
## %bb.7:
	cmpl	$2, %ebx
	jne	LBB0_11
## %bb.8:
	movq	_base64@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r12), %rcx
	movl	(%rcx), %edx
	shrl	$2, %edx
	andl	$63, %edx
	movb	(%rax,%rdx), %dl
	movb	%dl, -45(%rbp)
	movl	(%rcx), %edx
	movl	4(%rcx), %ecx
	shll	$4, %edx
	andl	$48, %edx
	movl	%ecx, %esi
	shrl	$4, %esi
	andl	$15, %esi
	orq	%rdx, %rsi
	movb	(%rax,%rsi), %dl
	movb	%dl, -44(%rbp)
	andl	$15, %ecx
	movb	(%rax,%rcx,4), %cl
	movl	$3, %eax
	movl	$2, %edx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_str_totext
	movl	%eax, %edi
	callq	_RETERR
	movl	(%r12), %ebx
	xorl	%r13d, %r13d
	cmpl	$2, %ebx
	jle	LBB0_6
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_base64@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r12), %rcx
	movl	(%rcx), %edx
	shrl	$2, %edx
	andl	$63, %edx
	movzbl	(%rax,%rdx), %edx
	movb	%dl, -45(%rbp)
	movl	(%rcx), %esi
	movl	4(%rcx), %edx
	shll	$4, %esi
	andl	$48, %esi
	movl	%edx, %edi
	shrl	$4, %edi
	andl	$15, %edi
	orq	%rsi, %rdi
	movzbl	(%rax,%rdi), %ebx
	movb	%bl, -44(%rbp)
	andl	$15, %edx
	movl	8(%rcx), %ecx
	movl	%ecx, %esi
	shrl	$6, %esi
	andl	$3, %esi
	leaq	(%rsi,%rdx,4), %rdx
	movzbl	(%rax,%rdx), %edx
	movb	%dl, -43(%rbp)
	andl	$63, %ecx
	movzbl	(%rax,%rcx), %eax
	movb	%al, -42(%rbp)
	leaq	-45(%rbp), %rdi
	movq	%r14, %rsi
	callq	_str_totext
	movl	%eax, %edi
	callq	_RETERR
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_isc_region_consume
	movl	(%r12), %ebx
	testl	%ebx, %ebx
	je	LBB0_11
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	8(,%r13,4), %eax
	cmpl	%r15d, %eax
	jge	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	%r13d
	cmpl	$2, %ebx
	jg	LBB0_1
	jmp	LBB0_6
LBB0_9:
	movq	_base64@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r12), %rcx
	movl	(%rcx), %edx
	shrl	$2, %edx
	andl	$63, %edx
	movb	(%rax,%rdx), %dl
	movb	%dl, -45(%rbp)
	movl	(%rcx), %ecx
	shll	$4, %ecx
	andl	$48, %ecx
	movb	(%rax,%rcx), %al
	movb	%al, -44(%rbp)
	movl	$2, %eax
	movb	$61, %cl
	movl	$3, %edx
LBB0_10:
	movb	%cl, -45(%rbp,%rdx)
	movb	$61, -45(%rbp,%rax)
	leaq	-45(%rbp), %rdi
	movq	%r14, %rsi
	callq	_str_totext
	movl	%eax, %edi
	callq	_RETERR
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_isc_region_consume
LBB0_11:
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_base64,8,3                     ## @base64
	.comm	_ISC_R_SUCCESS,4,2              ## @ISC_R_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_base64_totext              ; -- Begin function isc_base64_totext
	.p2align	2
_isc_base64_totext:                     ; @isc_base64_totext
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x3
	mov	x22, x2
	mov	x19, x0
	mov	w8, #4
	cmp	w1, #4
	csel	w23, w1, w8, gt
	add	x0, sp, #11
	mov	w1, #0
	mov	w2, #5
	bl	_memset
	ldr	w21, [x19]
	cmp	w21, #3
	b.lt	LBB0_6
; %bb.1:
	mov	w25, #0
Lloh0:
	adrp	x24, _base64@GOTPAGE
Lloh1:
	ldr	x24, [x24, _base64@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x20
	bl	_str_totext
	bl	_RETERR
	mov	w25, #0
	ldr	w21, [x19]
	cmp	w21, #2
	b.le	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	x9, [x19, #8]
	ldp	w10, w11, [x9]
	ubfx	x10, x10, #2, #6
	ldrb	w10, [x8, x10]
	strb	w10, [sp, #11]
	ldr	w10, [x9]
	lsl	w10, w10, #4
	and	x10, x10, #0x30
	bfxil	x10, x11, #4, #4
	ldrb	w10, [x8, x10]
	strb	w10, [sp, #12]
	lsl	w10, w11, #2
	and	x10, x10, #0x3c
	ldr	w9, [x9, #8]
	bfxil	x10, x9, #6, #2
	ldrb	w10, [x8, x10]
	strb	w10, [sp, #13]
	and	x9, x9, #0x3f
	ldrb	w8, [x8, x9]
	strb	w8, [sp, #14]
	add	x0, sp, #11
	mov	x1, x20
	bl	_str_totext
	bl	_RETERR
	mov	x0, x19
	mov	w1, #3
	bl	_isc_region_consume
	ldr	w21, [x19]
	cbz	w21, LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	w8, w25, #2
	add	w8, w8, #8
	cmp	w8, w23
	b.ge	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w25, w25, #1
	cmp	w21, #2
	b.gt	LBB0_3
LBB0_6:
	cmp	w21, #1
	b.eq	LBB0_9
; %bb.7:
	cmp	w21, #2
	b.ne	LBB0_11
; %bb.8:
Lloh2:
	adrp	x8, _base64@GOTPAGE
Lloh3:
	ldr	x8, [x8, _base64@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldp	w10, w11, [x9]
	ubfx	x10, x10, #2, #6
	ldrb	w10, [x8, x10]
	strb	w10, [sp, #11]
	ldr	w9, [x9]
	lsl	w9, w9, #4
	and	x9, x9, #0x30
	bfxil	x9, x11, #4, #4
	ldrb	w9, [x8, x9]
	strb	w9, [sp, #12]
	lsl	w9, w11, #2
	and	x9, x9, #0x3c
	ldrb	w8, [x8, x9]
	mov	w9, #3
	mov	w10, #2
	b	LBB0_10
LBB0_9:
Lloh5:
	adrp	x8, _base64@GOTPAGE
Lloh6:
	ldr	x8, [x8, _base64@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldr	w10, [x9]
	ubfx	x10, x10, #2, #6
	ldrb	w10, [x8, x10]
	strb	w10, [sp, #11]
	ldr	w9, [x9]
	lsl	w9, w9, #4
	and	x9, x9, #0x30
	ldrb	w8, [x8, x9]
	strb	w8, [sp, #12]
	mov	w8, #61
	mov	w9, #2
	mov	w10, #3
LBB0_10:
	add	x11, sp, #11
	strb	w8, [x11, x10]
	mov	w8, #61
	strb	w8, [x11, x9]
	add	x0, sp, #11
	mov	x1, x20
	bl	_str_totext
	bl	_RETERR
	mov	x0, x19
	mov	x1, x21
	bl	_isc_region_consume
LBB0_11:
Lloh8:
	adrp	x8, _ISC_R_SUCCESS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_base64,8,3                     ; @base64
	.comm	_ISC_R_SUCCESS,4,2              ; @ISC_R_SUCCESS
.subsections_via_symbols
