	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ClipOrCenterWindowToMonitor    ## -- Begin function ClipOrCenterWindowToMonitor
	.p2align	4, 0x90
_ClipOrCenterWindowToMonitor:           ## @ClipOrCenterWindowToMonitor
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	leaq	-32(%rbp), %r15
	movq	%r15, %rsi
	callq	_GetWindowRect
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_ClipOrCenterRectToMonitor
	movl	-32(%rbp), %ecx
	movq	_SWP_NOSIZE@GOTPCREL(%rip), %rax
	movq	_SWP_NOZORDER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rax), %esi
	movl	-28(%rbp), %edx
	movq	_SWP_NOACTIVATE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	%esi, (%rsp)
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_SetWindowPos
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SWP_NOSIZE,4,2                 ## @SWP_NOSIZE
	.comm	_SWP_NOZORDER,4,2               ## @SWP_NOZORDER
	.comm	_SWP_NOACTIVATE,4,2             ## @SWP_NOACTIVATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ClipOrCenterWindowToMonitor    ; -- Begin function ClipOrCenterWindowToMonitor
	.p2align	2
_ClipOrCenterWindowToMonitor:           ; @ClipOrCenterWindowToMonitor
	.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
	add	x1, sp, #8
	bl	_GetWindowRect
	add	x0, sp, #8
	mov	x1, x19
	bl	_ClipOrCenterRectToMonitor
	ldp	w3, w2, [sp, #8]
Lloh0:
	adrp	x8, _SWP_NOSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SWP_NOSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SWP_NOZORDER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SWP_NOZORDER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _SWP_NOACTIVATE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SWP_NOACTIVATE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w6, w8, w9
	mov	x0, x20
	mov	x1, #0
	mov	w4, #0
	mov	w5, #0
	bl	_SetWindowPos
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SWP_NOSIZE,4,2                 ; @SWP_NOSIZE
	.comm	_SWP_NOZORDER,4,2               ; @SWP_NOZORDER
	.comm	_SWP_NOACTIVATE,4,2             ; @SWP_NOACTIVATE
.subsections_via_symbols
