	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b64_ntop                       ## -- Begin function b64_ntop
	.p2align	4, 0x90
_b64_ntop:                              ## @b64_ntop
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	cmpq	$3, %rsi
	jb	LBB0_1
## %bb.2:
	xorl	%r11d, %r11d
	movq	_Base64@GOTPCREL(%rip), %r9
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	4(%r11), %r8
	cmpq	%rcx, %r8
	ja	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rdi), %ebx
	movl	(%rdi), %r14d
	movl	4(%rdi), %r15d
	movl	%ebx, %r10d
	andl	$63, %r10d
	movl	%r15d, %eax
	andl	$15, %eax
	sarl	$6, %ebx
	leal	(%rbx,%rax,4), %r12d
	movl	%r14d, %ebx
	shll	$4, %ebx
	andl	$48, %ebx
	sarl	$4, %r15d
	addl	%ebx, %r15d
	sarl	$2, %r14d
	addq	$-3, %rsi
	addq	$12, %rdi
	movq	(%r9), %rbx
	movslq	%r14d, %rax
	movzbl	(%rbx,%rax), %eax
	movb	%al, (%rdx,%r11)
	movq	(%r9), %rax
	movslq	%r15d, %rbx
	movzbl	(%rax,%rbx), %eax
	movb	%al, 1(%rdx,%r11)
	movq	(%r9), %rax
	movslq	%r12d, %rbx
	movzbl	(%rax,%rbx), %eax
	movb	%al, 2(%rdx,%r11)
	movq	(%r9), %rax
	movzbl	(%rax,%r10), %eax
	movb	%al, 3(%rdx,%r11)
	movq	%r8, %r11
	cmpq	$2, %rsi
	ja	LBB0_3
## %bb.6:
	testq	%rsi, %rsi
	je	LBB0_7
LBB0_8:
	movl	$0, -44(%rbp)
	movq	$0, -52(%rbp)
	xorl	%r10d, %r10d
	cmpq	$8, %rsi
	jb	LBB0_19
## %bb.9:
	leaq	-52(%rbp), %rax
	subq	%rdi, %rax
	cmpq	$32, %rax
	jb	LBB0_19
## %bb.10:
	movq	%rsi, %r10
	andq	$-8, %r10
	leaq	-8(%r10), %rax
	movq	%rax, %r11
	shrq	$3, %r11
	incq	%r11
	movl	%r11d, %r9d
	andl	$3, %r9d
	cmpq	$24, %rax
	jae	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_1:
	xorl	%r8d, %r8d
	testq	%rsi, %rsi
	jne	LBB0_8
LBB0_7:
	movq	%r8, %r9
	jmp	LBB0_26
LBB0_4:
	movl	$-1, %eax
	jmp	LBB0_28
LBB0_12:
	andq	$-4, %r11
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rdi,%rax,4), %xmm0
	movups	16(%rdi,%rax,4), %xmm1
	movups	%xmm0, -52(%rbp,%rax,4)
	movups	%xmm1, -36(%rbp,%rax,4)
	movups	32(%rdi,%rax,4), %xmm0
	movups	48(%rdi,%rax,4), %xmm1
	movups	%xmm0, -20(%rbp,%rax,4)
	movups	%xmm1, -4(%rbp,%rax,4)
	movups	64(%rdi,%rax,4), %xmm0
	movups	80(%rdi,%rax,4), %xmm1
	movups	%xmm0, 12(%rbp,%rax,4)
	movups	%xmm1, 28(%rbp,%rax,4)
	movups	96(%rdi,%rax,4), %xmm0
	movups	112(%rdi,%rax,4), %xmm1
	movups	%xmm0, 44(%rbp,%rax,4)
	movups	%xmm1, 60(%rbp,%rax,4)
	addq	$32, %rax
	addq	$-4, %r11
	jne	LBB0_13
LBB0_14:
	testq	%r9, %r9
	je	LBB0_17
