	.file	"extr_smb_conn.c_smb_vc_cmpshare.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	smb_vc_cmpshare, @function
smb_vc_cmpshare:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR 24[rsi]
	mov	edi, DWORD PTR 20[rdi]
	call	strcmp@PLT
	mov	r8, rax
	mov	eax, 1
	test	r8, r8
	jne	.L1
	mov	rdx, QWORD PTR [rbx]
	cmp	rdx, QWORD PTR SMBM_ANY_OWNER[rip]
	je	.L7
	mov	ecx, 1
	cmp	rdx, QWORD PTR 0[rbp]
	jne	.L1
	mov	rdx, QWORD PTR 8[rbx]
	cmp	rdx, QWORD PTR SMBM_ANY_GROUP[rip]
	je	.L17
.L4:
	mov	eax, 1
	cmp	rdx, QWORD PTR 8[rbp]
	jne	.L1
	mov	edx, DWORD PTR 16[rbx]
	test	DWORD PTR SMBM_EXACT[rip], edx
	je	.L5
	test	ecx, ecx
	je	.L1
	xor	eax, eax
	and	edx, DWORD PTR SMBM_MASK[rip]
	cmp	edx, DWORD PTR 16[rbp]
	setne	al
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdx, QWORD PTR 8[rbx]
	xor	ecx, ecx
	cmp	rdx, QWORD PTR SMBM_ANY_GROUP[rip]
	jne	.L4
.L17:
	mov	edx, DWORD PTR 16[rbx]
	mov	eax, 1
	test	DWORD PTR SMBM_EXACT[rip], edx
	jne	.L1
.L5:
	mov	esi, DWORD PTR 20[rbx]
	mov	rdi, rbp
	call	smb_share_access@PLT
	test	rax, rax
	setne	al
	movzx	eax, al
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	smb_vc_cmpshare, .-smb_vc_cmpshare
	.comm	SMBM_MASK,4,4
	.comm	SMBM_EXACT,4,4
	.comm	SMBM_ANY_OWNER,8,8
	.comm	SMBM_ANY_GROUP,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_smb_conn.c_smb_vc_cmpshare.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	smb_vc_cmpshare, %function
smb_vc_cmpshare:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r1
	ldr	r0, [r0, #12]
	ldr	r1, [r1, #16]
	bl	strcmp
	subs	r3, r0, #0
	bne	.L10
	ldr	r1, .L17
	ldr	r2, [r4]
	ldr	r1, [r1]
	cmp	r2, r1
	beq	.L3
	ldr	r3, [r5]
	cmp	r2, r3
	bne	.L10
	mov	r3, #1
.L3:
	ldr	r1, .L17+4
	ldr	r2, [r4, #4]
	ldr	r1, [r1]
	cmp	r2, r1
	beq	.L16
	ldr	r1, [r5, #4]
	cmp	r2, r1
	bne	.L10
	ldr	r1, .L17+8
	ldr	r2, [r4, #8]
	ldr	r1, [r1]
	tst	r2, r1
	beq	.L5
	cmp	r3, #0
	beq	.L10
	ldr	r1, .L17+12
	ldr	r3, [r5, #8]
	ldr	r0, [r1]
	and	r0, r0, r2
	subs	r0, r0, r3
	movne	r0, #1
	pop	{r4, r5, r6, pc}
.L16:
	ldr	r3, .L17+8
	ldr	r2, [r4, #8]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L5
.L10:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L5:
	mov	r0, r5
	ldr	r1, [r4, #12]
	bl	smb_share_access
	subs	r0, r0, #0
	movne	r0, #1
	pop	{r4, r5, r6, pc}
.L18:
	.align	2
.L17:
	.word	SMBM_ANY_OWNER
	.word	SMBM_ANY_GROUP
	.word	SMBM_EXACT
	.word	SMBM_MASK
	.size	smb_vc_cmpshare, .-smb_vc_cmpshare
	.comm	SMBM_MASK,4,4
	.comm	SMBM_EXACT,4,4
	.comm	SMBM_ANY_OWNER,4,4
	.comm	SMBM_ANY_GROUP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
