	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_qprintenc       ## -- Begin function mbfl_filt_conv_qprintenc
	.p2align	4, 0x90
_mbfl_filt_conv_qprintenc:              ## @mbfl_filt_conv_qprintenc
	.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
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movl	(%rsi), %eax
	testb	%al, %al
	je	LBB0_1
## %bb.2:
	movl	4(%rbx), %r15d
	movl	%r14d, 4(%rbx)
	testq	%r15, %r15
	je	LBB0_3
## %bb.5:
	movq	_MBFL_QPRINT_STS_MIME_HEADER@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_6
LBB0_13:
	cmpl	$61, %r15d
	je	LBB0_17
## %bb.14:
	leal	-128(%r15), %ecx
	cmpl	$-127, %ecx
	jb	LBB0_17
## %bb.15:
	testl	%eax, (%r12)
	je	LBB0_19
## %bb.16:
	movq	_mbfl_charprop_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MBFL_CHP_MMHQENC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax,%r15,4)
	je	LBB0_19
LBB0_17:
	movl	8(%rbx), %esi
	movl	$61, %edi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	movl	%r15d, %eax
	shrl	$4, %eax
	andl	$15, %eax
	leal	48(%rax), %ecx
	leal	55(%rax), %edi
	cmpl	$10, %eax
	cmovbl	%ecx, %edi
	movl	8(%rbx), %esi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	andl	$15, %r15d
	leal	48(%r15), %eax
	leal	55(%r15), %edi
	cmpl	$10, %r15d
	cmovbl	%eax, %edi
	movl	8(%rbx), %esi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	movl	(%rbx), %eax
	testl	%eax, (%r12)
	jne	LBB0_22
## %bb.18:
	addl	$768, %eax                      ## imm = 0x300
	jmp	LBB0_21
LBB0_1:
	movl	%r14d, 4(%rbx)
	incl	%eax
	jmp	LBB0_21
LBB0_3:
	movl	8(%rbx), %esi
	xorl	%edi, %edi
	jmp	LBB0_4
LBB0_6:
	cmpl	$10, %r15d
	je	LBB0_9
## %bb.7:
	cmpl	$10, %r14d
	je	LBB0_10
## %bb.8:
	cmpl	$13, %r15d
	jne	LBB0_10
LBB0_9:
	movl	8(%rbx), %esi
	movl	$13, %edi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	movl	8(%rbx), %esi
	movl	$10, %edi
LBB0_4:
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	movl	$-65281, %eax                   ## imm = 0xFFFF00FF
	andl	(%rbx), %eax
LBB0_21:
	movl	%eax, (%rbx)
LBB0_22:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movl	8(%rbx), %esi
	movl	%r15d, %edi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	movl	(%rbx), %eax
	testl	%eax, (%r12)
	jne	LBB0_22
## %bb.20:
	addl	$256, %eax                      ## imm = 0x100
	jmp	LBB0_21
LBB0_10:
	cmpl	$13, %r15d
	je	LBB0_22
## %bb.11:
	movl	%eax, %ecx
	andl	$63488, %ecx                    ## imm = 0xF800
	cmpl	$18177, %ecx                    ## imm = 0x4701
	jb	LBB0_13
## %bb.12:
	movl	8(%rbx), %esi
	movl	$61, %edi
	callq	*16(%rbx)
	movl	%eax, %edi
	callq	_CK
	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
	movl	$-65281, %eax                   ## imm = 0xFFFF00FF
	andl	(%rbx), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_MBFL_QPRINT_STS_MIME_HEADER,4,2 ## @MBFL_QPRINT_STS_MIME_HEADER
	.comm	_mbfl_charprop_table,8,3        ## @mbfl_charprop_table
	.comm	_MBFL_CHP_MMHQENC,4,2           ## @MBFL_CHP_MMHQENC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_qprintenc       ; -- Begin function mbfl_filt_conv_qprintenc
	.p2align	2
_mbfl_filt_conv_qprintenc:              ; @mbfl_filt_conv_qprintenc
	.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]
	tst	w8, #0xff
	b.eq	LBB0_9
; %bb.1:
	ldr	w21, [x20, #4]
	str	w19, [x20, #4]
	cbz	w21, LBB0_10
; %bb.2:
Lloh0:
	adrp	x22, _MBFL_QPRINT_STS_MIME_HEADER@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MBFL_QPRINT_STS_MIME_HEADER@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_11
LBB0_3:
	cmp	w21, #61
	b.eq	LBB0_7
; %bb.4:
	sub	w9, w21, #128
	cmn	w9, #127
	b.lo	LBB0_7
; %bb.5:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.6:
Lloh2:
	adrp	x8, _mbfl_charprop_table@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mbfl_charprop_table@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w8, [x8, x21, lsl #2]
Lloh5:
	adrp	x9, _MBFL_CHP_MMHQENC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MBFL_CHP_MMHQENC@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
LBB0_7:
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	w0, #61
	blr	x8
	bl	_CK
	ubfx	w8, w21, #4, #4
	mov	w23, #48
	mov	w9, #48
	bfxil	w9, w21, #4, #4
	add	w10, w8, #55
	cmp	w8, #10
	csel	w0, w9, w10, lo
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
	and	w8, w21, #0xf
	bfxil	w23, w21, #0, #4
	add	w9, w8, #55
	cmp	w8, #10
	csel	w0, w23, w9, lo
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	blr	x8
	bl	_CK
	ldr	w8, [x20]
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_17
; %bb.8:
	add	w8, w8, #768
	b	LBB0_16
LBB0_9:
	str	w19, [x20, #4]
	add	w8, w8, #1
	b	LBB0_16
LBB0_10:
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	w0, #0
	b	LBB0_15
LBB0_11:
	cmp	w21, #10
	b.eq	LBB0_14
; %bb.12:
	cmp	w19, #10
	b.eq	LBB0_20
; %bb.13:
	cmp	w21, #13
	b.ne	LBB0_20
LBB0_14:
	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
LBB0_15:
	blr	x8
	bl	_CK
	ldr	w8, [x20]
	and	w8, w8, #0xffff00ff
LBB0_16:
	str	w8, [x20]
LBB0_17:
	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_18:
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	x0, x21
	blr	x8
	bl	_CK
	ldr	w8, [x20]
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_17
; %bb.19:
	add	w8, w8, #256
	b	LBB0_16
LBB0_20:
	cmp	w21, #13
	b.eq	LBB0_17
; %bb.21:
	and	w9, w8, #0xf800
	mov	w10, #18177
	cmp	w9, w10
	b.lo	LBB0_3
; %bb.22:
	ldr	x8, [x20, #16]
	ldr	w1, [x20, #8]
	mov	w0, #61
	blr	x8
	bl	_CK
	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	w8, w8, #0xffff00ff
	str	w8, [x20]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MBFL_QPRINT_STS_MIME_HEADER,4,2 ; @MBFL_QPRINT_STS_MIME_HEADER
	.comm	_mbfl_charprop_table,8,3        ; @mbfl_charprop_table
	.comm	_MBFL_CHP_MMHQENC,4,2           ; @MBFL_CHP_MMHQENC
.subsections_via_symbols
