	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smb_usr_vc2spec
_smb_usr_vc2spec:                       ## @smb_usr_vc2spec
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	movl	$72, %esi
	callq	_bzero
	movq	72(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.2:
	movl	64(%rbx), %esi
	callq	_smb_memdupin
	movq	%rax, 64(%r14)
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	56(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	movl	52(%rbx), %esi
	callq	_smb_memdupin
	movq	%rax, 56(%r14)
	testq	%rax, %rax
	je	LBB0_8
LBB0_5:
	movl	48(%rbx), %eax
	movl	%eax, 48(%r14)
	movl	44(%rbx), %eax
	movl	%eax, 44(%r14)
	movl	40(%rbx), %eax
	movl	%eax, 40(%r14)
	movups	24(%rbx), %xmm0
	movups	%xmm0, 24(%r14)
	movups	(%rbx), %xmm0
	movups	%xmm0, (%r14)
	movl	20(%rbx), %eax
	movl	%eax, 20(%r14)
	movl	16(%rbx), %eax
	movq	_SMBVOPT_PRIVATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_SMBV_PRIVATE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmovnel	%edx, %ecx
	movq	_SMBVOPT_SINGLESHARE@GOTPCREL(%rip), %rsi
	andl	(%rsi), %eax
	movq	_SMBV_SINGLESHARE@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	testl	%eax, %eax
	cmovel	%ecx, %edx
	movl	%edx, 16(%r14)
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_6:
	leaq	L_.str(%rip), %rdi
	callq	_SMBERROR
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	%r14, %rdi
	callq	_smb_usr_vcspec_free
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no local charset ?\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SMBVOPT_PRIVATE,4,2            ## @SMBVOPT_PRIVATE
	.comm	_SMBV_PRIVATE,4,2               ## @SMBV_PRIVATE
	.comm	_SMBVOPT_SINGLESHARE,4,2        ## @SMBVOPT_SINGLESHARE
	.comm	_SMBV_SINGLESHARE,4,2           ## @SMBV_SINGLESHARE
	.no_dead_strip	_smb_usr_vc2spec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smb_usr_vc2spec
_smb_usr_vc2spec:                       ; @smb_usr_vc2spec
	.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	x19, x1
	mov	x20, x0
	mov	x0, x1
	mov	w1, #72
	bl	_bzero
	ldr	x0, [x20, #72]
	cbz	x0, LBB0_7
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	w1, [x20, #64]
	bl	_smb_memdupin
	str	x0, [x19, #64]
	cbz	x0, LBB0_9
; %bb.3:
	ldr	x0, [x20, #56]
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w1, [x20, #52]
	bl	_smb_memdupin
	str	x0, [x19, #56]
	cbz	x0, LBB0_8
LBB0_5:
	mov	w0, #0
	ldr	w8, [x20, #48]
	str	w8, [x19, #48]
	ldr	d0, [x20, #40]
	str	d0, [x19, #40]
	ldur	q0, [x20, #24]
	stur	q0, [x19, #24]
	ldp	x8, x9, [x20]
	ldp	w11, w10, [x20, #16]
Lloh0:
	adrp	x12, _SMBVOPT_PRIVATE@GOTPAGE
Lloh1:
	ldr	x12, [x12, _SMBVOPT_PRIVATE@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x12]
Lloh3:
	adrp	x13, _SMBV_PRIVATE@GOTPAGE
Lloh4:
	ldr	x13, [x13, _SMBV_PRIVATE@GOTPAGEOFF]
	str	x8, [x19]
Lloh5:
	ldr	w8, [x13]
	tst	w12, w11
	csel	w12, wzr, w8, eq
Lloh6:
	adrp	x13, _SMBVOPT_SINGLESHARE@GOTPAGE
Lloh7:
	ldr	x13, [x13, _SMBVOPT_SINGLESHARE@GOTPAGEOFF]
Lloh8:
	ldr	w13, [x13]
	tst	w13, w11
Lloh9:
	adrp	x11, _SMBV_SINGLESHARE@GOTPAGE
Lloh10:
	ldr	x11, [x11, _SMBV_SINGLESHARE@GOTPAGEOFF]
	str	x9, [x19, #8]
Lloh11:
	ldr	w9, [x11]
	orr	w8, w9, w8
	csel	w8, w12, w8, eq
	stp	w8, w10, [x19, #16]
	b	LBB0_11
LBB0_6:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_SMBERROR
LBB0_7:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	mov	x0, x19
	bl	_smb_usr_vcspec_free
LBB0_9:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no local charset ?\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SMBVOPT_PRIVATE,4,2            ; @SMBVOPT_PRIVATE
	.comm	_SMBV_PRIVATE,4,2               ; @SMBV_PRIVATE
	.comm	_SMBVOPT_SINGLESHARE,4,2        ; @SMBVOPT_SINGLESHARE
	.comm	_SMBV_SINGLESHARE,4,2           ; @SMBV_SINGLESHARE
	.no_dead_strip	_smb_usr_vc2spec
.subsections_via_symbols
