	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sGetChanRI
_sGetChanRI:                            ## @sGetChanRI
	.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	16(%rdi), %rcx
	movslq	(%rdi), %rbx
	movq	24(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
LBB0_6:
	callq	_sInB
	movl	%eax, %ecx
	movq	_sBitMapSetTbl@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx,%rbx,4)
	sete	%al
	jmp	LBB0_7
LBB0_2:
	cmpq	$0, 16(%rcx)
	je	LBB0_4
## %bb.3:
	movq	8(%rdi), %rdi
	addq	$8, %rdi
	callq	_sInB
	movq	_DSR_ACT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	jmp	LBB0_7
LBB0_4:
	movq	(%rcx), %rdx
	movq	_ROCKET_TYPE_PC104@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	cmpq	(%rsi), %rdx
	jne	LBB0_7
## %bb.5:
	movq	8(%rcx), %rax
	movq	24(%rax), %rdi
	jmp	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sBitMapSetTbl,8,3              ## @sBitMapSetTbl
	.comm	_DSR_ACT,4,2                    ## @DSR_ACT
	.comm	_ROCKET_TYPE_PC104,8,3          ## @ROCKET_TYPE_PC104
	.no_dead_strip	_sGetChanRI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sGetChanRI
_sGetChanRI:                            ; @sGetChanRI
	.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	x9, [x0, #16]
	ldrsw	x19, [x0]
	ldr	x8, [x9, #24]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x0, x8
LBB0_2:
	bl	_sInB
Lloh0:
	adrp	x8, _sBitMapSetTbl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sBitMapSetTbl@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8, x19, lsl #2]
	tst	w8, w0
	cset	w0, eq
	b	LBB0_8
LBB0_3:
	ldr	x8, [x9, #16]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x0, #8]
	add	x0, x8, #8
	bl	_sInB
Lloh3:
	adrp	x8, _DSR_ACT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DSR_ACT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w0, w8, w0
	b	LBB0_8
LBB0_5:
	ldr	x8, [x9]
Lloh6:
	adrp	x10, _ROCKET_TYPE_PC104@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ROCKET_TYPE_PC104@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x9, #8]
	ldr	x0, [x8, #24]
	b	LBB0_2
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_sBitMapSetTbl,8,3              ; @sBitMapSetTbl
	.comm	_DSR_ACT,4,2                    ; @DSR_ACT
	.comm	_ROCKET_TYPE_PC104,8,3          ; @ROCKET_TYPE_PC104
	.no_dead_strip	_sGetChanRI
.subsections_via_symbols
