	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function STATUSBAR_WMNCHitTest
_STATUSBAR_WMNCHitTest:                 ## @STATUSBAR_WMNCHitTest
	.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, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_GWL_STYLE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_GetWindowLongW
	movq	_SBARS_SIZEGRIP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.1:
	movl	4(%rbx), %edi
	movl	(%r12), %esi
	callq	_GetWindowLongW
	movq	_WS_MAXIMIZE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_6
## %bb.2:
	movl	(%rbx), %edi
	leaq	-56(%rbp), %rsi
	callq	_GetClientRect
	movq	%r15, -48(%rbp)
	movq	%r14, -40(%rbp)
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_ScreenToClient
	movq	-48(%rbp), %r14
	movq	-56(%rbp), %r15
	movq	_SM_CXVSCROLL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSystemMetrics
	subq	%rax, %r15
	cmpq	%r15, %r14
	jge	LBB0_3
LBB0_6:
	movq	_HTERROR@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%rbx), %edi
	movq	_GWL_EXSTYLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetWindowLongW
	movq	_WS_EX_LAYOUTRTL@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	jne	LBB0_4
## %bb.5:
	movq	_HTBOTTOMRIGHT@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_HTBOTTOMLEFT@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_GWL_STYLE,4,2                  ## @GWL_STYLE
	.comm	_SBARS_SIZEGRIP,4,2             ## @SBARS_SIZEGRIP
	.comm	_WS_MAXIMIZE,4,2                ## @WS_MAXIMIZE
	.comm	_SM_CXVSCROLL,4,2               ## @SM_CXVSCROLL
	.comm	_GWL_EXSTYLE,4,2                ## @GWL_EXSTYLE
	.comm	_WS_EX_LAYOUTRTL,4,2            ## @WS_EX_LAYOUTRTL
	.comm	_HTBOTTOMLEFT,4,2               ## @HTBOTTOMLEFT
	.comm	_HTBOTTOMRIGHT,4,2              ## @HTBOTTOMRIGHT
	.comm	_HTERROR,4,2                    ## @HTERROR
	.no_dead_strip	_STATUSBAR_WMNCHitTest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function STATUSBAR_WMNCHitTest
_STATUSBAR_WMNCHitTest:                 ; @STATUSBAR_WMNCHitTest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x22, _GWL_STYLE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GWL_STYLE@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_GetWindowLongW
Lloh2:
	adrp	x8, _SBARS_SIZEGRIP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SBARS_SIZEGRIP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
	ldr	w0, [x19, #4]
	ldr	w1, [x22]
	bl	_GetWindowLongW
Lloh5:
	adrp	x8, _WS_MAXIMIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WS_MAXIMIZE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x19]
	add	x1, sp, #24
	bl	_GetClientRect
	stp	x21, x20, [sp, #8]
	ldr	w0, [x19]
	add	x1, sp, #8
	bl	_ScreenToClient
	ldr	x20, [sp, #8]
	ldr	x21, [sp, #24]
Lloh8:
	adrp	x8, _SM_CXVSCROLL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SM_CXVSCROLL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_GetSystemMetrics
	sub	x8, x21, x0
	cmp	x20, x8
	b.ge	LBB0_5
LBB0_3:
Lloh11:
	adrp	x8, _HTERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HTERROR@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	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
	add	sp, sp, #80
	ret
LBB0_5:
	ldr	w0, [x19]
Lloh13:
	adrp	x8, _GWL_EXSTYLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GWL_EXSTYLE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_GetWindowLongW
Lloh16:
	adrp	x8, _WS_EX_LAYOUTRTL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WS_EX_LAYOUTRTL@GOTPAGEOFF]
Lloh18:
	adrp	x9, _HTBOTTOMRIGHT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _HTBOTTOMRIGHT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x10, _HTBOTTOMLEFT@GOTPAGE
Lloh22:
	ldr	x10, [x10, _HTBOTTOMLEFT@GOTPAGEOFF]
	tst	w8, w0
	csel	x8, x9, x10, eq
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh20
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_GWL_STYLE,4,2                  ; @GWL_STYLE
	.comm	_SBARS_SIZEGRIP,4,2             ; @SBARS_SIZEGRIP
	.comm	_WS_MAXIMIZE,4,2                ; @WS_MAXIMIZE
	.comm	_SM_CXVSCROLL,4,2               ; @SM_CXVSCROLL
	.comm	_GWL_EXSTYLE,4,2                ; @GWL_EXSTYLE
	.comm	_WS_EX_LAYOUTRTL,4,2            ; @WS_EX_LAYOUTRTL
	.comm	_HTBOTTOMLEFT,4,2               ; @HTBOTTOMLEFT
	.comm	_HTBOTTOMRIGHT,4,2              ; @HTBOTTOMRIGHT
	.comm	_HTERROR,4,2                    ; @HTERROR
	.no_dead_strip	_STATUSBAR_WMNCHitTest
.subsections_via_symbols
