	.file	"extr_swconfig.c_swconfig_send_link.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	swconfig_send_link, @function
swconfig_send_link:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rcx
	call	nla_nest_start@PLT
	cmp	QWORD PTR 40[rbx], 0
	mov	r12, rax
	jne	.L2
	cmp	QWORD PTR 32[rbx], 0
	jne	.L30
.L4:
	cmp	QWORD PTR 24[rbx], 0
	jne	.L31
.L8:
	cmp	QWORD PTR 16[rbx], 0
	jne	.L32
.L10:
	cmp	QWORD PTR 8[rbx], 0
	jne	.L11
.L12:
	mov	edx, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR SWITCH_LINK_SPEED[rip]
	mov	rdi, rbp
	call	nla_put_u32@PLT
	test	rax, rax
	jne	.L5
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR ADVERTISED_100baseT_Full[rip], eax
	jne	.L33
.L14:
	test	DWORD PTR ADVERTISED_1000baseT_Full[rip], eax
	jne	.L15
.L17:
	mov	rsi, r12
	mov	rdi, rbp
	call	nla_nest_end@PLT
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, DWORD PTR SWITCH_LINK_FLAG_RX_FLOW[rip]
	mov	rdi, rbp
	call	nla_put_flag@PLT
	test	rax, rax
	je	.L12
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rsi, r12
	mov	rdi, rbp
	call	nla_nest_cancel@PLT
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	esi, DWORD PTR SWITCH_LINK_FLAG_EEE_1000BASET[rip]
	mov	rdi, rbp
	call	nla_put_flag@PLT
	test	rax, rax
	je	.L17
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	mov	esi, DWORD PTR SWITCH_LINK_FLAG_LINK[rip]
	mov	rdi, rbp
	call	nla_put_flag@PLT
	test	rax, rax
	jne	.L5
	cmp	QWORD PTR 32[rbx], 0
	je	.L4
.L30:
	mov	esi, DWORD PTR SWITCH_LINK_FLAG_DUPLEX[rip]
	mov	rdi, rbp
	call	nla_put_flag@PLT
	test	rax, rax
	jne	.L5
	cmp	QWORD PTR 24[rbx], 0
	je	.L8
.L31:
	mov	esi, DWORD PTR SWITCH_LINK_FLAG_ANEG[rip]
	mov	rdi, rbp
	call	nla_put_flag@PLT
	test	rax, rax
	jne	.L5
	cmp	QWORD PTR 16[rbx], 0
	je	.L10
.L32:
	mov	esi, DWORD PTR SWITCH_LINK_FLAG_TX_FLOW[rip]
	mov	rdi, rbp
	call	nla_put_flag@PLT
	test	rax, rax
	je	.L10
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L33:
	mov	esi, DWORD PTR SWITCH_LINK_FLAG_EEE_100BASET[rip]
	mov	rdi, rbp
	call	nla_put_flag@PLT
	test	rax, rax
	jne	.L5
	mov	eax, DWORD PTR [rbx]
	jmp	.L14
	.cfi_endproc
.LFE0:
	.size	swconfig_send_link, .-swconfig_send_link
	.comm	SWITCH_LINK_SPEED,4,4
	.comm	SWITCH_LINK_FLAG_TX_FLOW,4,4
	.comm	SWITCH_LINK_FLAG_RX_FLOW,4,4
	.comm	SWITCH_LINK_FLAG_LINK,4,4
	.comm	SWITCH_LINK_FLAG_EEE_100BASET,4,4
	.comm	SWITCH_LINK_FLAG_EEE_1000BASET,4,4
	.comm	SWITCH_LINK_FLAG_DUPLEX,4,4
	.comm	SWITCH_LINK_FLAG_ANEG,4,4
	.comm	ADVERTISED_100baseT_Full,4,4
	.comm	ADVERTISED_1000baseT_Full,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_swconfig.c_swconfig_send_link.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	swconfig_send_link, %function
