	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_target_cpp                 ## -- Begin function nfp_target_cpp
	.p2align	4, 0x90
_nfp_target_cpp:                        ## @nfp_target_cpp
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movl	%edi, %r14d
	callq	_NFP_CPP_ID_ISLAND_of
	movl	%eax, %r12d
	movl	%r14d, %edi
	callq	_NFP_CPP_ID_TARGET_of
	cmpl	$16, %eax
	jb	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_err
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_2:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.4:
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.6:
	movl	%eax, %ecx
	movl	(%rdx,%rcx,4), %edx
	movl	%r15d, (%r13)
	movl	%edx, %ecx
	shrl	$13, %ecx
	andl	$7, %ecx
	movl	%edx, %r8d
	shrl	$12, %r8d
	andl	$1, %r8d
	movl	%edx, %r9d
	shrl	$6, %r9d
	andl	$63, %r9d
	andl	$63, %edx
	movl	%edx, (%rsp)
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%eax, %r15d
	movl	%eax, %edx
	callq	_nfp_cppat_addr_encode
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_err
	jmp	LBB0_10
LBB0_3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r14d, (%rax)
	movl	%r15d, (%r13)
	jmp	LBB0_9
LBB0_8:
	movl	%r14d, %edi
	callq	_NFP_CPP_ID_ACTION_of
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_NFP_CPP_ID_TOKEN_of
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_NFP_CPP_ID
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %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	"Invalid CPP target: %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Can't encode CPP address: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_target_cpp                 ; -- Begin function nfp_target_cpp
	.p2align	2
_nfp_target_cpp:                        ; @nfp_target_cpp
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x4
	mov	x22, x3
	mov	x19, x2
	mov	x24, x1
	mov	x20, x0
	bl	_NFP_CPP_ID_ISLAND_of
	mov	x25, x0
	mov	x0, x20
	bl	_NFP_CPP_ID_TARGET_of
	mov	x21, x0
	cmp	w0, #16
	b.lo	LBB0_3
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_pr_err
LBB0_2:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_9
LBB0_3:
	cbz	w25, LBB0_7
; %bb.4:
	cbz	x23, LBB0_2
; %bb.5:
	ldr	w8, [x23, w21, uxtw #2]
	str	w24, [x22]
	ubfx	w3, w8, #13, #3
	ubfx	w4, w8, #12, #1
	ubfx	w5, w8, #6, #6
	and	w6, w8, #0x3f
	mov	x0, x22
	mov	x1, x25
	mov	x2, x21
	bl	_nfp_cppat_addr_encode
	mov	x23, x0
	cbz	w0, LBB0_8
; %bb.6:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x23
	bl	_pr_err
	b	LBB0_9
LBB0_7:
	mov	w23, #0
	str	w20, [x19]
	str	w24, [x22]
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_NFP_CPP_ID_ACTION_of
	mov	x22, x0
	mov	x0, x20
	bl	_NFP_CPP_ID_TOKEN_of
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_NFP_CPP_ID
	str	w0, [x19]
LBB0_9:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid CPP target: %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Can't encode CPP address: %d\n"

.subsections_via_symbols
