	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nsim_fib_rule_account
_nsim_fib_rule_account:                 ## @nsim_fib_rule_account
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	testl	%esi, %esi
	je	LBB0_4
## %bb.1:
	cmpq	8(%rdi), %rax
	jge	LBB0_3
## %bb.2:
	incq	%rax
	jmp	LBB0_5
LBB0_4:
	decq	%rax
LBB0_5:
	movq	%rax, (%rdi)
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_3:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	leaq	L_.str(%rip), %rsi
	movq	%rdx, %rdi
	callq	_NL_SET_ERR_MSG_MOD
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Exceeded number of supported fib rule entries"

	.no_dead_strip	_nsim_fib_rule_account
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nsim_fib_rule_account
_nsim_fib_rule_account:                 ; @nsim_fib_rule_account
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	cbz	w1, LBB0_3
; %bb.1:
	ldr	x9, [x0, #8]
	cmp	x8, x9
	b.ge	LBB0_5
; %bb.2:
	mov	w19, #0
	add	x8, x8, #1
	b	LBB0_4
LBB0_3:
	mov	w19, #0
	sub	x8, x8, #1
LBB0_4:
	str	x8, [x0]
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x2
	bl	_NL_SET_ERR_MSG_MOD
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Exceeded number of supported fib rule entries"

	.no_dead_strip	_nsim_fib_rule_account
.subsections_via_symbols
