	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fitToMonitor
_fitToMonitor:                          ## @fitToMonitor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -32(%rbp)
	movq	$0, -16(%rbp)
	movl	$40, -48(%rbp)
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	_GetMonitorInfo
	movl	(%rbx), %edi
	movq	_HWND_TOPMOST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-24(%rbp), %rdx
	movq	-16(%rbp), %r8
	subq	%rdx, %r8
	movq	-40(%rbp), %rcx
	movq	-32(%rbp), %r9
	movq	_SWP_NOZORDER@GOTPCREL(%rip), %rax
	movq	_SWP_NOACTIVATE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	orl	(%rax), %ebx
	subq	%rcx, %r9
	movq	_SWP_NOCOPYBITS@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, (%rsp)
	callq	_SetWindowPos
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HWND_TOPMOST,4,2               ## @HWND_TOPMOST
	.comm	_SWP_NOZORDER,4,2               ## @SWP_NOZORDER
	.comm	_SWP_NOACTIVATE,4,2             ## @SWP_NOACTIVATE
	.comm	_SWP_NOCOPYBITS,4,2             ## @SWP_NOCOPYBITS
	.no_dead_strip	_fitToMonitor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fitToMonitor
_fitToMonitor:                          ; @fitToMonitor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	movi.2d	v0, #0000000000000000
	str	xzr, [sp, #32]
	stp	q0, q0, [sp]
	mov	w8, #40
	str	w8, [sp]
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	mov	x1, sp
	bl	_GetMonitorInfo
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _HWND_TOPMOST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HWND_TOPMOST@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldp	x2, x8, [sp, #24]
	sub	x4, x8, x2
	ldp	x3, x8, [sp, #8]
	sub	x5, x8, x3
Lloh3:
	adrp	x8, _SWP_NOZORDER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SWP_NOZORDER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SWP_NOACTIVATE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SWP_NOACTIVATE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _SWP_NOCOPYBITS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SWP_NOCOPYBITS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w6, w8, w9
	bl	_SetWindowPos
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HWND_TOPMOST,4,2               ; @HWND_TOPMOST
	.comm	_SWP_NOZORDER,4,2               ; @SWP_NOZORDER
	.comm	_SWP_NOACTIVATE,4,2             ; @SWP_NOACTIVATE
	.comm	_SWP_NOCOPYBITS,4,2             ; @SWP_NOCOPYBITS
	.no_dead_strip	_fitToMonitor
.subsections_via_symbols
