	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function COMBO_ThemedPaint
_COMBO_ThemedPaint:                     ## @COMBO_ThemedPaint
	.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	%edx, %r14d
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movq	%rsi, %rdi
	callq	_CB_GETTYPE
	movq	_CBS_SIMPLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movl	16(%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
	xorl	%eax, %eax
	callq	_COMBO_XBORDERSIZE
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_COMBO_YBORDERSIZE
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_InflateRect
	jmp	LBB0_3
LBB0_1:
	movl	12(%rbx), %edi
	leaq	-44(%rbp), %rsi
	callq	_GetClientRect
LBB0_3:
	movl	12(%rbx), %edi
	callq	_IsWindowEnabled
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movq	_CBXS_DISABLED@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_CBXS_NORMAL@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %ecx
	leaq	-44(%rbp), %r8
	movl	%r15d, %edi
	movl	%r14d, %esi
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	callq	_DrawThemeBackground
	leaq	8(%rbx), %r12
	movq	%r12, %rdi
	callq	_IsRectEmpty
	testl	%eax, %eax
	jne	LBB0_15
## %bb.7:
	movl	12(%rbx), %edi
	callq	_IsWindowEnabled
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movl	(%rbx), %eax
	movq	_CBF_BUTTONDOWN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	movq	_CBXS_PRESSED@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_8:
	movq	_CBXS_DISABLED@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_11:
	movq	_CBF_HOT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_12
## %bb.13:
	movq	_CBXS_NORMAL@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_12:
	movq	_CBXS_HOT@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %ecx
	movq	_CP_DROPDOWNBUTTON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movl	%r14d, %esi
	movq	%r12, %r8
	xorl	%r9d, %r9d
	callq	_DrawThemeBackground
LBB0_15:
	movl	4(%rbx), %eax
	movq	_CBS_DROPDOWNLIST@GOTPCREL(%rip), %rcx
	notl	%eax
	testl	%eax, (%rcx)
	jne	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_CBPaintText
LBB0_17:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CBS_SIMPLE,8,3                 ## @CBS_SIMPLE
	.comm	_CBXS_NORMAL,4,2                ## @CBXS_NORMAL
	.comm	_CBXS_DISABLED,4,2              ## @CBXS_DISABLED
	.comm	_CBF_BUTTONDOWN,4,2             ## @CBF_BUTTONDOWN
	.comm	_CBXS_PRESSED,4,2               ## @CBXS_PRESSED
	.comm	_CBF_HOT,4,2                    ## @CBF_HOT
	.comm	_CBXS_HOT,4,2                   ## @CBXS_HOT
	.comm	_CP_DROPDOWNBUTTON,4,2          ## @CP_DROPDOWNBUTTON
	.comm	_CBS_DROPDOWNLIST,4,2           ## @CBS_DROPDOWNLIST
	.no_dead_strip	_COMBO_ThemedPaint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function COMBO_ThemedPaint
_COMBO_ThemedPaint:                     ; @COMBO_ThemedPaint
	.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, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_CB_GETTYPE
Lloh0:
	adrp	x8, _CBS_SIMPLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CBS_SIMPLE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x20, #16]
	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
	bl	_COMBO_XBORDERSIZE
	mov	x22, x0
	bl	_COMBO_YBORDERSIZE
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x22
	bl	_InflateRect
	b	LBB0_3
LBB0_2:
	ldr	w0, [x20, #12]
	add	x1, sp, #12
	bl	_GetClientRect
LBB0_3:
	ldr	w0, [x20, #12]
	bl	_IsWindowEnabled
Lloh3:
	adrp	x23, _CBXS_NORMAL@GOTPAGE
Lloh4:
	ldr	x23, [x23, _CBXS_NORMAL@GOTPAGEOFF]
Lloh5:
	adrp	x8, _CBXS_DISABLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CBXS_DISABLED@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x23, eq
	ldr	w3, [x8]
	add	x4, sp, #12
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
	mov	x5, #0
	bl	_DrawThemeBackground
	add	x22, x20, #8
	mov	x0, x22
	bl	_IsRectEmpty
	cbnz	w0, LBB0_10
; %bb.4:
	ldr	w0, [x20, #12]
	bl	_IsWindowEnabled
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w8, [x20]
Lloh7:
	adrp	x9, _CBF_BUTTONDOWN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CBF_BUTTONDOWN@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.6:
Lloh10:
	adrp	x8, _CBXS_PRESSED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CBXS_PRESSED@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh12:
	adrp	x8, _CBXS_DISABLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CBXS_DISABLED@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh14:
	adrp	x9, _CBF_HOT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CBF_HOT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _CBXS_HOT@GOTPAGE
Lloh18:
	ldr	x10, [x10, _CBXS_HOT@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x23, x10, eq
LBB0_9:
	ldr	w3, [x8]
Lloh19:
	adrp	x8, _CP_DROPDOWNBUTTON@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CP_DROPDOWNBUTTON@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	x4, x22
	mov	x5, #0
	bl	_DrawThemeBackground
LBB0_10:
	ldr	w8, [x20, #4]
Lloh22:
	adrp	x9, _CBS_DROPDOWNLIST@GOTPAGE
Lloh23:
	ldr	x9, [x9, _CBS_DROPDOWNLIST@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x20
	mov	x1, x19
	bl	_CBPaintText
LBB0_12:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_CBS_SIMPLE,8,3                 ; @CBS_SIMPLE
	.comm	_CBXS_NORMAL,4,2                ; @CBXS_NORMAL
	.comm	_CBXS_DISABLED,4,2              ; @CBXS_DISABLED
	.comm	_CBF_BUTTONDOWN,4,2             ; @CBF_BUTTONDOWN
	.comm	_CBXS_PRESSED,4,2               ; @CBXS_PRESSED
	.comm	_CBF_HOT,4,2                    ; @CBF_HOT
	.comm	_CBXS_HOT,4,2                   ; @CBXS_HOT
	.comm	_CP_DROPDOWNBUTTON,4,2          ; @CP_DROPDOWNBUTTON
	.comm	_CBS_DROPDOWNLIST,4,2           ; @CBS_DROPDOWNLIST
	.no_dead_strip	_COMBO_ThemedPaint
.subsections_via_symbols
