	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_base64enc       ## -- Begin function mbfl_filt_conv_base64enc
	.p2align	4, 0x90
_mbfl_filt_conv_base64enc:              ## @mbfl_filt_conv_base64enc
	.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	%rsi, %r13
	movl	%edi, %r14d
	movl	(%rsi), %eax
	cmpb	$1, %al
	je	LBB0_3
## %bb.1:
	testb	%al, %al
	jne	LBB0_4
## %bb.2:
	incl	%eax
	movl	%eax, (%r13)
	movzbl	%r14b, %eax
	shll	$16, %eax
	movl	%eax, 4(%r13)
	jmp	LBB0_9
LBB0_3:
	incl	%eax
	movl	%eax, (%r13)
	movl	%r14d, %eax
	shll	$8, %eax
	movzwl	%ax, %eax
	orl	%eax, 4(%r13)
	jmp	LBB0_9
LBB0_4:
	movl	%eax, %ecx
	andl	$-256, %ecx
	movl	%ecx, (%r13)
	movq	_MBFL_BASE64_STS_MIME_HEADER@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_8
## %bb.5:
	andl	$65280, %eax                    ## imm = 0xFF00
	cmpl	$18433, %eax                    ## imm = 0x4801
	jb	LBB0_7
## %bb.6:
	movl	8(%r13), %esi
	movl	$13, %edi
	callq	*16(%r13)
	movl	%eax, %edi
	callq	_CK
	movl	8(%r13), %esi
	movl	$10, %edi
	callq	*16(%r13)
	movl	%eax, %edi
	callq	_CK
	movl	$-65281, %ecx                   ## imm = 0xFFFF00FF
	andl	(%r13), %ecx
LBB0_7:
	addl	$1024, %ecx                     ## imm = 0x400
	movl	%ecx, (%r13)
LBB0_8:
	movzbl	%r14b, %r15d
	movl	4(%r13), %ebx
	movl	8(%r13), %esi
	orl	%ebx, %r15d
	movq	_mbfl_base64_table@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	%ebx, %ecx
	shrl	$16, %ecx
	andl	$252, %ecx
	movl	(%rax,%rcx), %edi
	callq	*16(%r13)
	movl	%eax, %edi
	callq	_CK
	movq	(%r12), %rax
	shrl	$10, %ebx
	andl	$252, %ebx
	movl	(%rax,%rbx), %edi
	movl	8(%r13), %esi
	callq	*16(%r13)
	movl	%eax, %edi
	callq	_CK
	movq	(%r12), %rax
	movl	%r15d, %ecx
	shrl	$4, %ecx
	andl	$252, %ecx
	movl	(%rax,%rcx), %edi
	movl	8(%r13), %esi
	callq	*16(%r13)
	movl	%eax, %edi
	callq	_CK
	movq	(%r12), %rax
	andl	$63, %r15d
	movl	(%rax,%r15,4), %edi
	movl	8(%r13), %esi
	callq	*16(%r13)
	movl	%eax, %edi
	callq	_CK
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBFL_BASE64_STS_MIME_HEADER,4,2 ## @MBFL_BASE64_STS_MIME_HEADER
	.comm	_mbfl_base64_table,8,3          ## @mbfl_base64_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_base64enc       ; -- Begin function mbfl_filt_conv_base64enc
	.p2align	2
_mbfl_filt_conv_base64enc:              ; @mbfl_filt_conv_base64enc
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
	and	w9, w8, #0xff
	cmp	w9, #1
	b.eq	LBB0_3
; %bb.1:
	cbnz	w9, LBB0_5
; %bb.2:
	add	w8, w8, #1
	ubfiz	w9, w19, #16, #8
	b	LBB0_4
LBB0_3:
	add	w8, w8, #1
	ubfiz	w9, w19, #8, #8
	ldr	w10, [x20, #4]
	orr	w9, w10, w9
LBB0_4:
	stp	w8, w9, [x20]
	b	LBB0_10
LBB0_5:
	and	w9, w8, #0xffffff00
	str	w9, [x20]
Lloh0:
	adrp	x10, _MBFL_BASE64_STS_MIME_HEADER@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MBFL_BASE64_STS_MIME_HEADER@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_9
; %bb.6:
	and	w8, w8, #0xff00
	mov	w10, #18433
	cmp	w8, w10
	b.lo	LBB0_8
; %bb.7:
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	w0, #13
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	w0, #10
	blr	x8
	bl	_CK
	ldr	w8, [x20]
	and	w9, w8, #0xffff00ff
LBB0_8:
	add	w8, w9, #1024
	str	w8, [x20]
LBB0_9:
	and	x8, x19, #0xff
	ldp	w21, w1, [x20, #4]
	orr	x22, x21, x8
	ldr	x8, [x20, #16]
Lloh3:
	adrp	x23, _mbfl_base64_table@GOTPAGE
Lloh4:
	ldr	x23, [x23, _mbfl_base64_table@GOTPAGEOFF]
	ldr	x9, [x23]
	ubfx	x10, x21, #18, #6
	ldr	w0, [x9, x10, lsl #2]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	ldr	x9, [x23]
	ubfx	x10, x21, #12, #6
	ldr	w0, [x9, x10, lsl #2]
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	ldr	x9, [x23]
	ubfx	x10, x22, #6, #6
	ldr	w0, [x9, x10, lsl #2]
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	ldr	x9, [x23]
	and	w10, w22, #0x3f
	ldr	w0, [x9, w10, uxtw #2]
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
LBB0_10:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MBFL_BASE64_STS_MIME_HEADER,4,2 ; @MBFL_BASE64_STS_MIME_HEADER
	.comm	_mbfl_base64_table,8,3          ; @mbfl_base64_table
.subsections_via_symbols
