	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_cp1252    ## -- Begin function mbfl_filt_conv_wchar_cp1252
	.p2align	4, 0x90
_mbfl_filt_conv_wchar_cp1252:           ## @mbfl_filt_conv_wchar_cp1252
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rax
	movl	%edi, %ebx
	cmpl	$256, %edi                      ## imm = 0x100
	jl	LBB0_18
## %bb.1:
	movq	_cp1252_ucs_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edi, %edi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$-4, %rdi
	cmpl	$-32, %edi
	je	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$65534, %ebx                    ## imm = 0xFFFE
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, 124(%rcx,%rdi,4)
	je	LBB0_15
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$65534, %ebx                    ## imm = 0xFFFE
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, 120(%rcx,%rdi,4)
	je	LBB0_14
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$65534, %ebx                    ## imm = 0xFFFE
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, 116(%rcx,%rdi,4)
	je	LBB0_16
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$65534, %ebx                    ## imm = 0xFFFE
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	28(%rdi), %edx
	cmpl	%ebx, (%rcx,%rdx,4)
	jne	LBB0_10
## %bb.17:
	addl	$28, %edi
	subl	$-128, %edi
	jmp	LBB0_19
LBB0_18:
	movl	%ebx, %edi
	testl	%ebx, %ebx
	jns	LBB0_19
LBB0_13:
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_mbfl_filt_conv_illegal_output
	jmp	LBB0_20
LBB0_15:
	addl	$31, %edi
	subl	$-128, %edi
	jmp	LBB0_19
LBB0_14:
	addl	$30, %edi
	subl	$-128, %edi
	jmp	LBB0_19
LBB0_16:
	addl	$29, %edi
	subl	$-128, %edi
	jmp	LBB0_19
LBB0_11:
	movq	_MBFL_WCSPLANE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%edi, %ecx
	notl	%ecx
	andl	%ebx, %ecx
	movq	_MBFL_WCSPLANE_8859_1@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_13
## %bb.12:
	andl	%ebx, %edi
	js	LBB0_13
LBB0_19:
	movl	(%rax), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	*8(%rax)
LBB0_20:
	movl	%eax, %edi
	callq	_CK
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cp1252_ucs_table,8,3           ## @cp1252_ucs_table
	.comm	_MBFL_WCSPLANE_MASK,4,2         ## @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_8859_1,4,2       ## @MBFL_WCSPLANE_8859_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_filt_conv_wchar_cp1252    ; -- Begin function mbfl_filt_conv_wchar_cp1252
	.p2align	2
_mbfl_filt_conv_wchar_cp1252:           ; @mbfl_filt_conv_wchar_cp1252
	.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
	cmp	w0, #256
	b.lt	LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _cp1252_ucs_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cp1252_ucs_table@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w0, #159
	mov	w9, #65534
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w0, w0, #1
	cmp	w0, #127
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w19, w9
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w10, w0, #128
	ldr	w10, [x8, w10, uxtw #2]
	cmp	w10, w19
	b.ne	LBB0_2
	b	LBB0_8
LBB0_5:
	mov	x0, x19
	tbz	w19, #31, LBB0_8
	b	LBB0_9
LBB0_6:
Lloh3:
	adrp	x8, _MBFL_WCSPLANE_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MBFL_WCSPLANE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bic	w9, w19, w8
Lloh6:
	adrp	x10, _MBFL_WCSPLANE_8859_1@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MBFL_WCSPLANE_8859_1@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_9
; %bb.7:
	and	w0, w8, w19
	tbnz	w0, #31, LBB0_9
LBB0_8:
	ldr	x8, [x1, #8]
	ldr	w1, [x1]
	blr	x8
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_mbfl_filt_conv_illegal_output
LBB0_10:
	bl	_CK
	mov	x0, x19
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_cp1252_ucs_table,8,3           ; @cp1252_ucs_table
	.comm	_MBFL_WCSPLANE_MASK,4,2         ; @MBFL_WCSPLANE_MASK
	.comm	_MBFL_WCSPLANE_8859_1,4,2       ; @MBFL_WCSPLANE_8859_1
.subsections_via_symbols
