	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_floating_reposition            ## -- Begin function floating_reposition
	.p2align	4, 0x90
_floating_reposition:                   ## @floating_reposition
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_output_containing_rect
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%ebx, 8(%r14)
	movq	%r14, %rdi
	callq	_floating_maybe_reassign_ws
	movq	(%r14), %rcx
	movq	_SCRATCHPAD_FRESH@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	movq	_SCRATCHPAD_CHANGED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%r14)
LBB0_4:
	movl	$1, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_tree_render
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_ELOG
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No output found at destination coordinates. Not repositioning.\n"

	.comm	_SCRATCHPAD_FRESH,8,3           ## @SCRATCHPAD_FRESH
	.comm	_SCRATCHPAD_CHANGED,8,3         ## @SCRATCHPAD_CHANGED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_floating_reposition            ; -- Begin function floating_reposition
	.p2align	2
_floating_reposition:                   ; @floating_reposition
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_output_containing_rect
	cbz	w0, LBB0_6
; %bb.1:
	str	w20, [x19, #8]
	mov	x0, x19
	bl	_floating_maybe_reassign_ws
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _SCRATCHPAD_FRESH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SCRATCHPAD_FRESH@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _SCRATCHPAD_CHANGED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCRATCHPAD_CHANGED@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_3:
	cbnz	w0, LBB0_5
; %bb.4:
	bl	_tree_render
LBB0_5:
	mov	w0, #1
	b	LBB0_7
LBB0_6:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ELOG
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No output found at destination coordinates. Not repositioning.\n"

	.comm	_SCRATCHPAD_FRESH,8,3           ; @SCRATCHPAD_FRESH
	.comm	_SCRATCHPAD_CHANGED,8,3         ; @SCRATCHPAD_CHANGED
.subsections_via_symbols
