	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ufs_gjournal_orphan            ## -- Begin function ufs_gjournal_orphan
	.p2align	4, 0x90
_ufs_gjournal_orphan:                   ## @ufs_gjournal_orphan
	.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	16(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$2, (%rdi)
	jl	LBB0_7
## %bb.2:
	movq	_VV_DELETED@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_3
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	callq	_VTOI
	movq	8(%rbx), %rcx
	movq	_VDIR@GOTPCREL(%rip), %rdx
	movl	(%rax), %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.4:
	cmpl	$2, %eax
	jg	LBB0_7
	jmp	LBB0_5
LBB0_6:
	cmpl	$1, %eax
	jg	LBB0_7
LBB0_5:
	movl	(%r14), %eax
	orl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	movl	$1, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ufs_gjournal_modref            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VV_DELETED,4,2                 ## @VV_DELETED
	.comm	_VDIR,8,3                       ## @VDIR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ufs_gjournal_orphan            ; -- Begin function ufs_gjournal_orphan
	.p2align	2
_ufs_gjournal_orphan:                   ; @ufs_gjournal_orphan
	.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	x8, [x0, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.2:
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x20, _VV_DELETED@GOTPAGE
Lloh1:
	ldr	x20, [x20, _VV_DELETED@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x19
	bl	_VTOI
	ldr	x9, [x19, #8]
Lloh2:
	adrp	x8, _VDIR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VDIR@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x8]
	ldr	w8, [x0]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.5:
	cmp	w8, #2
	b.gt	LBB0_3
	b	LBB0_7
LBB0_6:
	cmp	w8, #1
	b.gt	LBB0_3
LBB0_7:
	ldr	w8, [x20]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ufs_gjournal_modref
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_VV_DELETED,4,2                 ; @VV_DELETED
	.comm	_VDIR,8,3                       ; @VDIR
.subsections_via_symbols
