	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function towide_dbcs
_towide_dbcs:                           ## @towide_dbcs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	testb	$-128, %al
	jne	LBB0_2
## %bb.1:
	movl	%eax, (%rdi)
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_2:
	cmpl	$1, %edx
	ja	LBB0_4
## %bb.3:
	movq	%rsi, %rdi
	callq	_show_mb
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_werr
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_4:
	movl	%eax, %ecx
	shll	$8, %ecx
	shrl	$8, %eax
	movsbl	%al, %eax
	orl	%ecx, %eax
	movl	%eax, (%rdi)
	movl	$2, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"incomplete character sequence (%s)"

	.no_dead_strip	_towide_dbcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function towide_dbcs
_towide_dbcs:                           ; @towide_dbcs
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x1]
	tbnz	w8, #7, LBB0_2
; %bb.1:
	str	w8, [x0]
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	cmp	w2, #1
	b.hi	LBB0_4
; %bb.3:
	mov	x0, x1
	bl	_show_mb
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_werr
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	lsl	w9, w8, #8
	lsl	w8, w8, #16
	orr	w8, w9, w8, asr #24
	str	w8, [x0]
	mov	w0, #2
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"incomplete character sequence (%s)"

	.no_dead_strip	_towide_dbcs
.subsections_via_symbols
