	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _citrus_GBK2K_stdenc_cstowc
__citrus_GBK2K_stdenc_cstowc:           ## @_citrus_GBK2K_stdenc_cstowc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$3, %edx
	ja	LBB0_6
## %bb.1:
	movl	%edx, %eax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_2:
	orl	$32896, %ecx                    ## imm = 0x8080
	jmp	LBB0_3
LBB0_4:
	cmpl	$4, (%rdi)
	jne	LBB0_5
LBB0_3:
	movl	%ecx, (%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_EILSEQ@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EILSEQ,4,2                     ## @EILSEQ
	.no_dead_strip	__citrus_GBK2K_stdenc_cstowc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _citrus_GBK2K_stdenc_cstowc
__citrus_GBK2K_stdenc_cstowc:           ; @_citrus_GBK2K_stdenc_cstowc
	.cfi_startproc
; %bb.0:
	cmp	w2, #3
	b.hi	LBB0_5
; %bb.1:
	mov	w8, w2
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w0, #0
	mov	w8, #32896
	orr	w8, w3, w8
	str	w8, [x1]
	ret
LBB0_3:
	ldr	w8, [x0]
	cmp	w8, #4
	b.ne	LBB0_6
LBB0_4:
	mov	w0, #0
	str	w3, [x1]
	ret
LBB0_5:
Lloh2:
	adrp	x8, _EILSEQ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EILSEQ@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EILSEQ,4,2                     ; @EILSEQ
	.no_dead_strip	__citrus_GBK2K_stdenc_cstowc
.subsections_via_symbols
