	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpq	$3, %rsi
	jb	LBB0_1
## %bb.2:
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	(%rbx), %r15d
	movl	4(%rbx), %eax
	movl	8(%rbx), %r14d
	movl	%r15d, %ecx
	shll	$4, %ecx
	andl	$48, %ecx
	movl	%eax, %r12d
	sarl	$4, %r12d
	addl	%ecx, %r12d
	andl	$15, %eax
	movl	%r14d, %ecx
	sarl	$6, %ecx
	leal	(%rcx,%rax,4), %r13d
	xorl	%edi, %edi
	cmpl	$256, %r15d                     ## imm = 0x100
	setl	%dil
	callq	_Assert
	xorl	%edi, %edi
	cmpl	$64, %r12d
	setl	%dil
	callq	_Assert
	xorl	%edi, %edi
	movl	%r13d, -92(%rbp)                ## 4-byte Spill
	cmpl	$64, %r13d
	setl	%dil
	callq	_Assert
	movl	$1, %edi
	callq	_Assert
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	leaq	4(%rdi), %r8
	cmpq	-80(%rbp), %r8                  ## 8-byte Folded Reload
	ja	LBB0_28
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	sarl	$2, %r15d
	andl	$63, %r14d
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	addq	$-3, %rsi
	addq	$12, %rbx
	movq	_Base64@GOTPCREL(%rip), %r9
	movq	(%r9), %rax
	movslq	%r15d, %rcx
	movzbl	(%rax,%rcx), %eax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movb	%al, (%rdx,%rdi)
	movq	(%r9), %rax
	movslq	%r12d, %rcx
	movzbl	(%rax,%rcx), %eax
	movb	%al, 1(%rdx,%rdi)
	movq	(%r9), %rax
	movslq	-92(%rbp), %rcx                 ## 4-byte Folded Reload
	movzbl	(%rax,%rcx), %eax
	movb	%al, 2(%rdx,%rdi)
	movq	(%r9), %rax
	movzbl	(%rax,%r14), %eax
	movb	%al, 3(%rdx,%rdi)
	movq	%r8, %rax
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	cmpq	$2, %rsi
	ja	LBB0_3
## %bb.5:
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	testq	%r12, %r12
	jne	LBB0_8
LBB0_7:
	movq	%r8, %r9
	jmp	LBB0_26
LBB0_1:
	xorl	%r8d, %r8d
	testq	%r12, %r12
	je	LBB0_7
LBB0_8:
	movl	$0, -52(%rbp)
	movq	$0, -60(%rbp)
	xorl	%eax, %eax
	cmpq	$8, %r12
	jb	LBB0_19
## %bb.9:
	leaq	-60(%rbp), %rcx
	subq	%rbx, %rcx
	cmpq	$32, %rcx
	jb	LBB0_19
## %bb.10:
	movq	%r12, %rax
	andq	$-8, %rax
	leaq	-8(%rax), %rsi
	movq	%rsi, %rdx
	shrq	$3, %rdx
	incq	%rdx
	movl	%edx, %ecx
	andl	$3, %ecx
	cmpq	$24, %rsi
	jae	LBB0_12
## %bb.11:
	xorl	%esi, %esi
	jmp	LBB0_14
LBB0_28:
	movl	%r15d, -60(%rbp)
	movl	$-1, %eax
	jmp	LBB0_29
LBB0_12:
	andq	$-4, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rsi,4), %xmm0
	movups	16(%rbx,%rsi,4), %xmm1
	movups	%xmm0, -60(%rbp,%rsi,4)
	movups	%xmm1, -44(%rbp,%rsi,4)
	movups	32(%rbx,%rsi,4), %xmm0
	movups	48(%rbx,%rsi,4), %xmm1
	movups	%xmm0, -28(%rbp,%rsi,4)
	movups	%xmm1, -12(%rbp,%rsi,4)
	movups	64(%rbx,%rsi,4), %xmm0
	movups	80(%rbx,%rsi,4), %xmm1
	movups	%xmm0, 4(%rbp,%rsi,4)
	movups	%xmm1, 20(%rbp,%rsi,4)
	movups	96(%rbx,%rsi,4), %xmm0
	movups	112(%rbx,%rsi,4), %xmm1
	movups	%xmm0, 36(%rbp,%rsi,4)
	movups	%xmm1, 52(%rbp,%rsi,4)
	addq	$32, %rsi
	addq	$-4, %rdx
	jne	LBB0_13
