	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___drag_and_resize              ## -- Begin function __drag_and_resize
	.p2align	4, 0x90
___drag_and_resize:                     ## @__drag_and_resize
	.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
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	cmpl	$0, (%rbx)
	jne	LBB0_3
## %bb.1:
	cmpl	$0, 4(%rbx)
	je	LBB0_2
LBB0_3:
	leaq	-24(%rbp), %rdi
	leaq	-20(%rbp), %rsi
	callq	_r_cons_get_click
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	cmpl	$0, (%rbx)
	je	LBB0_6
## %bb.5:
	movslq	-24(%rbp), %rsi
	subq	16(%rbx), %rsi
	movq	%r14, %rdi
	callq	___update_edge_x
LBB0_6:
	cmpl	$0, 4(%rbx)
	je	LBB0_8
## %bb.7:
	movslq	-20(%rbp), %rsi
	subq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	___update_edge_y
LBB0_8:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	___set_refresh_all
LBB0_9:
	movq	$0, (%rbx)
	movl	$1, %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___drag_and_resize              ; -- Begin function __drag_and_resize
	.p2align	2
___drag_and_resize:                     ; @__drag_and_resize
	.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, x0
	ldr	x20, [x0]
	ldr	w8, [x20]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_10
LBB0_2:
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_r_cons_get_click
	cbz	x0, LBB0_8
; %bb.3:
	ldr	w8, [x20]
	cbz	w8, LBB0_5
; %bb.4:
	ldrsw	x8, [sp, #12]
	ldr	x9, [x20, #16]
	sub	x1, x8, x9
	mov	x0, x19
	bl	___update_edge_x
LBB0_5:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_7
; %bb.6:
	ldrsw	x8, [sp, #8]
	ldr	x9, [x20, #8]
	sub	x1, x8, x9
	mov	x0, x19
	bl	___update_edge_y
LBB0_7:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	___set_refresh_all
LBB0_8:
	str	xzr, [x20]
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_10:
	mov	w0, #0
	b	LBB0_9
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
