	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function COMBOEX_GetText
_COMBOEX_GetText:                       ## @COMBOEX_GetText
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rbx
	movq	_LPSTR_TEXTCALLBACKW@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_10
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_ZeroMemory
	movq	_CBEIF_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movl	16(%r14), %eax
	movl	%eax, -36(%rbp)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_COMBOEX_GetIndex
	movl	%eax, -40(%rbp)
	movq	_CBEN_GETDISPINFOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_COMBOEX_NotifyItem
	movq	-48(%rbp), %rdi
	callq	_is_textW
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	_CP_ACP@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	-48(%rbp), %edx
	xorl	%esi, %esi
	movl	$-1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_MultiByteToWideChar
	movl	%eax, %r15d
	leal	4(,%r15,4), %edi
	callq	_Alloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r12), %edi
	movl	-48(%rbp), %edx
	xorl	%esi, %esi
	movl	$-1, %ecx
	movq	%rbx, %r8
	movl	%r15d, %r9d
	callq	_MultiByteToWideChar
LBB0_4:
	movq	_CBEIF_DI_SETITEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -56(%rbp)
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_COMBOEX_FreeText
	movq	%rbx, (%r14)
	jmp	LBB0_8
LBB0_7:
	movq	-48(%rbp), %rbx
	jmp	LBB0_8
LBB0_6:
	movq	8(%r14), %rdi
	callq	_Free
	movq	%rbx, 8(%r14)
LBB0_8:
	movq	_CBEIF_DI_SETITEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -56(%rbp)
	je	LBB0_10
## %bb.9:
	movq	%rbx, (%r14)
LBB0_10:
	movq	%rbx, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LPSTR_TEXTCALLBACKW,8,3        ## @LPSTR_TEXTCALLBACKW
	.comm	_CBEIF_TEXT,4,2                 ## @CBEIF_TEXT
	.comm	_CBEN_GETDISPINFOW,4,2          ## @CBEN_GETDISPINFOW
	.comm	_CP_ACP,4,2                     ## @CP_ACP
	.comm	_CBEIF_DI_SETITEM,4,2           ## @CBEIF_DI_SETITEM
	.no_dead_strip	_COMBOEX_GetText
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function COMBOEX_GetText
_COMBOEX_GetText:                       ; @COMBOEX_GetText
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x20, [x1]
Lloh0:
	adrp	x8, _LPSTR_TEXTCALLBACKW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LPSTR_TEXTCALLBACKW@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_10
; %bb.1:
	mov	x19, x1
	mov	x21, x0
	add	x0, sp, #8
	mov	w1, #24
	bl	_ZeroMemory
Lloh3:
	adrp	x8, _CBEIF_TEXT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CBEIF_TEXT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	str	w8, [sp, #8]
	str	w9, [sp, #28]
	mov	x0, x21
	mov	x1, x19
	bl	_COMBOEX_GetIndex
	str	w0, [sp, #24]
Lloh6:
	adrp	x8, _CBEN_GETDISPINFOW@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CBEN_GETDISPINFOW@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x21
	bl	_COMBOEX_NotifyItem
	ldr	x0, [sp, #16]
	bl	_is_textW
Lloh9:
	adrp	x22, _CBEIF_DI_SETITEM@GOTPAGE
Lloh10:
	ldr	x22, [x22, _CBEIF_DI_SETITEM@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.2:
Lloh11:
	adrp	x23, _CP_ACP@GOTPAGE
Lloh12:
	ldr	x23, [x23, _CP_ACP@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w2, [sp, #16]
	mov	w1, #0
	mov	w3, #-1
	mov	x4, #0
	mov	w5, #0
	bl	_MultiByteToWideChar
	mov	x21, x0
	lsl	w8, w0, #2
	add	w0, w8, #4
	bl	_Alloc
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x23]
	ldr	w2, [sp, #16]
	mov	w1, #0
	mov	w3, #-1
	mov	x4, x20
	mov	x5, x21
	bl	_MultiByteToWideChar
LBB0_4:
	ldr	w8, [sp, #8]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_COMBOEX_FreeText
	str	x20, [x19]
	b	LBB0_8
LBB0_6:
	ldr	x20, [sp, #16]
	b	LBB0_8
LBB0_7:
	ldr	x0, [x19, #8]
	bl	_Free
	str	x20, [x19, #8]
LBB0_8:
	ldr	w8, [sp, #8]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	str	x20, [x19]
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_LPSTR_TEXTCALLBACKW,8,3        ; @LPSTR_TEXTCALLBACKW
	.comm	_CBEIF_TEXT,4,2                 ; @CBEIF_TEXT
	.comm	_CBEN_GETDISPINFOW,4,2          ; @CBEN_GETDISPINFOW
	.comm	_CP_ACP,4,2                     ; @CP_ACP
	.comm	_CBEIF_DI_SETITEM,4,2           ; @CBEIF_DI_SETITEM
	.no_dead_strip	_COMBOEX_GetText
.subsections_via_symbols
