	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function npc_get_bank
_npc_get_bank:                          ## @npc_get_bank
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	cltd
	idivl	(%rdi)
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movq	8(%rdi), %rdx
	movq	_NPC_MCAM_KEY_X2@GOTPCREL(%rip), %rsi
	addl	%ecx, %ecx
	cmpq	(%rsi), %rdx
	cmovel	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NPC_MCAM_KEY_X2,8,3            ## @NPC_MCAM_KEY_X2
	.no_dead_strip	_npc_get_bank
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function npc_get_bank
_npc_get_bank:                          ; @npc_get_bank
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	sdiv	w8, w1, w8
	cmp	w8, #0
	cset	w9, ne
Lloh0:
	adrp	x10, _NPC_MCAM_KEY_X2@GOTPAGE
Lloh1:
	ldr	x10, [x10, _NPC_MCAM_KEY_X2@GOTPAGEOFF]
	ldr	x11, [x0, #8]
Lloh2:
	ldr	x10, [x10]
	lsl	w9, w9, #1
	cmp	x11, x10
	csel	w0, w9, w8, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NPC_MCAM_KEY_X2,8,3            ; @NPC_MCAM_KEY_X2
	.no_dead_strip	_npc_get_bank
.subsections_via_symbols
