	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_base64
_decode_base64:                         ## @decode_base64
	.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	$1080, %rsp                     ## imm = 0x438
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_STREAM_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, -1104(%rbp)               ## 8-byte Spill
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_IStream_Seek
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_27
## %bb.1:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-1096(%rbp), %rdx
	xorl	%edi, %edi
	callq	_CreateStreamOnHGlobal
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_27
## %bb.2:
	movq	%r14, -1112(%rbp)               ## 8-byte Spill
	leaq	-1072(%rbp), %r13
	leaq	-1080(%rbp), %rcx
	movq	-1104(%rbp), %rdi               ## 8-byte Reload
	movq	%r13, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_IStream_Read
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_22
## %bb.3:
	movl	-1080(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_22
## %bb.4:
	xorl	%r12d, %r12d
	movq	_base64_decode_table@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	cltq
	leaq	(%rax,%rbp), %r15
	addq	$-1072, %r15                    ## imm = 0xFBD0
	movq	%r13, %rax
	movq	%r13, -1088(%rbp)               ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	incq	%r13
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r15, %r13
	jae	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movzbl	(%r13), %ebx
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpb	%al, %bl
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r14), %rax
	movzbl	(%r13), %ecx
	cmpl	$-1, (%rax,%rcx,4)
	je	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	cmpq	%r15, %r13
	je	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r14), %rax
	movzbl	(%r13), %ecx
	incq	%r13
	movzbl	(%rax,%rcx,4), %eax
	movslq	%r12d, %rcx
	movb	%al, -1076(%rbp,%rcx)
	cmpl	$3, %r12d
	je	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=2
	cmpl	$2, %r12d
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=2
	leal	1(%r12), %eax
	cmpl	$1, %r12d
	movl	%eax, %r12d
	jne	LBB0_6
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=2
	movzbl	-1076(%rbp), %ecx
	movzbl	-1075(%rbp), %eax
	shlb	$2, %cl
	shrb	$4, %al
	orb	%cl, %al
	movl	$2, %r12d
	jmp	LBB0_15
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=2
	movzbl	-1074(%rbp), %eax
	shlb	$6, %al
	orb	-1073(%rbp), %al
	xorl	%r12d, %r12d
	jmp	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=2
	movzbl	-1075(%rbp), %ecx
	movzbl	-1074(%rbp), %eax
	shlb	$4, %cl
	shrb	$2, %al
	orb	%cl, %al
	movl	$3, %r12d
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-1088(%rbp), %rcx               ## 8-byte Reload
	movb	%al, (%rcx)
	incq	%rcx
	movq	%rcx, -1088(%rbp)               ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	-1072(%rbp), %r13
	movq	-1088(%rbp), %rdx               ## 8-byte Reload
	cmpq	%r13, %rdx
	jbe	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-1096(%rbp), %rdi
	subl	%r13d, %edx
	movq	%r13, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%ecx, %ecx
	callq	_IStream_Write
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_22
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-1104(%rbp), %rdi               ## 8-byte Reload
	movq	%r13, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	leaq	-1080(%rbp), %rcx
	callq	_IStream_Read
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-1080(%rbp), %eax
	testl	%eax, %eax
	jne	LBB0_5
LBB0_22:
	movl	%ebx, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movq	-1096(%rbp), %rdi
	movq	_STREAM_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_IStream_Seek
	movl	%eax, %ebx
LBB0_24:
	movl	%ebx, %edi
	callq	_FAILED
	movq	-1096(%rbp), %rdi
	testq	%rax, %rax
	movq	-1112(%rbp), %rax               ## 8-byte Reload
	je	LBB0_26
## %bb.25:
	callq	_IStream_Release
	jmp	LBB0_27
LBB0_26:
	movq	%rdi, (%rax)
	movq	_S_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.28:
	movl	%ebx, %eax
	addq	$1080, %rsp                     ## imm = 0x438
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_STREAM_SEEK_SET,4,2            ## @STREAM_SEEK_SET
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_base64_decode_table,8,3        ## @base64_decode_table
	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_decode_base64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_base64
_decode_base64:                         ; @decode_base64
	.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
	sub	sp, sp, #1088
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _STREAM_SEEK_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STREAM_SEEK_SET@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	mov	x1, #0
	mov	x3, #0
	bl	_IStream_Seek
	mov	x21, x0
	bl	_FAILED
	cbnz	x0, LBB0_29
