	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_rtsym_sw_entry_init
_nfp_rtsym_sw_entry_init:               ## @nfp_rtsym_sw_entry_init
	.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	%rcx, %rbx
	movq	%rdx, %r14
	movl	%esi, %r15d
	movl	44(%rcx), %eax
	movl	%eax, 24(%rdx)
	movq	(%rdi), %r12
	movl	40(%rcx), %edi
	callq	_le16_to_cpu
	cltd
	idivl	%r15d
	movslq	%edx, %rax
	addq	%r12, %rax
	movq	%rax, 16(%r14)
	movl	24(%rbx), %edi
	callq	_le32_to_cpu
	movl	12(%rbx), %edi
	callq	_le32_to_cpu
	movl	(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.2:
	movq	_NFP_RTSYM_TARGET_LMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_NFP_RTSYM_TARGET_EMU_CACHE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
LBB0_5:
	movl	%eax, 8(%r14)
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	cmpl	$255, %esi
	jne	LBB0_6
## %bb.7:
	cmpl	$255, %edi
	jne	LBB0_8
## %bb.9:
	movl	$-1, 12(%r14)
	jmp	LBB0_10
LBB0_6:
	callq	_nfp_meid
	movl	%eax, 12(%r14)
	jmp	LBB0_10
LBB0_8:
	movl	%edi, 12(%r14)
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_RTSYM_TARGET_LMEM,4,2      ## @NFP_RTSYM_TARGET_LMEM
	.comm	_NFP_RTSYM_TARGET_EMU_CACHE,4,2 ## @NFP_RTSYM_TARGET_EMU_CACHE
	.no_dead_strip	_nfp_rtsym_sw_entry_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_rtsym_sw_entry_init
_nfp_rtsym_sw_entry_init:               ; @nfp_rtsym_sw_entry_init
	.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	x20, x3
	mov	x19, x2
	mov	x21, x1
	ldp	w8, w9, [x3, #40]
	str	w9, [x2, #24]
	ldr	x22, [x0]
	mov	x0, x8
	bl	_le16_to_cpu
	sdiv	w8, w0, w21
	msub	w8, w8, w21, w0
	add	x8, x22, w8, sxtw
	str	x8, [x19, #16]
	ldr	w0, [x20, #24]
	bl	_le32_to_cpu
	ldr	w0, [x20, #12]
	bl	_le32_to_cpu
	ldr	w8, [x20]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _NFP_RTSYM_TARGET_LMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NFP_RTSYM_TARGET_LMEM@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _NFP_RTSYM_TARGET_EMU_CACHE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NFP_RTSYM_TARGET_EMU_CACHE@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
LBB0_5:
	str	w8, [x19, #8]
	ldp	w1, w0, [x20, #4]
	cmp	w1, #255
	b.ne	LBB0_8
; %bb.6:
	cmp	w0, #255
	b.ne	LBB0_9
; %bb.7:
	mov	w8, #-1
	str	w8, [x19, #12]
	b	LBB0_10
LBB0_8:
	bl	_nfp_meid
LBB0_9:
	str	w0, [x19, #12]
LBB0_10:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_RTSYM_TARGET_LMEM,4,2      ; @NFP_RTSYM_TARGET_LMEM
	.comm	_NFP_RTSYM_TARGET_EMU_CACHE,4,2 ; @NFP_RTSYM_TARGET_EMU_CACHE
	.no_dead_strip	_nfp_rtsym_sw_entry_init
.subsections_via_symbols
