	.file	"extr_sas_discover.c_sas_revalidate_domain.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"REVALIDATION DEFERRED on port %d, pid:%d\n"
	.align 8
.LC1:
	.string	"REVALIDATING DOMAIN on port %d, pid:%d\n"
	.align 8
.LC2:
	.string	"done REVALIDATING DOMAIN on port %d, pid:%d, res 0x%x\n"
	.text
	.p2align 4
	.type	sas_revalidate_domain, @function
sas_revalidate_domain:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	to_sas_discovery_event@PLT
	mov	rbx, QWORD PTR [rax]
	mov	rbp, QWORD PTR 24[rbx]
	mov	rdi, rbp
	call	mutex_lock@PLT
	mov	edi, DWORD PTR SAS_HA_ATA_EH_ACTIVE[rip]
	lea	rsi, 4[rbp]
	call	test_bit@PLT
	test	rax, rax
	jne	.L9
	mov	edi, DWORD PTR DISCE_REVALIDATE_DOMAIN[rip]
	lea	rsi, 16[rbx]
	xor	r12d, r12d
	call	clear_bit@PLT
	mov	edi, DWORD PTR current[rip]
	call	task_pid_nr@PLT
	mov	esi, DWORD PTR [rbx]
	lea	rdi, .LC1[rip]
	mov	edx, eax
	xor	eax, eax
	call	SAS_DPRINTK@PLT
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	jne	.L10
.L4:
.L3:
	endbr64
	mov	edi, DWORD PTR current[rip]
	call	task_pid_nr@PLT
	mov	esi, DWORD PTR [rbx]
	mov	ecx, r12d
	lea	rdi, .LC2[rip]
	mov	edx, eax
	xor	eax, eax
	call	SAS_DPRINTK@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	call	sas_ex_revalidate_domain@PLT
	mov	r12d, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, DWORD PTR current[rip]
	call	task_pid_nr@PLT
	mov	esi, DWORD PTR [rbx]
	lea	rdi, .LC0[rip]
	mov	edx, eax
	xor	eax, eax
	call	SAS_DPRINTK@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	sas_revalidate_domain, .-sas_revalidate_domain
	.comm	current,4,4
	.comm	SAS_HA_ATA_EH_ACTIVE,4,4
	.comm	DISCE_REVALIDATE_DOMAIN,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_sas_discover.c_sas_revalidate_domain.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"REVALIDATION DEFERRED on port %d, pid:%d\012\000"
	.align	2
.LC1:
	.ascii	"REVALIDATING DOMAIN on port %d, pid:%d\012\000"
	.align	2
.LC2:
	.ascii	"done REVALIDATING DOMAIN on port %d, pid:%d, res 0x"
	.ascii	"%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sas_revalidate_domain, %function
sas_revalidate_domain:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	bl	to_sas_discovery_event
	ldr	r4, [r0]
	ldr	r5, [r4, #12]
	mov	r0, r5
	bl	mutex_lock
	ldr	r3, .L12
	add	r1, r5, #4
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, #0
	bne	.L10
	ldr	r3, .L12+4
	ldr	r7, .L12+8
	ldr	r0, [r3]
	add	r1, r4, #8
	bl	clear_bit
	ldr	r0, [r7]
	ldr	r6, [r4]
	bl	task_pid_nr
	mov	r1, r6
	mov	r2, r0
	ldr	r0, .L12+12
	bl	SAS_DPRINTK
	ldr	r6, [r4, #4]
	cmp	r6, #0
	bne	.L11
.L4:
.L3:
	ldr	r0, [r7]
	ldr	r4, [r4]
	bl	task_pid_nr
	mov	r3, r6
	mov	r2, r0
	mov	r1, r4
	ldr	r0, .L12+16
	bl	SAS_DPRINTK
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	mutex_unlock
.L11:
	mov	r0, r6
	bl	sas_ex_revalidate_domain
	mov	r6, r0
	b	.L4
.L10:
	ldr	r3, .L12+8
	ldr	r4, [r4]
	ldr	r0, [r3]
	bl	task_pid_nr
	mov	r1, r4
	mov	r2, r0
	ldr	r0, .L12+20
	bl	SAS_DPRINTK
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	mutex_unlock
.L13:
	.align	2
.L12:
	.word	SAS_HA_ATA_EH_ACTIVE
	.word	DISCE_REVALIDATE_DOMAIN
	.word	current
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.size	sas_revalidate_domain, .-sas_revalidate_domain
	.comm	current,4,4
	.comm	SAS_HA_ATA_EH_ACTIVE,4,4
	.comm	DISCE_REVALIDATE_DOMAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
