	.file	"extr_checks.c_check_graph_endpoint.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"endpoint"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"graph endpoint node name should be 'endpoint'"
	.align 8
.LC2:
	.string	"graph connection to node '%s' is not bidirectional"
	.text
	.p2align 4
	.type	check_graph_endpoint, @function
check_graph_endpoint:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 16[rdx]
	test	rax, rax
	je	.L10
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	lea	rdx, graph_port_bus[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	QWORD PTR [rax], rdx
	je	.L14
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	r13, rdi
	mov	rbp, rsi
	mov	edi, DWORD PTR 8[r12]
	mov	esi, DWORD PTR 4[r12]
	lea	rdx, .LC0[rip]
	call	strprefixeq@PLT
	test	eax, eax
	je	.L15
.L5:
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r13
	call	check_graph_reg@PLT
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r13
	call	get_remote_endpoint@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L1
	mov	rdx, rax
	mov	rsi, rbp
	mov	rdi, r13
	call	get_remote_endpoint@PLT
	cmp	r12, rax
	je	.L1
	mov	r8d, DWORD PTR [rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdx, r12
	mov	rsi, rbp
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 32
	mov	rdi, r13
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 16
	lea	rcx, .LC2[rip]
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 8
	jmp	FAIL@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	lea	rcx, .LC1[rip]
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r13
	call	FAIL@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE0:
	.size	check_graph_endpoint, .-check_graph_endpoint
	.comm	graph_port_bus,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_checks.c_check_graph_endpoint.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"endpoint\000"
	.align	2
.LC1:
	.ascii	"graph endpoint node name should be 'endpoint'\000"
	.align	2
.LC2:
	.ascii	"graph connection to node '%s' is not bidirectional\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_graph_endpoint, %function
check_graph_endpoint:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r2, #12]
	cmp	r3, #0
	bxeq	lr
	push	{r4, r5, r6, r7, lr}
	mov	r4, r2
	ldr	r2, [r3]
	ldr	r3, .L16
	sub	sp, sp, #12
	cmp	r2, r3
	beq	.L14
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L14:
	mov	r6, r0
	mov	r5, r1
	ldr	r2, .L16+4
	ldr	r1, [r4, #4]
	ldr	r0, [r4, #8]
	bl	strprefixeq
	cmp	r0, #0
	beq	.L15
.L5:
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	bl	check_graph_reg
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	bl	get_remote_endpoint
	subs	r7, r0, #0
	beq	.L1
	mov	r2, r7
	mov	r1, r5
	mov	r0, r6
	bl	get_remote_endpoint
	cmp	r4, r0
	beq	.L1
	ldr	r3, [r7]
	mov	r2, r4
	str	r3, [sp]
	mov	r1, r5
	mov	r0, r6
	ldr	r3, .L16+8
	bl	FAIL
	b	.L1
.L15:
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	ldr	r3, .L16+12
	bl	FAIL
	b	.L5
.L17:
	.align	2
.L16:
	.word	graph_port_bus
	.word	.LC0
	.word	.LC2
	.word	.LC1
	.size	check_graph_endpoint, .-check_graph_endpoint
	.comm	graph_port_bus,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
