	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nsmb_dev_ioctl
_nsmb_dev_ioctl:                        ## @nsmb_dev_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rdx, %r15
	movl	%esi, %r13d
	leaq	-48(%rbp), %rdi
	callq	_devfs_get_cdevpriv
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_47
## %bb.1:
	movq	_M_NSMBDEV@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4, %edi
	callq	_malloc
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_SMB_LOCK
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_smb_makescred
	leal	-128(%r13), %eax
	cmpl	$7, %eax
	ja	LBB0_6
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	-48(%rbp), %rax
	movq	(%rax), %rdi
	movq	%rdi, -56(%rbp)
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.4:
	movl	12(%r15), %eax
	movl	%eax, -108(%rbp)
	movl	(%r15), %eax
	movl	%eax, -112(%rbp)
	leaq	-112(%rbp), %rcx
	movq	%rcx, -72(%rbp)
	movl	$1, -104(%rbp)
	movl	8(%r15), %ecx
	movl	%ecx, -80(%rbp)
	movl	%eax, -100(%rbp)
	movq	_UIO_USERSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)
	cmpl	$132, %r13d
	jne	LBB0_28
## %bb.5:
	movq	_UIO_READ@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_6:
	movq	%rbx, %r13
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_45
LBB0_7:
	movq	%rbx, %r13
	movq	-48(%rbp), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_44
## %bb.8:
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_smb_usr_t2request
	movl	%eax, %ebx
	jmp	LBB0_46
LBB0_9:
	movq	(%r15), %rax
	movq	_SMBL_VC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_33
## %bb.10:
	movq	_SMBL_SHARE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_39
## %bb.11:
	movq	_SMBS_PERMANENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	testl	%r12d, 8(%r15)
	je	LBB0_39
## %bb.12:
	movq	%rbx, %r13
	movl	12(%r15), %ecx
	movq	-48(%rbp), %rax
	movq	(%rax), %r15
	movq	%r15, -56(%rbp)
	testq	%r15, %r15
	je	LBB0_44
## %bb.13:
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_smb_share_get
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_46
## %bb.14:
	movl	(%r15), %eax
	movq	_SMBS_PERMANENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%r12d, -60(%rbp)                ## 4-byte Folded Reload
	je	LBB0_56
## %bb.15:
	testl	%eax, %ecx
	jne	LBB0_58
## %bb.16:
	orl	%eax, %ecx
	movl	%ecx, (%r15)
	movq	%r15, %rdi
	callq	_smb_share_ref
	jmp	LBB0_58
LBB0_17:
	movq	%rbx, %r13
	movq	-48(%rbp), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_44
## %bb.18:
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_smb_usr_simplerequest
	movl	%eax, %ebx
	jmp	LBB0_46
LBB0_19:
	movq	-48(%rbp), %rax
	cmpq	$0, (%rax)
	je	LBB0_40
## %bb.20:
	movq	%rbx, %r13
	movq	_EISCONN@GOTPCREL(%rip), %rax
	jmp	LBB0_45
LBB0_21:
	movq	%rbx, %r13
	movq	-48(%rbp), %rax
	cmpq	$0, 16(%rax)
	jne	LBB0_26
