	.file	"extr_ibqueryerrors.c_print_node.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	print_node
	.type	print_node, @function
print_node:
.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, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rdi]
	mov	DWORD PTR 28[rsp], 0
	mov	DWORD PTR 32[rsp], 0
	mov	DWORD PTR 36[rsp], 0
	cmp	eax, 129
	je	.L2
	cmp	eax, 130
	je	.L3
	cmp	eax, 128
	je	.L62
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L63
	add	rsp, 56
	.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
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR PRINT_ROUTER[rip]
.L6:
	test	DWORD PTR node_type_to_print[rip], eax
	je	.L1
	mov	ebp, 1
.L39:
	mov	edx, DWORD PTR 20[rbx]
	mov	esi, DWORD PTR 24[rbx]
	mov	edi, DWORD PTR node_name_map[rip]
	call	remap_node_name@PLT
	cmp	DWORD PTR [rbx], 128
	mov	r13, rax
	je	.L8
	mov	edx, DWORD PTR 4[rbx]
	mov	r12d, 1
	lea	r14, 32[rsp]
	test	edx, edx
	jle	.L10
	mov	rcx, QWORD PTR 8[rbx]
	mov	eax, 1
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	lea	r12d, 1[rax]
	add	rax, 1
	cmp	edx, eax
	jl	.L64
.L12:
	mov	rsi, QWORD PTR [rcx+rax*8]
	mov	r12d, eax
	test	rsi, rsi
	je	.L11
	lea	r14, 32[rsp]
	mov	esi, DWORD PTR [rsi]
	xor	ecx, ecx
	xor	edx, edx
	mov	rdi, r14
	call	ib_portid_set@PLT
.L10:
	lea	rcx, 36[rsp]
	mov	edx, r12d
	mov	rsi, r13
	mov	rdi, r14
	call	query_cap_mask@PLT
	test	rax, rax
	je	.L13
	cmp	QWORD PTR data_counters_only[rip], 0
	mov	eax, DWORD PTR 4[rbx]
	jne	.L14
	mov	DWORD PTR 12[rsp], 0
	cmp	ebp, eax
	jg	.L23
.L31:
	movsx	r12, ebp
	lea	r15, 28[rsp]
	sal	r12, 3
	jmp	.L38
	.p2align 4,,10
	.p2align 3
.L35:
	mov	esi, DWORD PTR [rax]
	xor	ecx, ecx
	xor	edx, edx
	mov	rdi, r14
	call	ib_portid_set@PLT
.L36:
	mov	esi, DWORD PTR 36[rsp]
	mov	rdx, r13
	mov	r9, r15
	mov	r8d, ebp
	mov	rcx, rbx
	mov	rdi, r14
	call	print_errors@PLT
	mov	edx, DWORD PTR 12[rsp]
	add	QWORD PTR summary[rip+8], 1
	test	edx, edx
	je	.L65
.L34:
	add	ebp, 1
	add	r12, 8
	cmp	DWORD PTR 4[rbx], ebp
	jl	.L30
.L38:
	mov	rax, QWORD PTR 8[rbx]
	mov	rax, QWORD PTR [rax+r12]
	test	rax, rax
	je	.L34
	cmp	DWORD PTR [rbx], 128
	jne	.L35
	mov	esi, DWORD PTR 16[rbx]
	xor	ecx, ecx
	xor	edx, edx
	mov	rdi, r14
	call	ib_portid_set@PLT
	jmp	.L36
	.p2align 4,,10
	.p2align 3
.L13:
	mov	esi, DWORD PTR 36[rsp]
	mov	rax, QWORD PTR data_counters_only[rip]
	mov	edi, esi
	and	edi, DWORD PTR IB_PM_ALL_PORT_SELECT[rip]
	mov	DWORD PTR 12[rsp], edi
	je	.L16
	test	rax, rax
	je	.L66
	mov	DWORD PTR 12[rsp], 1
	cmp	ebp, DWORD PTR 4[rbx]
	jg	.L67
