	.file	"extr_b53_common.c_b53_port_get_mib.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%-20s: %llu\n"
	.text
	.p2align 4
	.type	b53_port_get_mib, @function
b53_port_get_mib:
.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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 8[rsp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	sw_to_b53@PLT
	mov	r13d, DWORD PTR [rbx]
	mov	r12, rax
	mov	edi, r13d
	call	BIT@PLT
	test	DWORD PTR [r12], eax
	je	.L12
	mov	rdi, r12
	call	is5365@PLT
	test	rax, rax
	je	.L3
	cmp	r13d, 5
	mov	eax, 8
	mov	rbx, QWORD PTR b53_mibs_65[rip]
	cmove	r13d, eax
.L5:
	mov	rdx, QWORD PTR 8[r12]
	mov	eax, DWORD PTR [rbx]
	xor	ebp, ebp
	mov	QWORD PTR [rdx], 0
	test	eax, eax
	jle	.L7
	lea	r14, 20[rsp]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L8:
	call	B53_MIB_PAGE@PLT
	mov	rcx, r14
	mov	edx, r15d
	mov	rdi, r12
	mov	esi, eax
	call	b53_read32@PLT
	mov	r8d, DWORD PTR 20[rsp]
	mov	DWORD PTR 16[rsp], r8d
.L9:
	mov	rdx, QWORD PTR 8[r12]
	movsx	rax, ebp
	mov	rcx, QWORD PTR 8[rbx]
	add	rbx, 24
	mov	rsi, QWORD PTR B53_BUF_SIZE[rip]
	lea	rdi, [rdx+rax*8]
	lea	rdx, .LC0[rip]
	sub	rsi, rax
	call	snprintf@PLT
	add	ebp, eax
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	jle	.L17
.L10:
	mov	r15d, DWORD PTR 16[rbx]
	mov	edi, r13d
	cmp	eax, 8
	jne	.L8
	call	B53_MIB_PAGE@PLT
	lea	rcx, 16[rsp]
	mov	edx, r15d
	mov	rdi, r12
	mov	esi, eax
	call	b53_read64@PLT
	mov	r8d, DWORD PTR 16[rsp]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdx, QWORD PTR 8[r12]
.L7:
	mov	rax, QWORD PTR 8[rsp]
	mov	DWORD PTR 4[rax], ebp
	mov	QWORD PTR 8[rax], rdx
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L18
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L3:
	.cfi_restore_state
	mov	rdi, r12
	call	is63xx@PLT
	mov	rbx, QWORD PTR b53_mibs_63xx[rip]
	test	rax, rax
	cmove	rbx, QWORD PTR b53_mibs[rip]
	jmp	.L5
.L12:
	mov	eax, -1
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	b53_port_get_mib, .-b53_port_get_mib
	.comm	b53_mibs_65,8,8
	.comm	b53_mibs_63xx,8,8
	.comm	b53_mibs,8,8
	.comm	B53_BUF_SIZE,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_b53_common.c_b53_port_get_mib.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%-20s: %llu\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	b53_port_get_mib, %function
b53_port_get_mib:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L19
	mov	r10, r2
	sub	sp, sp, #24
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	sw_to_b53
	ldr	r7, [r10]
	mov	r6, r0
	mov	r0, r7
	bl	BIT
	ldr	r3, [r6]
	tst	r0, r3
	beq	.L12
	mov	r0, r6
	bl	is5365
	cmp	r0, #0
	beq	.L3
	cmp	r7, #5
	moveq	r7, #8
	ldr	r3, .L19+4
	ldr	r5, [r3]
.L5:
	mov	r4, #0
	ldr	r3, [r5]
	ldr	r2, [r6, #4]
	cmp	r3, r4
	str	r4, [r2]
	ble	.L7
	ldr	r9, .L19+8
	ldr	r8, .L19+12
	b	.L10
.L8:
	bl	B53_MIB_PAGE
	ldr	r2, [r5, #8]
	mov	r1, r0
	add	r3, sp, #16
	mov	r0, r6
	bl	b53_read32
	ldr	r2, [sp, #16]
	str	r2, [sp, #12]
.L9:
	ldr	r0, [r6, #4]
	ldr	r1, [r9]
	ldr	r3, [r5, #4]
	sub	r1, r1, r4
	add	r0, r0, r4, lsl #2
	str	r2, [sp]
	mov	r2, r8
	bl	snprintf
	ldr	r3, [r5, #12]!
	add	r4, r4, r0
	cmp	r3, #0
	ble	.L17
.L10:
	cmp	r3, #8
	mov	r0, r7
	bne	.L8
	bl	B53_MIB_PAGE
	ldr	r2, [r5, #8]
	mov	r1, r0
	add	r3, sp, #12
	mov	r0, r6
	bl	b53_read64
	ldr	r2, [sp, #12]
	b	.L9
.L17:
	ldr	r2, [r6, #4]
.L7:
	mov	r0, #0
	str	r4, [r10, #4]
	str	r2, [r10, #8]
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	mov	r0, r6
	bl	is63xx
	cmp	r0, #0
	ldrne	r3, .L19+16
	ldreq	r3, .L19+20
	ldr	r5, [r3]
	b	.L5
.L12:
	mvn	r0, #0
	b	.L1
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC1
	.word	b53_mibs_65
	.word	B53_BUF_SIZE
	.word	.LC0
	.word	b53_mibs_63xx
	.word	b53_mibs
	.size	b53_port_get_mib, .-b53_port_get_mib
	.comm	b53_mibs_65,4,4
	.comm	b53_mibs_63xx,4,4
	.comm	b53_mibs,4,4
	.comm	B53_BUF_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
