	.file	"extr_ipoib_netlink.c_ipoib_new_child_link.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"child creation disallowed for child devices\n"
	.align 8
.LC1:
	.string	"no pkey specified, using parent pkey\n"
	.align 8
.LC2:
	.string	"failed to initialize pkey device\n"
	.text
	.p2align 4
	.type	ipoib_new_child_link, @function
ipoib_new_child_link:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR IFLA_LINK[rip]
	mov	rdi, QWORD PTR [rdx+rax*8]
	test	rdi, rdi
	je	.L24
	mov	r13, rsi
	mov	rbp, rdx
	mov	r14, rcx
	mov	r15, r8
	call	nla_get_u32@PLT
	mov	rdi, r12
	mov	esi, eax
	call	__dev_get_by_index@PLT
	test	rax, rax
	je	.L4
	mov	rbx, QWORD PTR ARPHRD_INFINIBAND[rip]
	cmp	QWORD PTR [rax], rbx
	je	.L5
.L4:
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L26:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, rbx
	call	ipoib_warn@PLT
	.p2align 4,,10
	.p2align 3
.L24:
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, rax
	call	ipoib_priv@PLT
	mov	edi, DWORD PTR IPOIB_FLAG_SUBINTERFACE[rip]
	lea	rsi, 12[rax]
	mov	rbx, rax
	call	test_bit@PLT
	test	rax, rax
	jne	.L26
	test	r14, r14
	je	.L7
	mov	rax, QWORD PTR IFLA_IPOIB_PKEY[rip]
	mov	rdi, QWORD PTR [r14+rax*8]
	test	rdi, rdi
	je	.L7
	call	nla_get_u16@PLT
	mov	DWORD PTR 12[rsp], eax
.L9:
	mov	edx, DWORD PTR 8[r13]
	mov	edi, DWORD PTR 4[rbx]
	mov	rcx, r13
	mov	esi, DWORD PTR [rbx]
	call	ipoib_intf_init@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L27
	mov	r12d, DWORD PTR IPOIB_RTNL_CHILD[rip]
	mov	rdi, r13
	call	ipoib_priv@PLT
	mov	edx, DWORD PTR 12[rsp]
	mov	rdi, rbx
	mov	ecx, r12d
	mov	rsi, rax
	call	__ipoib_vlan_add@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	test	r14, r14
	je	.L1
	mov	rcx, r15
	mov	rdx, r14
	mov	rsi, rbp
	mov	rdi, r13
	call	ipoib_changelink@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L1
	mov	rdi, r13
	call	unregister_netdevice@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	lea	rsi, .LC1[rip]
	mov	rdi, rbx
	call	ipoib_dbg@PLT
	mov	eax, DWORD PTR 8[rbx]
	mov	DWORD PTR 12[rsp], eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L27:
	lea	rsi, .LC2[rip]
	mov	rdi, rbx
	call	ipoib_warn@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ipoib_new_child_link, .-ipoib_new_child_link
	.comm	IPOIB_RTNL_CHILD,4,4
	.comm	IPOIB_FLAG_SUBINTERFACE,4,4
	.comm	IFLA_LINK,8,8
	.comm	IFLA_IPOIB_PKEY,8,8
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	ARPHRD_INFINIBAND,8,8
	.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_ipoib_netlink.c_ipoib_new_child_link.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"child creation disallowed for child devices\012\000"
	.align	2
.LC1:
	.ascii	"no pkey specified, using parent pkey\012\000"
	.align	2
.LC2:
	.ascii	"failed to initialize pkey device\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipoib_new_child_link, %function
ipoib_new_child_link:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r2
	ldr	r2, .L28
	mov	r4, r0
	ldr	r2, [r2]
	ldr	r0, [r5, r2, lsl #2]
	cmp	r0, #0
	beq	.L24
	mov	r7, r3
	mov	r6, r1
	bl	nla_get_u32
	mov	r1, r0
	mov	r0, r4
	bl	__dev_get_by_index
	subs	r3, r0, #0
	beq	.L4
	ldr	r1, .L28+4
	ldr	r2, [r3]
	ldr	r3, [r1]
	cmp	r2, r3
	beq	.L5
.L4:
	ldr	r3, .L28+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L26:
	mov	r0, r8
	ldr	r1, .L28+12
	bl	ipoib_warn
.L24:
	ldr	r3, .L28+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	bl	ipoib_priv
	ldr	r3, .L28+20
	add	r1, r0, #12
	mov	r8, r0
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, #0
	bne	.L26
	cmp	r7, #0
	beq	.L7
	ldr	r3, .L28+24
	ldr	r3, [r3]
	ldr	r0, [r7, r3, lsl #2]
	cmp	r0, #0
	beq	.L7
	bl	nla_get_u16
	mov	r9, r0
.L9:
	mov	r3, r6
	ldr	r2, [r6, #4]
	ldr	r1, [r8]
	ldr	r0, [r8, #4]
	bl	ipoib_intf_init
	subs	r4, r0, #0
	bne	.L27
	mov	r0, r6
	bl	ipoib_priv
	ldr	r3, .L28+28
	mov	r1, r0
	mov	r2, r9
	mov	r0, r8
	ldr	r3, [r3]
	bl	__ipoib_vlan_add
	subs	r4, r0, #0
	bne	.L1
	cmp	r7, #0
	beq	.L1
	mov	r2, r7
	mov	r1, r5
	mov	r0, r6
	ldr	r3, [sp, #32]
	bl	ipoib_changelink
	subs	r4, r0, #0
	beq	.L1
	mov	r0, r6
	bl	unregister_netdevice
	b	.L1
.L7:
	mov	r0, r8
	ldr	r1, .L28+32
	bl	ipoib_dbg
	ldr	r9, [r8, #8]
	b	.L9
.L27:
	mov	r0, r8
	ldr	r1, .L28+36
	bl	ipoib_warn
	b	.L1
.L29:
	.align	2
.L28:
	.word	IFLA_LINK
	.word	ARPHRD_INFINIBAND
	.word	ENODEV
	.word	.LC0
	.word	EINVAL
	.word	IPOIB_FLAG_SUBINTERFACE
	.word	IFLA_IPOIB_PKEY
	.word	IPOIB_RTNL_CHILD
	.word	.LC1
	.word	.LC2
	.size	ipoib_new_child_link, .-ipoib_new_child_link
	.comm	IPOIB_RTNL_CHILD,4,4
	.comm	IPOIB_FLAG_SUBINTERFACE,4,4
	.comm	IFLA_LINK,4,4
	.comm	IFLA_IPOIB_PKEY,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	ARPHRD_INFINIBAND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
