	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___nfp_rtsym_readq              ## -- Begin function __nfp_rtsym_readq
	.p2align	4, 0x90
___nfp_rtsym_readq:                     ## @__nfp_rtsym_readq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	8(%r8), %r13
	movq	%rsi, %rdi
	callq	_nfp_rtsym_size
	cmpq	%rax, %r13
	jle	LBB0_2
## %bb.1:
	movl	16(%rbx), %r15d
	movq	%rbx, %rdi
	callq	_nfp_rtsym_size
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movq	%r12, %rcx
	movq	%rax, %r8
	callq	_nfp_err
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_2:
	movl	%r15d, %edx
	movq	%r14, %r15
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	_NFP_RTSYM_TYPE_ABS@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rax
	jne	LBB0_4
## %bb.3:
	movq	8(%rbx), %rax
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	leaq	-64(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-48(%rbp), %r9
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %r8
	callq	_nfp_rtsym_to_dest
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rcx
	movl	-48(%rbp), %esi
	movq	-64(%rbp), %rdx
	movq	%r15, %rdi
	callq	_nfp_cpp_readq
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rtsym '%s': readq out of bounds: off: %lld + 8 > size: %lld\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_NFP_RTSYM_TYPE_ABS,8,3         ## @NFP_RTSYM_TYPE_ABS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___nfp_rtsym_readq              ; -- Begin function __nfp_rtsym_readq
	.p2align	2
___nfp_rtsym_readq:                     ; @__nfp_rtsym_readq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x21, x4
	mov	x23, x3
	mov	x24, x2
	mov	x22, x1
	mov	x20, x0
	add	x25, x4, #8
	mov	x0, x1
	bl	_nfp_rtsym_size
	cmp	x25, x0
	b.le	LBB0_2
; %bb.1:
	ldr	w19, [x22, #16]
	mov	x0, x22
	bl	_nfp_rtsym_size
	mov	x4, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x21
	bl	_nfp_err
Lloh2:
	adrp	x8, _ENXIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_2:
	ldr	x8, [x22]
Lloh5:
	adrp	x9, _NFP_RTSYM_TYPE_ABS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NFP_RTSYM_TYPE_ABS@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	ldr	x8, [x22, #8]
	str	x8, [x19]
	b	LBB0_6
LBB0_4:
	add	x5, sp, #12
	mov	x6, sp
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	mov	x3, x23
	mov	x4, x21
	bl	_nfp_rtsym_to_dest
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	w1, [sp, #12]
	ldr	x2, [sp]
	mov	x0, x20
	mov	x3, x19
	bl	_nfp_cpp_readq
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rtsym '%s': readq out of bounds: off: %lld + 8 > size: %lld\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_NFP_RTSYM_TYPE_ABS,8,3         ; @NFP_RTSYM_TYPE_ABS
.subsections_via_symbols
