	.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
	subq	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	l___const.main.tests(%rip), %rsi
	leaq	-240(%rbp), %rdi
	movl	$192, %edx
	callq	_memcpy
	leaq	-216(%rbp), %r15
	leaq	L_.str(%rip), %rdi
	movl	$2, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.14(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%r14d
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-272(%rbp), %rdi
	callq	_free
	movq	(%r15), %rdi
	addq	$24, %r15
	incl	%ebx
	testq	%rdi, %rdi
	je	LBB0_9
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rbx), %r13d
	movq	-16(%r15), %rsi
	leaq	-272(%rbp), %rdx
	callq	_base64_encode
	movq	-272(%rbp), %rdi
	movq	-8(%r15), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-272(%rbp), %rcx
	movq	-8(%r15), %r8
	leaq	L_.str.13(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_fprintf
	incl	%r14d
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-272(%rbp), %rdi
	callq	_free
	movq	-8(%r15), %r12
	movq	%r12, %rdi
	callq	_strdup
	movq	%rax, -272(%rbp)
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_base64_decode
	movslq	%eax, %rcx
	movq	-16(%r15), %r8
	cmpq	%rcx, %r8
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-272(%rbp), %rdi
	movq	-24(%r15), %rsi
	movl	%eax, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.15(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_7
LBB0_9:
	leaq	L_.str.16(%rip), %rdi
	leaq	-272(%rbp), %rsi
	callq	_base64_decode
	leal	-1(%rbx), %edx
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.11:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.17(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	incl	%r14d
	jmp	LBB0_12
LBB0_10:
	movl	%edx, %ebx
LBB0_12:
	leaq	L_.str.18(%rip), %rdi
	leaq	-272(%rbp), %rsi
	callq	_base64_decode
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.19(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_fprintf
	incl	%r14d
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movl	%r14d, %eax
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"1"

L_.str.2:                               ## @.str.2
	.asciz	"MQ=="

L_.str.3:                               ## @.str.3
	.asciz	"22"

L_.str.4:                               ## @.str.4
	.asciz	"MjI="

L_.str.5:                               ## @.str.5
	.asciz	"333"

L_.str.6:                               ## @.str.6
	.asciz	"MzMz"

L_.str.7:                               ## @.str.7
	.asciz	"4444"

L_.str.8:                               ## @.str.8
	.asciz	"NDQ0NA=="

L_.str.9:                               ## @.str.9
	.asciz	"55555"

L_.str.10:                              ## @.str.10
	.asciz	"NTU1NTU="

L_.str.11:                              ## @.str.11
	.asciz	"abc:def"

L_.str.12:                              ## @.str.12
	.asciz	"YWJjOmRlZg=="

	.section	__DATA,__const
	.p2align	4                               ## @__const.main.tests
l___const.main.tests:
	.quad	L_.str
	.quad	0                               ## 0x0
	.quad	L_.str
	.quad	L_.str.1
	.quad	1                               ## 0x1
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	2                               ## 0x2
	.quad	L_.str.4
	.quad	L_.str.5
	.quad	3                               ## 0x3
	.quad	L_.str.6
	.quad	L_.str.7
	.quad	4                               ## 0x4
	.quad	L_.str.8
	.quad	L_.str.9
	.quad	5                               ## 0x5
	.quad	L_.str.10
	.quad	L_.str.11
	.quad	7                               ## 0x7
	.quad	L_.str.12
	.space	24

	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str.13:                              ## @.str.13
	.asciz	"failed test %d: %s != %s\n"

L_.str.14:                              ## @.str.14
	.asciz	"failed test %d: len %lu != %lu\n"

L_.str.15:                              ## @.str.15
	.asciz	"failed test %d: data\n"

L_.str.16:                              ## @.str.16
	.asciz	"M=M="

L_.str.17:                              ## @.str.17
	.asciz	"failed test %d: successful decode of `M=M='\n"

L_.str.18:                              ## @.str.18
	.asciz	"MQ==="

L_.str.19:                              ## @.str.19
	.asciz	"failed test %d: successful decode of `MQ==='\n"

.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:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x28, x27, [sp, #256]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #272]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #288]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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
	mov	w19, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, l___const.main.tests@PAGE
Lloh4:
	add	x8, x8, l___const.main.tests@PAGEOFF
	ldp	q0, q1, [x8, #128]
	stp	q0, q1, [sp, #176]
	ldp	q0, q1, [x8, #160]
	stp	q0, q1, [sp, #208]
	ldp	q0, q1, [x8, #64]
	stp	q0, q1, [sp, #112]
	ldp	q0, q1, [x8, #96]
	stp	q0, q1, [sp, #144]
	ldp	q0, q1, [x8]
	add	x9, sp, #48
	stp	q0, q1, [sp, #48]
	add	x27, x9, #16
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	w20, #2
	ldp	q0, q1, [x8, #32]
Lloh7:
	adrp	x21, l_.str.15@PAGE
Lloh8:
	add	x21, x21, l_.str.15@PAGEOFF
Lloh9:
	adrp	x22, l_.str.14@PAGE
Lloh10:
	add	x22, x22, l_.str.14@PAGEOFF
	stp	q0, q1, [sp, #80]
Lloh11:
	adrp	x23, l_.str.13@PAGE
Lloh12:
	add	x23, x23, l_.str.13@PAGEOFF
Lloh13:
	adrp	x26, _stderr@GOTPAGE
Lloh14:
	ldr	x26, [x26, _stderr@GOTPAGEOFF]
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x26]
	stp	x2, x8, [sp]
	mov	x1, x22
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, x24
	bl	_fprintf
	add	w19, w19, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #16]
	bl	_free
	ldr	x0, [x27, #8]
	add	x27, x27, #24
	add	w20, w20, #1
	cbz	x0, LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w24, w20, #1
	ldur	x1, [x27, #-8]
	add	x2, sp, #16
	bl	_base64_encode
	ldr	x0, [sp, #16]
	ldr	x1, [x27]
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x26]
	ldr	x8, [sp, #16]
	ldr	x9, [x27]
	stp	x8, x9, [sp]
	mov	x1, x23
	mov	x2, x24
	bl	_fprintf
	add	w19, w19, #1
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #16]
	bl	_free
	ldr	x25, [x27]
	mov	x0, x25
	bl	_strdup
	mov	x1, x0
	str	x0, [sp, #16]
	mov	x0, x25
	bl	_base64_decode
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
	ldur	x8, [x27, #-8]
	cmp	x8, x2
	b.ne	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #16]
	ldur	x1, [x27, #-16]
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcmp
	cbz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x26]
	mov	x1, x21
	b	LBB0_2
LBB0_9:
Lloh15:
	adrp	x0, l_.str.16@PAGE
Lloh16:
	add	x0, x0, l_.str.16@PAGEOFF
	add	x1, sp, #16
	bl	_base64_decode
	sub	w2, w20, #1
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.10:
	ldr	w0, [x26]
Lloh17:
	adrp	x1, l_.str.17@PAGE
Lloh18:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_fprintf
	add	w19, w19, #1
	b	LBB0_12
LBB0_11:
	mov	x20, x2
LBB0_12:
Lloh19:
	adrp	x0, l_.str.18@PAGE
Lloh20:
	add	x0, x0, l_.str.18@PAGEOFF
	add	x1, sp, #16
	bl	_base64_decode
	cmn	w0, #1
	b.eq	LBB0_14
; %bb.13:
	ldr	w0, [x26]
Lloh21:
	adrp	x1, l_.str.19@PAGE
Lloh22:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x2, x20
	bl	_fprintf
	add	w19, w19, #1
LBB0_14:
	ldur	x8, [x29, #-88]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x19
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #288]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #272]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #256]            ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"1"

l_.str.2:                               ; @.str.2
	.asciz	"MQ=="

l_.str.3:                               ; @.str.3
	.asciz	"22"

l_.str.4:                               ; @.str.4
	.asciz	"MjI="

l_.str.5:                               ; @.str.5
	.asciz	"333"

l_.str.6:                               ; @.str.6
	.asciz	"MzMz"

l_.str.7:                               ; @.str.7
	.asciz	"4444"

l_.str.8:                               ; @.str.8
	.asciz	"NDQ0NA=="

l_.str.9:                               ; @.str.9
	.asciz	"55555"

l_.str.10:                              ; @.str.10
	.asciz	"NTU1NTU="

l_.str.11:                              ; @.str.11
	.asciz	"abc:def"

l_.str.12:                              ; @.str.12
	.asciz	"YWJjOmRlZg=="

	.section	__DATA,__const
	.p2align	3                               ; @__const.main.tests
l___const.main.tests:
	.quad	l_.str
	.quad	0                               ; 0x0
	.quad	l_.str
	.quad	l_.str.1
	.quad	1                               ; 0x1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	2                               ; 0x2
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	3                               ; 0x3
	.quad	l_.str.6
	.quad	l_.str.7
	.quad	4                               ; 0x4
	.quad	l_.str.8
	.quad	l_.str.9
	.quad	5                               ; 0x5
	.quad	l_.str.10
	.quad	l_.str.11
	.quad	7                               ; 0x7
	.quad	l_.str.12
	.space	24

	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str.13:                              ; @.str.13
	.asciz	"failed test %d: %s != %s\n"

l_.str.14:                              ; @.str.14
	.asciz	"failed test %d: len %lu != %lu\n"

l_.str.15:                              ; @.str.15
	.asciz	"failed test %d: data\n"

l_.str.16:                              ; @.str.16
	.asciz	"M=M="

l_.str.17:                              ; @.str.17
	.asciz	"failed test %d: successful decode of `M=M='\n"

l_.str.18:                              ; @.str.18
	.asciz	"MQ==="

l_.str.19:                              ; @.str.19
	.asciz	"failed test %d: successful decode of `MQ==='\n"

.subsections_via_symbols
