	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_rcb_get_ring_num
_hns_rcb_get_ring_num:                  ## @hns_rcb_get_ring_num
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edx
	leal	-128(%rdx), %eax
	cmpl	$15, %eax
	jae	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.hns_rcb_get_ring_num(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	popq	%rbp
	retq
LBB0_1:
	movl	4(%rdi), %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dev_warn
	movl	$128, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get ring num fail,use default!dsaf_mode=%d\n"

	.no_dead_strip	_hns_rcb_get_ring_num
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.hns_rcb_get_ring_num
l_switch.table.hns_rcb_get_ring_num:
	.long	1                               ## 0x1
	.long	96                              ## 0x60
	.long	128                             ## 0x80
	.long	96                              ## 0x60
	.long	128                             ## 0x80
	.long	32                              ## 0x20
	.long	1                               ## 0x1
	.long	6                               ## 0x6
	.long	96                              ## 0x60
	.long	96                              ## 0x60
	.long	96                              ## 0x60
	.long	96                              ## 0x60
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.long	128                             ## 0x80

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_rcb_get_ring_num
_hns_rcb_get_ring_num:                  ; @hns_rcb_get_ring_num
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w2, [x0]
	sub	w8, w2, #128
	cmp	w8, #15
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.hns_rcb_get_ring_num@PAGE
Lloh1:
	add	x9, x9, l_switch.table.hns_rcb_get_ring_num@PAGEOFF
	ldr	w0, [x9, w8, sxtw #2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w0, [x0, #4]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
	mov	w0, #128
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get ring num fail,use default!dsaf_mode=%d\n"

	.no_dead_strip	_hns_rcb_get_ring_num
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.hns_rcb_get_ring_num
l_switch.table.hns_rcb_get_ring_num:
	.long	1                               ; 0x1
	.long	96                              ; 0x60
	.long	128                             ; 0x80
	.long	96                              ; 0x60
	.long	128                             ; 0x80
	.long	32                              ; 0x20
	.long	1                               ; 0x1
	.long	6                               ; 0x6
	.long	96                              ; 0x60
	.long	96                              ; 0x60
	.long	96                              ; 0x60
	.long	96                              ; 0x60
	.long	128                             ; 0x80
	.long	128                             ; 0x80
	.long	128                             ; 0x80

.subsections_via_symbols