LBB0_14:
	testq	%rcx, %rcx
	je	LBB0_17
## %bb.15:
	leaq	-44(,%rsi,4), %rdx
	addq	%rbp, %rdx
	leaq	(%rbx,%rsi,4), %rsi
	addq	$16, %rsi
	shlq	$5, %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rsi,%rdi), %xmm0
	movups	(%rsi,%rdi), %xmm1
	movups	%xmm0, -16(%rdx,%rdi)
	movups	%xmm1, (%rdx,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %rcx
	jne	LBB0_16
LBB0_17:
	cmpq	%rax, %r12
	je	LBB0_24
## %bb.18:
	leaq	(%rbx,%rax,4), %rbx
LBB0_19:
	movq	%rax, %rcx
	notq	%rcx
	addq	%r12, %rcx
	movq	%r12, %rdx
	andq	$3, %rdx
	je	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	addq	$4, %rbx
	movl	%esi, -60(%rbp,%rax,4)
	incq	%rax
	decq	%rdx
	jne	LBB0_20
LBB0_21:
	cmpq	$3, %rcx
	jb	LBB0_24
## %bb.22:
	movq	%r12, %rcx
	subq	%rax, %rcx
	leaq	-48(,%rax,4), %rax
	addq	%rbp, %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rdx,4), %esi
	movl	%esi, -12(%rax,%rdx,4)
	movl	4(%rbx,%rdx,4), %esi
	movl	%esi, -8(%rax,%rdx,4)
	movl	8(%rbx,%rdx,4), %esi
	movl	%esi, -4(%rax,%rdx,4)
	movl	12(%rbx,%rdx,4), %esi
	movl	%esi, (%rax,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_23
LBB0_24:
	movl	-60(%rbp), %r14d
	movl	-56(%rbp), %eax
	movl	-52(%rbp), %ecx
	sarl	$6, %ecx
	movl	%r14d, %edx
	shll	$4, %edx
	andl	$48, %edx
	movl	%eax, %ebx
	sarl	$4, %ebx
	addl	%edx, %ebx
	andl	$15, %eax
	leal	(%rcx,%rax,4), %r15d
	xorl	%edi, %edi
	cmpl	$256, %r14d                     ## imm = 0x100
	setl	%dil
	movq	%r8, %r13
	callq	_Assert
	xorl	%edi, %edi
	cmpl	$64, %ebx
	setl	%dil
	callq	_Assert
	xorl	%edi, %edi
	cmpl	$64, %r15d
	setl	%dil
	callq	_Assert
	leaq	4(%r13), %r9
	movl	$-1, %eax
	cmpq	-80(%rbp), %r9                  ## 8-byte Folded Reload
	ja	LBB0_29
## %bb.25:
	movq	%r13, %rcx
	sarl	$2, %r14d
	movq	_Base64@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movslq	%r14d, %rsi
	movb	(%rdx,%rsi), %dl
	movq	%r13, %rsi
	orq	$1, %rsi
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movb	%dl, (%r8,%r13)
	movq	(%rax), %rdx
	movslq	%ebx, %rdi
	movb	(%rdx,%rdi), %dl
	movq	%r13, %rdi
	orq	$2, %rdi
	movb	%dl, (%r8,%rsi)
	movslq	%r15d, %rdx
	addq	(%rax), %rdx
	cmpq	$1, %r12
	movq	_Pad64@GOTPCREL(%rip), %rax
	cmoveq	%rax, %rdx
	movb	(%rdx), %dl
	movb	%dl, (%r8,%rdi)
	orq	$3, %rcx
	movb	(%rax), %al
	movb	%al, (%r8,%rcx)
LBB0_26:
	movl	$-1, %eax
	cmpq	-80(%rbp), %r9                  ## 8-byte Folded Reload
	jae	LBB0_29
## %bb.27:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%rax,%r9)
	movl	%r9d, %eax
LBB0_29:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_31
## %bb.30:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	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, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	str	x3, [sp, #16]                   ; 8-byte Folded Spill
	mov	x24, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	cmp	x1, #3
	b.lo	LBB0_5
; %bb.1:
	mov	x26, #0
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	add	x24, x24, #1
Lloh3:
	adrp	x25, _Base64@GOTPAGE
Lloh4:
	ldr	x25, [x25, _Base64@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w19, w8, [x23]
	ldr	w20, [x23, #8]
	ubfiz	w9, w19, #4, #2
	add	w28, w9, w8, asr #4
	ubfiz	w8, w8, #2, #4
	add	w27, w8, w20, asr #6
	cmp	w19, #256
	cset	w0, lt
	bl	_Assert
	cmp	w28, #64
	cset	w0, lt
	bl	_Assert
	cmp	w27, #64
	cset	w0, lt
	bl	_Assert
	mov	w0, #1
	bl	_Assert
	add	x22, x26, #4
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x22, x8
	b.hi	LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	asr	w8, w19, #2
	and	x9, x20, #0x3f
	ldr	x10, [x25]
	ldrb	w8, [x10, w8, sxtw]
	sub	x21, x21, #3
	add	x10, x24, x26
	sturb	w8, [x10, #-1]
	ldr	x8, [x25]
	ldrb	w8, [x8, w28, sxtw]
	add	x23, x23, #12
	strb	w8, [x10]
	ldr	x8, [x25]
	ldrb	w8, [x8, w27, sxtw]
	strb	w8, [x10, #1]
	ldr	x8, [x25]
	ldrb	w8, [x8, x9]
	strb	w8, [x10, #2]
	mov	x26, x22
	cmp	x21, #2
	b.hi	LBB0_2
; %bb.4:
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	cbnz	x21, LBB0_6
	b	LBB0_17
LBB0_5:
	mov	x22, #0
	cbz	x21, LBB0_17
LBB0_6:
	mov	x9, #0
	str	wzr, [sp, #32]
	add	x10, sp, #24
	str	xzr, [sp, #24]
	cmp	x21, #16
	b.lo	LBB0_12
; %bb.7:
	sub	x8, x10, x23
	cmp	x8, #64
	b.lo	LBB0_12
; %bb.8:
	and	x9, x21, #0xfffffffffffffff0
	add	x8, x23, x9, lsl #2
	add	x11, sp, #24
	add	x11, x11, #32
	add	x12, x23, #32
	mov	x13, x9
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #16
	b.ne	LBB0_9
; %bb.10:
	cmp	x21, x9
	b.ne	LBB0_13
	b	LBB0_15
LBB0_11:
	str	w19, [sp, #24]
	b	LBB0_19
LBB0_12:
	mov	x8, x23
LBB0_13:
	sub	x11, x21, x9
	add	x9, x10, x9, lsl #2
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8], #4
	str	w10, [x9], #4
	subs	x11, x11, #1
	b.ne	LBB0_14
LBB0_15:
	ldp	w23, w8, [sp, #24]
	ldr	w9, [sp, #32]
	ubfiz	w10, w23, #4, #2
	add	w20, w10, w8, asr #4
	ubfiz	w8, w8, #2, #4
	add	w19, w8, w9, asr #6
	cmp	w23, #256
	cset	w0, lt
	bl	_Assert
	cmp	w20, #64
	cset	w0, lt
	bl	_Assert
	cmp	w19, #64
	cset	w0, lt
	bl	_Assert
	add	x8, x22, #4
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x8, x9
	b.hi	LBB0_19
; %bb.16:
	asr	w9, w23, #2
Lloh5:
	adrp	x10, _Base64@GOTPAGE
Lloh6:
	ldr	x10, [x10, _Base64@GOTPAGEOFF]
	ldr	x11, [x10]
	ldrb	w9, [x11, w9, sxtw]
	orr	x11, x22, #0x1
	strb	w9, [x24, x22]
	ldr	x9, [x10]
	ldrb	w9, [x9, w20, sxtw]
	orr	x12, x22, #0x2
	strb	w9, [x24, x11]
	ldr	x9, [x10]
Lloh7:
	adrp	x10, _Pad64@GOTPAGE
Lloh8:
	ldr	x10, [x10, _Pad64@GOTPAGEOFF]
	add	x9, x9, w19, sxtw
	cmp	x21, #1
	csel	x9, x10, x9, eq
	ldrb	w9, [x9]
	strb	w9, [x24, x12]
	orr	x9, x22, #0x3
	ldrb	w10, [x10]
	strb	w10, [x24, x9]
	mov	x22, x8
LBB0_17:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x22, x8
	b.hs	LBB0_19
; %bb.18:
	strb	wzr, [x24, x22]
	b	LBB0_20
LBB0_19:
	mov	w22, #-1
LBB0_20:
	ldr	x8, [sp, #40]
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_22
; %bb.21:
	mov	x0, x22
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_22:
	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
