	.file	"extr_ctl.c_ctl_lun_secondary.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ctl_lun_secondary
	.type	ctl_lun_secondary, @function
ctl_lun_secondary:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, QWORD PTR [rdi]
	mov	rdi, rbp
	call	mtx_lock@PLT
	mov	eax, DWORD PTR CTL_LUN_PRIMARY_SC[rip]
	mov	esi, -1
	mov	rdi, rbp
	mov	edx, DWORD PTR CTL_UA_ASYM_ACC_CHANGE[rip]
	not	eax
	and	DWORD PTR 4[rbp], eax
	call	ctl_est_ua_all@PLT
	mov	rdi, rbp
	call	mtx_unlock@PLT
	mov	rdi, rbp
	call	ctl_isc_announce_lun@PLT
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ctl_lun_secondary, .-ctl_lun_secondary
	.comm	CTL_UA_ASYM_ACC_CHANGE,4,4
	.comm	CTL_LUN_PRIMARY_SC,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_ctl.c_ctl_lun_secondary.c"
	.text
	.align	2
	.global	ctl_lun_secondary
	.syntax unified
	.arm
	.fpu softvfp
	.type	ctl_lun_secondary, %function
ctl_lun_secondary:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, [r0]
	mov	r0, r4
	bl	mtx_lock
	ldr	r2, .L4
	ldr	r3, [r4, #4]
	ldr	r1, [r2]
	ldr	r2, .L4+4
	bic	r3, r3, r1
	ldr	r2, [r2]
	mvn	r1, #0
	str	r3, [r4, #4]
	mov	r0, r4
	bl	ctl_est_ua_all
	mov	r0, r4
	bl	mtx_unlock
	mov	r0, r4
	bl	ctl_isc_announce_lun
	mov	r0, #0
	pop	{r4, pc}
.L5:
	.align	2
.L4:
	.word	CTL_LUN_PRIMARY_SC
	.word	CTL_UA_ASYM_ACC_CHANGE
	.size	ctl_lun_secondary, .-ctl_lun_secondary
	.comm	CTL_UA_ASYM_ACC_CHANGE,4,4
	.comm	CTL_LUN_PRIMARY_SC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
