	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib8000_get_init_prbs
_dib8000_get_init_prbs:                 ## @dib8000_get_init_prbs
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movslq	%esi, %rdx
	imulq	$1431655766, %rdx, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	leal	(%rax,%rcx), %edi
	leal	(%rax,%rcx), %esi
	incl	%esi
	movq	_lut_prbs_8k@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movslq	%edi, %r15
	movl	4(%rax,%r15,4), %ecx
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dprintk
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	$129, %eax
	jne	LBB0_2
## %bb.1:
	movq	_lut_prbs_4k@GOTPCREL(%rip), %rbx
LBB0_2:
	cmpl	$130, %eax
	jne	LBB0_4
## %bb.3:
	movq	_lut_prbs_2k@GOTPCREL(%rip), %rbx
LBB0_4:
	movq	(%rbx), %rax
	movl	4(%rax,%r15,4), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sub_channel_prbs_group = %d , subchannel =%d prbs = 0x%04x\n"

	.comm	_lut_prbs_8k,8,3                ## @lut_prbs_8k
	.comm	_lut_prbs_2k,8,3                ## @lut_prbs_2k
	.comm	_lut_prbs_4k,8,3                ## @lut_prbs_4k
	.no_dead_strip	_dib8000_get_init_prbs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib8000_get_init_prbs
_dib8000_get_init_prbs:                 ; @dib8000_get_init_prbs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x2, x1
	mov	x19, x0
	mov	w8, #21846
	movk	w8, #21845, lsl #16
	smull	x8, w1, w8
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	add	w1, w8, #1
Lloh0:
	adrp	x20, _lut_prbs_8k@GOTPAGE
Lloh1:
	ldr	x20, [x20, _lut_prbs_8k@GOTPAGEOFF]
	ldr	x8, [x20]
	sbfiz	x21, x1, #2, #32
	ldr	w3, [x8, x21]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_dprintk
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _lut_prbs_2k@GOTPAGE
Lloh5:
	ldr	x9, [x9, _lut_prbs_2k@GOTPAGEOFF]
Lloh6:
	adrp	x10, _lut_prbs_4k@GOTPAGE
Lloh7:
	ldr	x10, [x10, _lut_prbs_4k@GOTPAGEOFF]
	cmp	w8, #129
	csel	x10, x10, x20, eq
	cmp	w8, #130
	csel	x8, x9, x10, eq
	ldr	x8, [x8]
	ldr	w0, [x8, x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sub_channel_prbs_group = %d , subchannel =%d prbs = 0x%04x\n"

	.comm	_lut_prbs_8k,8,3                ; @lut_prbs_8k
	.comm	_lut_prbs_2k,8,3                ; @lut_prbs_2k
	.comm	_lut_prbs_4k,8,3                ; @lut_prbs_4k
	.no_dead_strip	_dib8000_get_init_prbs
.subsections_via_symbols
