	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_base64enc_flush ## -- Begin function mbfl_filt_conv_base64enc_flush
	.p2align	4, 0x90
_mbfl_filt_conv_base64enc_flush:        ## @mbfl_filt_conv_base64enc_flush
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	movl	4(%rdi), %r14d
	movl	%eax, %ecx
	andl	$-65536, %ecx                   ## imm = 0xFFFF0000
	movl	%eax, %r15d
	movl	%ecx, (%rdi)
	movl	$0, 4(%rdi)
	andl	$255, %r15d
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movq	_MBFL_BASE64_STS_MIME_HEADER@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_4
## %bb.2:
	andl	$65280, %eax                    ## imm = 0xFF00
	cmpl	$18433, %eax                    ## imm = 0x4801
	jb	LBB0_4
## %bb.3:
	movl	8(%rbx), %esi
	movl	$13, %edi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	movl	8(%rbx), %esi
	movl	$10, %edi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
LBB0_4:
	movq	_mbfl_base64_table@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	%r14d, %ecx
	shrl	$16, %ecx
	andl	$252, %ecx
	movl	(%rax,%rcx), %edi
	movl	8(%rbx), %esi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	movq	(%r12), %rax
	movl	%r14d, %ecx
	shrl	$10, %ecx
	andl	$252, %ecx
	movl	(%rax,%rcx), %edi
	movl	8(%rbx), %esi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	movq	16(%rbx), %rax
	movl	$61, %edi
	cmpl	$1, %r15d
	je	LBB0_6
## %bb.5:
	movq	(%r12), %rcx
	shrl	$6, %r14d
	andl	$63, %r14d
	movl	(%rcx,%r14,4), %edi
LBB0_6:
	movl	8(%rbx), %esi
	callq	*%rax
	movl	%eax, %edi
	callq	_CK
	movl	8(%rbx), %esi
	movl	$61, %edi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	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_flush ; -- Begin function mbfl_filt_conv_base64enc_flush
	.p2align	2
_mbfl_filt_conv_base64enc_flush:        ; @mbfl_filt_conv_base64enc_flush
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldp	w8, w20, [x0]
	and	w9, w8, #0xffff0000
	stp	w9, wzr, [x0]
	ands	w21, w8, #0xff
	b.eq	LBB0_7
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x10, _MBFL_BASE64_STS_MIME_HEADER@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MBFL_BASE64_STS_MIME_HEADER@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	and	w9, w10, w9
	and	w8, w8, #0xff00
	cmp	w9, #0
	mov	w9, #18433
	ccmp	w8, w9, #0, eq
	b.lo	LBB0_3
; %bb.2:
	ldr	x8, [x19, #16]
	ldr	w1, [x19, #8]
	mov	w0, #13
	blr	x8
	bl	_CK
	ldr	x8, [x19, #16]
	ldr	w1, [x19, #8]
	mov	w0, #10
	blr	x8
	bl	_CK
LBB0_3:
Lloh3:
	adrp	x22, _mbfl_base64_table@GOTPAGE
Lloh4:
	ldr	x22, [x22, _mbfl_base64_table@GOTPAGEOFF]
	ldr	x8, [x19, #16]
	ldr	x9, [x22]
	ubfx	x10, x20, #18, #6
	ldr	w0, [x9, x10, lsl #2]
	ldr	w1, [x19, #8]
	blr	x8
	bl	_CK
	ldr	x8, [x19, #16]
	ldr	x9, [x22]
	ubfx	x10, x20, #12, #6
	ldr	w0, [x9, x10, lsl #2]
	ldr	w1, [x19, #8]
	blr	x8
	bl	_CK
	ldr	x8, [x19, #16]
	cmp	w21, #1
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #61
	b	LBB0_6
LBB0_5:
	ldr	x9, [x22]
	ubfx	w10, w20, #6, #6
	ldr	w0, [x9, w10, uxtw #2]
LBB0_6:
	ldr	w1, [x19, #8]
	blr	x8
	bl	_CK
	ldr	x8, [x19, #16]
	ldr	w1, [x19, #8]
	mov	w0, #61
	blr	x8
	bl	_CK
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 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
