	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rbtree_rotate_right
_rbtree_rotate_right:                   ## @rbtree_rotate_right
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rsi), %rax
	movq	8(%rax), %rdx
	movq	%rdx, 16(%rsi)
	movq	_RBTREE_NULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	je	LBB0_2
## %bb.1:
	movq	%rsi, (%rdx)
LBB0_2:
	movq	(%rsi), %rdx
	movq	%rdx, (%rax)
	movq	(%rsi), %rdx
	cmpq	(%rcx), %rdx
	je	LBB0_4
## %bb.3:
	leaq	8(%rdx), %rcx
	leaq	16(%rdx), %rdi
	cmpq	%rsi, 8(%rdx)
	cmoveq	%rcx, %rdi
LBB0_4:
	movq	%rax, (%rdi)
	movq	%rsi, 8(%rax)
	movq	%rax, (%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RBTREE_NULL,8,3                ## @RBTREE_NULL
	.no_dead_strip	_rbtree_rotate_right
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rbtree_rotate_right
_rbtree_rotate_right:                   ; @rbtree_rotate_right
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1, #16]
	ldr	x10, [x8, #8]
	str	x10, [x1, #16]
Lloh0:
	adrp	x9, _RBTREE_NULL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RBTREE_NULL@GOTPAGEOFF]
	ldr	x11, [x9]
	cmp	x10, x11
	b.eq	LBB0_2
; %bb.1:
	str	x1, [x10]
LBB0_2:
	ldr	x10, [x1]
	str	x10, [x8]
	ldr	x10, [x1]
	ldr	x9, [x9]
	cmp	x10, x9
	b.eq	LBB0_4
; %bb.3:
	ldr	x9, [x10, #8]!
	add	x11, x10, #8
	cmp	x9, x1
	csel	x0, x10, x11, eq
LBB0_4:
	str	x8, [x0]
	str	x1, [x8, #8]
	str	x8, [x1]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RBTREE_NULL,8,3                ; @RBTREE_NULL
	.no_dead_strip	_rbtree_rotate_right
.subsections_via_symbols
