	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	callq	_strlen
	movl	%eax, %r12d
	cmpb	$0, _base64_decode.tbl_symbols64_initialized(%rip)
	jne	LBB0_5
## %bb.1:
	leaq	_base64_decode.tbl_symbols64(%rip), %rbx
	movq	%rbx, %rdi
	movl	$255, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	_symbols64@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rax,%rcx,8), %rdx
	movb	%cl, (%rdx,%rbx)
	leaq	1(%rcx), %rdx
	cmpq	$65, %rdx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	8(%rax,%rcx,8), %rsi
	movb	%dl, (%rsi,%rbx)
	movslq	16(%rax,%rcx,8), %rsi
	leal	1(%rdx), %edi
	movb	%dil, (%rsi,%rbx)
	movslq	24(%rax,%rcx,8), %rcx
	leal	2(%rdx), %esi
	movb	%sil, (%rcx,%rbx)
	addq	$3, %rdx
	movq	%rdx, %rcx
	jmp	LBB0_2
LBB0_4:
	movb	$1, _base64_decode.tbl_symbols64_initialized(%rip)
LBB0_5:
	movl	$-2, %r13d
	testb	$3, %r12b
	je	LBB0_7
LBB0_6:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	testl	%r12d, %r12d
	jle	LBB0_21
## %bb.8:
	leaq	_base64_decode.tbl_symbols64(%rip), %rax
	xorl	%r15d, %r15d
	xorl	%r8d, %r8d
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14,%r15), %ecx
	movsbl	(%rcx,%rax), %ecx
	testl	%ecx, %ecx
	js	LBB0_22
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	$-4, %r13d
	cmpb	$64, %cl
	je	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movzbl	1(%r14,%r15), %edx
	movsbl	(%rdx,%rax), %edx
	testl	%edx, %edx
	js	LBB0_22
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$64, %dl
	je	LBB0_6
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movzbl	2(%r14,%r15), %esi
	movsbl	(%rsi,%rax), %esi
	testl	%esi, %esi
	js	LBB0_22
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	shll	$6, %ecx
	orl	%edx, %ecx
	movzbl	3(%r14,%r15), %edx
	movzbl	(%rdx,%rax), %ebx
	cmpb	$64, %sil
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$64, %bl
	jne	LBB0_26
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	shll	$12, %ecx
	movl	$1, %edx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	$-3, %r13d
	testb	%bl, %bl
	js	LBB0_6
## %bb.18:                              ##   in Loop: Header=BB0_9 Depth=1
	shll	$12, %ecx
	shll	$6, %esi
	orl	%ecx, %esi
	xorl	%edx, %edx
	cmpb	$64, %bl
	movzbl	%bl, %ecx
	movl	$0, %edi
	cmovel	%edi, %ecx
	sete	%dl
	xorl	$3, %edx
	movsbl	%cl, %ecx
	orl	%esi, %ecx
LBB0_19:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%ecx, %esi
	rolw	$8, %si
	movw	%si, -42(%rbp)
	shrl	$16, %ecx
	movb	%cl, -43(%rbp)
	leal	(%rdx,%r8), %r13d
	cmpl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	jg	LBB0_25
## %bb.20:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%r8d, %edi
	addq	-56(%rbp), %rdi                 ## 8-byte Folded Reload
	leaq	-43(%rbp), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%rax, %rbx
	callq	_memcpy
	movq	%rbx, %rax
	addq	$4, %r15
	movl	%r13d, %r8d
	cmpl	%r15d, %r12d
	jg	LBB0_9
	jmp	LBB0_6
LBB0_21:
	xorl	%r13d, %r13d
	jmp	LBB0_6
LBB0_22:
	movl	$-3, %r13d
	jmp	LBB0_6
LBB0_25:
	movl	$-1, %r13d
	jmp	LBB0_6
LBB0_26:
	movl	$-5, %r13d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_base64_decode.tbl_symbols64_initialized,1,2 ## @base64_decode.tbl_symbols64_initialized
