	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function COMBO_Paint
_COMBO_Paint:                           ## @COMBO_Paint
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_COMBO_PrepareColors
	movq	%rax, %r12
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_SelectObject
	movq	%rax, %r15
	movq	_CBF_EDIT@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, (%rbx)
	jne	LBB0_2
## %bb.1:
	leaq	4(%rbx), %rsi
	movl	%r14d, %edi
	movq	%r12, %rdx
	callq	_FillRect
LBB0_2:
	movl	12(%rbx), %edi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_CBPaintBorder
	leaq	8(%rbx), %rdi
	callq	_IsRectEmpty
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_CBPaintButton
LBB0_4:
	movq	%rbx, %rdi
	callq	_CB_GETTYPE
	movq	_CBS_DROPDOWNLIST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	movl	4(%rbx), %eax
	movl	%eax, -44(%rbp)
	xorl	%eax, %eax
	callq	_EDIT_CONTROL_PADDING
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_EDIT_CONTROL_PADDING
	leaq	-44(%rbp), %r13
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_InflateRect
	movq	_COLOR_WINDOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSysColorBrush
	movl	%r14d, %edi
	movq	%r13, %rsi
	movq	_CBF_EDIT@GOTPCREL(%rip), %r13
	movl	%eax, %edx
	callq	_FrameRect
LBB0_6:
	movl	(%r13), %eax
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.8:
	testq	%r15, %r15
	je	LBB0_10
LBB0_9:
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_SelectObject
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_CBPaintText
	testq	%r15, %r15
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hdc=%p\n"

	.comm	_CBF_EDIT,4,2                   ## @CBF_EDIT
	.comm	_CBS_DROPDOWNLIST,8,3           ## @CBS_DROPDOWNLIST
	.comm	_COLOR_WINDOW,4,2               ## @COLOR_WINDOW
	.no_dead_strip	_COMBO_Paint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function COMBO_Paint
_COMBO_Paint:                           ; @COMBO_Paint
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	mov	x0, x20
	mov	x1, x19
	bl	_COMBO_PrepareColors
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	bl	_SelectObject
	mov	x21, x0
	ldr	w8, [x20]
Lloh2:
	adrp	x23, _CBF_EDIT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _CBF_EDIT@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	add	x1, x20, #4
	mov	x0, x19
	mov	x2, x22
	bl	_FillRect
LBB0_2:
	ldr	w0, [x20, #12]
	mov	x1, x20
	mov	x2, x19
	bl	_CBPaintBorder
	add	x0, x20, #8
	bl	_IsRectEmpty
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w2, [x20, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_CBPaintButton
LBB0_4:
	mov	x0, x20
	bl	_CB_GETTYPE
Lloh4:
	adrp	x8, _CBS_DROPDOWNLIST@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CBS_DROPDOWNLIST@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x20, #4]
	str	w8, [sp, #12]
	bl	_EDIT_CONTROL_PADDING
	mov	x22, x0
	bl	_EDIT_CONTROL_PADDING
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x22
	bl	_InflateRect
Lloh7:
	adrp	x8, _COLOR_WINDOW@GOTPAGE
Lloh8:
	ldr	x8, [x8, _COLOR_WINDOW@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_GetSysColorBrush
	mov	x2, x0
	add	x1, sp, #12
	mov	x0, x19
	bl	_FrameRect
LBB0_6:
	ldr	w8, [x20]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.7:
	cbz	x21, LBB0_9
LBB0_8:
	mov	x0, x19
	mov	x1, x21
	bl	_SelectObject
LBB0_9:
	mov	w0, #0
	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_10:
	mov	x0, x20
	mov	x1, x19
	bl	_CBPaintText
	cbnz	x21, LBB0_8
	b	LBB0_9
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hdc=%p\n"

	.comm	_CBF_EDIT,4,2                   ; @CBF_EDIT
	.comm	_CBS_DROPDOWNLIST,8,3           ; @CBS_DROPDOWNLIST
	.comm	_COLOR_WINDOW,4,2               ; @COLOR_WINDOW
	.no_dead_strip	_COMBO_Paint
.subsections_via_symbols
