	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_net_dump_load_dumpspec     ## -- Begin function nfp_net_dump_load_dumpspec
	.p2align	4, 0x90
_nfp_net_dump_load_dumpspec:            ## @nfp_net_dump_load_dumpspec
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rax
	movq	%rdi, %r14
	movq	_NFP_DUMP_SPEC_RTSYM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_nfp_rtsym_lookup
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_nfp_rtsym_size
	movl	%eax, %r12d
	leal	8(%r12), %edi
	callq	_vmalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %rbx
	movl	%r12d, (%rax)
	movl	4(%rax), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movl	%r12d, %r8d
	callq	_nfp_rtsym_read
	cmpl	%r12d, %eax
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_vfree
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_nfp_warn
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_DUMP_SPEC_RTSYM,4,2        ## @NFP_DUMP_SPEC_RTSYM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Debug dump specification read failed.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_net_dump_load_dumpspec     ; -- Begin function nfp_net_dump_load_dumpspec
	.p2align	2
_nfp_net_dump_load_dumpspec:            ; @nfp_net_dump_load_dumpspec
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x9, _NFP_DUMP_SPEC_RTSYM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NFP_DUMP_SPEC_RTSYM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_nfp_rtsym_lookup
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	bl	_nfp_rtsym_size
	mov	x22, x0
	add	w0, w0, #8
	bl	_vmalloc
	mov	x20, x0
	cbz	x0, LBB0_5
; %bb.2:
	str	w22, [x20]
	ldr	w3, [x20, #4]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	mov	x4, x22
	bl	_nfp_rtsym_read
	cmp	w0, w22
	b.eq	LBB0_5
; %bb.3:
	mov	x0, x20
	bl	_vfree
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_nfp_warn
LBB0_4:
	mov	x20, #0
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_DUMP_SPEC_RTSYM,4,2        ; @NFP_DUMP_SPEC_RTSYM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Debug dump specification read failed.\n"

.subsections_via_symbols
