	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function COMBOEX_SetItemA
_COMBOEX_SetItemA:                      ## @COMBOEX_SetItemA
	.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	%rsi, %rbx
	movq	%rdi, %r14
	leaq	-48(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
	movq	_CBEIF_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.1:
	movl	4(%rbx), %edi
	callq	_is_textA
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_CP_ACP@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	4(%rbx), %edx
	xorl	%esi, %esi
	movl	$-1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_MultiByteToWideChar
	movl	%eax, %r12d
	leal	4(,%r12,4), %edi
	callq	_Alloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %r15
	movl	(%r13), %edi
	movl	4(%rbx), %edx
	xorl	%esi, %esi
	movl	$-1, %ecx
	movq	%rax, %r8
	movl	%r12d, %r9d
	callq	_MultiByteToWideChar
	movq	%r15, -48(%rbp)
	jmp	LBB0_6
LBB0_5:
	xorl	%r15d, %r15d
LBB0_6:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_COMBOEX_SetItemW
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_Free
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_CBEIF_TEXT,4,2                 ## @CBEIF_TEXT
	.comm	_CP_ACP,4,2                     ## @CP_ACP
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_COMBOEX_SetItemA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function COMBOEX_SetItemA
_COMBOEX_SetItemA:                      ; @COMBOEX_SetItemA
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	w2, #8
	bl	_memcpy
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _CBEIF_TEXT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CBEIF_TEXT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	ldr	w0, [x20, #4]
	bl	_is_textA
	cbz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x23, _CP_ACP@GOTPAGE
Lloh4:
	ldr	x23, [x23, _CP_ACP@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w2, [x20, #4]
	mov	w1, #0
	mov	w3, #-1
	mov	x4, #0
	mov	w5, #0
	bl	_MultiByteToWideChar
	mov	x22, x0
	lsl	w8, w0, #2
	add	w0, w8, #4
	bl	_Alloc
	cbz	x0, LBB0_7
; %bb.3:
	mov	x21, x0
	ldr	w0, [x23]
	ldr	w2, [x20, #4]
	mov	w1, #0
	mov	w3, #-1
	mov	x4, x21
	mov	x5, x22
	bl	_MultiByteToWideChar
	str	x21, [sp, #8]
	b	LBB0_5
LBB0_4:
	mov	x21, #0
LBB0_5:
	add	x1, sp, #8
	mov	x0, x19
	bl	_COMBOEX_SetItemW
	mov	x19, x0
	mov	x0, x21
	bl	_Free
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CBEIF_TEXT,4,2                 ; @CBEIF_TEXT
	.comm	_CP_ACP,4,2                     ; @CP_ACP
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_COMBOEX_SetItemA
.subsections_via_symbols
