	.file	"extr_scsi_transport_iscsi.c_iscsi_create_iface.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ipv4-iface-%u-%u"
.LC1:
	.string	"ipv6-iface-%u-%u"
	.text
	.p2align 4
	.globl	iscsi_create_iface
	.type	iscsi_create_iface, @function
iscsi_create_iface:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, r8d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	lea	edi, 56[r8]
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	QWORD PTR 48[rax], r15
	lea	rdi, 4[rbp]
	mov	QWORD PTR 40[rax], rbx
	mov	QWORD PTR 32[rax], r13
	mov	eax, DWORD PTR iscsi_iface_release[rip]
	mov	DWORD PTR 16[r12], eax
	lea	rax, iscsi_iface_class[rip]
	mov	QWORD PTR 8[r12], rax
	call	get_device@PLT
	cmp	QWORD PTR ISCSI_IFACE_TYPE_IPV4[rip], rbx
	mov	edx, DWORD PTR 0[rbp]
	mov	rcx, r13
	mov	DWORD PTR [r12], eax
	je	.L15
	mov	rdi, r12
	lea	rsi, .LC1[rip]
	call	dev_set_name@PLT
	mov	rdi, r12
	call	device_register@PLT
	test	eax, eax
	jne	.L16
.L5:
	lea	rdi, 4[r12]
	lea	rsi, iscsi_iface_group[rip]
	call	sysfs_create_group@PLT
	test	eax, eax
	jne	.L17
	test	r14d, r14d
	je	.L1
	lea	rax, 56[r12]
	mov	QWORD PTR 24[r12], rax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	call	dev_set_name@PLT
	mov	rdi, r12
	call	device_register@PLT
	test	eax, eax
	je	.L5
.L16:
	mov	edi, DWORD PTR [r12]
	call	put_device@PLT
	mov	rdi, r12
	xor	r12d, r12d
	call	kfree@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, r12
	xor	r12d, r12d
	call	device_unregister@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	iscsi_create_iface, .-iscsi_create_iface
	.comm	iscsi_iface_release,4,4
	.comm	iscsi_iface_group,4,4
	.comm	iscsi_iface_class,4,4
	.comm	ISCSI_IFACE_TYPE_IPV4,8,8
	.comm	GFP_KERNEL,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_create_iface.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ipv4-iface-%u-%u\000"
	.align	2
.LC1:
	.ascii	"ipv6-iface-%u-%u\000"
	.text
	.align	2
	.global	iscsi_create_iface
	.syntax unified
	.arm
	.fpu softvfp
	.type	iscsi_create_iface, %function
iscsi_create_iface:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, [sp, #32]
	mov	r9, r1
	ldr	r1, .L17
	mov	r7, r0
	ldr	r1, [r1]
	add	r0, r8, #32
	mov	r6, r2
	mov	r5, r3
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L1
	ldr	r3, .L17+4
	str	r5, [r4, #20]
	ldr	r2, [r3]
	ldr	r3, .L17+8
	str	r2, [r4, #12]
	str	r3, [r4, #8]
	str	r9, [r4, #28]
	str	r6, [r4, #24]
	add	r0, r7, #4
	bl	get_device
	ldr	r3, .L17+12
	ldr	r2, [r7]
	ldr	r3, [r3]
	str	r0, [r4]
	cmp	r3, r6
	ldreq	r1, .L17+16
	mov	r3, r5
	ldrne	r1, .L17+20
	mov	r0, r4
	bl	dev_set_name
	mov	r0, r4
	bl	device_register
	subs	r5, r0, #0
	bne	.L15
	ldr	r1, .L17+24
	add	r0, r4, #4
	bl	sysfs_create_group
	cmp	r0, #0
	bne	.L16
	cmp	r8, #0
	addne	r3, r4, #32
	strne	r3, [r4, #16]
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	ldr	r0, [r4]
	bl	put_device
	mov	r0, r4
	mov	r4, #0
	bl	kfree
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	mov	r0, r4
	bl	device_unregister
	mov	r4, r5
	b	.L1
.L18:
	.align	2
.L17:
	.word	GFP_KERNEL
	.word	iscsi_iface_release
	.word	iscsi_iface_class
	.word	ISCSI_IFACE_TYPE_IPV4
	.word	.LC0
	.word	.LC1
	.word	iscsi_iface_group
	.size	iscsi_create_iface, .-iscsi_create_iface
	.comm	iscsi_iface_release,4,4
	.comm	iscsi_iface_group,4,4
	.comm	iscsi_iface_class,4,4
	.comm	ISCSI_IFACE_TYPE_IPV4,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
