	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zynqmp_nvmem_read
_zynqmp_nvmem_read:                     ## @zynqmp_nvmem_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_eemi_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	%rdi, %rbx
	leaq	-24(%rbp), %rdi
	leaq	-20(%rbp), %rsi
	callq	*%rax
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movl	(%rbx), %edi
	movl	-24(%rbp), %edx
	movl	-20(%rbp), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_SILICON_REVISION_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-20(%rbp), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_1:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_eemi_ops,8,3                   ## @eemi_ops
	.comm	_ENXIO,4,2                      ## @ENXIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Read chipid val %x %x\n"

	.comm	_SILICON_REVISION_MASK,4,2      ## @SILICON_REVISION_MASK
	.no_dead_strip	_zynqmp_nvmem_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zynqmp_nvmem_read
_zynqmp_nvmem_read:                     ; @zynqmp_nvmem_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _eemi_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _eemi_ops@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	add	x0, sp, #12
	add	x1, sp, #8
	blr	x8
	tbnz	w0, #31, LBB0_4
; %bb.2:
	ldr	w0, [x20]
	ldp	w3, w2, [sp, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	mov	w0, #0
	ldr	w8, [sp, #8]
Lloh5:
	adrp	x9, _SILICON_REVISION_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SILICON_REVISION_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x19]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _ENXIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_eemi_ops,8,3                   ; @eemi_ops
	.comm	_ENXIO,4,2                      ; @ENXIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Read chipid val %x %x\n"

	.comm	_SILICON_REVISION_MASK,4,2      ; @SILICON_REVISION_MASK
	.no_dead_strip	_zynqmp_nvmem_read
.subsections_via_symbols
