	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HEADER_LButtonDown
_HEADER_LButtonDown:                    ## @HEADER_LButtonDown
	.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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	%rsi, -40(%rbp)
	movq	%rdx, -32(%rbp)
	leaq	-40(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	callq	_HEADER_InternalHitTest
	movq	_HDS_BUTTONS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-48(%rbp), %rax
	testl	%ecx, (%rbx)
	je	LBB0_3
## %bb.1:
	movq	_HHT_ONHEADER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movl	32(%rbx), %edi
	callq	_SetCapture
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%rbx)
	movq	%rax, 88(%rbx)
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 80(%rbx)
	movq	-24(%rbp), %rcx
	movq	%rcx, 8(%rbx)
	movups	-40(%rbp), %xmm0
	movups	%xmm0, 64(%rbx)
	movq	40(%rbx), %rdx
	leaq	(%rcx,%rcx,2), %rcx
	movq	%rax, 16(%rdx,%rcx,8)
	movl	32(%rbx), %edi
	callq	_GetDC
	movl	%eax, %r14d
	movq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_HEADER_RefreshItem
	movl	32(%rbx), %edi
	movl	%r14d, %esi
	callq	_ReleaseDC
	movq	-24(%rbp), %rsi
	leaq	L_.str(%rip), %rdi
LBB0_9:
	callq	_TRACE
	jmp	LBB0_10
LBB0_3:
	movq	_HHT_ONDIVIDER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	_HHT_ONDIVOPEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
LBB0_5:
	movq	40(%rbx), %rax
	movq	-24(%rbp), %rdx
	leaq	(%rdx,%rdx,2), %rcx
	movq	(%rax,%rcx,8), %r8
	movq	_HDN_BEGINTRACKW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HDI_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_HEADER_SendNotifyWithIntFieldT
	testl	%eax, %eax
	je	LBB0_6
LBB0_10:
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movl	32(%rbx), %edi
	callq	_SetCapture
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%rbx)
	movq	%rax, 48(%rbx)
	movq	-24(%rbp), %rsi
	movq	%rsi, 8(%rbx)
	movq	40(%rbx), %rax
	leaq	(%rsi,%rsi,2), %rcx
	movq	8(%rax,%rcx,8), %rax
	movq	%rax, %rcx
	subq	-40(%rbp), %rcx
	movq	%rcx, 16(%rbx)
	movq	_HDS_FULLDRAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	jne	LBB0_8
## %bb.7:
	movq	%rax, 24(%rbx)
	movl	32(%rbx), %edi
	callq	_GetDC
	movl	%eax, %r14d
	movq	24(%rbx), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_HEADER_DrawTrackLine
	movl	32(%rbx), %edi
	movl	%r14d, %esi
	callq	_ReleaseDC
	movq	-24(%rbp), %rsi
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_HDS_BUTTONS,4,2                ## @HDS_BUTTONS
	.comm	_HHT_ONHEADER,8,3               ## @HHT_ONHEADER
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Pressed item %d.\n"

	.comm	_HHT_ONDIVIDER,8,3              ## @HHT_ONDIVIDER
	.comm	_HHT_ONDIVOPEN,8,3              ## @HHT_ONDIVOPEN
	.comm	_HDN_BEGINTRACKW,4,2            ## @HDN_BEGINTRACKW
	.comm	_HDI_WIDTH,4,2                  ## @HDI_WIDTH
	.comm	_HDS_FULLDRAG,4,2               ## @HDS_FULLDRAG
L_.str.1:                               ## @.str.1
	.asciz	"Begin tracking item %d.\n"

	.no_dead_strip	_HEADER_LButtonDown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HEADER_LButtonDown
