	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_bpf_map_mark_used_one
_nfp_bpf_map_mark_used_one:             ## @nfp_bpf_map_mark_used_one
	.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
	movl	%ecx, %ebx
	movl	%edx, %r15d
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movl	%edx, %ecx
	shrl	$2, %ecx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rdi
	movl	%ebx, %edx
	cmpq	%rdx, %rdi
	je	LBB0_3
## %bb.1:
	movq	_NFP_MAP_UNUSED@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdi
	je	LBB0_3
## %bb.2:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_nfp_bpf_map_use_name
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_nfp_bpf_map_use_name
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%r12d, %edx
	movl	%eax, %ecx
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_pr_vlog
	jmp	LBB0_6
LBB0_3:
	cmpq	$0, 8(%rax,%rcx)
	je	LBB0_7
## %bb.4:
	movq	_NFP_MAP_USE_ATOMIC_CNT@GOTPCREL(%rip), %rsi
	cmpl	%ebx, (%rsi)
	jne	LBB0_7
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_pr_vlog
LBB0_6:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_7:
	addq	%rcx, %rax
	movq	%rdx, (%rax)
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_MAP_UNUSED,8,3             ## @NFP_MAP_UNUSED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"map value use type conflict %s vs %s off: %u\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NFP_MAP_USE_ATOMIC_CNT,4,2     ## @NFP_MAP_USE_ATOMIC_CNT
L_.str.1:                               ## @.str.1
	.asciz	"atomic counter in map value may already be initialized to non-zero value off: %u\n"

	.no_dead_strip	_nfp_bpf_map_mark_used_one
.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_mark_used_one
_nfp_bpf_map_mark_used_one:             ; @nfp_bpf_map_mark_used_one
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x3
	mov	x20, x2
	mov	x19, x0
	ldr	x10, [x1]
	lsr	w11, w2, #2
	add	x8, x10, w11, uxtw #4
	ldr	x0, [x8]
Lloh0:
	adrp	x9, _NFP_MAP_UNUSED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NFP_MAP_UNUSED@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x9]
	mov	w9, w3
	cmp	x0, x9
	ccmp	x0, x12, #4, ne
	b.ne	LBB0_3
; %bb.1:
	add	x10, x10, x11, lsl #4
	ldr	x10, [x10, #8]
Lloh3:
	adrp	x11, _NFP_MAP_USE_ATOMIC_CNT@GOTPAGE
Lloh4:
	ldr	x11, [x11, _NFP_MAP_USE_ATOMIC_CNT@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	cmp	x10, #0
	ccmp	w11, w21, #0, ne
	b.eq	LBB0_4
; %bb.2:
	mov	w0, #0
	str	x9, [x8]
	b	LBB0_6
LBB0_3:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_nfp_bpf_map_use_name
	mov	x22, x0
	mov	x0, x21
	bl	_nfp_bpf_map_use_name
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x20, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
LBB0_5:
	bl	_pr_vlog
Lloh10:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_MAP_UNUSED,8,3             ; @NFP_MAP_UNUSED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"map value use type conflict %s vs %s off: %u\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NFP_MAP_USE_ATOMIC_CNT,4,2     ; @NFP_MAP_USE_ATOMIC_CNT
l_.str.1:                               ; @.str.1
	.asciz	"atomic counter in map value may already be initialized to non-zero value off: %u\n"

	.no_dead_strip	_nfp_bpf_map_mark_used_one
.subsections_via_symbols
