	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_utf7      ## -- Begin function mbfl_filt_conv_wchar_utf7
	.p2align	4, 0x90
_mbfl_filt_conv_wchar_utf7:             ## @mbfl_filt_conv_wchar_utf7
	.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, %rbx
	movl	%edi, %r14d
	cmpl	$127, %edi
	ja	LBB0_5
## %bb.1:
	leal	-48(%r14), %eax
	xorl	%r12d, %r12d
	movb	$1, %r15b
	cmpl	$10, %eax
	jb	LBB0_13
## %bb.2:
	movl	%r14d, %eax
	andl	$-33, %eax
	addl	$-65, %eax
	cmpl	$26, %eax
	jb	LBB0_13
## %bb.3:
	cmpl	$64, %r14d
	jae	LBB0_4
## %bb.12:
	movabsq	$8934873925326723582, %rax      ## imm = 0x7BFF0C7EFFFFD9FE
	btq	%r14, %rax
	setb	%r12b
	movabsq	$175921860444161, %rax          ## imm = 0xA00000000001
	btq	%r14, %rax
	setb	%r15b
	jmp	LBB0_13
LBB0_5:
	testl	%r14d, %r14d
	js	LBB0_8
## %bb.6:
	movq	_MBFL_WCSPLANE_UCS2MAX@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jle	LBB0_8
## %bb.7:
	xorl	%r15d, %r15d
	movb	$1, %r12b
	jmp	LBB0_13
LBB0_8:
	movq	_MBFL_WCSPLANE_SUPMIN@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jg	LBB0_11
## %bb.9:
	movq	_MBFL_WCSPLANE_SUPMAX@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jle	LBB0_11
## %bb.10:
	movl	%r14d, %edi
	sarl	$10, %edi
	addl	$-64, %edi
	orl	$55296, %edi                    ## imm = 0xD800
	movq	%rbx, %rsi
	callq	*24(%rbx)
	movl	%eax, %edi
	callq	_CK
	movl	%r14d, %edi
	andl	$1023, %edi                     ## imm = 0x3FF
	orl	$56320, %edi                    ## imm = 0xDC00
	movq	%rbx, %rsi
	callq	*24(%rbx)
	jmp	LBB0_17
LBB0_4:
	movb	$1, %r12b
	xorl	%r15d, %r15d
LBB0_13:
	movl	(%rbx), %eax
	cmpq	$3, %rax
	ja	LBB0_23
## %bb.14:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_15:
	movq	16(%rbx), %rax
	movl	8(%rbx), %esi
	testb	%r12b, %r12b
	je	LBB0_16
## %bb.18:
	movl	$43, %edi
	callq	*%rax
	movl	%eax, %edi
	callq	_CK
	incl	(%rbx)
	jmp	LBB0_32
LBB0_26:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	4(%rbx), %r13d
	movl	8(%rbx), %esi
	movq	_mbfl_base64_table@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	%r13d, %ecx
	shrl	$12, %ecx
	andl	$252, %ecx
	movl	(%rax,%rcx), %edi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	movq	(%r15), %rax
	movl	%r13d, %ecx
	shrl	$6, %ecx
	andl	$252, %ecx
	movl	(%rax,%rcx), %edi
	movl	8(%rbx), %esi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	movq	(%r15), %rax
	movl	%r13d, %ecx
	andl	$252, %ecx
	movl	(%rax,%rcx), %edi
	movl	8(%rbx), %esi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	testb	%r12b, %r12b
	je	LBB0_27
## %bb.28:
	incl	(%rbx)
	andl	$3, %r13d
	jmp	LBB0_25
LBB0_29:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	4(%rbx), %r13d
	movl	8(%rbx), %esi
	movq	_mbfl_base64_table@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	%r13d, %ecx
	shrl	$10, %ecx
	andl	$252, %ecx
	movl	(%rax,%rcx), %edi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	movq	(%r15), %rax
	movl	%r13d, %ecx
	shrl	$4, %ecx
	andl	$252, %ecx
	movl	(%rax,%rcx), %edi
	movl	8(%rbx), %esi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	movq	(%r15), %rax
	andl	$63, %r13d
	movl	(%rax,%r13,4), %edi
	movl	8(%rbx), %esi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	testb	%r12b, %r12b
	je	LBB0_30
## %bb.31:
	movl	$1, (%rbx)
LBB0_32:
	movl	%r14d, 4(%rbx)
	jmp	LBB0_33
