	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function seq_next_db
_seq_next_db:                           ## @seq_next_db
	.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	%rdx, %r14
	movq	%rsi, %rax
	movq	%rdi, %rbx
	movq	40(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	48(%rbx), %edx
	movq	%rax, %rdi
	callq	__region_init
	movq	40(%rbx), %rsi
LBB0_3:
	movl	16(%rbx), %edi
	addq	$32, %rbx
	movq	%r14, %rdx
	movq	%rbx, %rcx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	__db_lookup_by_s                ## TAILCALL
LBB0_4:
	cmpq	$0, 24(%rbx)
	je	LBB0_5
## %bb.6:
	movq	$0, (%rbx)
	xorl	%esi, %esi
	jmp	LBB0_7
LBB0_5:
	movq	(%rbx), %rsi
LBB0_7:
	movq	$0, 24(%rbx)
	cmpq	8(%rbx), %rsi
	jge	LBB0_8
## %bb.9:
	movl	16(%rbx), %edi
	leaq	1(%rsi), %rcx
	movq	%rcx, (%rbx)
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%rax, %rdx
	movq	%r14, %rcx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	__db_get_entry                  ## TAILCALL
LBB0_8:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_seq_next_db
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function seq_next_db
_seq_next_db:                           ; @seq_next_db
	.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	x19, x2
	mov	x8, x1
	mov	x20, x0
	ldr	x1, [x0, #40]
	cbz	x1, LBB0_4
; %bb.1:
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w2, [x20, #48]
	mov	x0, x8
	bl	__region_init
	ldr	x1, [x20, #40]
LBB0_3:
	ldr	w0, [x20, #16]
	add	x3, x20, #32
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__db_lookup_by_s
LBB0_4:
	ldr	x9, [x20, #24]
	cbz	x9, LBB0_6
; %bb.5:
	mov	x1, #0
	str	xzr, [x20]
	b	LBB0_7
LBB0_6:
	ldr	x1, [x20]
LBB0_7:
	str	xzr, [x20, #24]
	ldr	x9, [x20, #8]
	cmp	x1, x9
	b.ge	LBB0_9
; %bb.8:
	ldr	w0, [x20, #16]
	add	x9, x1, #1
	str	x9, [x20]
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x8
	mov	x3, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__db_get_entry
LBB0_9:
Lloh0:
	adrp	x8, _ENOENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_seq_next_db
.subsections_via_symbols
