	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ui_browser__list_head_seek     ## -- Begin function ui_browser__list_head_seek
	.p2align	4, 0x90
_ui_browser__list_head_seek:            ## @ui_browser__list_head_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rdi)
	je	LBB0_12
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpl	$130, %edx
	je	LBB0_5
## %bb.2:
	movq	16(%r14), %rax
	cmpl	$129, %edx
	je	LBB0_6
## %bb.3:
	cmpl	$128, %edx
	jne	LBB0_12
## %bb.4:
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_ui_browser__list_head_filter_entries
	jmp	LBB0_7
LBB0_5:
	movq	8(%r14), %r15
	jmp	LBB0_8
LBB0_6:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ui_browser__list_head_filter_prev_entries
LBB0_7:
	movq	%rax, %r15
LBB0_8:
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	callq	_assert
	testq	%rbx, %rbx
	jle	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%r15), %esi
	movq	%r14, %rdi
	callq	_ui_browser__list_head_filter_entries
	movq	%rax, %r15
	decq	%rbx
	jne	LBB0_13
	jmp	LBB0_11
LBB0_9:
	je	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_ui_browser__list_head_filter_prev_entries
	movq	%rax, %r15
	incq	%rbx
	jne	LBB0_10
LBB0_11:
	movq	%r15, 8(%r14)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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__list_head_seek     ; -- Begin function ui_browser__list_head_seek
	.p2align	2
_ui_browser__list_head_seek:            ; @ui_browser__list_head_seek
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_13
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	cmp	w2, #130
	b.eq	LBB0_5
; %bb.2:
	ldr	x8, [x19, #16]
	cmp	w2, #129
	b.eq	LBB0_6
; %bb.3:
	cmp	w2, #128
	b.ne	LBB0_13
; %bb.4:
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_ui_browser__list_head_filter_entries
	b	LBB0_7
LBB0_5:
	ldr	x21, [x19, #8]
	b	LBB0_8
LBB0_6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ui_browser__list_head_filter_prev_entries
LBB0_7:
	mov	x21, x0
LBB0_8:
	cmp	x21, #0
	cset	w0, ne
	bl	_assert
	cmp	x20, #1
	b.lt	LBB0_10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sub	x20, x20, #1
	ldr	w1, [x21, #4]
	mov	x0, x19
	bl	_ui_browser__list_head_filter_entries
	mov	x21, x0
	cbnz	x20, LBB0_9
	b	LBB0_12
LBB0_10:
	cbz	x20, LBB0_12
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x19
	bl	_ui_browser__list_head_filter_prev_entries
	mov	x21, x0
	adds	x20, x20, #1
	b.lo	LBB0_11
LBB0_12:
	str	x21, [x19, #8]
LBB0_13:
	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
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
