	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_phy_db_2_linear
_rtw_phy_db_2_linear:                   ## @rtw_phy_db_2_linear
	.cfi_startproc
## %bb.0:
	movl	$96, %edx
	cmpl	$96, %edi
	jg	LBB0_3
## %bb.1:
	movl	%edi, %edx
	testl	%edi, %edi
	jle	LBB0_2
LBB0_3:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leal	-1(%rdx), %eax
	movl	%eax, %ecx
	andl	$-8, %ecx
	andl	$7, %eax
	movq	_db_invert_table@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	(%rsi,%rcx), %rcx
	movl	(%rcx,%rax,4), %eax
	xorl	%ecx, %ecx
	cmpl	$25, %edx
	jb	LBB0_5
## %bb.4:
	movq	_FRAC_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_5:
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	popq	%rbp
	retq
LBB0_2:
	movl	$1, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_db_invert_table,8,3            ## @db_invert_table
	.comm	_FRAC_BITS,4,2                  ## @FRAC_BITS
	.no_dead_strip	_rtw_phy_db_2_linear
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw_phy_db_2_linear
_rtw_phy_db_2_linear:                   ; @rtw_phy_db_2_linear
	.cfi_startproc
; %bb.0:
	cmp	w0, #96
	b.le	LBB0_2
; %bb.1:
	mov	w0, #96
	b	LBB0_3
LBB0_2:
	cmp	w0, #1
	b.lt	LBB0_4
LBB0_3:
	sub	w8, w0, #1
	and	w9, w8, #0xfffffff8
Lloh0:
	adrp	x10, _db_invert_table@GOTPAGE
Lloh1:
	ldr	x10, [x10, _db_invert_table@GOTPAGEOFF]
	and	w8, w8, #0x7
Lloh2:
	ldr	x10, [x10]
	ldr	x9, [x10, w9, uxtw]
	ldr	w8, [x9, w8, uxtw #2]
Lloh3:
	adrp	x9, _FRAC_BITS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FRAC_BITS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w0, #24
	csel	w9, w9, wzr, hi
	lsl	w0, w8, w9
	ret
LBB0_4:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_db_invert_table,8,3            ; @db_invert_table
	.comm	_FRAC_BITS,4,2                  ; @FRAC_BITS
	.no_dead_strip	_rtw_phy_db_2_linear
.subsections_via_symbols