## %bb.15:
	leaq	-36(,%rax,4), %r11
	addq	%rbp, %r11
	leaq	(%rdi,%rax,4), %rax
	addq	$16, %rax
	shlq	$5, %r9
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rax,%rbx), %xmm0
	movups	(%rax,%rbx), %xmm1
	movups	%xmm0, -16(%r11,%rbx)
	movups	%xmm1, (%r11,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r9
	jne	LBB0_16
LBB0_17:
	cmpq	%r10, %rsi
	je	LBB0_24
## %bb.18:
	leaq	(%rdi,%r10,4), %rdi
LBB0_19:
	movq	%r10, %r9
	notq	%r9
	addq	%rsi, %r9
	movq	%rsi, %rax
	andq	$3, %rax
	je	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %ebx
	addq	$4, %rdi
	movl	%ebx, -52(%rbp,%r10,4)
	incq	%r10
	decq	%rax
	jne	LBB0_20
LBB0_21:
	cmpq	$3, %r9
	jb	LBB0_24
## %bb.22:
	movq	%rsi, %r9
	subq	%r10, %r9
	leaq	-40(,%r10,4), %r10
	addq	%rbp, %r10
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rax,4), %ebx
	movl	%ebx, -12(%r10,%rax,4)
	movl	4(%rdi,%rax,4), %ebx
	movl	%ebx, -8(%r10,%rax,4)
	movl	8(%rdi,%rax,4), %ebx
	movl	%ebx, -4(%r10,%rax,4)
	movl	12(%rdi,%rax,4), %ebx
	movl	%ebx, (%r10,%rax,4)
	addq	$4, %rax
	cmpq	%rax, %r9
	jne	LBB0_23
LBB0_24:
	leaq	4(%r8), %r9
	movl	$-1, %eax
	cmpq	%rcx, %r9
	ja	LBB0_28
## %bb.25:
	movl	-52(%rbp), %r10d
	movl	-48(%rbp), %ebx
	movl	%ebx, %edi
	andl	$15, %edi
	movl	-44(%rbp), %eax
	sarl	$6, %eax
	leal	(%rax,%rdi,4), %r11d
	movl	%r10d, %edi
	shll	$4, %edi
	andl	$48, %edi
	sarl	$4, %ebx
	addl	%edi, %ebx
	sarl	$2, %r10d
	movq	_Base64@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movslq	%r10d, %rdi
	movb	(%rax,%rdi), %al
	movq	%r8, %rdi
	orq	$1, %rdi
	movb	%al, (%rdx,%r8)
	movq	(%r14), %rax
	movslq	%ebx, %rbx
	movb	(%rax,%rbx), %al
	movq	%r8, %rbx
	orq	$2, %rbx
	movb	%al, (%rdx,%rdi)
	movslq	%r11d, %rax
	addq	(%r14), %rax
	cmpq	$1, %rsi
	movq	_Pad64@GOTPCREL(%rip), %rsi
	cmoveq	%rsi, %rax
	movb	(%rax), %al
	movb	%al, (%rdx,%rbx)
	orq	$3, %r8
	movb	(%rsi), %al
	movb	%al, (%rdx,%r8)
LBB0_26:
	movl	$-1, %eax
	cmpq	%rcx, %r9
	jae	LBB0_28
## %bb.27:
	movb	$0, (%rdx,%r9)
	movl	%r9d, %eax
LBB0_28:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_30
## %bb.29:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_Base64,8,3                     ## @Base64
	.comm	_Pad64,1,0                      ## @Pad64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b64_ntop                       ; -- Begin function b64_ntop
	.p2align	2
_b64_ntop:                              ; @b64_ntop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	mov	x8, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-8]
	cmp	x1, #3
	b.lo	LBB0_10
; %bb.1:
	mov	x11, #0
	add	x9, x2, #1
Lloh3:
	adrp	x10, _Base64@GOTPAGE