; %bb.1:
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #32
	bl	_CreateStreamOnHGlobal
	mov	x21, x0
	bl	_FAILED
	cbnz	x0, LBB0_29
; %bb.2:
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	add	x1, sp, #48
	add	x3, sp, #28
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	w2, #1024
	bl	_IStream_Read
	mov	x21, x0
	bl	_FAILED
	cbnz	x0, LBB0_24
; %bb.3:
	ldr	w8, [sp, #28]
	cbz	w8, LBB0_24
; %bb.4:
	mov	w26, #0
	add	x20, sp, #48
Lloh9:
	adrp	x24, _base64_decode_table@GOTPAGE
Lloh10:
	ldr	x24, [x24, _base64_decode_table@GOTPAGEOFF]
	add	x25, sp, #44
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	sxtw	x27, w8
	add	x28, x20, x27
	add	x19, sp, #48
	add	x21, sp, #48
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	cmp	x19, x28
	b.hs	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x8, x19, x20
	add	x8, x8, x27
	sub	x22, x8, x19
	sub	x20, x28, x19
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=3
	add	x19, x19, #1
	subs	x20, x20, #1
	b.eq	LBB0_11
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrb	w23, [x19]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w23, w0
	b.hs	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=3
	ldr	x8, [x24]
	ldrb	w9, [x19]
	ldr	w8, [x8, x9, lsl #2]
	cmn	w8, #1
	b.eq	LBB0_8
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x19, x22
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x20, sp, #48
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=2
	cmp	x19, x28
	b.eq	LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=2
	ldrb	w8, [x19], #1
	ldr	x9, [x24]
	ldr	w8, [x9, x8, lsl #2]
	strb	w8, [x25, w26, sxtw]
	cmp	w26, #3
	b.eq	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=2
	cmp	w26, #2
	b.eq	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=2
	add	w8, w26, #1
	cmp	w26, #1
	mov	x26, x8
	b.ne	LBB0_6
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=2
	ldrb	w8, [sp, #44]
	ldrb	w9, [sp, #45]
	lsr	w9, w9, #4
	orr	w8, w9, w8, lsl #2
	mov	w26, #2
	strb	w8, [x21], #1
	b	LBB0_6
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	w26, #0
	ldrb	w8, [sp, #46]
	ldrb	w9, [sp, #47]
	orr	w8, w9, w8, lsl #6
	strb	w8, [x21], #1
	b	LBB0_6
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=2
	ldrb	w8, [sp, #45]
	ldrb	w9, [sp, #46]
	lsr	w9, w9, #2
	orr	w8, w9, w8, lsl #4
	mov	w26, #3
	strb	w8, [x21], #1
	b	LBB0_6
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x21, x20
	b.ls	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #32]
	sub	w2, w21, w20
	add	x1, sp, #48
	mov	x3, #0
	bl	_IStream_Write
	mov	x21, x0
	bl	_FAILED
	cbnz	x0, LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #48
	add	x3, sp, #28
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	w2, #1024
	bl	_IStream_Read
	mov	x21, x0
	bl	_FAILED
	cbnz	x0, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #28]
	cbnz	w8, LBB0_5
LBB0_24:
	mov	x0, x21
	bl	_SUCCEEDED
	cbz	x0, LBB0_26
; %bb.25:
	ldr	x0, [sp, #32]
Lloh11:
	adrp	x8, _STREAM_SEEK_SET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _STREAM_SEEK_SET@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x1, #0
	mov	x3, #0
	bl	_IStream_Seek
	mov	x21, x0
LBB0_26:
	mov	x0, x21
	bl	_FAILED
	mov	x8, x0
	ldr	x0, [sp, #32]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x8, LBB0_28
; %bb.27:
	bl	_IStream_Release
	b	LBB0_29
LBB0_28:
	str	x0, [x9]
Lloh14:
	adrp	x8, _S_OK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
LBB0_29:
	ldur	x8, [x29, #-96]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	mov	x0, x21
	add	sp, sp, #1088
	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
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_STREAM_SEEK_SET,4,2            ; @STREAM_SEEK_SET
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_base64_decode_table,8,3        ; @base64_decode_table
	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_decode_base64
.subsections_via_symbols
