	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TAB_NCHitTest
_TAB_NCHitTest:                         ## @TAB_NCHitTest
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_LOWORD
	movw	%ax, -20(%rbp)
	movl	%ebx, %edi
	callq	_HIWORD
	movw	%ax, -18(%rbp)
	movl	(%r14), %edi
	leaq	-20(%rbp), %rsi
	callq	_ScreenToClient
	movl	-20(%rbp), %esi
	leaq	-24(%rbp), %rdx
	movq	%r14, %rdi
	callq	_TAB_InternalHitTest
	cmpl	$-1, %eax
	jne	LBB0_1
## %bb.2:
	movq	_HTTRANSPARENT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_HTCLIENT@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HTTRANSPARENT,4,2              ## @HTTRANSPARENT
	.comm	_HTCLIENT,4,2                   ## @HTCLIENT
	.no_dead_strip	_TAB_NCHitTest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TAB_NCHitTest
_TAB_NCHitTest:                         ; @TAB_NCHitTest
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_LOWORD
	strh	w0, [sp, #12]
	mov	x0, x19
	bl	_HIWORD
	strh	w0, [sp, #14]
	ldr	w0, [x20]
	add	x1, sp, #12
	bl	_ScreenToClient
	ldr	w1, [sp, #12]
	add	x2, sp, #8
	mov	x0, x20
	bl	_TAB_InternalHitTest
Lloh0:
	adrp	x8, _HTTRANSPARENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HTTRANSPARENT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _HTCLIENT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HTCLIENT@GOTPAGEOFF]
	cmn	w0, #1
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HTTRANSPARENT,4,2              ; @HTTRANSPARENT
	.comm	_HTCLIENT,4,2                   ; @HTCLIENT
	.no_dead_strip	_TAB_NCHitTest
.subsections_via_symbols