LBB0_19:
	movl	4(%rbx), %r13d
	movl	8(%rbx), %esi
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	_mbfl_base64_table@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	%r13d, %ecx
	shrl	$8, %ecx
	andl	$252, %ecx
	movl	(%rax,%rcx), %edi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	movq	(%r12), %rax
	movl	%r13d, %ecx
	shrl	$2, %ecx
	andl	$252, %ecx
	movl	(%rax,%rcx), %edi
	movl	8(%rbx), %esi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_20
## %bb.24:
	incl	(%rbx)
	andl	$15, %r13d
LBB0_25:
	shll	$16, %r13d
	orl	%r14d, %r13d
	movl	%r13d, 4(%rbx)
	jmp	LBB0_33
LBB0_11:
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_mbfl_filt_conv_illegal_output
	jmp	LBB0_17
LBB0_16:
	movl	%r14d, %edi
	callq	*%rax
LBB0_17:
	movl	%eax, %edi
	callq	_CK
	jmp	LBB0_33
LBB0_27:
	movq	_mbfl_base64_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shll	$4, %r13d
	andl	$48, %r13d
	movl	(%rax,%r13,4), %edi
	movl	8(%rbx), %esi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
LBB0_30:
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_22
LBB0_21:
	movl	8(%rbx), %esi
	movl	$45, %edi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
LBB0_22:
	movl	8(%rbx), %esi
	movl	%r14d, %edi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
LBB0_23:
	movl	$0, (%rbx)
LBB0_33:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_mbfl_base64_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shll	$2, %r13d
	andl	$60, %r13d
	movl	(%rax,%r13,4), %edi
	movl	8(%rbx), %esi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	testb	%r15b, %r15b
	jne	LBB0_21
	jmp	LBB0_22
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_19
	.long	L0_0_set_26
	.long	L0_0_set_29
	.end_data_region
                                        ## -- End function
	.comm	_MBFL_WCSPLANE_UCS2MAX,4,2      ## @MBFL_WCSPLANE_UCS2MAX
	.comm	_MBFL_WCSPLANE_SUPMIN,4,2       ## @MBFL_WCSPLANE_SUPMIN
	.comm	_MBFL_WCSPLANE_SUPMAX,4,2       ## @MBFL_WCSPLANE_SUPMAX
	.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_wchar_utf7      ; -- Begin function mbfl_filt_conv_wchar_utf7
	.p2align	2
_mbfl_filt_conv_wchar_utf7:             ; @mbfl_filt_conv_wchar_utf7
	.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
	cmp	w0, #127
	b.hi	LBB0_2
; %bb.1:
	and	w8, w19, #0xffffffdf
	sub	w8, w8, #65
	sub	w9, w19, #48
	mov	w10, #1
	mov	w11, #1
	mov	x12, #-9730
	movk	x12, #3198, lsl #32
	movk	x12, #31743, lsl #48
	lsr	x12, x12, x19
	and	w12, w12, #0x1
	mov	x13, #1
	movk	x13, #40960, lsl #32
	lsr	x13, x13, x19
	and	w13, w13, #0x1
	cmp	w19, #64
	csel	w11, w12, w11, lo
	csel	w12, w13, wzr, lo
	cmp	w8, #26
	csel	w8, wzr, w11, lo
	csel	w11, w10, w12, lo
	cmp	w9, #10
	csel	w22, wzr, w8, lo
	csel	w21, w10, w11, lo
	b	LBB0_5
LBB0_2:
	tbnz	w19, #31, LBB0_9
; %bb.3:
Lloh0:
	adrp	x8, _MBFL_WCSPLANE_UCS2MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBFL_WCSPLANE_UCS2MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w19
	b.le	LBB0_9
; %bb.4:
	mov	w21, #0
	mov	w22, #1
LBB0_5:
	ldr	w8, [x20]
	cmp	w8, #3
	b.hi	LBB0_27
; %bb.6:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	tbz	w22, #0, LBB0_20
; %bb.8:
	mov	w0, #43
	blr	x8
	bl	_CK
	ldr	w8, [x20]
	add	w8, w8, #1
	b	LBB0_15
LBB0_9:
Lloh5:
	adrp	x8, _MBFL_WCSPLANE_SUPMIN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MBFL_WCSPLANE_SUPMIN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _MBFL_WCSPLANE_SUPMAX@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MBFL_WCSPLANE_SUPMAX@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_19
; %bb.10:
	mov	x0, x19
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
	bl	_CK
	b	LBB0_28
