	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rec_open                     ## -- Begin function __rec_open
	.p2align	4, 0x90
___rec_open:                            ## @__rec_open
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movq	%rcx, %r12
	movl	%esi, %r14d
	movq	%rdi, %r15
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	_O_CLOEXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	%r14d, %esi
	movq	%r15, %rdi
	callq	__open
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	js	LBB0_43
## %bb.3:
	testq	%r12, %r12
	je	LBB0_35
LBB0_4:
	movq	_R_FIXEDLEN@GOTPCREL(%rip), %rcx
	movq	_R_NOKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_R_SNAPSHOT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	testl	%eax, (%r12)
	je	LBB0_5
## %bb.37:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	testq	%r15, %r15
	jne	LBB0_41
	jmp	LBB0_42
LBB0_1:
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
	testq	%r12, %r12
	jne	LBB0_4
LBB0_35:
	movq	_S_IRUSR@GOTPCREL(%rip), %rax
	movq	_S_IWUSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	xorl	%edi, %edi
	movl	$128, %esi
	xorl	%ecx, %ecx
	movl	%ebx, %r8d
	callq	___bt_open
	testq	%rax, %rax
	je	LBB0_36
## %bb.9:
	movq	%rax, %r13
	movq	32(%rax), %rbx
	movb	$10, %al
	jmp	LBB0_10
LBB0_5:
	movq	$0, -72(%rbp)
	movl	40(%r12), %eax
	movl	%eax, -80(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -96(%rbp)
	movl	36(%r12), %eax
	movl	%eax, -104(%rbp)
	movups	%xmm0, -120(%rbp)
	movl	32(%r12), %eax
	movl	%eax, -128(%rbp)
	movq	24(%r12), %rdi
	movq	_S_IRUSR@GOTPCREL(%rip), %rax
	movq	_S_IWUSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	-128(%rbp), %rcx
	movl	$128, %esi
	movl	%ebx, %r8d
	callq	___bt_open
	testq	%rax, %rax
	je	LBB0_36
## %bb.6:
	movq	%rax, %r13
	movq	32(%rax), %rbx
	movq	_R_FIXEDLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_8
## %bb.7:
	movq	_R_FIXLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_SET
	movq	8(%r12), %rax
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_38
LBB0_8:
	movb	16(%r12), %al
LBB0_10:
	movb	%al, 8(%rbx)
	movq	_R_RECNO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_SET
	testq	%r15, %r15
	je	LBB0_11
## %bb.12:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%edi, 12(%rbx)
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	$0, (%rbx)
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_lseek
	cmpl	$-1, %eax
	jne	LBB0_21
## %bb.13:
	movl	(%rbx), %eax
	movq	_ESPIPE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_21
## %bb.14:
	movq	_O_ACCMODE@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	cmpl	$129, %r14d
	jne	LBB0_38
## %bb.15:
	movq	_R_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_F_SET
	jmp	LBB0_16
LBB0_36:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testq	%r15, %r15
	jne	LBB0_41
	jmp	LBB0_42
LBB0_21:
	movq	_O_ACCMODE@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	cmpl	$128, %r14d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_24
## %bb.22:
	cmpl	$129, %r14d
	jne	LBB0_38
## %bb.23:
	movq	_R_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_SET
LBB0_24:
	leaq	-64(%rbp), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	__fstat
	testq	%rax, %rax
	jne	LBB0_39
## %bb.25:
	cmpq	$0, -64(%rbp)
	je	LBB0_26
LBB0_16:
	leaq	L_.str(%rip), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_fdopen
	movq	%rax, 64(%rbx)
	testq	%rax, %rax
	je	LBB0_39
## %bb.17:
	movq	_R_CLOSEFP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_SET
	movq	_R_FIXLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_ISSET
	testq	%rax, %rax
	jne	LBB0_18
## %bb.19:
	movq	___rec_vpipe@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	jmp	LBB0_28
LBB0_11:
	movq	_R_EOF@GOTPCREL(%rip), %rax
	movq	_R_INMEM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
LBB0_27:
	movq	%rbx, %rdi
	callq	_F_SET
LBB0_28:
	movq	___rec_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r13)
	movq	___rec_delete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r13)
	movq	___rec_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r13)
	movq	___rec_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r13)
	movq	___rec_put@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13)
	movq	___rec_seq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movq	___rec_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movl	60(%rbx), %edi
	movq	_P_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_mpool_get
	testq	%rax, %rax
	je	LBB0_39
