	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _citrus_UTF7_mbtoutf16
__citrus_UTF7_mbtoutf16:                ## @_citrus_UTF7_mbtoutf16
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	$0, (%r9)
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %rax
	movl	(%r8), %r13d
	xorl	%r15d, %r15d
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r13d, %r15d
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	decq	%rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movsbq	(%rax), %rdi
	incq	%rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %r14
	movslq	%r13d, %r12
	leal	1(%r13), %eax
	movl	%eax, (%rbx)
	movq	%rdi, (%r14,%r12,8)
	movl	%eax, %r13d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbx), %r14
	movslq	%r15d, %r12
	movq	(%r14,%r12,8), %rdi
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_SHIFT7BIT
	testq	%rax, %rax
	jne	LBB0_22
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 4(%rbx)
	je	LBB0_8
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14,%r12,8), %rsi
	movq	_BASE64_OUT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 12(%rbx)
	je	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_FINDLEN
	testl	%eax, %eax
	js	LBB0_19
## %bb.24:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	12(%rbx), %edx
	movq	_BASE64_BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	%cl, %edx
	movl	8(%rbx), %esi
	orl	%eax, %edx
	movl	%edx, 12(%rbx)
	cmpl	$14, %esi
	ja	LBB0_10
## %bb.25:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$341, %eax                      ## imm = 0x155
	btl	%esi, %eax
	jae	LBB0_26
## %bb.32:                              ##   in Loop: Header=BB0_1 Depth=1
	addl	%ecx, %esi
	movl	%esi, 8(%rbx)
	incl	%r15d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 8(%rbx)
	jg	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 12(%rbx)
	jg	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14,%r12,8), %rsi
	movq	_BASE64_IN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, 4(%rbx)
	incl	%r15d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	8(%rbx), %eax
	movq	_BASE64_BIT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_10
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, 4(%rbx)
	movl	$0, 12(%rbx)
	movq	(%r14,%r12,8), %rsi
	movq	_BASE64_OUT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_13
## %bb.21:                              ##   in Loop: Header=BB0_1 Depth=1
	decl	%r13d
	movl	%r13d, (%rbx)
	decl	%r15d
	incl	%r15d
	jmp	LBB0_1
LBB0_13:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ISDIRECT
	testl	%eax, %eax
	je	LBB0_22
## %bb.14:
	movq	(%r14,%r12,8), %rax
	jmp	LBB0_28
LBB0_22:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	$-1, (%rax)
	movq	_EILSEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_31
LBB0_4:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	$-2, (%rax)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	jmp	LBB0_30
LBB0_17:
	movl	$0, 4(%rbx)
	movq	_BASE64_IN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_28
LBB0_26:
	movl	$21504, %eax                    ## imm = 0x5400
	btl	%esi, %eax
	jae	LBB0_10
## %bb.27:
	movq	_UTF16_BIT@GOTPCREL(%rip), %rax
	subl	(%rax), %ecx
	addl	%esi, %ecx
	movl	%ecx, 8(%rbx)
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edx
	movslq	%edx, %rax
	movq	_UTF16_MAX@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
