	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_getchar
	movq	_EOF@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	je	LBB0_12
## %bb.1:
	leaq	_main.b64(%rip), %r15
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	$8, %ebx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_getchar
	cmpl	(%r12), %eax
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	shll	$8, %r13d
	addl	%eax, %r13d
	cmpl	$-1, %ebx
	jl	LBB0_3
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %r12d
	shll	$6, %r12d
	addl	$14, %ebx
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addl	$-6, %ebx
	movl	%r12d, %eax
	movl	%ebx, %ecx
	shrl	%cl, %eax
	andl	$63, %eax
	movsbl	(%rax,%r15), %edi
	callq	_putchar
	incl	%r14d
	cmpl	$12, %ebx
	ja	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	$-6, %ebx
	movq	_EOF@GOTPCREL(%rip), %r12
	jmp	LBB0_5
LBB0_6:
	testl	%ebx, %ebx
	jle	LBB0_9
## %bb.7:
	shll	$6, %r13d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %eax
	movl	%ebx, %ecx
	shrl	%cl, %eax
	andl	$63, %eax
	movsbl	(%rax,%r15), %edi
	callq	_putchar
	incl	%r14d
	leal	-6(%rbx), %eax
	cmpl	$6, %ebx
	movl	%eax, %ebx
	ja	LBB0_8
LBB0_9:
	testb	$3, %r14b
	je	LBB0_12
## %bb.10:
	incl	%r14d
	movl	%r14d, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	$61, %edi
	callq	_putchar
	incl	%ebx
	testb	$3, %r14b
	movl	%ebx, %r14d
	jne	LBB0_11
LBB0_12:
	movl	$10, %edi
	callq	_putchar
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
	.p2align	4                               ## @main.b64
_main.b64:
	.asciz	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"

	.comm	_EOF,4,2                        ## @EOF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_getchar
Lloh0:
	adrp	x21, _EOF@GOTPAGE
Lloh1:
	ldr	x21, [x21, _EOF@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.eq	LBB0_16
; %bb.1:
	mov	w22, #0
	mov	w19, #0
	mov	w23, #0
Lloh2:
	adrp	x20, _main.b64@PAGE
Lloh3:
	add	x20, x20, _main.b64@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_getchar
	ldr	w8, [x21]
	cmp	w0, w8
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	add	w22, w0, w22, lsl #8
	cmn	w23, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	w24, w22, #6
	add	w23, w23, #14
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w23, w23, #6
	lsr	w8, w24, w23
	and	x8, x8, #0x3f
	ldrsb	w0, [x20, x8]
	bl	_putchar
	add	w19, w19, #1
	cmp	w23, #12
	b.hi	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w23, w23, #6
	b	LBB0_3
LBB0_8:
	cmp	w23, #1
	b.lt	LBB0_11
; %bb.9:
	lsl	w21, w22, #6
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	lsr	w8, w21, w23
	and	x8, x8, #0x3f
	ldrsb	w0, [x20, x8]
	bl	_putchar
	add	w19, w19, #1
	subs	w23, w23, #6
	b.hi	LBB0_10
LBB0_11:
	tst	w19, #0x3
	b.eq	LBB0_16
; %bb.12:
	add	w20, w19, #1
	mov	w0, #61
	bl	_putchar
	tst	w20, #0x3
	b.eq	LBB0_16
; %bb.13:
	add	w20, w19, #2
	mov	w0, #61
	bl	_putchar
	tst	w20, #0x3
	b.eq	LBB0_16
; %bb.14:
	sub	w19, w19, #1
	mov	w0, #61
	bl	_putchar
	tst	w19, #0x3
	b.eq	LBB0_16
; %bb.15:
	mov	w0, #61
	bl	_putchar
LBB0_16:
	mov	w0, #10
	bl	_putchar
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
_main.b64:                              ; @main.b64
	.asciz	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"

	.comm	_EOF,4,2                        ; @EOF
.subsections_via_symbols
