	.file	"extr_be_main.c_be_link_status_update.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Down"
.LC1:
	.string	"Up"
.LC2:
	.string	"Link is %s\n"
	.text
	.p2align 4
	.globl	be_link_status_update
	.type	be_link_status_update, @function
be_link_status_update:
.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, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	r12, QWORD PTR 8[rdi]
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR BE_FLAGS_LINK_STATUS_INIT[rip], eax
	je	.L7
.L2:
	mov	rdi, r12
	test	rbp, rbp
	je	.L3
	call	netif_carrier_on@PLT
	lea	rdx, .LC1[rip]
.L4:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	lea	rsi, .LC2[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	netdev_info@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	call	netif_carrier_off@PLT
	lea	rdx, .LC0[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rbx, rdi
	mov	rdi, r12
	call	netif_carrier_off@PLT
	mov	eax, DWORD PTR BE_FLAGS_LINK_STATUS_INIT[rip]
	or	DWORD PTR [rbx], eax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	be_link_status_update, .-be_link_status_update
	.comm	BE_FLAGS_LINK_STATUS_INIT,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_be_main.c_be_link_status_update.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Down\000"
	.align	2
.LC1:
	.ascii	"Up\000"
	.align	2
.LC2:
	.ascii	"Link is %s\012\000"
	.text
	.align	2
	.global	be_link_status_update
	.syntax unified
	.arm
	.fpu softvfp
	.type	be_link_status_update, %function
be_link_status_update:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L8
	ldr	r2, [r0]
	ldr	r3, [r7]
	mov	r5, r1
	tst	r2, r3
	ldr	r6, [r0, #4]
	beq	.L7
.L2:
	cmp	r5, #0
	mov	r0, r6
	beq	.L3
	bl	netif_carrier_on
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r2, .L8+4
	ldr	r1, .L8+8
	b	netdev_info
.L3:
	bl	netif_carrier_off
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r2, .L8+12
	ldr	r1, .L8+8
	b	netdev_info
.L7:
	mov	r4, r0
	mov	r0, r6
	bl	netif_carrier_off
	ldr	r2, [r7]
	ldr	r3, [r4]
	orr	r3, r3, r2
	str	r3, [r4]
	b	.L2
.L9:
	.align	2
.L8:
	.word	BE_FLAGS_LINK_STATUS_INIT
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.size	be_link_status_update, .-be_link_status_update
	.comm	BE_FLAGS_LINK_STATUS_INIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