LBB0_28:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	incl	%r15d
	cmpl	%r15d, %r13d
	jle	LBB0_29
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_31
LBB0_29:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, %rax
	subq	-96(%rbp), %rax                 ## 8-byte Folded Reload
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	cmoveq	%rcx, %rax
	movl	$0, (%rbx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rdx, (%rax)
LBB0_30:
	xorl	%eax, %eax
LBB0_31:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_BASE64_IN,8,3                  ## @BASE64_IN
	.comm	_BASE64_OUT,8,3                 ## @BASE64_OUT
	.comm	_BASE64_BIT,4,2                 ## @BASE64_BIT
	.comm	_UTF16_BIT,4,2                  ## @UTF16_BIT
	.comm	_UTF16_MAX,8,3                  ## @UTF16_MAX
	.comm	_EILSEQ,4,2                     ## @EILSEQ
	.no_dead_strip	__citrus_UTF7_mbtoutf16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _citrus_UTF7_mbtoutf16
__citrus_UTF7_mbtoutf16:                ; @_citrus_UTF7_mbtoutf16
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x4
	mov	x24, x3
	stp	x1, x2, [sp, #8]                ; 16-byte Folded Spill
	mov	x23, x0
	mov	w27, #0
	str	x5, [sp, #24]                   ; 8-byte Folded Spill
	str	xzr, [x5]
	ldr	x26, [x2]
	ldr	w28, [x4]
	mov	w25, #1
Lloh0:
	adrp	x20, _BASE64_OUT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _BASE64_OUT@GOTPAGEOFF]
	str	x26, [sp]                       ; 8-byte Folded Spill
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w27, w28
	b.ne	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cbz	x24, LBB0_22
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x24, x24, #1
	ldrsb	x0, [x26], #1
	ldr	x22, [x21, #16]
	sxtw	x19, w28
	str	x0, [x22, w28, sxtw #3]
	add	w8, w28, #1
	str	w8, [x21]
	mov	x28, x8
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_SHIFT7BIT
	cbz	x0, LBB0_5
	b	LBB0_21
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x22, [x21, #16]
	sxtw	x19, w27
	ldr	x0, [x22, w27, sxtw #3]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_SHIFT7BIT
	cbnz	x0, LBB0_21
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x1, [x22, x19, lsl #3]
	ldr	x8, [x20]
	cmp	x1, x8
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x21, #12]
	cbz	w8, LBB0_23
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x23
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_FINDLEN
	tbnz	w0, #31, LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh2:
	adrp	x8, _BASE64_BIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BASE64_BIT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldp	w9, w10, [x21, #8]
	lsl	w10, w10, w8
	orr	w10, w10, w0
	str	w10, [x21, #12]
	cmp	w9, #14
	b.hi	LBB0_27
; %bb.10:                               ;   in Loop: Header=BB0_1 Depth=1
	lsl	w11, w25, w9
	mov	w12, #341
	tst	w11, w12
	b.eq	LBB0_24
; %bb.11:                               ;   in Loop: Header=BB0_1 Depth=1
	add	w8, w9, w8
	str	w8, [x21, #8]
	add	w27, w27, #1
	b	LBB0_1
LBB0_12:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x21, #8]
	cmp	w8, #0
	b.gt	LBB0_27
; %bb.13:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x21, #12]
	cmp	w8, #1
	b.ge	LBB0_27
; %bb.14:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	x1, [x22, x19, lsl #3]
Lloh5:
	adrp	x8, _BASE64_IN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BASE64_IN@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_1 Depth=1
	str	w25, [x21, #4]
	add	w27, w27, #1
	b	LBB0_1
LBB0_16:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x21, #8]
Lloh8:
	adrp	x9, _BASE64_BIT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BASE64_BIT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_27
; %bb.17:                               ;   in Loop: Header=BB0_1 Depth=1
	str	xzr, [x21, #8]
	str	wzr, [x21, #4]
	ldr	x1, [x22, x19, lsl #3]
	ldr	x8, [x20]
	cmp	x1, x8
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_1 Depth=1
	sub	w28, w28, #1
	str	w28, [x21]
	sub	w27, w27, #1
	add	w27, w27, #1
	b	LBB0_1
LBB0_19:
	mov	x0, x23
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ISDIRECT
	cbz	w0, LBB0_21
; %bb.20:
	ldr	x8, [x22, x19, lsl #3]
	b	LBB0_26
LBB0_21:
	mov	x8, #-1
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	str	x8, [x9]
Lloh11:
	adrp	x8, _EILSEQ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EILSEQ@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	b	LBB0_30
LBB0_22:
	mov	w0, #0
	mov	x8, #-2
	b	LBB0_29
LBB0_23:
	str	wzr, [x21, #4]
Lloh14:
	adrp	x8, _BASE64_IN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BASE64_IN@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	b	LBB0_26
LBB0_24:
	mov	w11, #1
	lsl	w11, w11, w9
	mov	w12, #21504
	tst	w11, w12
	b.eq	LBB0_27
; %bb.25:
Lloh17:
	adrp	x11, _UTF16_BIT@GOTPAGE
Lloh18:
	ldr	x11, [x11, _UTF16_BIT@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
	sub	w8, w8, w11
	add	w8, w8, w9
	str	w8, [x21, #8]
	asr	w8, w10, w8
	sxtw	x8, w8
Lloh20:
	adrp	x9, _UTF16_MAX@GOTPAGE
Lloh21:
	ldr	x9, [x9, _UTF16_MAX@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	and	x8, x9, x8
LBB0_26:
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	str	x8, [x9]
	add	w8, w27, #1
	cmp	w28, w8
	b.le	LBB0_28
LBB0_27:
Lloh23:
	adrp	x8, _EINVAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	b	LBB0_30
LBB0_28:
	mov	w0, #0
	str	wzr, [x21]
	ldr	x8, [x9]
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	sub	x9, x26, x9
	cmp	x8, #0
	csel	x8, xzr, x9, eq
LBB0_29:
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	str	x8, [x9]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	x26, [x8]
LBB0_30:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_BASE64_IN,8,3                  ; @BASE64_IN
	.comm	_BASE64_OUT,8,3                 ; @BASE64_OUT
	.comm	_BASE64_BIT,4,2                 ; @BASE64_BIT
	.comm	_UTF16_BIT,4,2                  ; @UTF16_BIT
	.comm	_UTF16_MAX,8,3                  ; @UTF16_MAX
	.comm	_EILSEQ,4,2                     ; @EILSEQ
	.no_dead_strip	__citrus_UTF7_mbtoutf16
.subsections_via_symbols