_HEADER_LButtonDown:                    ; @HEADER_LButtonDown
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	stp	x1, x2, [sp, #16]
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x3, sp
	bl	_HEADER_InternalHitTest
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _HDS_BUTTONS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HDS_BUTTONS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w8
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x10, _HHT_ONHEADER@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HHT_ONHEADER@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	w9, #0
	ccmp	x8, x10, #0, ne
	b.eq	LBB0_6
; %bb.1:
Lloh6:
	adrp	x9, _HHT_ONDIVIDER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HHT_ONDIVIDER@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _HHT_ONDIVOPEN@GOTPAGE
Lloh10:
	ldr	x10, [x10, _HHT_ONDIVOPEN@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_8
; %bb.2:
	ldr	x8, [x19, #40]
	ldr	x2, [sp]
	mov	w9, #24
	mul	x9, x2, x9
	ldr	x4, [x8, x9]
Lloh12:
	adrp	x8, _HDN_BEGINTRACKW@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HDN_BEGINTRACKW@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _HDI_WIDTH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HDI_WIDTH@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_HEADER_SendNotifyWithIntFieldT
	cbnz	w0, LBB0_8
; %bb.3:
	ldr	w0, [x19, #32]
	bl	_SetCapture
Lloh18:
	adrp	x8, _TRUE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #48]
	ldr	x1, [sp]
	str	x1, [x19, #8]
	ldr	x8, [x19, #40]
	mov	w9, #24
	madd	x8, x1, x9, x8
	ldr	x8, [x8, #8]
	ldr	x9, [sp, #16]
	sub	x9, x8, x9
	str	x9, [x19, #16]
	ldr	w9, [x19]
Lloh21:
	adrp	x10, _HDS_FULLDRAG@GOTPAGE
Lloh22:
	ldr	x10, [x10, _HDS_FULLDRAG@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_5
; %bb.4:
	str	x8, [x19, #24]
	ldr	w0, [x19, #32]
	bl	_GetDC
	mov	x20, x0
	ldr	x2, [x19, #24]
	mov	x0, x19
	mov	x1, x20
	bl	_HEADER_DrawTrackLine
	ldr	w0, [x19, #32]
	mov	x1, x20
	bl	_ReleaseDC
	ldr	x1, [sp]
LBB0_5:
Lloh24:
	adrp	x0, l_.str.1@PAGE
Lloh25:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:
	ldr	w0, [x19, #32]
	bl	_SetCapture
Lloh26:
	adrp	x8, _TRUE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	str	x8, [x19, #56]
Lloh29:
	adrp	x9, _FALSE@GOTPAGE
Lloh30:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
	str	x8, [x19, #88]
Lloh31:
	ldr	w9, [x9]
	str	w9, [x19, #80]
	ldr	x9, [sp]
	str	x9, [x19, #8]
	ldr	q0, [sp, #16]
	str	q0, [x19, #64]
	ldr	x10, [x19, #40]
	mov	w11, #24
	madd	x9, x9, x11, x10
	str	x8, [x9, #16]
	ldr	w0, [x19, #32]
	bl	_GetDC
	mov	x20, x0
	ldr	x1, [sp]
	mov	x0, x19
	bl	_HEADER_RefreshItem
	ldr	w0, [x19, #32]
	mov	x1, x20
	bl	_ReleaseDC
	ldr	x1, [sp]
Lloh32:
	adrp	x0, l_.str@PAGE
Lloh33:
	add	x0, x0, l_.str@PAGEOFF
LBB0_7:
	bl	_TRACE
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_HDS_BUTTONS,4,2                ; @HDS_BUTTONS
	.comm	_HHT_ONHEADER,8,3               ; @HHT_ONHEADER
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Pressed item %d.\n"

	.comm	_HHT_ONDIVIDER,8,3              ; @HHT_ONDIVIDER
	.comm	_HHT_ONDIVOPEN,8,3              ; @HHT_ONDIVOPEN
	.comm	_HDN_BEGINTRACKW,4,2            ; @HDN_BEGINTRACKW
	.comm	_HDI_WIDTH,4,2                  ; @HDI_WIDTH
	.comm	_HDS_FULLDRAG,4,2               ; @HDS_FULLDRAG
l_.str.1:                               ; @.str.1
	.asciz	"Begin tracking item %d.\n"

	.no_dead_strip	_HEADER_LButtonDown
.subsections_via_symbols
