	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ufs_ioctl
_ufs_ioctl:                             ## @ufs_ioctl
	.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	%rdi, %rbx
	movq	16(%rdi), %r14
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.2:
	movq	_LK_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_vn_lock
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_EBADF@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	8(%rbx), %rdx
	movl	4(%rbx), %ecx
	movq	%r14, %rdi
	movl	$128, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vn_bmap_seekhole               ## TAILCALL
LBB0_6:
	movq	_ENOTTY@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	jmp	LBB0_8
LBB0_3:
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_ufs_bmap_seekdata
	movl	%eax, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_VOP_UNLOCK
	movl	%ebx, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LK_SHARED,4,2                  ## @LK_SHARED
	.comm	_EBADF,4,2                      ## @EBADF
	.comm	_ENOTTY,4,2                     ## @ENOTTY
	.no_dead_strip	_ufs_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ufs_ioctl
_ufs_ioctl:                             ; @ufs_ioctl
	.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
	mov	x20, x0
	ldr	x19, [x0, #16]
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _LK_SHARED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LK_SHARED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_vn_lock
	cbz	w0, LBB0_7
; %bb.3:
Lloh3:
	adrp	x8, _EBADF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBADF@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldr	x2, [x20, #8]
	ldr	w3, [x20, #4]
	mov	x0, x19
	mov	w1, #128
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vn_bmap_seekhole
LBB0_5:
Lloh5:
	adrp	x8, _ENOTTY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOTTY@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	b	LBB0_8
LBB0_7:
	ldr	x1, [x20, #8]
	mov	x0, x19
	bl	_ufs_bmap_seekdata
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	bl	_VOP_UNLOCK
	mov	x0, x20
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_LK_SHARED,4,2                  ; @LK_SHARED
	.comm	_EBADF,4,2                      ; @EBADF
	.comm	_ENOTTY,4,2                     ; @ENOTTY
	.no_dead_strip	_ufs_ioctl
.subsections_via_symbols
