	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mbfl_filt_conv_sjis_mac_flush
_mbfl_filt_conv_sjis_mac_flush:         ## @mbfl_filt_conv_sjis_mac_flush
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpl	$1, (%rdi)
	jne	LBB0_8
## %bb.1:
	movl	4(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.2:
	movq	_s_form_tbl_len@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.3:
	movq	_s_form_tbl@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%rsi,%rdx,4), %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_4
	jmp	LBB0_8
LBB0_6:
	movq	_s_form_sjis_fallback_tbl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rdx,4), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.7:
	movzbl	%ah, %edi
	movl	16(%rbx), %esi
	movl	%eax, %r14d
	callq	*24(%rbx)
	movl	%eax, %edi
	callq	_CK
	movzbl	%r14b, %edi
	movl	16(%rbx), %esi
	callq	*24(%rbx)
	movl	%eax, %edi
	callq	_CK
LBB0_8:
	movq	$0, (%rbx)
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movl	16(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_9:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_s_form_tbl_len,4,2             ## @s_form_tbl_len
	.comm	_s_form_tbl,8,3                 ## @s_form_tbl
	.comm	_s_form_sjis_fallback_tbl,8,3   ## @s_form_sjis_fallback_tbl
	.no_dead_strip	_mbfl_filt_conv_sjis_mac_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mbfl_filt_conv_sjis_mac_flush
_mbfl_filt_conv_sjis_mac_flush:         ; @mbfl_filt_conv_sjis_mac_flush
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.1:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.2:
Lloh0:
	adrp	x9, _s_form_tbl_len@GOTPAGE
Lloh1:
	ldr	x9, [x9, _s_form_tbl_len@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x9]
	cmp	w11, #1
	b.lt	LBB0_8
; %bb.3:
	mov	x9, #0
Lloh3:
	adrp	x10, _s_form_tbl@GOTPAGE
Lloh4:
	ldr	x10, [x10, _s_form_tbl@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	lsl	x11, x11, #2
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10, x9]
	cmp	w8, w12
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #4
	cmp	x11, x9
	b.ne	LBB0_4
	b	LBB0_8
LBB0_6:
Lloh6:
	adrp	x8, _s_form_sjis_fallback_tbl@GOTPAGE
Lloh7:
	ldr	x8, [x8, _s_form_sjis_fallback_tbl@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w20, [x8, x9]
	cmp	w20, #1
	b.lt	LBB0_8
; %bb.7:
	ldr	x8, [x19, #24]
	ubfx	w0, w20, #8, #8
	ldr	w1, [x19, #16]
	blr	x8
	bl	_CK
	ldr	x8, [x19, #24]
	and	w0, w20, #0xff
	ldr	w1, [x19, #16]
	blr	x8
	bl	_CK
LBB0_8:
	str	xzr, [x19]
	ldr	x1, [x19, #8]
	cbz	x1, LBB0_10
; %bb.9:
	ldr	w0, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
LBB0_10:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 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	_s_form_tbl_len,4,2             ; @s_form_tbl_len
	.comm	_s_form_tbl,8,3                 ; @s_form_tbl
	.comm	_s_form_sjis_fallback_tbl,8,3   ; @s_form_sjis_fallback_tbl
	.no_dead_strip	_mbfl_filt_conv_sjis_mac_flush
.subsections_via_symbols
