	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_html_dec        ## -- Begin function mbfl_filt_conv_html_dec
	.p2align	4, 0x90
_mbfl_filt_conv_html_dec:               ## @mbfl_filt_conv_html_dec
	.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
	movq	16(%rsi), %r12
	movl	(%rsi), %eax
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movslq	%eax, %rcx
	cmpl	$59, %r14d
	jne	LBB0_32
## %bb.5:
	cmpb	$35, 1(%r12)
	jne	LBB0_24
## %bb.6:
	cmpl	$3, %ecx
	jl	LBB0_19
## %bb.7:
	movb	2(%r12), %cl
	movl	%ecx, %edx
	orb	$32, %dl
	cmpb	$120, %dl
	jne	LBB0_8
## %bb.12:
	cmpl	$4, %eax
	jb	LBB0_20
## %bb.13:
	xorl	%edi, %edi
	movl	$3, %ecx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	addl	%edx, %esi
	shll	$4, %edi
	addl	%esi, %edi
	incq	%rcx
	cmpq	%rcx, %rax
	je	LBB0_18
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r12,%rcx), %edx
	leal	-48(%rdx), %ebx
	movl	$-48, %esi
	cmpb	$10, %bl
	jb	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	leal	-65(%rdx), %ebx
	movl	$-55, %esi
	cmpb	$6, %bl
	jb	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	leal	-97(%rdx), %ebx
	movl	$-87, %esi
	cmpb	$5, %bl
	jbe	LBB0_17
	jmp	LBB0_19
LBB0_1:
	cmpl	$38, %r14d
	jne	LBB0_3
## %bb.2:
	movl	$1, (%r13)
	movb	$38, (%r12)
	jmp	LBB0_40
LBB0_32:
	leal	1(%rcx), %eax
	movl	%eax, (%r13)
	movb	%r14b, (%r12,%rcx)
	movq	_html_entity_chars@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_strchr
	testl	%eax, %eax
	je	LBB0_38
## %bb.33:
	movl	(%r13), %eax
	leal	1(%rax), %ecx
	movq	_html_enc_buffer_size@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_34
LBB0_38:
	movl	(%r13), %eax
	cmpl	$38, %r14d
	jne	LBB0_36
## %bb.39:
	cltq
	leaq	-1(%rax), %rcx
	movl	%ecx, (%r13)
	movb	$0, -1(%r12,%rax)
	movq	%r13, %rdi
	callq	_mbfl_filt_conv_html_dec_flush
	movslq	(%r13), %rax
	leal	1(%rax), %ecx
	movl	%ecx, (%r13)
	movb	$38, (%r12,%rax)
	jmp	LBB0_40
LBB0_3:
	movl	4(%r13), %esi
	movl	%r14d, %edi
	callq	*8(%r13)
	movl	%eax, %edi
	callq	_CK
	jmp	LBB0_40
LBB0_24:
	movb	$0, (%r12,%rcx)
	movq	_mbfl_html_entity_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_28
## %bb.25:
	leaq	1(%r12), %r15
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	24(%rbx), %rsi
	addq	$16, %rbx
	testq	%rsi, %rsi
	jne	LBB0_26
	jmp	LBB0_28
LBB0_34:
	cmpl	$35, %r14d
	jne	LBB0_40
## %bb.35:
	cmpl	$2, %eax
	jle	LBB0_40
LBB0_36:
	cltq
	jmp	LBB0_37
LBB0_29:
	movl	(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_28
## %bb.30:
	movl	4(%r13), %esi
	jmp	LBB0_31
LBB0_28:
	movslq	(%r13), %rax
	leal	1(%rax), %ecx
	movl	%ecx, (%r13)
	movb	$59, (%r12,%rax)
	movslq	(%r13), %rax
LBB0_37:
	movb	$0, (%r12,%rax)
	movq	%r13, %rdi
	callq	_mbfl_filt_conv_html_dec_flush
	jmp	LBB0_40
LBB0_8:
	leal	-48(%rcx), %edx
	cmpb	$9, %dl
	ja	LBB0_19
## %bb.9:
	xorl	%edi, %edi
	movl	$3, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	leal	(%rdi,%rdi,4), %esi
	movzbl	%cl, %ecx
	leal	(%rcx,%rsi,2), %edi
	addl	$-48, %edi
	cmpq	%rdx, %rax
	je	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movzbl	(%r12,%rdx), %ecx
	leal	-48(%rcx), %esi
	incq	%rdx
	cmpb	$10, %sil
	jb	LBB0_10
	jmp	LBB0_19
LBB0_18:
	cmpl	$1114112, %edi                  ## imm = 0x110000
	jb	LBB0_23
LBB0_19:
	testl	%eax, %eax
	jle	LBB0_22
LBB0_20:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r12,%rbx), %edi
	movl	4(%r13), %esi
	callq	*8(%r13)
	movl	%eax, %edi
	callq	_CK
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_21
LBB0_22:
	movl	$59, %edi
LBB0_23:
	movl	4(%r13), %esi
                                        ## kill: def $edi killed $edi killed $rdi
LBB0_31:
	callq	*8(%r13)
	movl	%eax, %edi
	callq	_CK
	movl	$0, (%r13)
LBB0_40:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mbfl_html_entity_list,8,3      ## @mbfl_html_entity_list
	.comm	_html_entity_chars,4,2          ## @html_entity_chars
	.comm	_html_enc_buffer_size,4,2       ## @html_enc_buffer_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_html_dec        ; -- Begin function mbfl_filt_conv_html_dec
	.p2align	2
