	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fakefs_open_inode              ## -- Begin function fakefs_open_inode
	.p2align	4, 0x90
_fakefs_open_inode:                     ## @fakefs_open_inode
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r12
	callq	_db_begin
	movq	(%r12), %r15
	movq	%r15, %rdi
	movl	$1, %esi
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edx
	callq	_sqlite3_bind_int64
	movq	_realfs@GOTPCREL(%rip), %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movq	__ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_db_exec
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_sqlite3_column_text
	movq	%rax, %r13
	movq	_O_RDWR_@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	callq	*(%r14)
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PTR_ERR
	movq	__EISDIR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_O_RDONLY_@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	callq	*(%r14)
	movq	%rax, %rbx
	jmp	LBB0_4
LBB0_5:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_db_reset
	movq	%r12, %rdi
	callq	_db_commit
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%rbx)
	movq	_fakefs_fdops@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_db_reset
	movq	%r12, %rdi
	callq	_db_rollback
	movq	__ENOENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__ENOENT,8,3                    ## @_ENOENT
	.comm	_realfs,8,3                     ## @realfs
	.comm	_O_RDWR_,4,2                    ## @O_RDWR_
	.comm	__EISDIR,8,3                    ## @_EISDIR
	.comm	_O_RDONLY_,4,2                  ## @O_RDONLY_
	.comm	_fakefs_fdops,4,2               ## @fakefs_fdops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fakefs_open_inode              ; -- Begin function fakefs_open_inode
	.p2align	2
_fakefs_open_inode:                     ; @fakefs_open_inode
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	bl	_db_begin
	ldr	x21, [x19]
	mov	x0, x21
	mov	w1, #1
	mov	x2, x20
	bl	_sqlite3_bind_int64
Lloh0:
	adrp	x25, _realfs@GOTPAGE
Lloh1:
	ldr	x25, [x25, _realfs@GOTPAGEOFF]
Lloh2:
	adrp	x26, _O_RDWR_@GOTPAGE
Lloh3:
	ldr	x26, [x26, _O_RDWR_@GOTPAGEOFF]
Lloh4:
	adrp	x27, __EISDIR@GOTPAGE
Lloh5:
	ldr	x27, [x27, __EISDIR@GOTPAGEOFF]
Lloh6:
	adrp	x28, _O_RDONLY_@GOTPAGE
Lloh7:
	ldr	x28, [x28, _O_RDONLY_@GOTPAGEOFF]
Lloh8:
	adrp	x24, __ENOENT@GOTPAGE
Lloh9:
	ldr	x24, [x24, __ENOENT@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_PTR_ERR
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_db_exec
	cbz	w0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	mov	w1, #0
	bl	_sqlite3_column_text
	mov	x23, x0
	ldr	x8, [x25]
	ldr	w2, [x26]
	mov	x0, x19
	mov	x1, x23
	mov	w3, #0
	blr	x8
	mov	x22, x0
	bl	_PTR_ERR
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x25]
	ldr	w2, [x28]
	mov	x0, x19
	mov	x1, x23
	mov	w3, #0
	blr	x8
	mov	x22, x0
	b	LBB0_1
LBB0_5:
	mov	x0, x19
	mov	x1, x21
	bl	_db_reset
	mov	x0, x19
	bl	_db_commit
	str	w20, [x22, #8]
Lloh10:
	adrp	x8, _fakefs_fdops@GOTPAGE
Lloh11:
	ldr	x8, [x8, _fakefs_fdops@GOTPAGEOFF]
	str	x8, [x22]
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	bl	_db_reset
	mov	x0, x19
	bl	_db_rollback
	ldr	x0, [x24]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_ERR_PTR
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	__ENOENT,8,3                    ; @_ENOENT
	.comm	_realfs,8,3                     ; @realfs
	.comm	_O_RDWR_,4,2                    ; @O_RDWR_
	.comm	__EISDIR,8,3                    ; @_EISDIR
	.comm	_O_RDONLY_,4,2                  ; @O_RDONLY_
	.comm	_fakefs_fdops,4,2               ; @fakefs_fdops
.subsections_via_symbols
