	.file	"extr_scsi_transport_iscsi.c_iscsi_unregister_transport.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	iscsi_unregister_transport
	.type	iscsi_unregister_transport, @function
iscsi_unregister_transport:
.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
	mov	rbp, rdi
	xor	edi, edi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	rbp, rbp
	sete	dil
	call	BUG_ON@PLT
	lea	rdi, rx_queue_mutex[rip]
	call	mutex_lock@PLT
	mov	rdi, rbp
	call	iscsi_if_transport_lookup@PLT
	xor	edi, edi
	test	rax, rax
	mov	rbp, rax
	sete	dil
	xor	r12d, r12d
	call	BUG_ON@PLT
	mov	rsi, r12
	lea	rdi, iscsi_transport_lock[rip]
	call	spin_lock_irqsave@PLT
	lea	rdi, 16[rbp]
	call	list_del@PLT
	mov	rsi, r12
	lea	rdi, iscsi_transport_lock[rip]
	call	spin_unlock_irqrestore@PLT
	lea	rdi, 12[rbp]
	call	transport_container_unregister@PLT
	lea	rdi, 8[rbp]
	call	transport_container_unregister@PLT
	lea	rdi, 4[rbp]
	call	transport_container_unregister@PLT
	lea	rsi, iscsi_transport_group[rip]
	mov	rdi, rbp
	call	sysfs_remove_group@PLT
	mov	rdi, rbp
	call	device_unregister@PLT
	lea	rdi, rx_queue_mutex[rip]
	call	mutex_unlock@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	iscsi_unregister_transport, .-iscsi_unregister_transport
	.comm	rx_queue_mutex,4,4
	.comm	iscsi_transport_lock,4,4
	.comm	iscsi_transport_group,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_scsi_transport_iscsi.c_iscsi_unregister_transport.c"
	.text
	.align	2
	.global	iscsi_unregister_transport
	.syntax unified
	.arm
	.fpu softvfp
	.type	iscsi_unregister_transport, %function
iscsi_unregister_transport:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	clz	r0, r0
	ldr	r5, .L4
	lsr	r0, r0, #5
	bl	BUG_ON
	mov	r0, r5
	bl	mutex_lock
	mov	r0, r4
	bl	iscsi_if_transport_lookup
	mov	r4, r0
	clz	r0, r0
	mov	r7, #0
	ldr	r6, .L4+4
	lsr	r0, r0, #5
	bl	BUG_ON
	mov	r1, r7
	mov	r0, r6
	bl	spin_lock_irqsave
	add	r0, r4, #16
	bl	list_del
	mov	r1, r7
	mov	r0, r6
	bl	spin_unlock_irqrestore
	add	r0, r4, #12
	bl	transport_container_unregister
	add	r0, r4, #8
	bl	transport_container_unregister
	add	r0, r4, #4
	bl	transport_container_unregister
	ldr	r1, .L4+8
	mov	r0, r4
	bl	sysfs_remove_group
	mov	r0, r4
	bl	device_unregister
	mov	r0, r5
	bl	mutex_unlock
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	rx_queue_mutex
	.word	iscsi_transport_lock
	.word	iscsi_transport_group
	.size	iscsi_unregister_transport, .-iscsi_unregister_transport
	.comm	rx_queue_mutex,4,4
	.comm	iscsi_transport_lock,4,4
	.comm	iscsi_transport_group,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