Lloh4:
	ldr	x10, [x10, _Base64@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x11, #4
	cmp	x0, x3
	b.hi	LBB0_18
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w13, w12, [x8, #4]
	ldr	w14, [x8], #12
	and	x15, x12, #0x3f
	ubfiz	w16, w13, #2, #4
	add	w12, w16, w12, asr #6
	ubfiz	w16, w14, #4, #2
	add	w13, w16, w13, asr #4
	asr	w14, w14, #2
	ldr	x16, [x10]
	ldrb	w14, [x16, w14, sxtw]
	sub	x1, x1, #3
	add	x11, x9, x11
	sturb	w14, [x11, #-1]
	ldr	x14, [x10]
	ldrb	w13, [x14, w13, sxtw]
	strb	w13, [x11]
	ldr	x13, [x10]
	ldrb	w12, [x13, w12, sxtw]
	strb	w12, [x11, #1]
	ldr	x12, [x10]
	ldrb	w12, [x12, x15]
	strb	w12, [x11, #2]
	mov	x11, x0
	cmp	x1, #2
	b.hi	LBB0_2
; %bb.4:
	cbz	x1, LBB0_11
LBB0_5:
	mov	x10, #0
	str	wzr, [sp, #16]
	add	x11, sp, #8
	str	xzr, [sp, #8]
	cmp	x1, #16
	b.lo	LBB0_12
; %bb.6:
	sub	x9, x11, x8
	cmp	x9, #64
	b.lo	LBB0_12
; %bb.7:
	and	x10, x1, #0xfffffffffffffff0
	add	x9, x8, x10, lsl #2
	add	x12, sp, #8
	add	x12, x12, #32
	add	x8, x8, #32
	mov	x13, x10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x8, #-32]
	ldp	q2, q3, [x8], #64
	stp	q0, q1, [x12, #-32]
	stp	q2, q3, [x12], #64
	subs	x13, x13, #16
	b.ne	LBB0_8
; %bb.9:
	cmp	x1, x10
	b.ne	LBB0_13
	b	LBB0_15
LBB0_10:
	mov	x0, #0
	cbnz	x1, LBB0_5
LBB0_11:
	cmp	x0, x3
	b.hs	LBB0_18
	b	LBB0_17
LBB0_12:
	mov	x9, x8
LBB0_13:
	sub	x8, x1, x10
	add	x10, x11, x10, lsl #2
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9], #4
	str	w11, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_14
LBB0_15:
	add	x8, x0, #4
	cmp	x8, x3
	b.hi	LBB0_18
; %bb.16:
	ldp	w10, w9, [sp, #8]
	ubfiz	w11, w9, #2, #4
	ldr	w12, [sp, #16]
	add	w11, w11, w12, asr #6
	ubfiz	w12, w10, #4, #2
	add	w9, w12, w9, asr #4
	asr	w10, w10, #2
Lloh5:
	adrp	x12, _Base64@GOTPAGE
Lloh6:
	ldr	x12, [x12, _Base64@GOTPAGEOFF]
	ldr	x13, [x12]
	ldrb	w10, [x13, w10, sxtw]
	orr	x13, x0, #0x1
	strb	w10, [x2, x0]
	ldr	x10, [x12]
	ldrb	w9, [x10, w9, sxtw]
	orr	x10, x0, #0x2
	strb	w9, [x2, x13]
	ldr	x9, [x12]
Lloh7:
	adrp	x12, _Pad64@GOTPAGE
Lloh8:
	ldr	x12, [x12, _Pad64@GOTPAGEOFF]
	add	x9, x9, w11, sxtw
	cmp	x1, #1
	csel	x9, x12, x9, eq
	ldrb	w9, [x9]
	strb	w9, [x2, x10]
	orr	x9, x0, #0x3
	ldrb	w10, [x12]
	strb	w10, [x2, x9]
	mov	x0, x8
	cmp	x0, x3
	b.hs	LBB0_18
LBB0_17:
	strb	wzr, [x2, x0]
	b	LBB0_19
LBB0_18:
	mov	w0, #-1
LBB0_19:
	ldur	x8, [x29, #-8]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_Base64,8,3                     ; @Base64
	.comm	_Pad64,1,0                      ; @Pad64
.subsections_via_symbols
