	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dump_base64                    ## -- Begin function dump_base64
	.p2align	4, 0x90
_dump_base64:                           ## @dump_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	cmpl	$65537, %edx                    ## imm = 0x10001
	jl	LBB0_1
## %bb.9:
	leaq	L_.str(%rip), %rdi
	movl	$25, %esi
	movl	$1, %edx
	movq	%r13, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fwrite                         ## TAILCALL
LBB0_1:
	movl	%edx, %r15d
	movq	%rsi, %r12
	xorl	%edi, %edi
	movl	$2, %esi
	callq	_xreallocarray
	movq	%rax, %r14
	leal	(%r15,%r15), %ecx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_uuencode
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	shrl	%eax
	movl	$3926827243, %ecx               ## imm = 0xEA0EA0EB
	imulq	%rcx, %rax
	shrq	$37, %rax
	imull	$70, %eax, %r15d
	addl	$69, %r15d
	movsbl	(%r14,%rbx), %edi
	movq	%r13, %rsi
	callq	_fputc
	cmpl	%ebx, %r15d
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$10, %edi
	movq	%r13, %rsi
	callq	_fputc
	jmp	LBB0_5
LBB0_6:
	imull	$-1963413621, -44(%rbp), %eax   ## 4-byte Folded Reload
                                        ## imm = 0x8AF8AF8B
	addl	$-1963413623, %eax              ## imm = 0x8AF8AF89
	rorl	%eax
	cmpl	$61356675, %eax                 ## imm = 0x3A83A83
	jb	LBB0_8
LBB0_7:
	movl	$10, %edi
	movq	%r13, %rsi
	callq	_fputc
LBB0_8:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dump_base64: len > 65536\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dump_base64                    ; -- Begin function dump_base64
	.p2align	2
_dump_base64:                           ; @dump_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
	mov	x19, x0
	cmp	w2, #16, lsl #12                ; =65536
	b.le	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #25
	mov	w2, #1
	mov	x3, x19
	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
	b	_fwrite
LBB0_2:
	mov	x21, x2
	mov	x22, x1
	mov	x0, #0
	mov	w1, #2
	bl	_xreallocarray
	mov	x20, x0
	lsl	w3, w21, #1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_uuencode
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.3:
	mov	x21, x0
	mov	w22, #0
	mov	w23, #69
	mov	w24, #41195
	movk	w24, #59918, lsl #16
	mov	w25, #70
	mov	x26, x20
	mov	w27, w0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x26, x26, #1
	sub	w23, w23, #1
	add	w22, w22, #1
	subs	x27, x27, #1
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w8, w22, #1
	umull	x8, w8, w24
	lsr	x8, x8, #37
	madd	w28, w8, w25, w23
	ldrsb	w0, [x26]
	mov	x1, x19
	bl	_fputc
	cbnz	w28, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #10
	mov	x1, x19
	bl	_fputc
	b	LBB0_4
LBB0_7:
	sub	w8, w21, #69
	mov	w9, #44939
	movk	w9, #35576, lsl #16
	mul	w8, w8, w9
	ror	w8, w8, #1
	mov	w9, #14979
	movk	w9, #936, lsl #16
	cmp	w8, w9
	b.lo	LBB0_9
LBB0_8:
	mov	w0, #10
	mov	x1, x19
	bl	_fputc
LBB0_9:
	mov	x0, x20
	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
	b	_free
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dump_base64: len > 65536\n"

.subsections_via_symbols