_mbfl_filt_conv_html_dec:               ; @mbfl_filt_conv_html_dec
	.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	x22, [x1, #16]
	ldr	w8, [x1]
	cbz	w8, LBB0_7
; %bb.1:
	sxtw	x9, w8
	cmp	w19, #59
	b.ne	LBB0_16
; %bb.2:
	mov	x21, x22
	ldrb	w10, [x21, #1]!
	cmp	w10, #35
	b.ne	LBB0_21
; %bb.3:
	cmp	w9, #3
	b.lt	LBB0_35
; %bb.4:
	ldrb	w9, [x22, #2]
	orr	w10, w9, #0x20
	cmp	w10, #120
	b.ne	LBB0_30
; %bb.5:
	cmp	w8, #4
	b.lo	LBB0_36
; %bb.6:
	mov	w0, #0
	add	x9, x22, #3
	sub	x10, x8, #3
	b	LBB0_11
LBB0_7:
	cmp	w19, #38
	b.ne	LBB0_20
; %bb.8:
	mov	w8, #1
	str	w8, [x20]
	mov	w8, #38
	strb	w8, [x22]
	b	LBB0_40
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	w12, #-48
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	w11, w12, w11
	add	w0, w11, w0, lsl #4
	add	x9, x9, #1
	subs	x10, x10, #1
	b.eq	LBB0_34
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w11, [x9]
	sub	w12, w11, #48
	cmp	w12, #10
	b.lo	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	w12, w11, #65
	cmp	w12, #6
	b.hs	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	w12, #-55
	b	LBB0_10
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	sub	w12, w11, #97
	cmp	w12, #5
	b.hi	LBB0_35
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	w12, #-87
	b	LBB0_10
LBB0_16:
	add	w8, w9, #1
	str	w8, [x20]
	strb	w19, [x22, x9]
Lloh0:
	adrp	x8, _html_entity_chars@GOTPAGE
Lloh1:
	ldr	x8, [x8, _html_entity_chars@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_strchr
	cbz	w0, LBB0_18
; %bb.17:
	ldr	w8, [x20]
	add	w9, w8, #1
Lloh3:
	adrp	x10, _html_enc_buffer_size@GOTPAGE
Lloh4:
	ldr	x10, [x10, _html_enc_buffer_size@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_24
LBB0_18:
	ldr	w8, [x20]
	cmp	w19, #38
	b.ne	LBB0_26
; %bb.19:
	sxtw	x8, w8
	sub	x8, x8, #1
	str	w8, [x20]
	strb	wzr, [x22, x8]
	mov	x0, x20
	bl	_mbfl_filt_conv_html_dec_flush
	ldrsw	x8, [x20]
	add	w9, w8, #1
	str	w9, [x20]
	mov	w9, #38
	strb	w9, [x22, x8]
	b	LBB0_40
LBB0_20:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	mov	x0, x19
	blr	x8
	bl	_CK
	b	LBB0_40
LBB0_21:
	strb	wzr, [x22, x9]
Lloh6:
	adrp	x8, _mbfl_html_entity_list@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mbfl_html_entity_list@GOTPAGEOFF]
Lloh8:
	ldr	x23, [x8]
	ldr	x1, [x23, #8]
	cbz	x1, LBB0_28
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_27
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x1, [x23, #24]
	add	x23, x23, #16
	cbnz	x1, LBB0_22
	b	LBB0_28
LBB0_24:
	cmp	w19, #35
	b.ne	LBB0_40
; %bb.25:
	cmp	w8, #2
	b.le	LBB0_40
LBB0_26:
	strb	wzr, [x22, w8, sxtw]
	b	LBB0_29
LBB0_27:
	ldr	w0, [x23]
	cbnz	w0, LBB0_39
LBB0_28:
	ldrsw	x8, [x20]
	add	w9, w8, #1
	str	w9, [x20]
	mov	w9, #59
	strb	w9, [x22, x8]
	ldrsw	x8, [x20]
	strb	wzr, [x22, x8]
LBB0_29:
	mov	x0, x20
	bl	_mbfl_filt_conv_html_dec_flush
	b	LBB0_40
LBB0_30:
	sub	w10, w9, #48
	cmp	w10, #9
	b.hi	LBB0_35
; %bb.31:
	mov	w0, #0
	add	x10, x22, #3
	sub	x11, x8, #3
	mov	w12, #10
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	madd	w9, w0, w12, w9
	sub	w0, w9, #48
	cbz	x11, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
	ldrb	w9, [x10], #1
	sub	w13, w9, #48
	sub	x11, x11, #1
	cmp	w13, #10
	b.lo	LBB0_32
	b	LBB0_35
LBB0_34:
	cmp	w0, #272, lsl #12               ; =1114112
	b.lo	LBB0_39
LBB0_35:
	cmp	w8, #1
	b.lt	LBB0_38
LBB0_36:
	mov	x21, #0
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldrsb	w0, [x22, x21]
	ldr	w1, [x20, #4]
	blr	x8
	bl	_CK
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_37
LBB0_38:
	mov	w0, #59
LBB0_39:
	ldr	x8, [x20, #8]
	ldr	w1, [x20, #4]
	blr	x8
	bl	_CK
	str	wzr, [x20]
LBB0_40:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_mbfl_html_entity_list,8,3      ; @mbfl_html_entity_list
	.comm	_html_entity_chars,4,2          ; @html_entity_chars
	.comm	_html_enc_buffer_size,4,2       ; @html_enc_buffer_size
.subsections_via_symbols
