	.file	"extr_zynqmp_nvmem.c_zynqmp_nvmem_read.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Read chipid val %x %x\n"
	.text
	.p2align 4
	.type	zynqmp_nvmem_read, @function
zynqmp_nvmem_read:
.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
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR eemi_ops[rip]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L7
	mov	rbx, rdi
	mov	rbp, rdx
	lea	rsi, 4[rsp]
	mov	rdi, rsp
	call	rax
	test	eax, eax
	js	.L1
	mov	ecx, DWORD PTR 4[rsp]
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	mov	edx, DWORD PTR [rsp]
	call	dev_dbg@PLT
	mov	eax, DWORD PTR 4[rsp]
	and	eax, DWORD PTR SILICON_REVISION_MASK[rip]
	mov	DWORD PTR 0[rbp], eax
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 24
	.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
.L7:
	.cfi_restore_state
	mov	eax, DWORD PTR ENXIO[rip]
	neg	eax
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zynqmp_nvmem_read, .-zynqmp_nvmem_read
	.comm	eemi_ops,8,8
	.comm	SILICON_REVISION_MASK,4,4
	.comm	ENXIO,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_zynqmp_nvmem.c_zynqmp_nvmem_read.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Read chipid val %x %x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zynqmp_nvmem_read, %function
zynqmp_nvmem_read:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L9
	push	{r4, r5, lr}
	ldr	r3, [r3]
	mov	r5, r2
	ldr	r3, [r3]
	ldr	r2, .L9+4
	sub	sp, sp, #20
	cmp	r3, #0
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	beq	.L7
	mov	r4, r0
	add	r1, sp, #8
	add	r0, sp, #4
	blx	r3
	cmp	r0, #0
	blt	.L1
	ldmib	sp, {r2, r3}
	ldr	r0, [r4]
	ldr	r1, .L9+8
	bl	dev_dbg
	mov	r0, #0
	ldr	r2, .L9+12
	ldr	r3, [sp, #8]
	ldr	r2, [r2]
	and	r3, r3, r2
	str	r3, [r5]
.L1:
	ldr	r3, .L9+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	ldr	r3, .L9+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	eemi_ops
	.word	.LC1
	.word	.LC0
	.word	SILICON_REVISION_MASK
	.word	ENXIO
	.size	zynqmp_nvmem_read, .-zynqmp_nvmem_read
	.comm	eemi_ops,4,4
	.comm	SILICON_REVISION_MASK,4,4
	.comm	ENXIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