swconfig_send_link:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r3
	mov	r1, r2
	mov	r5, r0
	bl	nla_nest_start
	ldr	r3, [r4, #24]
	mov	r7, r0
	cmp	r3, #0
	bne	.L2
	ldr	r3, [r4, #20]
	cmp	r3, #0
	bne	.L30
.L4:
	ldr	r3, [r4, #16]
	cmp	r3, #0
	bne	.L31
.L8:
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L32
.L10:
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L11
.L12:
	ldr	r3, .L34
	mov	r0, r5
	ldr	r2, [r4, #4]
	ldr	r1, [r3]
	bl	nla_put_u32
	subs	r6, r0, #0
	bne	.L5
	ldr	r2, .L34+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L33
.L14:
	ldr	r2, .L34+8
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L15
.L17:
	mov	r1, r7
	mov	r0, r5
	bl	nla_nest_end
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r3, .L34+12
	mov	r0, r5
	ldr	r1, [r3]
	bl	nla_put_flag
	cmp	r0, #0
	beq	.L12
.L5:
	mov	r1, r7
	mov	r0, r5
	bl	nla_nest_cancel
	mvn	r6, #0
	b	.L1
.L15:
	ldr	r3, .L34+16
	mov	r0, r5
	ldr	r1, [r3]
	bl	nla_put_flag
	cmp	r0, #0
	beq	.L17
	b	.L5
.L2:
	ldr	r3, .L34+20
	mov	r0, r5
	ldr	r1, [r3]
	bl	nla_put_flag
	cmp	r0, #0
	bne	.L5
	ldr	r3, [r4, #20]
	cmp	r3, #0
	beq	.L4
.L30:
	ldr	r3, .L34+24
	mov	r0, r5
	ldr	r1, [r3]
	bl	nla_put_flag
	cmp	r0, #0
	bne	.L5
	ldr	r3, [r4, #16]
	cmp	r3, #0
	beq	.L8
.L31:
	ldr	r3, .L34+28
	mov	r0, r5
	ldr	r1, [r3]
	bl	nla_put_flag
	cmp	r0, #0
	bne	.L5
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L10
.L32:
	ldr	r3, .L34+32
	mov	r0, r5
	ldr	r1, [r3]
	bl	nla_put_flag
	cmp	r0, #0
	beq	.L10
	b	.L5
.L33:
	ldr	r3, .L34+36
	mov	r0, r5
	ldr	r1, [r3]
	bl	nla_put_flag
	cmp	r0, #0
	bne	.L5
	ldr	r3, [r4]
	b	.L14
.L35:
	.align	2
.L34:
	.word	SWITCH_LINK_SPEED
	.word	ADVERTISED_100baseT_Full
	.word	ADVERTISED_1000baseT_Full
	.word	SWITCH_LINK_FLAG_RX_FLOW
	.word	SWITCH_LINK_FLAG_EEE_1000BASET
	.word	SWITCH_LINK_FLAG_LINK
	.word	SWITCH_LINK_FLAG_DUPLEX
	.word	SWITCH_LINK_FLAG_ANEG
	.word	SWITCH_LINK_FLAG_TX_FLOW
	.word	SWITCH_LINK_FLAG_EEE_100BASET
	.size	swconfig_send_link, .-swconfig_send_link
	.comm	SWITCH_LINK_SPEED,4,4
	.comm	SWITCH_LINK_FLAG_TX_FLOW,4,4
	.comm	SWITCH_LINK_FLAG_RX_FLOW,4,4
	.comm	SWITCH_LINK_FLAG_LINK,4,4
	.comm	SWITCH_LINK_FLAG_EEE_100BASET,4,4
	.comm	SWITCH_LINK_FLAG_EEE_1000BASET,4,4
	.comm	SWITCH_LINK_FLAG_DUPLEX,4,4
	.comm	SWITCH_LINK_FLAG_ANEG,4,4
	.comm	ADVERTISED_100baseT_Full,4,4
	.comm	ADVERTISED_1000baseT_Full,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