## %bb.29:
	movq	%rax, %r14
	movq	_P_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	56(%r14), %eax
	andl	%esi, %eax
	movq	_P_BLEAF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movl	$0, %edx
	jne	LBB0_31
## %bb.30:
	movq	%r14, %rdi
	callq	_F_CLR
	movq	_P_RLEAF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_F_SET
	movq	_MPOOL_DIRTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_31:
	movl	60(%rbx), %edi
	movq	%r14, %rsi
	callq	_mpool_put
	testq	%r12, %r12
	je	LBB0_44
## %bb.32:
	movq	_R_SNAPSHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_44
## %bb.33:
	movq	_R_EOF@GOTPCREL(%rip), %rax
	movq	_R_INMEM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_ISSET
	testq	%rax, %rax
	jne	LBB0_44
## %bb.34:
	movq	_MAX_REC_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*16(%rbx)
	movq	_RET_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_39
	jmp	LBB0_44
LBB0_38:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_39:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	___bt_close
	testq	%r15, %r15
	je	LBB0_42
LBB0_41:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	__close
LBB0_42:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
LBB0_43:
	xorl	%r13d, %r13d
LBB0_44:
	movq	%r13, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movq	_R_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_27
LBB0_18:
	movq	___rec_fpipe@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_O_CLOEXEC,4,2                  ## @O_CLOEXEC
	.comm	_R_FIXEDLEN,4,2                 ## @R_FIXEDLEN
	.comm	_R_NOKEY,4,2                    ## @R_NOKEY
	.comm	_R_SNAPSHOT,4,2                 ## @R_SNAPSHOT
	.comm	_S_IRUSR,4,2                    ## @S_IRUSR
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_R_FIXLEN,4,2                   ## @R_FIXLEN
	.comm	_R_RECNO,4,2                    ## @R_RECNO
	.comm	_R_EOF,4,2                      ## @R_EOF
	.comm	_R_INMEM,4,2                    ## @R_INMEM
	.comm	_errno,4,2                      ## @errno
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_ESPIPE,4,2                     ## @ESPIPE
	.comm	_O_ACCMODE,4,2                  ## @O_ACCMODE
	.comm	_R_RDONLY,4,2                   ## @R_RDONLY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_R_CLOSEFP,4,2                  ## @R_CLOSEFP
	.comm	___rec_close,4,2                ## @__rec_close
	.comm	___rec_delete,4,2               ## @__rec_delete
	.comm	___rec_fd,4,2                   ## @__rec_fd
	.comm	___rec_get,4,2                  ## @__rec_get
	.comm	___rec_put,4,2                  ## @__rec_put
	.comm	___rec_seq,4,2                  ## @__rec_seq
	.comm	___rec_sync,4,2                 ## @__rec_sync
	.comm	_P_ROOT,4,2                     ## @P_ROOT
	.comm	_P_TYPE,4,2                     ## @P_TYPE
	.comm	_P_BLEAF,4,2                    ## @P_BLEAF
	.comm	_P_RLEAF,4,2                    ## @P_RLEAF
	.comm	_MPOOL_DIRTY,4,2                ## @MPOOL_DIRTY
	.comm	_MAX_REC_NUMBER,4,2             ## @MAX_REC_NUMBER
	.comm	_RET_ERROR,8,3                  ## @RET_ERROR
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MAP_FAILED,8,3                 ## @MAP_FAILED
	.comm	_MAP_PRIVATE,4,2                ## @MAP_PRIVATE
	.comm	_PROT_READ,4,2                  ## @PROT_READ
	.comm	_R_MEMMAPPED,4,2                ## @R_MEMMAPPED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rec_open                     ; -- Begin function __rec_open
	.p2align	2
___rec_open:                            ; @__rec_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x4
	mov	x21, x3
	mov	x24, x1
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _O_CLOEXEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_CLOEXEC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w1, w8, w24
	mov	x0, x19
	bl	__open
	mov	x20, x0
	tbz	w0, #31, LBB0_4
; %bb.2:
	mov	x22, #0
	b	LBB0_35
LBB0_3:
                                        ; implicit-def: $w20
LBB0_4:
Lloh3:
	adrp	x25, _errno@GOTPAGE
Lloh4:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
	cbz	x21, LBB0_7
; %bb.5:
	ldr	w8, [x21]
Lloh5:
	adrp	x26, _R_FIXEDLEN@GOTPAGE