.L20:
	movsx	r12, ebp
	lea	r15, 28[rsp]
	sal	r12, 3
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L26:
	mov	esi, DWORD PTR [rax]
	xor	ecx, ecx
	xor	edx, edx
	mov	rdi, r14
	call	ib_portid_set@PLT
.L27:
	mov	esi, DWORD PTR 36[rsp]
	mov	rcx, rbx
	mov	r9, r15
	mov	r8d, ebp
	mov	rdx, r13
	mov	rdi, r14
	call	print_data_cnts@PLT
	mov	ecx, DWORD PTR 12[rsp]
	add	QWORD PTR summary[rip+8], 1
	test	ecx, ecx
	je	.L68
.L25:
	add	ebp, 1
	add	r12, 8
	cmp	DWORD PTR 4[rbx], ebp
	jl	.L30
.L29:
	mov	rax, QWORD PTR 8[rbx]
	mov	rax, QWORD PTR [rax+r12]
	test	rax, rax
	je	.L25
	cmp	DWORD PTR [rbx], 128
	jne	.L26
	mov	esi, DWORD PTR 16[rbx]
	xor	ecx, ecx
	xor	edx, edx
	mov	rdi, r14
	call	ib_portid_set@PLT
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L62:
	mov	eax, DWORD PTR PRINT_SWITCH[rip]
	test	DWORD PTR node_type_to_print[rip], eax
	je	.L1
	xor	ebp, ebp
	cmp	QWORD PTR 32[rdi], 0
	sete	bpl
	jmp	.L39
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR PRINT_CA[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L64:
	lea	r14, 32[rsp]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edx, DWORD PTR 4[rbx]
	test	rax, rax
	jne	.L69
	cmp	ebp, edx
	jle	.L31
	.p2align 4,,10
	.p2align 3
.L23:
	add	DWORD PTR summary[rip], 1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdi, r13
	call	free@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	cmp	ebp, eax
	jg	.L23
	mov	DWORD PTR 12[rsp], 0
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L68:
	mov	esi, DWORD PTR 36[rsp]
	mov	ecx, ebp
	mov	rdx, r13
	mov	rdi, r14
	add	ebp, 1
	add	r12, 8
	call	clear_port@PLT
	cmp	DWORD PTR 4[rbx], ebp
	jge	.L29
	.p2align 4,,10
	.p2align 3
.L30:
	mov	eax, DWORD PTR 12[rsp]
	add	DWORD PTR summary[rip], 1
	test	eax, eax
	je	.L21
	mov	esi, DWORD PTR 36[rsp]
.L22:
	mov	ecx, 255
	mov	rdx, r13
	mov	rdi, r14
	call	clear_port@PLT
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L65:
	mov	esi, DWORD PTR 36[rsp]
	mov	ecx, ebp
	mov	rdx, r13
	mov	rdi, r14
	call	clear_port@PLT
	jmp	.L34
	.p2align 4,,10
	.p2align 3
.L8:
	mov	esi, DWORD PTR 16[rbx]
	lea	r14, 32[rsp]
	xor	ecx, ecx
	xor	edx, edx
	mov	rdi, r14
	xor	r12d, r12d
	call	ib_portid_set@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L66:
	lea	r9, 28[rsp]
	mov	rcx, rbx
	mov	rdx, r13
	mov	rdi, r14
	mov	r8d, 255
	call	print_errors@PLT
	test	eax, eax
	je	.L70
	mov	DWORD PTR 12[rsp], 1
	cmp	ebp, DWORD PTR 4[rbx]
	jle	.L31
.L60:
	add	DWORD PTR summary[rip], 1
	mov	esi, DWORD PTR 36[rsp]
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L69:
	cmp	ebp, edx
	jle	.L20
	jmp	.L23
.L70:
	movsx	rax, DWORD PTR 4[rbx]
	add	QWORD PTR summary[rip+8], rax
	jmp	.L60
.L67:
	add	DWORD PTR summary[rip], 1
	jmp	.L22
.L63:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	print_node, .-print_node
	.comm	summary,16,16
	.comm	node_type_to_print,4,4
	.comm	node_name_map,4,4
	.comm	data_counters_only,8,8
	.comm	PRINT_SWITCH,4,4
	.comm	PRINT_ROUTER,4,4
	.comm	PRINT_CA,4,4
	.comm	IB_PM_ALL_PORT_SELECT,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_ibqueryerrors.c_print_node.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_node
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_node, %function
print_node:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, [r0]
	ldr	r1, .L75
	sub	sp, sp, #24
	cmp	r3, #129
	ldr	r1, [r1]
	str	r1, [sp, #20]
	mov	r1,#0
	mov	r5, r0
	str	r2, [sp, #8]
	str	r2, [sp, #12]
	str	r2, [sp, #16]
	beq	.L2
	cmp	r3, #130
	beq	.L3
	cmp	r3, #128
	beq	.L69
.L1:
	ldr	r3, .L75
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L70
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r3, .L75+4
	ldr	r2, [r3]
.L6:
	ldr	r3, .L75+8
	ldr	r3, [r3]
	tst	r2, r3
	movne	r4, #1
	beq	.L1
.L39:
	ldr	r3, .L75+12
	ldr	r2, [r5, #16]
	ldr	r0, [r3]
	ldr	r1, [r5, #20]
	bl	remap_node_name
	ldr	r3, [r5]
	mov	r8, r0
	cmp	r3, #128
	beq	.L8
	ldr	r1, [r5, #4]
	mov	r6, #1
	cmp	r1, #0
	ldrgt	r3, [r5, #8]
	bgt	.L12
	b	.L64
.L11:
	add	r6, r6, #1
	cmp	r6, r1
	bgt	.L64
.L12:
	ldr	r2, [r3, #4]!
	cmp	r2, #0
	beq	.L11
	mov	r3, #0
	add	r7, sp, #12
	ldr	r1, [r2]
	mov	r0, r7
	mov	r2, r3
	bl	ib_portid_set
.L10:
	mov	r2, r6
	mov	r1, r8
	mov	r0, r7
	add	r3, sp, #16
	bl	query_cap_mask
	cmp	r0, #0
	beq	.L13
	ldr	r2, .L75+16
	ldr	r3, [r5, #4]
	ldr	r9, [r2]
	cmp	r9, #0
	beq	.L19
	cmp	r4, r3
	bgt	.L23
	mov	r9, #0
	b	.L20
.L19:
	cmp	r4, r3
	bgt	.L23
.L31:
	ldr	r6, .L75+20
	add	r10, sp, #8
	b	.L38
.L67:
	ldr	r3, [r5, #4]
.L34:
	add	r4, r4, #1
	cmp	r3, r4
	blt	.L30
.L38:
	ldr	r2, [r5, #8]
	ldr	r2, [r2, r4, lsl #2]
	cmp	r2, #0
	beq	.L34
	ldr	r3, [r5]
	mov	r0, r7
	cmp	r3, #128
	mov	r3, #0
	ldrne	r1, [r2]
	ldreq	r1, [r5, #12]
	mov	r2, r3
	bl	ib_portid_set
	mov	r3, r5
	mov	r2, r8
	mov	r0, r7
	stm	sp, {r4, r10}
	ldr	r1, [sp, #16]
	bl	print_errors
	ldr	r3, [r6, #4]
	cmp	r9, #0
	add	r3, r3, #1
	str	r3, [r6, #4]
	bne	.L67
	mov	r3, r4
	mov	r2, r8
	mov	r0, r7
	ldr	r1, [sp, #16]
	bl	clear_port
	b	.L67
.L30:
	ldr	r3, [r6]
	cmp	r9, #0
	add	r3, r3, #1
	str	r3, [r6]
	bne	.L71
.L21:
	mov	r0, r8
	bl	free
	b	.L1
.L13:
	ldr	r3, .L75+24
	ldr	r1, [sp, #16]
	ldr	r9, [r3]
	ldr	r3, .L75+16
	ands	r9, r1, r9
	ldr	r3, [r3]
	bne	.L72
	cmp	r3, #0
	ldr	r3, [r5, #4]
	beq	.L19
	cmp	r4, r3
	bgt	.L23
.L20:
	ldr	r6, .L75+20
	add	r10, sp, #8
	b	.L29
.L66:
	ldr	r3, [r5, #4]
.L25:
	add	r4, r4, #1
	cmp	r3, r4
	blt	.L30
.L29:
	ldr	r2, [r5, #8]
	ldr	r2, [r2, r4, lsl #2]
	cmp	r2, #0
	beq	.L25
	ldr	r3, [r5]
	mov	r0, r7
	cmp	r3, #128
	mov	r3, #0
	ldrne	r1, [r2]
	ldreq	r1, [r5, #12]
	mov	r2, r3
	bl	ib_portid_set
	mov	r3, r5
	mov	r2, r8
	mov	r0, r7
	stm	sp, {r4, r10}
	ldr	r1, [sp, #16]
	bl	print_data_cnts
	ldr	r3, [r6, #4]
	cmp	r9, #0
	add	r3, r3, #1
	str	r3, [r6, #4]
	bne	.L66
	mov	r3, r4
	mov	r2, r8
	mov	r0, r7
	ldr	r1, [sp, #16]
	bl	clear_port
	b	.L66
.L64:
	add	r7, sp, #12
	b	.L10
.L69:
	ldr	r2, .L75+28
	ldr	r3, .L75+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L1
	ldr	r4, [r0, #24]
	clz	r4, r4
	lsr	r4, r4, #5
	b	.L39
.L3:
	ldr	r3, .L75+32
	ldr	r2, [r3]
	b	.L6
.L72:
	cmp	r3, #0
	beq	.L73
	ldr	r3, [r5, #4]
	cmp	r4, r3
	movle	r9, #1
	ble	.L20
	ldr	r2, .L75+20
	ldr	r3, [r2]
	add	r3, r3, #1
	str	r3, [r2]
	b	.L22
.L23:
	ldr	r2, .L75+20
	ldr	r3, [r2]
	add	r3, r3, #1
	str	r3, [r2]
	b	.L21
.L71:
	ldr	r1, [sp, #16]
.L22:
	mov	r0, r7
	mov	r3, #255
	mov	r2, r8
	bl	clear_port
	b	.L21
.L8:
	mov	r3, #0
	add	r7, sp, #12
	mov	r2, r3
	mov	r0, r7
	ldr	r1, [r5, #12]
	bl	ib_portid_set
	mov	r6, #0
	b	.L10
.L73:
	mov	r2, #255
	add	r3, sp, #8
	stm	sp, {r2, r3}
	mov	r0, r7
	mov	r3, r5
	mov	r2, r8
	bl	print_errors
	cmp	r0, #0
	beq	.L74
	ldr	r3, [r5, #4]
	cmp	r4, r3
	movle	r9, #1
	ble	.L31
	ldr	r2, .L75+20
	ldr	r1, [sp, #16]
	ldr	r3, [r2]
	add	r3, r3, #1
	str	r3, [r2]
	b	.L22
.L74:
	ldr	r3, .L75+20
	ldr	r0, [r5, #4]
	ldr	r1, [r3, #4]
	ldr	r2, [r3]
	add	r1, r1, r0
	add	r2, r2, #1
	str	r1, [r3, #4]
	str	r2, [r3]
	ldr	r1, [sp, #16]
	b	.L22
.L70:
	bl	__stack_chk_fail
.L76:
	.align	2
.L75:
	.word	.LC0
	.word	PRINT_ROUTER
	.word	node_type_to_print
	.word	node_name_map
	.word	data_counters_only
	.word	summary
	.word	IB_PM_ALL_PORT_SELECT
	.word	PRINT_SWITCH
	.word	PRINT_CA
	.size	print_node, .-print_node
	.comm	summary,8,4
	.comm	node_type_to_print,4,4
	.comm	node_name_map,4,4
	.comm	data_counters_only,4,4
	.comm	PRINT_SWITCH,4,4
	.comm	PRINT_ROUTER,4,4
	.comm	PRINT_CA,4,4
	.comm	IB_PM_ALL_PORT_SELECT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