## %bb.22:
	leaq	-104(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_smb_usr_opensession
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_46
## %bb.23:
	movq	-104(%rbp), %rdi
	movq	-48(%rbp), %rax
	movq	%rdi, 16(%rax)
	callq	_smb_vc_unlock
	movq	_SMBL_VC@GOTPCREL(%rip), %rax
	jmp	LBB0_43
LBB0_24:
	movq	%rbx, %r13
	movq	-48(%rbp), %rax
	cmpq	$0, 16(%rax)
	jne	LBB0_26
## %bb.25:
	cmpq	$0, (%rax)
	je	LBB0_48
LBB0_26:
	movq	_EISCONN@GOTPCREL(%rip), %rax
	jmp	LBB0_45
LBB0_27:
	movq	%rbx, %r13
LBB0_44:
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
	jmp	LBB0_45
LBB0_28:
	movq	_UIO_WRITE@GOTPCREL(%rip), %rax
LBB0_29:
	movq	%rbx, %r13
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movq	%r12, -96(%rbp)
	movl	4(%r15), %esi
	leaq	-104(%rbp), %rdx
	movq	%r14, %rcx
	jne	LBB0_31
## %bb.30:
	callq	_smb_read
	jmp	LBB0_32
LBB0_31:
	callq	_smb_write
LBB0_32:
	movl	%eax, %ebx
	movl	-100(%rbp), %eax
	subl	%eax, (%r15)
	jmp	LBB0_46
LBB0_33:
	movq	_SMBV_PERMANENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	testl	%r12d, 8(%r15)
	je	LBB0_39
## %bb.34:
	movq	%rbx, %r13
	movl	12(%r15), %ecx
	movq	-48(%rbp), %rax
	movq	16(%rax), %r15
	movq	%r15, -104(%rbp)
	testq	%r15, %r15
	je	LBB0_44
## %bb.35:
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_smb_vc_get
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_46
## %bb.36:
	movl	(%r15), %eax
	movq	_SMBV_PERMANENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%r12d, -60(%rbp)                ## 4-byte Folded Reload
	je	LBB0_53
## %bb.37:
	testl	%eax, %ecx
	jne	LBB0_55
## %bb.38:
	orl	%eax, %ecx
	movl	%ecx, (%r15)
	movq	%r15, %rdi
	callq	_smb_vc_ref
	jmp	LBB0_55
LBB0_39:
	movq	%rbx, %r13
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_45:
	movl	(%rax), %ebx
LBB0_46:
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_free
	xorl	%eax, %eax
	callq	_SMB_UNLOCK
LBB0_47:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_40:
	movq	%rbx, %r13
	movq	16(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_44
## %bb.41:
	leaq	-56(%rbp), %rcx
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_smb_usr_openshare
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_46
## %bb.42:
	movq	-56(%rbp), %rax
	movq	-48(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	-56(%rbp), %rdi
	callq	_smb_share_unlock
	movq	_SMBL_SHARE@GOTPCREL(%rip), %rax
LBB0_43:
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx
	movq	%rax, 8(%rcx)
	xorl	%ebx, %ebx
	jmp	LBB0_46
LBB0_48:
	movq	$0, -104(%rbp)
	movq	$0, -56(%rbp)
	leaq	-104(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_smb_usr_lookup
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_46
## %bb.49:
	movq	-104(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_51
## %bb.50:
	movq	-48(%rbp), %rax
	movq	%rdi, 16(%rax)
	callq	_smb_vc_unlock
	movq	_SMBL_VC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx
	movq	%rax, 8(%rcx)
LBB0_51:
	movq	-56(%rbp), %rax
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_46
## %bb.52:
	movq	-48(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	-56(%rbp), %rdi
	callq	_smb_share_unlock
	movq	_SMBL_SHARE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx
	movq	%rax, 8(%rcx)
	jmp	LBB0_46
LBB0_53:
	testl	%eax, %ecx
	je	LBB0_55
## %bb.54:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%r15)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_smb_vc_rele
LBB0_55:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_smb_vc_put
	xorl	%ebx, %ebx
	jmp	LBB0_46
LBB0_56:
	testl	%eax, %ecx
	je	LBB0_58
## %bb.57:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%r15)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_smb_share_rele
LBB0_58:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_smb_share_put
	xorl	%ebx, %ebx
	jmp	LBB0_46
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_17
	.long	L0_0_set_3
	.long	L0_0_set_19
	.long	L0_0_set_21
	.long	L0_0_set_24
	.end_data_region
                                        ## -- End function
	.comm	_M_NSMBDEV,4,2                  ## @M_NSMBDEV
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_EISCONN,4,2                    ## @EISCONN
	.comm	_SMBL_VC,8,3                    ## @SMBL_VC
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_SMBL_SHARE,8,3                 ## @SMBL_SHARE
	.comm	_SMBV_PERMANENT,4,2             ## @SMBV_PERMANENT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SMBS_PERMANENT,4,2             ## @SMBS_PERMANENT
	.comm	_UIO_USERSPACE,4,2              ## @UIO_USERSPACE
	.comm	_UIO_READ,4,2                   ## @UIO_READ
	.comm	_UIO_WRITE,4,2                  ## @UIO_WRITE
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_nsmb_dev_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nsmb_dev_ioctl
_nsmb_dev_ioctl:                        ; @nsmb_dev_ioctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x22, x4
	mov	x20, x2
	mov	x23, x1
	add	x0, sp, #56
	bl	_devfs_get_cdevpriv
	mov	x21, x0
	cbnz	w0, LBB0_41
; %bb.1:
Lloh0:
	adrp	x24, _M_NSMBDEV@GOTPAGE
Lloh1:
	ldr	x24, [x24, _M_NSMBDEV@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh2:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w0, #4
	bl	_malloc
	mov	x19, x0
	bl	_SMB_LOCK
	mov	x0, x19
	mov	x1, x22
	mov	x2, #0
	bl	_smb_makescred
	sub	w8, w23, #128
	cmp	w8, #7
	b.hi	LBB0_6
; %bb.2:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	x8, [sp, #56]
	ldr	x0, [x8]
	str	x0, [sp, #48]
	cbz	x0, LBB0_37
; %bb.4:
	ldr	w8, [x20, #12]
	str	w8, [sp, #4]
	ldr	w8, [x20]
	str	w8, [sp]
	mov	x9, sp
	str	x9, [sp, #40]
	mov	w9, #1
	ldr	w10, [x20, #8]
	stp	w9, w8, [sp, #8]
Lloh7:
	adrp	x8, _UIO_USERSPACE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _UIO_USERSPACE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	stp	w8, w10, [sp, #28]
Lloh10:
	adrp	x8, _UIO_READ@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UIO_READ@GOTPAGEOFF]
Lloh12:
	adrp	x9, _UIO_WRITE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _UIO_WRITE@GOTPAGEOFF]
	cmp	w23, #132
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	x22, [sp, #16]
	ldr	w1, [x20, #4]
	add	x2, sp, #8
	mov	x3, x19
	b.ne	LBB0_29
; %bb.5:
	bl	_smb_read
	b	LBB0_30
LBB0_6:
Lloh14:
	adrp	x8, _ENODEV@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_39
LBB0_7:
	ldr	x8, [sp, #56]
	ldr	x0, [x8]
	cbz	x0, LBB0_37
; %bb.8:
	mov	x1, x20
	mov	x2, x19
	bl	_smb_usr_t2request
	mov	x21, x0
	b	LBB0_40
LBB0_9:
	ldr	x8, [x20]
Lloh16:
	adrp	x9, _SMBL_VC@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SMBL_VC@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_31
; %bb.10:
Lloh19:
	adrp	x9, _SMBL_SHARE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _SMBL_SHARE@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_38
; %bb.11:
	ldr	w8, [x20, #8]
Lloh22:
	adrp	x23, _SMBS_PERMANENT@GOTPAGE
Lloh23:
	ldr	x23, [x23, _SMBS_PERMANENT@GOTPAGEOFF]
	ldr	w22, [x23]
	tst	w22, w8
	b.eq	LBB0_38
; %bb.12:
	ldr	w25, [x20, #12]
	ldr	x8, [sp, #56]
	ldr	x20, [x8]
	str	x20, [sp, #48]
	cbz	x20, LBB0_37
; %bb.13:
	mov	x0, x20
	mov	x1, x19
	bl	_smb_share_get
	mov	x21, x0
	cbnz	w0, LBB0_40
; %bb.14:
	ldr	w8, [x20]
	ldr	w9, [x23]
	and	w10, w9, w8
	and	w11, w25, w22
	cbz	w11, LBB0_53
; %bb.15:
	cbnz	w10, LBB0_55
; %bb.16:
	orr	w8, w9, w8
	str	w8, [x20]
	mov	x0, x20
	bl	_smb_share_ref
	b	LBB0_55
LBB0_17:
	ldr	x8, [sp, #56]
	ldr	x0, [x8]
	cbz	x0, LBB0_37
; %bb.18:
	mov	x1, x20
	mov	x2, x19
	bl	_smb_usr_simplerequest
	mov	x21, x0
	b	LBB0_40
LBB0_19:
	ldr	x8, [sp, #56]
	ldr	x9, [x8]
	cbnz	x9, LBB0_28
; %bb.20:
	ldr	x0, [x8, #16]
	cbz	x0, LBB0_37
; %bb.21:
	add	x3, sp, #48
	mov	x1, x20
	mov	x2, x19
	bl	_smb_usr_openshare
	mov	x21, x0
	cbnz	w0, LBB0_40
; %bb.22:
	ldp	x8, x9, [sp, #48]
	str	x8, [x9]
	ldr	x0, [sp, #48]
	bl	_smb_share_unlock
	b	LBB0_47
LBB0_23:
	ldr	x8, [sp, #56]
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_28
; %bb.24:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_smb_usr_opensession
	mov	x21, x0
	cbnz	w0, LBB0_40
; %bb.25:
	ldr	x0, [sp, #8]
	ldr	x8, [sp, #56]
	str	x0, [x8, #16]
	bl	_smb_vc_unlock
Lloh24:
	adrp	x8, _SMBL_VC@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SMBL_VC@GOTPAGEOFF]
	b	LBB0_48
LBB0_26:
	ldr	x8, [sp, #56]
	ldr	x9, [x8, #16]
	cbnz	x9, LBB0_28
; %bb.27:
	ldr	x8, [x8]
	cbz	x8, LBB0_42
LBB0_28:
Lloh26:
	adrp	x8, _EISCONN@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EISCONN@GOTPAGEOFF]
	b	LBB0_39
LBB0_29:
	bl	_smb_write
LBB0_30:
	mov	x21, x0
	ldr	w8, [sp, #12]
	ldr	w9, [x20]
	sub	w8, w9, w8
	str	w8, [x20]
	b	LBB0_40
LBB0_31:
	ldr	w8, [x20, #8]
Lloh28:
	adrp	x23, _SMBV_PERMANENT@GOTPAGE
Lloh29:
	ldr	x23, [x23, _SMBV_PERMANENT@GOTPAGEOFF]
	ldr	w22, [x23]
	tst	w22, w8
	b.eq	LBB0_38
; %bb.32:
	ldr	w25, [x20, #12]
	ldr	x8, [sp, #56]
	ldr	x20, [x8, #16]
	str	x20, [sp, #8]
	cbz	x20, LBB0_37
; %bb.33:
	mov	x0, x20
	mov	x1, x19
	bl	_smb_vc_get
	mov	x21, x0
	cbnz	w0, LBB0_40
; %bb.34:
	ldr	w8, [x20]
	ldr	w9, [x23]
	and	w10, w9, w8
	and	w11, w25, w22
	cbz	w11, LBB0_49
; %bb.35:
	cbnz	w10, LBB0_51
; %bb.36:
	orr	w8, w9, w8
	str	w8, [x20]
	mov	x0, x20
	bl	_smb_vc_ref
	b	LBB0_51
LBB0_37:
Lloh30:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
	b	LBB0_39
LBB0_38:
Lloh32:
	adrp	x8, _EINVAL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_39:
	ldr	w21, [x8]
LBB0_40:
	ldr	w1, [x24]
	mov	x0, x19
	bl	_free
	bl	_SMB_UNLOCK
LBB0_41:
	mov	x0, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_42:
	str	xzr, [sp, #8]
	str	xzr, [sp, #48]
	add	x2, sp, #8
	add	x3, sp, #48
	mov	x0, x20
	mov	x1, x19
	bl	_smb_usr_lookup
	mov	x21, x0
	cbnz	w0, LBB0_40
; %bb.43:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_45
; %bb.44:
	ldr	x8, [sp, #56]
	str	x0, [x8, #16]
	bl	_smb_vc_unlock
Lloh34:
	adrp	x8, _SMBL_VC@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SMBL_VC@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	ldr	x9, [sp, #56]
	str	x8, [x9, #8]
LBB0_45:
	ldr	x8, [sp, #48]
	cbz	x8, LBB0_52
; %bb.46:
	ldr	x9, [sp, #56]
	str	x8, [x9]
	ldr	x0, [sp, #48]
	bl	_smb_share_unlock
	mov	w21, #0
LBB0_47:
Lloh37:
	adrp	x8, _SMBL_SHARE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SMBL_SHARE@GOTPAGEOFF]
LBB0_48:
	ldr	x8, [x8]
	ldr	x9, [sp, #56]
	str	x8, [x9, #8]
	b	LBB0_40
LBB0_49:
	cbz	w10, LBB0_51
; %bb.50:
	bic	w8, w8, w9
	str	w8, [x20]
	mov	x0, x20
	mov	x1, x19
	bl	_smb_vc_rele
LBB0_51:
	mov	x0, x20
	mov	x1, x19
	bl	_smb_vc_put
LBB0_52:
	mov	w21, #0
	b	LBB0_40
LBB0_53:
	cbz	w10, LBB0_55
; %bb.54:
	bic	w8, w8, w9
	str	w8, [x20]
	mov	x0, x20
	mov	x1, x19
	bl	_smb_share_rele
LBB0_55:
	mov	x0, x20
	mov	x1, x19
	bl	_smb_share_put
	mov	w21, #0
	b	LBB0_40
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_26-LBB0_3)>>2
                                        ; -- End function
	.comm	_M_NSMBDEV,4,2                  ; @M_NSMBDEV
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_EISCONN,4,2                    ; @EISCONN
	.comm	_SMBL_VC,8,3                    ; @SMBL_VC
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_SMBL_SHARE,8,3                 ; @SMBL_SHARE
	.comm	_SMBV_PERMANENT,4,2             ; @SMBV_PERMANENT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SMBS_PERMANENT,4,2             ; @SMBS_PERMANENT
	.comm	_UIO_USERSPACE,4,2              ; @UIO_USERSPACE
	.comm	_UIO_READ,4,2                   ; @UIO_READ
	.comm	_UIO_WRITE,4,2                  ; @UIO_WRITE
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_nsmb_dev_ioctl
.subsections_via_symbols
