	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_utf7imap  ## -- Begin function mbfl_filt_conv_wchar_utf7imap
	.p2align	4, 0x90
_mbfl_filt_conv_wchar_utf7imap:         ## @mbfl_filt_conv_wchar_utf7imap
	.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
	xorl	%r15d, %r15d
	cmpl	$38, %edi
	jne	LBB0_3
LBB0_1:
	movl	(%r13), %eax
	cmpq	$3, %rax
	ja	LBB0_20
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_12:
	movq	16(%r13), %rax
	movl	8(%r13), %esi
	testb	%r15b, %r15b
	je	LBB0_13
## %bb.26:
	movl	$38, %edi
	callq	*%rax
	movl	%eax, %edi
	callq	_CK
	jmp	LBB0_27
LBB0_3:
	testl	%r14d, %r14d
	je	LBB0_1
## %bb.4:
	leal	-32(%r14), %eax
	cmpl	$95, %eax
	jb	LBB0_1
## %bb.5:
	testl	%r14d, %r14d
	js	LBB0_7
## %bb.6:
	movq	_MBFL_WCSPLANE_UCS2MAX@GOTPCREL(%rip), %rax
	movb	$1, %r15b
	cmpl	%r14d, (%rax)
	jg	LBB0_1
LBB0_7:
	movq	_MBFL_WCSPLANE_SUPMIN@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jg	LBB0_10
## %bb.8:
	movq	_MBFL_WCSPLANE_SUPMAX@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jle	LBB0_10
## %bb.9:
	movl	%r14d, %edi
	sarl	$10, %edi
	addl	$-64, %edi
	orl	$55296, %edi                    ## imm = 0xD800
	movq	%r13, %rsi
	callq	*24(%r13)
	movl	%eax, %edi
	callq	_CK
	movl	%r14d, %edi
	andl	$1023, %edi                     ## imm = 0x3FF
	orl	$56320, %edi                    ## imm = 0xDC00
	movq	%r13, %rsi
	callq	*24(%r13)
	jmp	LBB0_11
LBB0_22:
	movl	4(%r13), %r12d
	movl	8(%r13), %esi
	movq	_mbfl_utf7imap_base64_table@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	%r12d, %ecx
	shrl	$12, %ecx
	andl	$252, %ecx
	movl	(%rax,%rcx), %edi
	callq	*16(%r13)
	movl	%eax, %edi
	callq	_CK
	movq	(%rbx), %rax
	movl	%r12d, %ecx
	shrl	$6, %ecx
	andl	$252, %ecx
	movl	(%rax,%rcx), %edi
	movl	8(%r13), %esi
	callq	*16(%r13)
	movl	%eax, %edi
	callq	_CK
	movq	(%rbx), %rax
	movl	%r12d, %ecx
	andl	$252, %ecx
	movl	(%rax,%rcx), %edi
	movl	8(%r13), %esi
	callq	*16(%r13)
	movl	%eax, %edi
	callq	_CK
	testb	%r15b, %r15b
	je	LBB0_23
## %bb.24:
	movl	$3, (%r13)
	andl	$3, %r12d
	shll	$16, %r12d
	orl	%r14d, %r12d
	movl	%r12d, 4(%r13)
	jmp	LBB0_28
LBB0_25:
	movl	4(%r13), %ebx
	movl	8(%r13), %esi
	movq	_mbfl_utf7imap_base64_table@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	%ebx, %ecx
	shrl	$10, %ecx
	andl	$252, %ecx
	movl	(%rax,%rcx), %edi
	callq	*16(%r13)
	movl	%eax, %edi
	callq	_CK
	movq	(%r12), %rax
	movl	%ebx, %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, %ebx
	movl	(%rax,%rbx,4), %edi
	movl	8(%r13), %esi
	callq	*16(%r13)
	movl	%eax, %edi
	callq	_CK
	testb	%r15b, %r15b
	je	LBB0_18
LBB0_27:
	movl	$1, (%r13)
	movl	%r14d, 4(%r13)
	jmp	LBB0_28
