	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function EDIT_SetRectNP
LCPI0_0:
	.quad	-1                              ## 0xffffffffffffffff
	.quad	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_EDIT_SetRectNP:                        ## @EDIT_SetRectNP
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	64(%rdi), %edi
	movq	_GWL_EXSTYLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetWindowLongPtrW
	movl	%eax, %r12d
	leaq	24(%rbx), %r14
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_CopyRect
	movq	_WS_EX_CLIENTEDGE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_3
## %bb.1:
	movdqu	40(%rbx), %xmm0
	paddq	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, 40(%rbx)
	movdqu	24(%rbx), %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	movdqa	%xmm0, %xmm2
	psubq	%xmm1, %xmm2
	movq	%xmm2, %rax
	movq	(%rbx), %rcx
	addq	$2, %rcx
	cmpq	%rcx, %rax
	jl	LBB0_6
## %bb.2:
	paddq	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, (%r14)
	jmp	LBB0_6
LBB0_3:
	movq	_WS_BORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_6
## %bb.4:
	movq	_SM_CXBORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSystemMetrics
	movl	%eax, %r12d
	movq	_SM_CYBORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSystemMetrics
	movl	%eax, %r15d
	notl	%r12d
	movq	%r14, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_InflateRect
	movq	24(%rbx), %rax
	subq	32(%rbx), %rax
	leal	(%r15,%r15), %ecx
	addl	$2, %ecx
	movslq	%ecx, %rcx
	addq	(%rbx), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_6
## %bb.5:
	notl	%r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_InflateRect
LBB0_6:
	movq	16(%rbx), %rax
	movq	56(%rbx), %rcx
	addq	%rcx, 48(%rbx)
	subq	%rax, 40(%rbx)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_EDIT_AdjustFormatRect          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GWL_EXSTYLE,4,2                ## @GWL_EXSTYLE
	.comm	_WS_EX_CLIENTEDGE,4,2           ## @WS_EX_CLIENTEDGE
	.comm	_WS_BORDER,4,2                  ## @WS_BORDER
	.comm	_SM_CXBORDER,4,2                ## @SM_CXBORDER
	.comm	_SM_CYBORDER,4,2                ## @SM_CYBORDER
	.no_dead_strip	_EDIT_SetRectNP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function EDIT_SetRectNP
lCPI0_0:
	.quad	-1                              ; 0xffffffffffffffff
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_EDIT_SetRectNP:                        ; @EDIT_SetRectNP
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #64]
Lloh0:
	adrp	x8, _GWL_EXSTYLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GWL_EXSTYLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetWindowLongPtrW
	mov	x22, x0
	add	x20, x19, #24
	mov	x0, x20
	mov	x1, x21
	bl	_CopyRect
Lloh3:
	adrp	x8, _WS_EX_CLIENTEDGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WS_EX_CLIENTEDGE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_3
; %bb.1:
	ldur	q0, [x19, #40]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	q1, [x8, lCPI0_0@PAGEOFF]
	add.2d	v0, v0, v1
	stur	q0, [x19, #40]
	ldp	x8, x9, [x19, #24]
	ldr	x10, [x19]
	add	x10, x10, #2
	sub	x11, x8, x9
	cmp	x11, x10
	b.lt	LBB0_6
; %bb.2:
	add	x9, x9, #1
	sub	x8, x8, #1
	stp	x8, x9, [x19, #24]
	b	LBB0_6
LBB0_3:
	ldr	w8, [x19, #8]
Lloh8:
	adrp	x9, _WS_BORDER@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WS_BORDER@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
Lloh11:
	adrp	x8, _SM_CXBORDER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SM_CXBORDER@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_GetSystemMetrics
	mov	x22, x0
Lloh14:
	adrp	x8, _SM_CYBORDER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SM_CYBORDER@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_GetSystemMetrics
	mov	x21, x0
	mvn	w1, w22
	mov	x0, x20
	mov	w2, #0
	bl	_InflateRect
	ldp	x8, x9, [x19, #24]
	ldr	x10, [x19]
	lsl	w11, w21, #1
	add	w11, w11, #2
	add	x10, x10, w11, sxtw
	sub	x8, x8, x9
	cmp	x8, x10
	b.lt	LBB0_6
; %bb.5:
	mvn	w2, w21
	mov	x0, x20
	mov	w1, #0
	bl	_InflateRect
LBB0_6:
	ldp	x9, x8, [x19, #48]
	ldr	x10, [x19, #40]
	add	x8, x9, x8
	ldr	x9, [x19, #16]
	sub	x9, x10, x9
	stp	x9, x8, [x19, #40]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_EDIT_AdjustFormatRect
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GWL_EXSTYLE,4,2                ; @GWL_EXSTYLE
	.comm	_WS_EX_CLIENTEDGE,4,2           ; @WS_EX_CLIENTEDGE
	.comm	_WS_BORDER,4,2                  ; @WS_BORDER
	.comm	_SM_CXBORDER,4,2                ; @SM_CXBORDER
	.comm	_SM_CYBORDER,4,2                ; @SM_CYBORDER
	.no_dead_strip	_EDIT_SetRectNP
.subsections_via_symbols