LBB0_11:
	ldr	x8, [x20, #16]
Lloh11:
	adrp	x24, _mbfl_base64_table@GOTPAGE
Lloh12:
	ldr	x24, [x24, _mbfl_base64_table@GOTPAGEOFF]
	ldr	x9, [x24]
	ldp	w23, w1, [x20, #4]
	ubfx	x10, x23, #14, #6
	ldr	w0, [x9, x10, lsl #2]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	ldr	x9, [x24]
	ubfx	x10, x23, #8, #6
	ldr	w0, [x9, x10, lsl #2]
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	ldr	x9, [x24]
	ubfx	x10, x23, #2, #6
	ldr	w0, [x9, x10, lsl #2]
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
	tbz	w22, #0, LBB0_21
; %bb.12:
	ldr	w8, [x20]
	add	w8, w8, #1
	ubfiz	w9, w23, #16, #2
	b	LBB0_18
LBB0_13:
	ldr	x8, [x20, #16]
Lloh13:
	adrp	x23, _mbfl_base64_table@GOTPAGE
Lloh14:
	ldr	x23, [x23, _mbfl_base64_table@GOTPAGEOFF]
	ldr	x9, [x23]
	ldp	w24, w1, [x20, #4]
	ubfx	x10, x24, #12, #6
	ldr	w0, [x9, x10, lsl #2]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	ldr	x9, [x23]
	ubfx	x10, x24, #6, #6
	ldr	w0, [x9, x10, lsl #2]
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	ldr	x9, [x23]
	and	x10, x24, #0x3f
	ldr	w0, [x9, x10, lsl #2]
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
	tbz	w22, #0, LBB0_22
; %bb.14:
	mov	w8, #1
LBB0_15:
	stp	w8, w19, [x20]
	b	LBB0_28
LBB0_16:
	ldr	x8, [x20, #16]
Lloh15:
	adrp	x24, _mbfl_base64_table@GOTPAGE
Lloh16:
	ldr	x24, [x24, _mbfl_base64_table@GOTPAGEOFF]
	ldr	x9, [x24]
	ldp	w23, w1, [x20, #4]
	ubfx	x10, x23, #10, #6
	ldr	w0, [x9, x10, lsl #2]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	ldr	x9, [x24]
	ubfx	x10, x23, #4, #6
	ldr	w0, [x9, x10, lsl #2]
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
	tbz	w22, #0, LBB0_23
; %bb.17:
	ldr	w8, [x20]
	add	w8, w8, #1
	ubfiz	w9, w23, #16, #4
LBB0_18:
	orr	w9, w9, w19
	stp	w8, w9, [x20]
	b	LBB0_28
LBB0_19:
	asr	w8, w19, #10
	sub	w8, w8, #64
	mov	w9, #55296
	orr	w0, w8, w9
	ldr	x8, [x20, #24]
	mov	x1, x20
	blr	x8
	bl	_CK
	mov	w0, #56320
	bfxil	w0, w19, #0, #10
	ldr	x8, [x20, #24]
	mov	x1, x20
	blr	x8
	bl	_CK
	b	LBB0_28
LBB0_20:
	mov	x0, x19
	blr	x8
	bl	_CK
	b	LBB0_28
LBB0_21:
	ldr	x8, [x20, #16]
	ldr	x9, [x24]
	lsl	w10, w23, #4
	and	x10, x10, #0x30
	b	LBB0_24
LBB0_22:
	cbnz	w21, LBB0_25
	b	LBB0_26
LBB0_23:
	ldr	x8, [x20, #16]
	ldr	x9, [x24]
	lsl	w10, w23, #2
	and	x10, x10, #0x3c
LBB0_24:
	ldr	w0, [x9, x10, lsl #2]
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
	cbz	w21, LBB0_26
LBB0_25:
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	w0, #45
	blr	x8
	bl	_CK
LBB0_26:
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	x0, x19
	blr	x8
	bl	_CK
LBB0_27:
	str	wzr, [x20]
LBB0_28:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_16-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
                                        ; -- End function
	.comm	_MBFL_WCSPLANE_UCS2MAX,4,2      ; @MBFL_WCSPLANE_UCS2MAX
	.comm	_MBFL_WCSPLANE_SUPMIN,4,2       ; @MBFL_WCSPLANE_SUPMIN
	.comm	_MBFL_WCSPLANE_SUPMAX,4,2       ; @MBFL_WCSPLANE_SUPMAX
	.comm	_mbfl_base64_table,8,3          ; @mbfl_base64_table
.subsections_via_symbols
