	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CBRollUp
_CBRollUp:                              ## @CBRollUp
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	24(%rdi), %r14d
	movq	_CBF_DROPPED@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	andl	(%rdi), %ecx
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	callq	_TRACE
	testq	%rbx, %rbx
	jne	LBB0_1
## %bb.2:
	movq	_CBN_SELENDCANCEL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_CBN_SELENDOK@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_CB_NOTIFY
	movl	%r14d, %edi
	callq	_IsWindow
	testq	%rax, %rax
	je	LBB0_18
## %bb.4:
	movq	%r12, %rdi
	callq	_CB_GETTYPE
	movq	_CBS_SIMPLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_18
## %bb.5:
	movl	(%r12), %eax
	movl	(%r13), %ecx
	testl	%eax, %ecx
	je	LBB0_18
## %bb.6:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%r12)
	movq	8(%r12), %rdi
	movq	_SW_HIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ShowWindow
	xorl	%eax, %eax
	callq	_GetCapture
	cmpq	8(%r12), %rax
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_ReleaseCapture
LBB0_8:
	movq	%r12, %rdi
	callq	_CB_GETTYPE
	movq	_CBS_DROPDOWN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	movl	20(%r12), %eax
	movl	%eax, -44(%rbp)
	testq	%r15, %r15
	jne	LBB0_15
	jmp	LBB0_17
LBB0_10:
	testq	%r15, %r15
	je	LBB0_12
## %bb.11:
	leaq	20(%r12), %rsi
	leaq	16(%r12), %rdx
	leaq	-44(%rbp), %rdi
	callq	_UnionRect
	jmp	LBB0_13
LBB0_12:
	movl	16(%r12), %eax
	movl	%eax, -44(%rbp)
LBB0_13:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_17
LBB0_15:
	movq	_CBF_NOREDRAW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	jne	LBB0_17
## %bb.16:
	movq	_RDW_INVALIDATE@GOTPCREL(%rip), %rax
	movq	_RDW_ERASE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_RDW_UPDATENOW@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_RDW_NOCHILDREN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	leaq	-44(%rbp), %rsi
	movl	%r14d, %edi
	xorl	%edx, %edx
	callq	_RedrawWindow
LBB0_17:
	movq	_CBN_CLOSEUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_CB_NOTIFY
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%p]: sel ok? [%i] dropped? [%i]\n"

	.comm	_CBF_DROPPED,4,2                ## @CBF_DROPPED
	.comm	_CBN_SELENDOK,4,2               ## @CBN_SELENDOK
	.comm	_CBN_SELENDCANCEL,4,2           ## @CBN_SELENDCANCEL
	.comm	_CBS_SIMPLE,8,3                 ## @CBS_SIMPLE
	.comm	_SW_HIDE,4,2                    ## @SW_HIDE
	.comm	_CBS_DROPDOWN,8,3               ## @CBS_DROPDOWN
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_CBF_NOREDRAW,4,2               ## @CBF_NOREDRAW
	.comm	_RDW_INVALIDATE,4,2             ## @RDW_INVALIDATE
	.comm	_RDW_ERASE,4,2                  ## @RDW_ERASE
	.comm	_RDW_UPDATENOW,4,2              ## @RDW_UPDATENOW
	.comm	_RDW_NOCHILDREN,4,2             ## @RDW_NOCHILDREN
	.comm	_CBN_CLOSEUP,4,2                ## @CBN_CLOSEUP
	.no_dead_strip	_CBRollUp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CBRollUp
_CBRollUp:                              ; @CBRollUp
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w20, [x0, #24]
	ldr	w8, [x0]
Lloh0:
	adrp	x23, _CBF_DROPPED@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CBF_DROPPED@GOTPAGEOFF]
	ldr	w9, [x23]
	and	w3, w9, w8
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x22
	bl	_TRACE
Lloh4:
	adrp	x8, _CBN_SELENDOK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CBN_SELENDOK@GOTPAGEOFF]
