	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ufs_open
_ufs_open:                              ## @ufs_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rbx
	movq	(%rbx), %rax
	movq	_VCHR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_VBLK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.3:
	movq	%rdi, %r14
	movq	%rbx, %rdi
	callq	_VTOI
	movq	_APPEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.4:
	movq	_FWRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_O_APPEND@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%ecx, %edx
	andl	(%r14), %edx
	cmpl	%ecx, %edx
	jne	LBB0_6
## %bb.5:
	movq	_EPERM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_2:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_6:
	movq	_i_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_DIP
	movl	4(%r14), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_vnode_create_vobject
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VCHR,8,3                       ## @VCHR
	.comm	_VBLK,8,3                       ## @VBLK
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_APPEND,4,2                     ## @APPEND
	.comm	_FWRITE,4,2                     ## @FWRITE
	.comm	_O_APPEND,4,2                   ## @O_APPEND
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_i_size,4,2                     ## @i_size
	.no_dead_strip	_ufs_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ufs_open
_ufs_open:                              ; @ufs_open
	.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
	ldr	x19, [x0, #8]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _VCHR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VCHR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _VBLK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _VBLK@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_2:
	mov	x20, x0
	mov	x0, x19
	bl	_VTOI
	ldr	w8, [x0]
Lloh9:
	adrp	x9, _APPEND@GOTPAGE
Lloh10:
	ldr	x9, [x9, _APPEND@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	ldr	w8, [x20]
Lloh12:
	adrp	x9, _FWRITE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FWRITE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _O_APPEND@GOTPAGE
Lloh16:
	ldr	x10, [x10, _O_APPEND@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w10, w10, w9
	and	w8, w10, w8
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.4:
Lloh18:
	adrp	x8, _EPERM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_5:
Lloh21:
	adrp	x8, _i_size@GOTPAGE
Lloh22:
	ldr	x8, [x8, _i_size@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_DIP
	mov	x1, x0
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_vnode_create_vobject
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_VCHR,8,3                       ; @VCHR
	.comm	_VBLK,8,3                       ; @VBLK
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_APPEND,4,2                     ; @APPEND
	.comm	_FWRITE,4,2                     ; @FWRITE
	.comm	_O_APPEND,4,2                   ; @O_APPEND
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_i_size,4,2                     ; @i_size
	.no_dead_strip	_ufs_open
.subsections_via_symbols
