	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fakefs_mknod
_fakefs_mknod:                          ## @fakefs_mknod
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	%edx, %edi
	callq	_S_ISBLK
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movl	%r13d, %edi
	callq	_S_ISCHR
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	%r13d, %edi
	callq	_S_ISSOCK
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	_S_IFREG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_5:
	orl	$438, %ebx                      ## imm = 0x1B6
	movq	%r12, %rdi
	callq	_db_begin
	movq	_realfs@GOTPCREL(%rip), %rax
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	*(%rax)
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movl	%r13d, -64(%rbp)
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %ecx
	movl	%ecx, -44(%rbp)
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	$0, -56(%rbp)
	movl	%r13d, %edi
	callq	_S_ISBLK
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movl	%r13d, %edi
	callq	_S_ISCHR
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:
	movq	%r15, -56(%rbp)
LBB0_10:
	leaq	-64(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_path_create
	movq	%r12, %rdi
	callq	_db_commit
	jmp	LBB0_11
LBB0_6:
	movq	%r12, %rdi
	callq	_db_rollback
LBB0_11:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_S_IFMT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	%r13d, %ebx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_S_IFREG,4,2                    ## @S_IFREG
	.comm	_S_IFMT,4,2                     ## @S_IFMT
	.comm	_realfs,8,3                     ## @realfs
	.comm	_current,8,3                    ## @current
	.no_dead_strip	_fakefs_mknod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fakefs_mknod
_fakefs_mknod:                          ; @fakefs_mknod
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x2
	bl	_S_ISBLK
	cbnz	x0, LBB0_3
; %bb.1:
	mov	x0, x22
	bl	_S_ISCHR
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x22
	bl	_S_ISSOCK
	cbz	x0, LBB0_11
LBB0_3:
Lloh0:
	adrp	x8, _S_IFREG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_IFREG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
LBB0_4:
	mov	w9, #438
	orr	w23, w8, w9
	mov	x0, x19
	bl	_db_begin
Lloh3:
	adrp	x8, _realfs@GOTPAGE
Lloh4:
	ldr	x8, [x8, _realfs@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	w3, #0
	blr	x8
	mov	x23, x0
	tbnz	w0, #31, LBB0_9
; %bb.5:
	str	w22, [sp, #8]
Lloh6:
	adrp	x8, _current@GOTPAGE
Lloh7:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	d0, [x8]
	str	d0, [sp, #24]
	str	xzr, [sp, #16]
	mov	x0, x22
	bl	_S_ISBLK
	cbnz	x0, LBB0_7
; %bb.6:
	mov	x0, x22
	bl	_S_ISCHR
	cbz	x0, LBB0_8
LBB0_7:
	str	x21, [sp, #16]
LBB0_8:
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_path_create
	mov	x0, x19
	bl	_db_commit
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_db_rollback
LBB0_10:
	mov	x0, x23
	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
	add	sp, sp, #96
	ret
LBB0_11:
Lloh9:
	adrp	x8, _S_IFMT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _S_IFMT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	and	w8, w8, w22
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_S_IFREG,4,2                    ; @S_IFREG
	.comm	_S_IFMT,4,2                     ; @S_IFMT
	.comm	_realfs,8,3                     ; @realfs
	.comm	_current,8,3                    ; @current
	.no_dead_strip	_fakefs_mknod
.subsections_via_symbols
