	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convert_candidatelist_AtoW
_convert_candidatelist_AtoW:            ## @convert_candidatelist_AtoW
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_CANDIDATELIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_dwOffset@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %esi
	callq	_FIELD_OFFSET
	movq	%rax, %rbx
	testq	%r15, %r15
	je	LBB0_3
## %bb.1:
	testq	%r14, %r14
	jle	LBB0_3
## %bb.2:
	movups	(%r12), %xmm0
	movups	%xmm0, (%r15)
	movq	16(%r12), %rax
	movq	%rax, 16(%r15)
	movq	%rbx, (%rax)
LBB0_3:
	cmpq	$0, (%r12)
	je	LBB0_12
## %bb.4:
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_CP_ACP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	$-1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_MultiByteToWideChar
	incq	%r13
	movq	%r13, %rcx
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	(%rbx,%rax,4), %rbx
	cmpq	(%r12), %rcx
	jae	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movq	(%rax,%r13,8), %rdx
	addq	%r12, %rdx
	testq	%r15, %r15
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%r14, %r14
	jle	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%r13,8), %r8
	addq	%r15, %r8
	movq	_CP_ACP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	$-1, %ecx
	movq	%r14, %r9
	callq	_MultiByteToWideChar
	leaq	1(%r13), %rcx
	cmpq	(%r12), %rcx
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r15), %rdx
	leaq	(,%rax,4), %rsi
	addq	(%rdx,%r13,8), %rsi
	movq	%rsi, 8(%rdx,%r13,8)
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rdx
	shlq	$2, %rdx
	subq	%rdx, %r14
	movq	%rcx, %r13
	jmp	LBB0_11
LBB0_12:
	testq	%r15, %r15
	je	LBB0_14
## %bb.13:
	movq	%rbx, 8(%r15)
LBB0_14:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CANDIDATELIST,4,2              ## @CANDIDATELIST
	.comm	_dwOffset,8,3                   ## @dwOffset
	.comm	_CP_ACP,4,2                     ## @CP_ACP
	.no_dead_strip	_convert_candidatelist_AtoW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_candidatelist_AtoW
_convert_candidatelist_AtoW:            ; @convert_candidatelist_AtoW
	.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, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _CANDIDATELIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CANDIDATELIST@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _dwOffset@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dwOffset@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x21]
	ldr	w1, [x8, x9, lsl #2]
	bl	_FIELD_OFFSET
	mov	x22, x0
	cbz	x19, LBB0_3
; %bb.1:
	cmp	x20, #1
	b.lt	LBB0_3
; %bb.2:
	ldr	q0, [x21]
	ldr	x8, [x21, #16]
	str	x8, [x19, #16]
	str	q0, [x19]
	str	x22, [x8]
LBB0_3:
	ldr	x8, [x21]
	cbz	x8, LBB0_12
; %bb.4:
	mov	x24, #0
Lloh6:
	adrp	x23, _CP_ACP@GOTPAGE
Lloh7:
	ldr	x23, [x23, _CP_ACP@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x23]
	mov	w1, #0
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	w3, #-1
	mov	x4, #0
	mov	x5, #0
	bl	_MultiByteToWideChar
	add	x8, x24, #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, x0, lsl #2
	ldr	x9, [x21]
	mov	x24, x8
	cmp	x8, x9
	b.hs	LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #16]
	ldr	x8, [x8, x24, lsl #3]
	add	x2, x8, x21
	cbz	x19, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	x20, #1
	b.lt	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x24, lsl #3]
	add	x4, x8, x19
	ldr	w0, [x23]
	mov	w1, #0
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	w3, #-1
	mov	x5, x20
	bl	_MultiByteToWideChar
	add	x8, x24, #1
	ldr	x9, [x21]
	cmp	x8, x9
	b.hs	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x19, #16]
	ldr	x10, [x9, x24, lsl #3]
	add	x10, x10, x0, lsl #2
	str	x10, [x9, x8, lsl #3]
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	x20, x20, x0, lsl #2
	b	LBB0_6
LBB0_12:
	cbz	x19, LBB0_14
; %bb.13:
	str	x22, [x19, #8]
LBB0_14:
	mov	x0, x22
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CANDIDATELIST,4,2              ; @CANDIDATELIST
	.comm	_dwOffset,8,3                   ; @dwOffset
	.comm	_CP_ACP,4,2                     ; @CP_ACP
	.no_dead_strip	_convert_candidatelist_AtoW
.subsections_via_symbols
