	.file	"extr_bridgestp.c_bstp_update_info.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bstp_update_info, @function
bstp_update_info:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	QWORD PTR 56[rdi], 0
	mov	QWORD PTR 72[rdi], 0
	mov	QWORD PTR 64[rdi], 0
	mov	rbp, QWORD PTR 80[rdi]
	mov	esi, DWORD PTR BSTP_INFO_MINE[rip]
	jne	.L9
.L2:
	cmp	QWORD PTR 48[rbx], 0
	jne	.L5
.L4:
	mov	eax, DWORD PTR 40[rbx]
	mov	DWORD PTR 4[rbx], esi
	mov	DWORD PTR 44[rbx], eax
	mov	eax, DWORD PTR 32[rbx]
	mov	DWORD PTR 36[rbx], eax
	mov	eax, DWORD PTR 24[rbx]
	mov	DWORD PTR 28[rbx], eax
	mov	eax, DWORD PTR 16[rbx]
	mov	DWORD PTR 20[rbx], eax
	mov	eax, DWORD PTR 8[rbx]
	mov	DWORD PTR 12[rbx], eax
	mov	eax, DWORD PTR BSTP_PORT_NEWINFO[rip]
	or	DWORD PTR [rbx], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	call	bstp_pdu_bettersame@PLT
	test	eax, eax
	je	.L10
	cmp	QWORD PTR 48[rbx], 0
	mov	esi, DWORD PTR BSTP_INFO_MINE[rip]
	je	.L4
	cmp	QWORD PTR 56[rbx], 0
	jne	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	QWORD PTR 48[rbx], 0
	mov	QWORD PTR 0[rbp], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	mov	QWORD PTR 56[rbx], 0
	mov	esi, DWORD PTR BSTP_INFO_MINE[rip]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	bstp_update_info, .-bstp_update_info
	.comm	BSTP_PORT_NEWINFO,4,4
	.comm	BSTP_INFO_MINE,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_bridgestp.c_bstp_update_info.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bstp_update_info, %function
bstp_update_info:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	ldr	r2, [r0, #52]
	push	{r4, r5, r6, lr}
	ldr	r5, .L17
	cmp	r2, r3
	mov	r4, r0
	ldr	r6, [r0, #64]
	ldr	r1, [r5]
	str	r3, [r0, #60]
	str	r3, [r0, #56]
	bne	.L15
.L2:
	ldr	r3, [r4, #48]
	cmp	r3, #0
	bne	.L5
.L4:
	ldr	r2, .L17+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	ldr	lr, [r4, #40]
	orr	r3, r3, r2
	ldr	ip, [r4, #32]
	ldr	r0, [r4, #24]
	ldr	r2, [r4, #16]
	str	r3, [r4]
	ldr	r3, [r4, #8]
	str	r1, [r4, #4]
	str	lr, [r4, #44]
	str	ip, [r4, #36]
	str	r0, [r4, #28]
	str	r2, [r4, #20]
	str	r3, [r4, #12]
	pop	{r4, r5, r6, pc}
.L15:
	bl	bstp_pdu_bettersame
	cmp	r0, #0
	beq	.L16
	ldr	r3, [r4, #48]
	ldr	r1, [r5]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [r4, #52]
	cmp	r3, #0
	bne	.L4
.L5:
	mov	r3, #0
	str	r3, [r4, #48]
	str	r3, [r6]
	b	.L4
.L16:
	ldr	r1, [r5]
	str	r0, [r4, #52]
	b	.L2
.L18:
	.align	2
.L17:
	.word	BSTP_INFO_MINE
	.word	BSTP_PORT_NEWINFO
	.size	bstp_update_info, .-bstp_update_info
	.comm	BSTP_PORT_NEWINFO,4,4
	.comm	BSTP_INFO_MINE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