LBB0_15:
	movl	4(%r13), %ebx
	movl	8(%r13), %esi
	movq	_mbfl_utf7imap_base64_table@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	%ebx, %ecx
	shrl	$8, %ecx
	andl	$252, %ecx
	movl	(%rax,%rcx), %edi
	callq	*16(%r13)
	movl	%eax, %edi
	callq	_CK
	movq	(%r12), %rax
	movl	%ebx, %ecx
	shrl	$2, %ecx
	andl	$252, %ecx
	movl	(%rax,%rcx), %edi
	movl	8(%r13), %esi
	callq	*16(%r13)
	movl	%eax, %edi
	callq	_CK
	testb	%r15b, %r15b
	je	LBB0_16
## %bb.21:
	movl	$2, (%r13)
	andl	$15, %ebx
	shll	$16, %ebx
	orl	%r14d, %ebx
	movl	%ebx, 4(%r13)
	jmp	LBB0_28
LBB0_13:
	movl	%r14d, %edi
	callq	*%rax
	movl	%eax, %edi
	callq	_CK
	cmpl	$38, %r14d
	jne	LBB0_28
## %bb.14:
	movl	8(%r13), %esi
	movl	$45, %edi
	callq	*16(%r13)
	jmp	LBB0_11
LBB0_23:
	movq	(%rbx), %rax
	shll	$4, %r12d
	andl	$48, %r12d
	movl	(%rax,%r12,4), %edi
	jmp	LBB0_17
LBB0_16:
	movq	(%r12), %rax
	shll	$2, %ebx
	andl	$60, %ebx
	movl	(%rax,%rbx,4), %edi
LBB0_17:
	movl	8(%r13), %esi
	callq	*16(%r13)
	movl	%eax, %edi
	callq	_CK
LBB0_18:
	movl	8(%r13), %esi
	movl	$45, %edi
	callq	*16(%r13)
	movl	%eax, %edi
	callq	_CK
	movl	8(%r13), %esi
	movl	%r14d, %edi
	callq	*16(%r13)
	movl	%eax, %edi
	callq	_CK
	cmpl	$38, %r14d
	jne	LBB0_20
## %bb.19:
	movl	8(%r13), %esi
	movl	$45, %edi
	callq	*16(%r13)
	movl	%eax, %edi
	callq	_CK
LBB0_20:
	movl	$0, (%r13)
	jmp	LBB0_28
LBB0_10:
	movl	%r14d, %edi
	movq	%r13, %rsi
	callq	_mbfl_filt_conv_illegal_output
LBB0_11:
	movl	%eax, %edi
	callq	_CK
LBB0_28:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_15
	.long	L0_0_set_22
	.long	L0_0_set_25
	.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_utf7imap_base64_table,8,3 ## @mbfl_utf7imap_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_utf7imap  ; -- Begin function mbfl_filt_conv_wchar_utf7imap
	.p2align	2
_mbfl_filt_conv_wchar_utf7imap:         ; @mbfl_filt_conv_wchar_utf7imap
	.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, #38
	b.ne	LBB0_6
; %bb.1:
	mov	w21, #0
LBB0_2:
	ldr	w8, [x20]
	cmp	w8, #3
	b.hi	LBB0_27
; %bb.3:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	tbz	w21, #0, LBB0_20
; %bb.5:
	mov	w0, #38
	blr	x8
	bl	_CK
	b	LBB0_14
LBB0_6:
	mov	w21, #0
	cbz	w19, LBB0_2
; %bb.7:
	sub	w8, w19, #32
	cmp	w8, #95
	b.lo	LBB0_2
; %bb.8:
	tbnz	w19, #31, LBB0_18
; %bb.9:
Lloh2:
	adrp	x8, _MBFL_WCSPLANE_UCS2MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MBFL_WCSPLANE_UCS2MAX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w19
	b.le	LBB0_18
; %bb.10:
	mov	w21, #1
	b	LBB0_2
