	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_base64_decode                  ## -- Begin function base64_decode
	.p2align	4, 0x90
_base64_decode:                         ## @base64_decode
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movl	$1, %r15d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-4(%rsi,%r15,4), %edi
	andl	$127, %edi
	callq	*%r13
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	andl	$127, %r14d
	movl	%r14d, %edi
	callq	*%r13
	movl	%eax, %ebx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	andl	$127, %edi
	callq	*%r13
	movl	%eax, %r14d
	andl	$127, %r12d
	movl	%r12d, %edi
	callq	*%r13
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	andl	$63, %edx
	movl	%ebx, %ecx
	shrl	$4, %ecx
	andl	$3, %ecx
	leal	(%rcx,%rdx,4), %edx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%edx, (%rcx)
	shll	$4, %ebx
	movzbl	%bl, %edi
	movl	%r14d, %edx
	shrl	$2, %edx
	andl	$15, %edx
	orl	%edi, %edx
	movl	%edx, 4(%rcx)
	shll	$6, %r14d
	movzbl	%r14b, %edx
	andl	$63, %eax
	orl	%edx, %eax
	movl	%eax, 8(%rcx)
	leaq	4(%r15), %rax
	addq	$3, %r15
	addq	$12, %rcx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rdx, %r15
	movq	%rax, %r15
	jae	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	movl	$0, %r14d
	cmpq	%rdx, %r15
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rsi,%r15,4), %r14d
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%r15), %rax
	cmpq	%rdx, %rax
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rsi,%r15,4), %edi
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leaq	2(%r15), %rax
	xorl	%r12d, %r12d
	cmpq	%rdx, %rax
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rsi,%r15,4), %r12d
	jmp	LBB0_9
LBB0_10:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$61, (%rsi,%rax,4)
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	incq	%rax
	cmpq	%rax, %rdx
	jne	LBB0_11
## %bb.13:
	movq	%rdx, %rax
	jmp	LBB0_14
LBB0_1:
	xorl	%eax, %eax
LBB0_14:
	addq	%rax, %rax
	leaq	(%rax,%rax,2), %rax
	shrq	$3, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	_base64_decode                  ; -- Begin function base64_decode
	.p2align	2
_base64_decode:                         ; @base64_decode
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x2, LBB0_15
; %bb.1:
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	add	x26, x1, #8
	mov	w27, #3
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w28, [x26, #4]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldur	w8, [x26, #-8]
	and	w0, w8, #0x7f
	blr	x22
	mov	x23, x0
	and	w0, w24, #0x7f
	blr	x22
	mov	x24, x0
	and	w0, w25, #0x7f
	blr	x22
	mov	x25, x0
	and	w0, w28, #0x7f
	blr	x22
	ubfiz	w8, w23, #2, #6
	bfxil	w8, w24, #4, #2
	ubfiz	w9, w24, #4, #4
	bfxil	w9, w25, #2, #4
	and	w10, w0, #0x3f
	bfi	w10, w25, #6, #2
	add	x11, x27, #1
	add	x27, x27, #4
	stp	w8, w9, [x21]
	str	w10, [x21, #8]
	add	x26, x26, #16
	add	x21, x21, #12
	cmp	x11, x19
	b.hs	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x8, x27, #2
	cmp	x8, x19
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w24, [x26, #-4]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w24, #0
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x8, x27, #1
	cmp	x8, x19
	b.hs	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w25, [x26]
	cmp	x27, x19
	b.lo	LBB0_2
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #0
	cmp	x27, x19
	b.lo	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w28, #0
	b	LBB0_3
LBB0_11:
	mov	x8, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x20, x8, lsl #2]
	cmp	w9, #61
	b.eq	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x8, x8, #1
	cmp	x19, x8
	b.ne	LBB0_12
; %bb.14:
	mov	x8, x19
	b	LBB0_16
LBB0_15:
	mov	x8, #0
LBB0_16:
	add	x8, x8, x8, lsl #1
	ubfx	x0, x8, #2, #61
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
