	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ui_browser__rb_tree_seek       ## -- Begin function ui_browser__rb_tree_seek
	.p2align	4, 0x90
_ui_browser__rb_tree_seek:              ## @ui_browser__rb_tree_seek
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpl	$130, %edx
	je	LBB0_4
## %bb.1:
	movq	8(%r14), %rdi
	cmpl	$129, %edx
	je	LBB0_5
## %bb.2:
	cmpl	$128, %edx
	jne	LBB0_10
## %bb.3:
	callq	_rb_first
	testq	%rbx, %rbx
	jg	LBB0_11
	jmp	LBB0_7
LBB0_4:
	movq	(%r14), %rax
	testq	%rbx, %rbx
	jg	LBB0_11
	jmp	LBB0_7
LBB0_5:
	callq	_rb_last
	testq	%rbx, %rbx
	jle	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_rb_next
	decq	%rbx
	jne	LBB0_11
	jmp	LBB0_9
LBB0_7:
	je	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_rb_prev
	incq	%rbx
	jne	LBB0_8
LBB0_9:
	movq	%rax, (%r14)
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ui_browser__rb_tree_seek       ; -- Begin function ui_browser__rb_tree_seek
	.p2align	2
_ui_browser__rb_tree_seek:              ; @ui_browser__rb_tree_seek
	.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
	cmp	w2, #130
	b.eq	LBB0_4
; %bb.1:
	ldr	x0, [x19, #8]
	cmp	w2, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w2, #128
	b.ne	LBB0_10
; %bb.3:
	bl	_rb_first
	cmp	x20, #1
	b.ge	LBB0_6
	b	LBB0_7
LBB0_4:
	ldr	x0, [x19]
	cmp	x20, #1
	b.ge	LBB0_6
	b	LBB0_7
LBB0_5:
	bl	_rb_last
	cmp	x20, #1
	b.lt	LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	x20, x20, #1
	bl	_rb_next
	cbnz	x20, LBB0_6
	b	LBB0_9
LBB0_7:
	cbz	x20, LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	bl	_rb_prev
	adds	x20, x20, #1
	b.lo	LBB0_8
LBB0_9:
	str	x0, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
