	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_bpf_map_update_value_ok
_nfp_bpf_map_update_value_ok:           ## @nfp_bpf_map_update_value_ok
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_cur_regs
	movq	%rax, %r15
	movq	_BPF_REG_1@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	movq	%r14, %rdi
	callq	_cur_regs
	movq	%rax, %r13
	movq	_BPF_REG_3@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rax,2), %rbx
	movq	(%r13,%rbx,8), %rax
	movq	(%rcx,%rax,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%r12,2), %rax
	movl	16(%r15,%rax,8), %edi
	callq	_map_to_offmap
	movl	(%rax), %r10d
	movl	$1, %r8d
	testl	%r10d, %r10d
	jle	LBB0_6
## %bb.1:
	movl	12(%r13,%rbx,8), %ecx
	addl	8(%r13,%rbx,8), %ecx
	movq	8(%rax), %r9
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movq	_STACK_ZERO@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_NFP_MAP_USE_ATOMIC_CNT@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	notl	%ecx
	xorl	%ebx, %ebx
	movq	_BPF_REG_SIZE@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	decl	%ecx
	cmpl	%ebx, %r10d
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	(%r15)
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
	movq	(%rsi,%rax,8), %rax
	cmpq	%rdi, (%rax,%rdx,8)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r9), %rax
	movl	%ebx, %edx
	shrl	$2, %edx
	shlq	$4, %rdx
	cmpq	%r11, (%rax,%rdx)
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, 8(%rax,%rdx)
	jmp	LBB0_5
LBB0_7:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_pr_vlog
	xorl	%r8d, %r8d
LBB0_6:
	movl	%r8d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BPF_REG_1,4,2                  ## @BPF_REG_1
	.comm	_BPF_REG_3,4,2                  ## @BPF_REG_3
	.comm	_BPF_REG_SIZE,4,2               ## @BPF_REG_SIZE
	.comm	_STACK_ZERO,8,3                 ## @STACK_ZERO
	.comm	_NFP_MAP_USE_ATOMIC_CNT,8,3     ## @NFP_MAP_USE_ATOMIC_CNT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"value at offset %d/%d may be non-zero, bpf_map_update_elem() is required to initialize atomic counters to zero to avoid offload endian issues\n"

	.no_dead_strip	_nfp_bpf_map_update_value_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_bpf_map_update_value_ok
_nfp_bpf_map_update_value_ok:           ; @nfp_bpf_map_update_value_ok
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_cur_regs
	mov	x20, x0
Lloh0:
	adrp	x8, _BPF_REG_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BPF_REG_1@GOTPAGEOFF]
Lloh2:
	ldrsw	x23, [x8]
	mov	x0, x19
	bl	_cur_regs
Lloh3:
	adrp	x8, _BPF_REG_3@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BPF_REG_3@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	ldr	x9, [x19]
	ldr	x9, [x9]
	mov	w10, #24
	madd	x22, x8, x10, x0
	ldr	x8, [x22]
	ldr	x21, [x9, x8, lsl #3]
	madd	x8, x23, x10, x20
	ldr	w0, [x8, #16]
	bl	_map_to_offmap
	mov	x8, x0
	ldr	w9, [x0]
	mov	w0, #1
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.1:
	mov	w2, #0
	ldp	w13, w14, [x22, #8]
	ldr	x8, [x8, #8]
	ldr	x10, [x21]
Lloh6:
	adrp	x11, _STACK_ZERO@GOTPAGE
Lloh7:
	ldr	x11, [x11, _STACK_ZERO@GOTPAGEOFF]
Lloh8:
	adrp	x12, _NFP_MAP_USE_ATOMIC_CNT@GOTPAGE
Lloh9:
	ldr	x12, [x12, _NFP_MAP_USE_ATOMIC_CNT@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
Lloh11:
	ldr	x12, [x12]
	add	w13, w14, w13
	mvn	w3, w13
Lloh12:
	adrp	x13, _BPF_REG_SIZE@GOTPAGE
Lloh13:
	ldr	x13, [x13, _BPF_REG_SIZE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w2, w2, #1
	sub	w3, w3, #1
	cmp	w9, w2
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x13]
	udiv	w15, w3, w14
	ldr	x16, [x10, w15, uxtw #3]
	msub	w14, w15, w14, w3
	ldr	x14, [x16, w14, uxtw #3]
	cmp	x14, x11
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x14, [x8]
	lsr	w15, w2, #2
	lsl	x16, x15, #4
	ldr	x16, [x14, x16]
	cmp	x16, x12
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x14, x14, x15, lsl #4
	str	w0, [x14, #8]
	b	LBB0_2
LBB0_6:
	mov	w0, #1
	b	LBB0_8
LBB0_7:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_pr_vlog
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_BPF_REG_1,4,2                  ; @BPF_REG_1
	.comm	_BPF_REG_3,4,2                  ; @BPF_REG_3
	.comm	_BPF_REG_SIZE,4,2               ; @BPF_REG_SIZE
	.comm	_STACK_ZERO,8,3                 ; @STACK_ZERO
	.comm	_NFP_MAP_USE_ATOMIC_CNT,8,3     ; @NFP_MAP_USE_ATOMIC_CNT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"value at offset %d/%d may be non-zero, bpf_map_update_elem() is required to initialize atomic counters to zero to avoid offload endian issues\n"

	.no_dead_strip	_nfp_bpf_map_update_value_ok
.subsections_via_symbols
