	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function COMBOEX_WM_DeleteItem
_COMBOEX_WM_DeleteItem:                 ## @COMBOEX_WM_DeleteItem
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	20(%rsi), %esi
	movl	16(%rbx), %edx
	movq	(%rbx), %rcx
	movl	12(%rbx), %r8d
	movl	8(%rbx), %r9d
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movq	(%rbx), %rcx
	movq	(%r14), %rdx
	movq	_FALSE@GOTPCREL(%rip), %r15
	cmpq	%rdx, %rcx
	jge	LBB0_12
## %bb.1:
	movq	8(%r14), %rbx
	leaq	-1(%rdx), %rax
	movq	(%rbx), %rsi
	cmpq	%rcx, %rax
	jne	LBB0_3
## %bb.2:
	movq	%rsi, 8(%r14)
	jmp	LBB0_11
LBB0_3:
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.4:
	addq	$-2, %rdx
	cmpq	%rcx, %rdx
	jle	LBB0_8
## %bb.5:
	movq	%rdx, %rdi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rbx
	movq	(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	decq	%rdi
	cmpq	%rcx, %rdi
	jg	LBB0_7
LBB0_8:
	cmpq	%rdx, %rcx
	jle	LBB0_10
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	callq	_ERR
	jmp	LBB0_12
LBB0_10:
	movq	(%rsi), %rcx
	movq	%rcx, (%rbx)
	movq	%rsi, %rbx
LBB0_11:
	movq	%rax, (%r14)
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	$-1, -32(%rbp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_COMBOEX_CopyItem
	movq	_CBEN_DELETEITEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_COMBOEX_NotifyItem
	movq	%rbx, %rdi
	callq	_COMBOEX_FreeText
	movq	%rbx, %rdi
	callq	_Free
	movq	_TRUE@GOTPCREL(%rip), %r15
LBB0_12:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CtlType=%08x, CtlID=%08x, itemID=%08x, hwnd=%p, data=%08lx\n"

	.comm	_FALSE,4,2                      ## @FALSE
L_.str.1:                               ## @.str.1
	.asciz	"COMBOBOXEX item structures broken. Please report!\n"

	.comm	_CBEN_DELETEITEM,4,2            ## @CBEN_DELETEITEM
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_COMBOEX_WM_DeleteItem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function COMBOEX_WM_DeleteItem
_COMBOEX_WM_DeleteItem:                 ; @COMBOEX_WM_DeleteItem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w1, [x1, #20]
	ldp	w4, w2, [x20, #12]
	ldr	x3, [x20]
	ldr	w5, [x20, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldr	x9, [x20]
	ldr	x11, [x19]
	cmp	x9, x11
	b.ge	LBB0_10
; %bb.1:
	ldr	x20, [x19, #8]
	sub	x8, x11, #1
	ldr	x10, [x20]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	str	x10, [x19, #8]
	b	LBB0_12
LBB0_3:
	cbz	x10, LBB0_9
; %bb.4:
	sub	x11, x11, #2
	cmp	x11, x9
	b.le	LBB0_8
; %bb.5:
	mov	x12, x11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x20, x10
	ldr	x10, [x10]
	cbz	x10, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x12, x12, #1
	cmp	x12, x9
	b.gt	LBB0_6
LBB0_8:
	cmp	x9, x11
	b.le	LBB0_11
LBB0_9:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ERR
LBB0_10:
Lloh4:
	adrp	x8, _FALSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	ldr	x9, [x10]
	str	x9, [x20]
	mov	x20, x10
LBB0_12:
	str	x8, [x19]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w8, #-1
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_COMBOEX_CopyItem
Lloh6:
	adrp	x8, _CBEN_DELETEITEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CBEN_DELETEITEM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_COMBOEX_NotifyItem
	mov	x0, x20
	bl	_COMBOEX_FreeText
	mov	x0, x20
	bl	_Free
Lloh9:
	adrp	x8, _TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CtlType=%08x, CtlID=%08x, itemID=%08x, hwnd=%p, data=%08lx\n"

	.comm	_FALSE,4,2                      ; @FALSE
l_.str.1:                               ; @.str.1
	.asciz	"COMBOBOXEX item structures broken. Please report!\n"

	.comm	_CBEN_DELETEITEM,4,2            ; @CBEN_DELETEITEM
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_COMBOEX_WM_DeleteItem
.subsections_via_symbols
