	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HEADER_SetHotDivider
_HEADER_SetHotDivider:                  ## @HEADER_SetHotDivider
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	callq	_LOWORD
	movq	%rax, -64(%rbp)
	movq	$0, -56(%rbp)
	leaq	-64(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movq	%r14, %rdi
	callq	_HEADER_InternalHitTest
	movl	-44(%rbp), %eax
	movq	_HHT_TOLEFT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	$0, -40(%rbp)
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_3:
	movq	_HHT_NOWHERE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_5
## %bb.4:
	movq	_HHT_TORIGHT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
LBB0_5:
	movq	(%r14), %rbx
LBB0_6:
	movq	%rbx, -40(%rbp)
LBB0_9:
	cmpq	$-1, %rbx
	jne	LBB0_14
## %bb.10:
	movq	$-1, %rbx
	cmpl	$-1, (%r14)
	jne	LBB0_14
## %bb.11:
	cmpq	$-1, 8(%r14)
	je	LBB0_14
## %bb.12:
	leaq	-64(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_HEADER_GetHotDividerRect
	movl	16(%r14), %edi
	movq	_FALSE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r15, %rsi
	callq	_InvalidateRect
	movq	-40(%rbp), %rax
	movq	%rax, 8(%r14)
	cmpq	$-1, %rax
	je	LBB0_14
## %bb.13:
	leaq	-64(%rbp), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_HEADER_GetHotDividerRect
	movl	16(%r14), %edi
	movl	(%r12), %edx
	movq	%rbx, %rsi
	callq	_InvalidateRect
	movq	-40(%rbp), %rbx
LBB0_14:
	movq	%rbx, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	24(%r14), %rax
	movq	-40(%rbp), %rbx
	movl	4(%rax,%rbx,8), %ecx
	addl	(%rax,%rbx,8), %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	cltq
	cmpq	%rax, -64(%rbp)
	jbe	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_HEADER_NextItem
	movq	%rax, %rbx
	movq	%rax, -40(%rbp)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_HHT_TOLEFT,4,2                 ## @HHT_TOLEFT
	.comm	_HHT_NOWHERE,4,2                ## @HHT_NOWHERE
	.comm	_HHT_TORIGHT,4,2                ## @HHT_TORIGHT
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_HEADER_SetHotDivider
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HEADER_SetHotDivider
_HEADER_SetHotDivider:                  ; @HEADER_SetHotDivider
	.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
	cbz	x1, LBB0_6
; %bb.1:
	mov	x0, x2
	bl	_LOWORD
	stp	x0, xzr, [sp, #8]
	add	x1, sp, #8
	add	x2, sp, #4
	add	x3, sp, #24
	mov	x0, x19
	bl	_HEADER_InternalHitTest
	ldr	w8, [sp, #4]
Lloh0:
	adrp	x9, _HHT_TOLEFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HHT_TOLEFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	x2, #0
	str	xzr, [sp, #24]
	b	LBB0_7
LBB0_3:
Lloh3:
	adrp	x9, _HHT_NOWHERE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HHT_NOWHERE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.4:
Lloh6:
	adrp	x9, _HHT_TORIGHT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HHT_TORIGHT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
LBB0_5:
	ldr	x2, [x19]
LBB0_6:
	str	x2, [sp, #24]
LBB0_7:
	cmn	x2, #1
	b.ne	LBB0_13
; %bb.8:
	ldr	w8, [x19]
	cmn	w8, #1
	b.ne	LBB0_12
; %bb.9:
	ldr	x8, [x19, #8]
	cmn	x8, #1
	b.eq	LBB0_12
; %bb.10:
	add	x1, sp, #8
	mov	x0, x19
	bl	_HEADER_GetHotDividerRect
	ldr	w0, [x19, #16]
Lloh9:
	adrp	x20, _FALSE@GOTPAGE
Lloh10:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	ldr	w2, [x20]
	add	x1, sp, #8
	bl	_InvalidateRect
	ldr	x8, [sp, #24]
	str	x8, [x19, #8]
	cmn	x8, #1
	b.eq	LBB0_12
; %bb.11:
	add	x1, sp, #8
	mov	x0, x19
	bl	_HEADER_GetHotDividerRect
	ldr	w0, [x19, #16]
	ldr	w2, [x20]
	add	x1, sp, #8
	bl	_InvalidateRect
	ldr	x2, [sp, #24]
	b	LBB0_13
LBB0_12:
	mov	x2, #-1
LBB0_13:
	mov	x0, x2
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_14:
	ldr	x8, [x19, #24]
	ldr	x2, [sp, #24]
	ldr	x9, [sp, #8]
	add	x8, x8, x2, lsl #3
	ldp	w10, w8, [x8]
	add	w8, w8, w10
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	cmp	x9, w8, sxtw
	b.ls	LBB0_7
; %bb.15:
	mov	x0, x19
	mov	x1, x2
	bl	_HEADER_NextItem
	mov	x2, x0
	str	x0, [sp, #24]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_HHT_TOLEFT,4,2                 ; @HHT_TOLEFT
	.comm	_HHT_NOWHERE,4,2                ; @HHT_NOWHERE
	.comm	_HHT_TORIGHT,4,2                ; @HHT_TORIGHT
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_HEADER_SetHotDivider
.subsections_via_symbols
