	.file	"extr_siw_mem.c_siw_invalidate_stag.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"STag 0x%08x unknown\n"
.LC1:
	.string	"PD mismatch for STag 0x%08x\n"
.LC2:
	.string	"STag 0x%08x now invalid\n"
	.text
	.p2align 4
	.globl	siw_invalidate_stag
	.type	siw_invalidate_stag, @function
siw_invalidate_stag:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	edi, DWORD PTR [rdi]
	call	to_siw_dev@PLT
	mov	esi, r13d
	mov	rdi, rax
	sar	esi, 8
	call	siw_mem_id2obj@PLT
	xor	edi, edi
	test	rax, rax
	mov	rbp, rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L8
	xor	edi, edi
	cmp	QWORD PTR 8[rbp], r12
	setne	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L9
	mov	QWORD PTR 0[rbp], 0
	mov	rdi, r12
	mov	edx, r13d
	lea	rsi, .LC2[rip]
	xor	r12d, r12d
	call	siw_dbg_pd@PLT
.L5:
	mov	rdi, rbp
	call	siw_mem_put@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, r12
	mov	edx, r13d
	lea	rsi, .LC1[rip]
	call	siw_dbg_pd@PLT
	mov	r12d, DWORD PTR EACCES[rip]
	neg	r12d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edx, r13d
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	call	siw_dbg_pd@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	siw_invalidate_stag, .-siw_invalidate_stag
	.comm	EINVAL,4,4
	.comm	EACCES,4,4
	.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_siw_mem.c_siw_invalidate_stag.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"STag 0x%08x unknown\012\000"
	.align	2
.LC1:
	.ascii	"PD mismatch for STag 0x%08x\012\000"
	.align	2
.LC2:
	.ascii	"STag 0x%08x now invalid\012\000"
	.text
	.align	2
	.global	siw_invalidate_stag
	.syntax unified
	.arm
	.fpu softvfp
	.type	siw_invalidate_stag, %function
siw_invalidate_stag:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r5, r0
	ldr	r0, [r0]
	bl	to_siw_dev
	asr	r1, r6, #8
	bl	siw_mem_id2obj
	mov	r7, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	bne	.L8
	ldr	r0, [r7, #4]
	subs	r0, r0, r5
	movne	r0, #1
	bl	unlikely
	subs	r4, r0, #0
	bne	.L9
	mov	r2, r6
	mov	r0, r5
	ldr	r1, .L10
	str	r4, [r7]
	bl	siw_dbg_pd
.L5:
	mov	r0, r7
	bl	siw_mem_put
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r2, r6
	mov	r0, r5
	ldr	r1, .L10+4
	bl	siw_dbg_pd
	ldr	r3, .L10+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L5
.L8:
	mov	r2, r6
	mov	r0, r5
	ldr	r1, .L10+12
	bl	siw_dbg_pd
	ldr	r3, .L10+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	.LC2
	.word	.LC1
	.word	EACCES
	.word	.LC0
	.word	EINVAL
	.size	siw_invalidate_stag, .-siw_invalidate_stag
	.comm	EINVAL,4,4
	.comm	EACCES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
