	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dbm_page_get                   ## -- Begin function dbm_page_get
	.p2align	4, 0x90
_dbm_page_get:                          ## @dbm_page_get
	.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
	movq	%rdi, %rbx
	movl	$1, %edi
	callq	_assert
	movq	_npages@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%rbx, (%rax)
	seta	%dil
	callq	_assert
	movq	_pages@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	shlq	$3, %rbx
	leaq	(%rbx,%rbx,4), %rbx
	movq	32(%rax,%rbx), %rdi
	callq	_dbm_get
	testq	%rax, %rax
	leaq	L_.str(%rip), %r14
	cmoveq	%r14, %rax
	movq	%rax, _dbm_page_get.res(%rip)
	movq	(%r15), %rax
	movq	24(%rax,%rbx), %rdi
	callq	_dbm_get
	testq	%rax, %rax
	cmoveq	%r14, %rax
	movq	%rax, _dbm_page_get.res+8(%rip)
	movq	(%r15), %rcx
	movq	16(%rcx,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	callq	_dbm_get
	movq	(%r15), %rcx
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, _dbm_page_get.res+16(%rip)
	leaq	_dbm_page_get.res(%rip), %r14
	movq	8(%rcx,%rbx), %rdi
	callq	_dbm_get
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rcx
	cmovneq	%rax, %rcx
	movq	%rcx, _dbm_page_get.res+24(%rip)
	movq	(%r15), %rax
	movq	(%rax,%rbx), %rdi
	callq	_dbm_get
	testq	%rax, %rax
	leaq	l_.str.2(%rip), %rcx
	cmovneq	%rax, %rcx
	movq	%rcx, _dbm_page_get.res+32(%rip)
	addq	(%r15), %rbx
	movq	%rbx, %rdi
	callq	_dbm_addr
	movl	%eax, _dbm_page_get.res+40(%rip)
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_dbm_page_get.res,48,3 ## @dbm_page_get.res
	.comm	_npages,8,3                     ## @npages
	.comm	_pages,8,3                      ## @pages
	.section	__TEXT,__literal8,8byte_literals
L_.str:                                 ## @.str
	.asciz	"(NULL)\000"

	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"(NULL)"

	.section	__TEXT,__const
l_.str.2:                               ## @.str.2
	.asciz	" (NULL)\000"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dbm_page_get                   ; -- Begin function dbm_page_get
	.p2align	2
_dbm_page_get:                          ; @dbm_page_get
	.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
	mov	x19, x0
	mov	w0, #1
	bl	_assert
Lloh0:
	adrp	x8, _npages@GOTPAGE
Lloh1:
	ldr	x8, [x8, _npages@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x19
	cset	w0, hi
	bl	_assert
Lloh3:
	adrp	x20, _pages@GOTPAGE
Lloh4:
	ldr	x20, [x20, _pages@GOTPAGEOFF]
	ldr	x8, [x20]
	add	x9, x19, x19, lsl #2
	lsl	x21, x9, #3
	add	x8, x8, x21
	ldr	x0, [x8, #32]
	bl	_dbm_get
Lloh5:
	adrp	x22, l_.str@PAGE
Lloh6:
	add	x22, x22, l_.str@PAGEOFF
	cmp	x0, #0
	csel	x8, x22, x0, eq
Lloh7:
	adrp	x19, _dbm_page_get.res@PAGE
Lloh8:
	add	x19, x19, _dbm_page_get.res@PAGEOFF
	str	x8, [x19]
	ldr	x8, [x20]
	add	x8, x8, x21
	ldr	x0, [x8, #24]
	bl	_dbm_get
	cmp	x0, #0
	csel	x8, x22, x0, eq
	str	x8, [x19, #8]
	ldr	x8, [x20]
	add	x9, x8, x21
	ldr	x0, [x9, #16]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_dbm_get
	ldr	x8, [x20]
LBB0_2:
	str	x0, [x19, #16]
	add	x8, x8, x21
	ldr	x0, [x8, #8]
	bl	_dbm_get
Lloh9:
	adrp	x8, l_.str.1@PAGE
Lloh10:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	x0, #0
	csel	x8, x8, x0, eq
	str	x8, [x19, #24]
	ldr	x8, [x20]
	ldr	x0, [x8, x21]
	bl	_dbm_get
Lloh11:
	adrp	x8, l_.str.2@PAGE
Lloh12:
	add	x8, x8, l_.str.2@PAGEOFF
	cmp	x0, #0
	csel	x8, x8, x0, eq
	str	x8, [x19, #32]
	ldr	x8, [x20]
	add	x0, x8, x21
	bl	_dbm_addr
	str	w0, [x19, #40]
	mov	x0, x19
	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
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_dbm_page_get.res,48,3 ; @dbm_page_get.res
	.comm	_npages,8,3                     ; @npages
	.comm	_pages,8,3                      ; @pages
	.section	__TEXT,__literal8,8byte_literals
l_.str:                                 ; @.str
	.asciz	"(NULL)\000"

	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"(NULL)"

	.section	__TEXT,__const
l_.str.2:                               ; @.str.2
	.asciz	" (NULL)\000"

.subsections_via_symbols
