	.file	"extr_vexpress-config.c_vexpress_config_get_topo.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"arm,vexpress,site"
.LC1:
	.string	"arm,vexpress,position"
.LC2:
	.string	"arm,vexpress,dcc"
	.text
	.p2align 4
	.globl	vexpress_config_get_topo
	.type	vexpress_config_get_topo, @function
vexpress_config_get_topo:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	mov	rdx, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	lea	rsi, .LC0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	vexpress_config_find_prop@PLT
	mov	rax, QWORD PTR VEXPRESS_SITE_MASTER[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L2
	mov	rax, QWORD PTR vexpress_config_site_master[rip]
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR VEXPRESS_SITE_MASTER[rip]
.L2:
	xor	edi, edi
	cmp	QWORD PTR vexpress_config_site_master[rip], rax
	sete	dil
	call	WARN_ON@PLT
	test	rax, rax
	je	.L3
	mov	eax, DWORD PTR EINVAL[rip]
	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
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdx, r13
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	call	vexpress_config_find_prop@PLT
	mov	rdx, r12
	mov	rdi, rbp
	lea	rsi, .LC2[rip]
	call	vexpress_config_find_prop@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	.cfi_endproc
.LFE0:
	.size	vexpress_config_get_topo, .-vexpress_config_get_topo
	.comm	vexpress_config_site_master,8,8
	.comm	VEXPRESS_SITE_MASTER,8,8
	.comm	EINVAL,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_vexpress-config.c_vexpress_config_get_topo.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"arm,vexpress,site\000"
	.align	2
.LC1:
	.ascii	"arm,vexpress,position\000"
	.align	2
.LC2:
	.ascii	"arm,vexpress,dcc\000"
	.text
	.align	2
	.global	vexpress_config_get_topo
	.syntax unified
	.arm
	.fpu softvfp
	.type	vexpress_config_get_topo, %function
vexpress_config_get_topo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r7, r2
	mov	r2, r1
	ldr	r1, .L9
	mov	r6, r3
	mov	r5, r0
	bl	vexpress_config_find_prop
	ldr	r1, .L9+4
	ldr	r2, [r4]
	ldr	r3, [r1]
	cmp	r2, r3
	ldr	r2, .L9+8
	ldreq	r3, [r2]
	streq	r3, [r4]
	ldreq	r3, [r1]
	ldr	r0, [r2]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON
	subs	r4, r0, #0
	beq	.L3
	ldr	r3, .L9+12
	ldr	r0, [r3]
	rsb	r4, r0, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r2, r7
	mov	r0, r5
	ldr	r1, .L9+16
	bl	vexpress_config_find_prop
	mov	r2, r6
	mov	r0, r5
	ldr	r1, .L9+20
	bl	vexpress_config_find_prop
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	VEXPRESS_SITE_MASTER
	.word	vexpress_config_site_master
	.word	EINVAL
	.word	.LC1
	.word	.LC2
	.size	vexpress_config_get_topo, .-vexpress_config_get_topo
	.comm	vexpress_config_site_master,4,4
	.comm	VEXPRESS_SITE_MASTER,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