Lloh6:
	adrp	x9, _CBN_SELENDCANCEL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CBN_SELENDCANCEL@GOTPAGEOFF]
	cmp	x22, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_CB_NOTIFY
	mov	x0, x20
	bl	_IsWindow
	cbz	x0, LBB0_14
; %bb.1:
	mov	x0, x19
	bl	_CB_GETTYPE
Lloh8:
	adrp	x8, _CBS_SIMPLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CBS_SIMPLE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_14
; %bb.2:
	ldr	w8, [x19]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.3:
	bic	w8, w8, w9
	str	w8, [x19]
	ldr	x0, [x19, #8]
Lloh11:
	adrp	x8, _SW_HIDE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SW_HIDE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_ShowWindow
	bl	_GetCapture
	ldr	x8, [x19, #8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	bl	_ReleaseCapture
LBB0_5:
	mov	x0, x19
	bl	_CB_GETTYPE
Lloh14:
	adrp	x8, _CBS_DROPDOWN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CBS_DROPDOWN@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.6:
	ldr	w8, [x19, #20]
	str	w8, [sp, #12]
	cbnz	x21, LBB0_11
	b	LBB0_13
LBB0_7:
	cbz	x21, LBB0_9
; %bb.8:
	add	x1, x19, #20
	add	x2, x19, #16
	add	x0, sp, #12
	bl	_UnionRect
	b	LBB0_10
LBB0_9:
	ldr	w8, [x19, #16]
	str	w8, [sp, #12]
LBB0_10:
Lloh17:
	adrp	x8, _TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh19:
	ldr	x21, [x8]
	cbz	x21, LBB0_13
LBB0_11:
	ldr	w8, [x19]
Lloh20:
	adrp	x9, _CBF_NOREDRAW@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CBF_NOREDRAW@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_13
; %bb.12:
Lloh23:
	adrp	x8, _RDW_INVALIDATE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RDW_INVALIDATE@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _RDW_ERASE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _RDW_ERASE@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh29:
	adrp	x9, _RDW_UPDATENOW@GOTPAGE
Lloh30:
	ldr	x9, [x9, _RDW_UPDATENOW@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh32:
	adrp	x9, _RDW_NOCHILDREN@GOTPAGE
Lloh33:
	ldr	x9, [x9, _RDW_NOCHILDREN@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w3, w8, w9
	add	x1, sp, #12
	mov	x0, x20
	mov	w2, #0
	bl	_RedrawWindow
LBB0_13:
Lloh35:
	adrp	x8, _CBN_CLOSEUP@GOTPAGE
Lloh36:
	ldr	x8, [x8, _CBN_CLOSEUP@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_CB_NOTIFY
LBB0_14:
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%p]: sel ok? [%i] dropped? [%i]\n"

	.comm	_CBF_DROPPED,4,2                ; @CBF_DROPPED
	.comm	_CBN_SELENDOK,4,2               ; @CBN_SELENDOK
	.comm	_CBN_SELENDCANCEL,4,2           ; @CBN_SELENDCANCEL
	.comm	_CBS_SIMPLE,8,3                 ; @CBS_SIMPLE
	.comm	_SW_HIDE,4,2                    ; @SW_HIDE
	.comm	_CBS_DROPDOWN,8,3               ; @CBS_DROPDOWN
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_CBF_NOREDRAW,4,2               ; @CBF_NOREDRAW
	.comm	_RDW_INVALIDATE,4,2             ; @RDW_INVALIDATE
	.comm	_RDW_ERASE,4,2                  ; @RDW_ERASE
	.comm	_RDW_UPDATENOW,4,2              ; @RDW_UPDATENOW
	.comm	_RDW_NOCHILDREN,4,2             ; @RDW_NOCHILDREN
	.comm	_CBN_CLOSEUP,4,2                ; @CBN_CLOSEUP
	.no_dead_strip	_CBRollUp
.subsections_via_symbols