.zerofill __DATA,__bss,_base64_decode.tbl_symbols64,256,4 ## @base64_decode.tbl_symbols64
	.comm	_symbols64,8,3                  ## @symbols64
.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:
	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	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_strlen
	mov	x22, x0
	adrp	x24, _base64_decode.tbl_symbols64_initialized@PAGE
	ldrb	w8, [x24, _base64_decode.tbl_symbols64_initialized@PAGEOFF]
	tbnz	w8, #0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x23, _base64_decode.tbl_symbols64@PAGE
Lloh1:
	add	x23, x23, _base64_decode.tbl_symbols64@PAGEOFF
	mov	x0, x23
	mov	w1, #255
	mov	w2, #256
	bl	_memset
	mov	x8, #0
Lloh2:
	adrp	x9, _symbols64@GOTPAGE
Lloh3:
	ldr	x9, [x9, _symbols64@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x10, x8, #3
	ldrsw	x10, [x9, x10]
	strb	w8, [x23, x10]
	add	x8, x8, #1
	cmp	x8, #65
	b.ne	LBB0_2
; %bb.3:
	mov	w8, #1
	strb	w8, [x24, _base64_decode.tbl_symbols64_initialized@PAGEOFF]
LBB0_4:
	tst	w22, #0x3
	b.eq	LBB0_7
; %bb.5:
	mov	w23, #-2
LBB0_6:
	mov	x0, x23
	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
LBB0_7:
	cmp	w22, #1
	b.lt	LBB0_21
; %bb.8:
	mov	x24, #0
	mov	w8, #0
	mov	w25, #2
Lloh5:
	adrp	x26, _base64_decode.tbl_symbols64@PAGE
Lloh6:
	add	x26, x26, _base64_decode.tbl_symbols64@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x21, x24]
	ldrsb	w9, [x26, x9]
	tbnz	w9, #31, LBB0_22
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w9, #64
	b.eq	LBB0_23
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x10, x21, x24
	ldrb	w10, [x10, #1]
	ldrsb	w10, [x26, x10]
	tbnz	w10, #31, LBB0_22
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w10, #64
	b.eq	LBB0_23
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x12, x21, x24
	ldrb	w11, [x12, #2]
	ldrsb	w11, [x26, x11]
	tbnz	w11, #31, LBB0_22
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	orr	w9, w10, w9, lsl #6
	ldrb	w10, [x12, #3]
	ldrsb	w10, [x26, x10]
	cmp	w11, #64
	b.ne	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w10, #64
	b.ne	LBB0_25
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	lsl	w9, w9, #12
	mov	w2, #1
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	tbnz	w10, #31, LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=1
	lsl	w9, w9, #12
	orr	w9, w9, w11, lsl #6
	cmp	w10, #64
	csel	w10, wzr, w10, eq
	cinc	w2, w25, ne
	orr	w9, w9, w10
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=1
	rev	w10, w9
	lsr	w10, w10, #16
	sturh	w10, [sp, #14]
	lsr	w9, w9, #16
	strb	w9, [sp, #13]
	add	w23, w2, w8
	cmp	w23, w19
	b.gt	LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x0, x20, w8, uxtw
	add	x1, sp, #13
	bl	_memcpy
	add	x24, x24, #4
	mov	x8, x23
	cmp	w22, w24
	b.gt	LBB0_9
	b	LBB0_6
LBB0_21:
	mov	w23, #0
	b	LBB0_6
LBB0_22:
	mov	w23, #-3
	b	LBB0_6
LBB0_23:
	mov	w23, #-4
	b	LBB0_6
LBB0_24:
	mov	w23, #-1
	b	LBB0_6
LBB0_25:
	mov	w23, #-5
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_base64_decode.tbl_symbols64_initialized,1,2 ; @base64_decode.tbl_symbols64_initialized
.zerofill __DATA,__bss,_base64_decode.tbl_symbols64,256,0 ; @base64_decode.tbl_symbols64
	.comm	_symbols64,8,3                  ; @symbols64
.subsections_via_symbols