Lloh6:
	ldr	x26, [x26, _R_FIXEDLEN@GOTPAGEOFF]
	ldr	w9, [x26]
Lloh7:
	adrp	x10, _R_NOKEY@GOTPAGE
Lloh8:
	ldr	x10, [x10, _R_NOKEY@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh10:
	adrp	x10, _R_SNAPSHOT@GOTPAGE
Lloh11:
	ldr	x10, [x10, _R_SNAPSHOT@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	orr	w9, w9, w10
	bics	wzr, w8, w9
	b.eq	LBB0_9
; %bb.6:
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w21, [x8]
	str	w21, [x25]
	cbnz	x19, LBB0_33
	b	LBB0_34
LBB0_7:
Lloh16:
	adrp	x8, _S_IRUSR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _S_IRUSR@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _S_IWUSR@GOTPAGE
Lloh20:
	ldr	x9, [x9, _S_IWUSR@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, #0
	mov	w1, #128
	mov	x3, #0
	mov	x4, x22
	bl	___bt_open
	cbz	x0, LBB0_18
; %bb.8:
	mov	x22, x0
	ldr	x23, [x0, #32]
	mov	w8, #10
	b	LBB0_13
LBB0_9:
	str	xzr, [sp, #72]
	ldr	w8, [x21, #40]
	str	w8, [sp, #64]
	stp	xzr, xzr, [sp, #48]
	ldp	w9, w8, [x21, #32]
	str	w8, [sp, #40]
	stp	xzr, xzr, [sp, #24]
	str	w9, [sp, #16]
Lloh22:
	adrp	x8, _S_IRUSR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _S_IRUSR@GOTPAGEOFF]
	ldr	x0, [x21, #24]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _S_IWUSR@GOTPAGE
Lloh26:
	ldr	x9, [x9, _S_IWUSR@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w2, w9, w8
	add	x3, sp, #16
	mov	w1, #128
	mov	x4, x22
	bl	___bt_open
	cbz	x0, LBB0_18
; %bb.10:
	mov	x22, x0
	ldr	x23, [x0, #32]
	ldr	w8, [x21]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
Lloh28:
	adrp	x8, _R_FIXLEN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _R_FIXLEN@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_F_SET
	ldr	x8, [x21, #8]
	str	x8, [x23]
	cbz	x8, LBB0_31
LBB0_12:
	ldrb	w8, [x21, #16]
LBB0_13:
	strb	w8, [x23, #8]
Lloh31:
	adrp	x8, _R_RECNO@GOTPAGE
Lloh32:
	ldr	x8, [x8, _R_RECNO@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_F_SET
	cbz	x19, LBB0_26
; %bb.14:
	str	w20, [x23, #12]
	str	wzr, [x25]
Lloh34:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_lseek
	cmn	w0, #1
	b.ne	LBB0_19
; %bb.15:
	ldr	w8, [x25]
Lloh37:
	adrp	x9, _ESPIPE@GOTPAGE
Lloh38:
	ldr	x9, [x9, _ESPIPE@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_19
; %bb.16:
Lloh40:
	adrp	x8, _O_ACCMODE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _O_ACCMODE@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	and	w8, w8, w24
	cmp	w8, #129
	b.ne	LBB0_31
; %bb.17:
Lloh43:
	adrp	x8, _R_RDONLY@GOTPAGE
Lloh44:
	ldr	x8, [x8, _R_RDONLY@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_F_SET
	b	LBB0_24
LBB0_18:
	ldr	w21, [x25]
	cbnz	x19, LBB0_33
	b	LBB0_34
LBB0_19:
Lloh46:
	adrp	x8, _O_ACCMODE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _O_ACCMODE@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	and	w8, w8, w24
	cmp	w8, #128
	b.eq	LBB0_22
; %bb.20:
	cmp	w8, #129
	b.ne	LBB0_31
; %bb.21:
Lloh49:
	adrp	x8, _R_RDONLY@GOTPAGE
Lloh50:
	ldr	x8, [x8, _R_RDONLY@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_F_SET
LBB0_22:
	add	x1, sp, #8
	mov	x0, x20
	bl	__fstat
	cbnz	x0, LBB0_32
; %bb.23:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_41
LBB0_24:
Lloh52:
	adrp	x1, l_.str@PAGE
Lloh53:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_fdopen
	str	x0, [x23, #64]
	cbz	x0, LBB0_32
; %bb.25:
Lloh54:
	adrp	x8, _R_CLOSEFP@GOTPAGE
Lloh55:
	ldr	x8, [x8, _R_CLOSEFP@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_F_SET
Lloh57:
	adrp	x8, _R_FIXLEN@GOTPAGE
Lloh58:
	ldr	x8, [x8, _R_FIXLEN@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_F_ISSET
Lloh60:
	adrp	x8, ___rec_fpipe@GOTPAGE
Lloh61:
	ldr	x8, [x8, ___rec_fpipe@GOTPAGEOFF]
Lloh62:
	adrp	x9, ___rec_vpipe@GOTPAGE
Lloh63:
	ldr	x9, [x9, ___rec_vpipe@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	str	x8, [x23, #16]
	b	LBB0_28
LBB0_26:
Lloh64:
	adrp	x8, _R_EOF@GOTPAGE
Lloh65:
	ldr	x8, [x8, _R_EOF@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
Lloh67:
	adrp	x9, _R_INMEM@GOTPAGE
Lloh68:
	ldr	x9, [x9, _R_INMEM@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	orr	w1, w9, w8
LBB0_27:
	mov	x0, x23
	bl	_F_SET
LBB0_28:
Lloh70:
	adrp	x8, ___rec_close@GOTPAGE
Lloh71:
	ldr	x8, [x8, ___rec_close@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	str	w8, [x22, #24]
Lloh73:
	adrp	x8, ___rec_delete@GOTPAGE
Lloh74:
	ldr	x8, [x8, ___rec_delete@GOTPAGEOFF]
Lloh75:
	adrp	x9, ___rec_fd@GOTPAGE
Lloh76:
	ldr	x9, [x9, ___rec_fd@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
Lloh78:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #16]
Lloh79:
	adrp	x8, ___rec_get@GOTPAGE
Lloh80:
	ldr	x8, [x8, ___rec_get@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
Lloh82:
	adrp	x9, ___rec_put@GOTPAGE
Lloh83:
	ldr	x9, [x9, ___rec_put@GOTPAGEOFF]
Lloh84:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #8]
Lloh85:
	adrp	x8, ___rec_seq@GOTPAGE
Lloh86:
	ldr	x8, [x8, ___rec_seq@GOTPAGEOFF]
Lloh87:
	ldr	w8, [x8]
Lloh88:
	adrp	x9, ___rec_sync@GOTPAGE
Lloh89:
	ldr	x9, [x9, ___rec_sync@GOTPAGEOFF]
Lloh90:
	ldr	w9, [x9]
	stp	w9, w8, [x22]
	ldr	w0, [x23, #60]
Lloh91:
	adrp	x8, _P_ROOT@GOTPAGE
Lloh92:
	ldr	x8, [x8, _P_ROOT@GOTPAGEOFF]
Lloh93:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_mpool_get
	cbz	x0, LBB0_32
; %bb.29:
	mov	x24, x0
	ldr	w8, [x0, #56]
Lloh94:
	adrp	x9, _P_TYPE@GOTPAGE
Lloh95:
	ldr	x9, [x9, _P_TYPE@GOTPAGEOFF]
Lloh96:
	ldr	w1, [x9]
	and	w8, w1, w8
Lloh97:
	adrp	x9, _P_BLEAF@GOTPAGE
Lloh98:
	ldr	x9, [x9, _P_BLEAF@GOTPAGEOFF]
Lloh99:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_36
; %bb.30:
	mov	x0, x24
	bl	_F_CLR
Lloh100:
	adrp	x8, _P_RLEAF@GOTPAGE
Lloh101:
	ldr	x8, [x8, _P_RLEAF@GOTPAGEOFF]
Lloh102:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_F_SET
Lloh103:
	adrp	x8, _MPOOL_DIRTY@GOTPAGE
Lloh104:
	ldr	x8, [x8, _MPOOL_DIRTY@GOTPAGEOFF]
Lloh105:
	ldr	w2, [x8]
	b	LBB0_37
LBB0_31:
Lloh106:
	adrp	x8, _EINVAL@GOTPAGE
Lloh107:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh108:
	ldr	w8, [x8]
	str	w8, [x25]
LBB0_32:
	ldr	w21, [x25]
	mov	x0, x22
	bl	___bt_close
	cbz	x19, LBB0_34
LBB0_33:
	mov	x0, x20
	bl	__close
LBB0_34:
	mov	x22, #0
	str	w21, [x25]
LBB0_35:
	mov	x0, x22
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_36:
	mov	w2, #0
LBB0_37:
	ldr	w0, [x23, #60]
	mov	x1, x24
	bl	_mpool_put
	cbz	x21, LBB0_35
; %bb.38:
	ldr	w8, [x21]
Lloh109:
	adrp	x9, _R_SNAPSHOT@GOTPAGE
Lloh110:
	ldr	x9, [x9, _R_SNAPSHOT@GOTPAGEOFF]
Lloh111:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_35
; %bb.39:
Lloh112:
	adrp	x8, _R_EOF@GOTPAGE
Lloh113:
	ldr	x8, [x8, _R_EOF@GOTPAGEOFF]
Lloh114:
	ldr	w8, [x8]
Lloh115:
	adrp	x9, _R_INMEM@GOTPAGE
Lloh116:
	ldr	x9, [x9, _R_INMEM@GOTPAGEOFF]
Lloh117:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x23
	bl	_F_ISSET
	cbnz	x0, LBB0_35
; %bb.40:
	ldr	x8, [x23, #16]
Lloh118:
	adrp	x9, _MAX_REC_NUMBER@GOTPAGE
Lloh119:
	ldr	x9, [x9, _MAX_REC_NUMBER@GOTPAGEOFF]
Lloh120:
	ldr	w1, [x9]
	mov	x0, x23
	blr	x8
Lloh121:
	adrp	x8, _RET_ERROR@GOTPAGE
Lloh122:
	ldr	x8, [x8, _RET_ERROR@GOTPAGEOFF]
Lloh123:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_32
	b	LBB0_35
LBB0_41:
Lloh124:
	adrp	x8, _R_EOF@GOTPAGE
Lloh125:
	ldr	x8, [x8, _R_EOF@GOTPAGEOFF]
Lloh126:
	ldr	w1, [x8]
	b	LBB0_27
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh77
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh124, Lloh125, Lloh126
	.cfi_endproc
                                        ; -- End function
	.comm	_O_CLOEXEC,4,2                  ; @O_CLOEXEC
	.comm	_R_FIXEDLEN,4,2                 ; @R_FIXEDLEN
	.comm	_R_NOKEY,4,2                    ; @R_NOKEY
	.comm	_R_SNAPSHOT,4,2                 ; @R_SNAPSHOT
	.comm	_S_IRUSR,4,2                    ; @S_IRUSR
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_R_FIXLEN,4,2                   ; @R_FIXLEN
	.comm	_R_RECNO,4,2                    ; @R_RECNO
	.comm	_R_EOF,4,2                      ; @R_EOF
	.comm	_R_INMEM,4,2                    ; @R_INMEM
	.comm	_errno,4,2                      ; @errno
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_ESPIPE,4,2                     ; @ESPIPE
	.comm	_O_ACCMODE,4,2                  ; @O_ACCMODE
	.comm	_R_RDONLY,4,2                   ; @R_RDONLY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_R_CLOSEFP,4,2                  ; @R_CLOSEFP
	.comm	___rec_close,4,2                ; @__rec_close
	.comm	___rec_delete,4,2               ; @__rec_delete
	.comm	___rec_fd,4,2                   ; @__rec_fd
	.comm	___rec_get,4,2                  ; @__rec_get
	.comm	___rec_put,4,2                  ; @__rec_put
	.comm	___rec_seq,4,2                  ; @__rec_seq
	.comm	___rec_sync,4,2                 ; @__rec_sync
	.comm	_P_ROOT,4,2                     ; @P_ROOT
	.comm	_P_TYPE,4,2                     ; @P_TYPE
	.comm	_P_BLEAF,4,2                    ; @P_BLEAF
	.comm	_P_RLEAF,4,2                    ; @P_RLEAF
	.comm	_MPOOL_DIRTY,4,2                ; @MPOOL_DIRTY
	.comm	_MAX_REC_NUMBER,4,2             ; @MAX_REC_NUMBER
	.comm	_RET_ERROR,8,3                  ; @RET_ERROR
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MAP_FAILED,8,3                 ; @MAP_FAILED
	.comm	_MAP_PRIVATE,4,2                ; @MAP_PRIVATE
	.comm	_PROT_READ,4,2                  ; @PROT_READ
	.comm	_R_MEMMAPPED,4,2                ; @R_MEMMAPPED
.subsections_via_symbols
