	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_usr_lookup                 ## -- Begin function smb_usr_lookup
	.p2align	4, 0x90
_smb_usr_lookup:                        ## @smb_usr_lookup
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	$0, -48(%rbp)
	movq	(%rdi), %rax
	movq	_SMBL_VC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jl	LBB0_2
## %bb.1:
	movq	_SMBL_SHARE@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jg	LBB0_2
## %bb.3:
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	addq	$16, %rdi
	leaq	-64(%rbp), %rsi
	callq	_smb_usr_vc2spec
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.4:
	movq	_SMBLK_CREATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r13)
	je	LBB0_6
## %bb.5:
	movq	_SMBV_CREATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -56(%rbp)
LBB0_6:
	movq	(%r13), %rax
	cmpq	(%r14), %rax
	jge	LBB0_8
## %bb.7:
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_12
LBB0_8:
	addq	$12, %r13
	leaq	-80(%rbp), %r14
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_smb_usr_share2spec
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
LBB0_9:
	leaq	-64(%rbp), %rdi
	leaq	-48(%rbp), %rcx
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_smb_sm_lookup
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	-48(%rbp), %rax
	movq	%rax, (%r15)
	movq	-64(%rbp), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	xorl	%ebx, %ebx
LBB0_11:
	leaq	-64(%rbp), %rdi
	callq	_smb_usr_vcspec_free
LBB0_12:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMBL_VC,8,3                    ## @SMBL_VC
	.comm	_SMBL_SHARE,8,3                 ## @SMBL_SHARE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SMBLK_CREATE,4,2               ## @SMBLK_CREATE
	.comm	_SMBV_CREATE,4,2                ## @SMBV_CREATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_usr_lookup                 ; -- Begin function smb_usr_lookup
	.p2align	2
_smb_usr_lookup:                        ; @smb_usr_lookup
	.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
	str	xzr, [sp, #24]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SMBL_VC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SMBL_VC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x24, _SMBL_SHARE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _SMBL_SHARE@GOTPAGEOFF]
	ldr	x10, [x24]
	cmp	x8, x9
	ccmp	x8, x10, #0, ge
	b.le	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w23, [x8]
	b	LBB0_11
LBB0_2:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x0, x0, #16
	add	x1, sp, #8
	bl	_smb_usr_vc2spec
	mov	x23, x0
	cbnz	w0, LBB0_11
; %bb.3:
	ldr	w8, [x22, #8]
Lloh8:
	adrp	x9, _SMBLK_CREATE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SMBLK_CREATE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh11:
	adrp	x8, _SMBV_CREATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SMBV_CREATE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [sp, #16]
	orr	w8, w9, w8
	str	w8, [sp, #16]
LBB0_5:
	ldr	x8, [x22]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ge	LBB0_7
; %bb.6:
	mov	x22, #0
	b	LBB0_8
LBB0_7:
	add	x0, x22, #12
	mov	x22, sp
	mov	x1, sp
	bl	_smb_usr_share2spec
	mov	x23, x0
	cbnz	w0, LBB0_10
LBB0_8:
	add	x0, sp, #8
	add	x3, sp, #24
	mov	x1, x22
	mov	x2, x21
	bl	_smb_sm_lookup
	mov	x23, x0
	cbnz	w0, LBB0_10
; %bb.9:
	ldr	x8, [sp, #24]
	str	x8, [x20]
	ldr	x8, [sp, #8]
	str	x8, [x19]
LBB0_10:
	add	x0, sp, #8
	bl	_smb_usr_vcspec_free
LBB0_11:
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SMBL_VC,8,3                    ; @SMBL_VC
	.comm	_SMBL_SHARE,8,3                 ; @SMBL_SHARE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SMBLK_CREATE,4,2               ; @SMBLK_CREATE
	.comm	_SMBV_CREATE,4,2                ; @SMBV_CREATE
.subsections_via_symbols