LBB0_11:
	ldr	x8, [x20, #16]
Lloh5:
	adrp	x23, _mbfl_utf7imap_base64_table@GOTPAGE
Lloh6:
	ldr	x23, [x23, _mbfl_utf7imap_base64_table@GOTPAGEOFF]
	ldr	x9, [x23]
	ldp	w22, w1, [x20, #4]
	ubfx	x10, x22, #14, #6
	ldr	w0, [x9, x10, lsl #2]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	ldr	x9, [x23]
	ubfx	x10, x22, #8, #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, #2, #6
	ldr	w0, [x9, x10, lsl #2]
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
	tbz	w21, #0, LBB0_22
; %bb.12:
	mov	w8, #3
	ubfiz	w9, w22, #16, #2
	b	LBB0_17
LBB0_13:
	ldr	x8, [x20, #16]
Lloh7:
	adrp	x22, _mbfl_utf7imap_base64_table@GOTPAGE
Lloh8:
	ldr	x22, [x22, _mbfl_utf7imap_base64_table@GOTPAGEOFF]
	ldr	x9, [x22]
	ldp	w23, w1, [x20, #4]
	ubfx	x10, x23, #12, #6
	ldr	w0, [x9, x10, lsl #2]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	ldr	x9, [x22]
	ubfx	x10, x23, #6, #6
	ldr	w0, [x9, x10, lsl #2]
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	ldr	x9, [x22]
	and	x10, x23, #0x3f
	ldr	w0, [x9, x10, lsl #2]
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
	tbz	w21, #0, LBB0_25
LBB0_14:
	mov	w8, #1
	stp	w8, w19, [x20]
	b	LBB0_28
LBB0_15:
	ldr	x8, [x20, #16]
Lloh9:
	adrp	x23, _mbfl_utf7imap_base64_table@GOTPAGE
Lloh10:
	ldr	x23, [x23, _mbfl_utf7imap_base64_table@GOTPAGEOFF]
	ldr	x9, [x23]
	ldp	w22, w1, [x20, #4]
	ubfx	x10, x22, #10, #6
	ldr	w0, [x9, x10, lsl #2]
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	ldr	x9, [x23]
	ubfx	x10, x22, #4, #6
	ldr	w0, [x9, x10, lsl #2]
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
	tbz	w21, #0, LBB0_23
; %bb.16:
	mov	w8, #2
	ubfiz	w9, w22, #16, #4
LBB0_17:
	orr	w9, w9, w19
	stp	w8, w9, [x20]
	b	LBB0_28
LBB0_18:
Lloh11:
	adrp	x8, _MBFL_WCSPLANE_SUPMIN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MBFL_WCSPLANE_SUPMIN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _MBFL_WCSPLANE_SUPMAX@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MBFL_WCSPLANE_SUPMAX@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_29
; %bb.19:
	mov	x0, x19
	mov	x1, x20
	bl	_mbfl_filt_conv_illegal_output
	bl	_CK
	b	LBB0_28
LBB0_20:
	mov	x0, x19
	blr	x8
	bl	_CK
	cmp	w19, #38
	b.ne	LBB0_28
; %bb.21:
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	w0, #45
	blr	x8
	bl	_CK
	b	LBB0_28
LBB0_22:
	ldr	x8, [x20, #16]
	ldr	x9, [x23]
	lsl	w10, w22, #4
	and	x10, x10, #0x30
	b	LBB0_24
LBB0_23:
	ldr	x8, [x20, #16]
	ldr	x9, [x23]
	lsl	w10, w22, #2
	and	x10, x10, #0x3c
LBB0_24:
	ldr	w0, [x9, x10, lsl #2]
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
LBB0_25:
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	w0, #45
	blr	x8
	bl	_CK
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	x0, x19
	blr	x8
	bl	_CK
	cmp	w19, #38
	b.ne	LBB0_27
; %bb.26:
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	w0, #45
	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
LBB0_29:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>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_utf7imap_base64_table,8,3 ; @mbfl_utf7imap_base64_table
.subsections_via_symbols
