	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function REBAR_LButtonUp
_REBAR_LButtonUp:                       ## @REBAR_LButtonUp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$0, (%rdi)
	js	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rdi)
	movups	%xmm0, 16(%rdi)
	xorl	%eax, %eax
	callq	_ReleaseCapture
	movq	_BEGIN_DRAG_ISSUED@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_3
## %bb.2:
	movq	_RBN_LAYOUTCHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_REBAR_Notify
	movl	(%rbx), %esi
	movq	_RBN_ENDDRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_REBAR_Notify_NMREBAR
	movl	(%r14), %eax
	notl	%eax
	andl	%eax, 4(%rbx)
LBB0_3:
	movl	$-1, (%rbx)
	movl	8(%rbx), %edi
	leaq	-20(%rbp), %rsi
	callq	_GetClientRect
	movl	8(%rbx), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_InvalidateRect
LBB0_4:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BEGIN_DRAG_ISSUED,4,2          ## @BEGIN_DRAG_ISSUED
	.comm	_RBN_LAYOUTCHANGED,4,2          ## @RBN_LAYOUTCHANGED
	.comm	_RBN_ENDDRAG,4,2                ## @RBN_ENDDRAG
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_REBAR_LButtonUp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function REBAR_LButtonUp
_REBAR_LButtonUp:                       ; @REBAR_LButtonUp
	.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
	ldr	w8, [x0]
	tbnz	w8, #31, LBB0_4
; %bb.1:
	mov	x19, x0
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x0, #16]
	bl	_ReleaseCapture
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x20, _BEGIN_DRAG_ISSUED@GOTPAGE
Lloh1:
	ldr	x20, [x20, _BEGIN_DRAG_ISSUED@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _RBN_LAYOUTCHANGED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RBN_LAYOUTCHANGED@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x0, sp, #12
	mov	x1, x19
	bl	_REBAR_Notify
	ldr	w1, [x19]
Lloh5:
	adrp	x8, _RBN_ENDDRAG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RBN_ENDDRAG@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_REBAR_Notify_NMREBAR
	ldr	w8, [x20]
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
	str	w8, [x19, #4]
LBB0_3:
	mov	w8, #-1
	str	w8, [x19]
	ldr	w0, [x19, #8]
	add	x1, sp, #8
	bl	_GetClientRect
	ldr	w0, [x19, #8]
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x1, #0
	bl	_InvalidateRect
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_BEGIN_DRAG_ISSUED,4,2          ; @BEGIN_DRAG_ISSUED
	.comm	_RBN_LAYOUTCHANGED,4,2          ; @RBN_LAYOUTCHANGED
	.comm	_RBN_ENDDRAG,4,2                ; @RBN_ENDDRAG
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_REBAR_LButtonUp
.subsections_via_symbols
