	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_phy_linear_2_db
_rtw_phy_linear_2_db:                   ## @rtw_phy_linear_2_db
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_db_invert_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	88(%rdx), %rax
	movq	56(%rax), %rsi
	movl	$96, %eax
	cmpq	%rdi, %rsi
	jle	LBB0_37
## %bb.1:
	movq	_FRAC_BITS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movq	%rdi, %rax
	shlq	%cl, %rax
	movq	(%rdx), %rcx
	movq	56(%rcx), %r10
	xorl	%r8d, %r8d
	cmpq	%r10, %rax
	jle	LBB0_28
## %bb.2:
	movq	8(%rdx), %rcx
	movl	$1, %r8d
	cmpq	56(%rcx), %rax
	jle	LBB0_28
## %bb.3:
	movq	16(%rdx), %rcx
	movl	$2, %r8d
	cmpq	56(%rcx), %rax
	jle	LBB0_28
## %bb.4:
	movq	24(%rdx), %rax
	movq	56(%rax), %rax
	movl	$3, %r8d
	cmpq	%rdi, %rax
	jge	LBB0_13
## %bb.5:
	movq	32(%rdx), %rcx
	movl	$4, %r8d
	cmpq	%rdi, 56(%rcx)
	jge	LBB0_13
## %bb.6:
	movq	40(%rdx), %rcx
	movl	$5, %r8d
	cmpq	%rdi, 56(%rcx)
	jge	LBB0_13
## %bb.7:
	movq	48(%rdx), %rcx
	movl	$6, %r8d
	cmpq	%rdi, 56(%rcx)
	jge	LBB0_13
## %bb.8:
	movq	56(%rdx), %rcx
	movl	$7, %r8d
	cmpq	%rdi, 56(%rcx)
	jge	LBB0_13
## %bb.9:
	movq	64(%rdx), %rcx
	movl	$8, %r8d
	cmpq	%rdi, 56(%rcx)
	jge	LBB0_13
## %bb.10:
	movq	72(%rdx), %rcx
	movl	$9, %r8d
	cmpq	%rdi, 56(%rcx)
	jge	LBB0_13
## %bb.11:
	movq	80(%rdx), %rcx
	movl	$10, %r8d
	cmpq	%rdi, 56(%rcx)
	jge	LBB0_13
## %bb.12:
	xorl	%r8d, %r8d
	cmpq	%rdi, %rsi
	setl	%r8b
	addl	$11, %r8d
LBB0_13:
	movl	%r8d, %ecx
	movq	(%rdx,%rcx,8), %r9
	movq	(%r9), %rcx
	cmpq	%rdi, %rcx
	jge	LBB0_33
## %bb.14:
	movl	$1, %eax
	cmpq	%rdi, 8(%r9)
	jge	LBB0_21
## %bb.15:
	movl	$2, %eax
	cmpq	%rdi, 16(%r9)
	jge	LBB0_21
## %bb.16:
	movl	$3, %eax
	cmpq	%rdi, 24(%r9)
	jge	LBB0_21
## %bb.17:
	movl	$4, %eax
	cmpq	%rdi, 32(%r9)
	jge	LBB0_21
## %bb.18:
	movl	$5, %eax
	cmpq	%rdi, 40(%r9)
	jge	LBB0_21
## %bb.19:
	movl	$6, %eax
	cmpq	%rdi, 48(%r9)
	jge	LBB0_21
## %bb.20:
	movl	$7, %eax
	movl	$8, %esi
	cmpq	%rdi, 56(%r9)
	jl	LBB0_32
LBB0_21:
	movl	%eax, %esi
	jmp	LBB0_32
LBB0_28:
	movl	%r8d, %ecx
	movq	(%rdx,%rcx,8), %r9
	movq	(%r9), %rcx
	cmpq	%rcx, %rax
	jle	LBB0_29
## %bb.30:
	movl	$1, %edx
	cmpq	8(%r9), %rax
	jle	LBB0_31
## %bb.22:
	movl	$2, %edx
	cmpq	16(%r9), %rax
	jle	LBB0_31
## %bb.23:
	movl	$3, %edx
	cmpq	24(%r9), %rax
	jle	LBB0_31
## %bb.24:
	movl	$4, %edx
	cmpq	32(%r9), %rax
	jle	LBB0_31
## %bb.25:
	movl	$5, %edx
	cmpq	40(%r9), %rax
	jle	LBB0_31
## %bb.26:
	movl	$6, %edx
	cmpq	48(%r9), %rax
	jle	LBB0_31
## %bb.27:
	movl	$7, %edx
	movl	$8, %esi
	cmpq	56(%r9), %rax
	jg	LBB0_32
LBB0_31:
	movl	%edx, %esi
LBB0_32:
	movl	%esi, %eax
	movq	(%r9,%rax,8), %rax
	subq	%rdi, %rax
	leal	-1(%rsi), %ecx
	subq	(%r9,%rcx,8), %rdi
	cmpq	%rdi, %rax
	cmovgl	%ecx, %esi
	movl	%r8d, %r9d
	jmp	LBB0_36
LBB0_29:
	xorl	%r9d, %r9d
	movl	$0, %esi
	cmpq	%r10, %rax
	jle	LBB0_36
LBB0_34:
	subq	%rdi, %rcx
	leal	-1(%r8), %r9d
	movl	%r8d, %eax
	movq	-8(%rdx,%rax,8), %rax
	subq	56(%rax), %rdi
	xorl	%eax, %eax
	cmpq	%rdi, %rcx
	cmovlel	%r8d, %r9d
	movl	$7, %esi
	cmovlel	%eax, %esi
LBB0_36:
	leal	(%rsi,%r9,8), %eax
	incl	%eax
LBB0_37:
	popq	%rbp
	retq
LBB0_33:
	cmpq	%rdi, %rax
	jl	LBB0_34
## %bb.35:
	movq	16(%rdx), %rax
	movq	24(%rdx), %rcx
	movq	(%rcx), %rcx
	subq	%rdi, %rcx
	subq	56(%rax), %rdi
	xorl	%eax, %eax
	xorl	%r9d, %r9d
	cmpq	%rdi, %rcx
	setg	%r9b
	movl	$7, %esi
	cmovlel	%eax, %esi
	xorl	$3, %r9d
	jmp	LBB0_36
	.cfi_endproc
                                        ## -- End function
	.comm	_db_invert_table,8,3            ## @db_invert_table
	.comm	_FRAC_BITS,8,3                  ## @FRAC_BITS
	.no_dead_strip	_rtw_phy_linear_2_db
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw_phy_linear_2_db
_rtw_phy_linear_2_db:                   ; @rtw_phy_linear_2_db
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _db_invert_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _db_invert_table@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	ldr	x8, [x10, #88]
	ldr	x8, [x8, #56]
	cmp	x8, x0
	b.le	LBB0_13
; %bb.1:
Lloh3:
	adrp	x9, _FRAC_BITS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FRAC_BITS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	lsl	x11, x0, x9
	ldr	x9, [x10]
	ldr	x12, [x9, #56]
	cmp	x11, x12
	b.le	LBB0_14
; %bb.2:
	ldr	x9, [x10, #8]
	ldr	x9, [x9, #56]
	cmp	x11, x9
	b.le	LBB0_15
; %bb.3:
	ldr	x9, [x10, #16]
	ldr	x9, [x9, #56]
	cmp	x11, x9
	b.le	LBB0_16
; %bb.4:
	ldr	x9, [x10, #24]
	ldr	x11, [x9, #56]
	cmp	x11, x0
	b.ge	LBB0_30
; %bb.5:
	ldr	x9, [x10, #32]
	ldr	x9, [x9, #56]
	cmp	x9, x0
	b.ge	LBB0_31
; %bb.6:
	ldr	x9, [x10, #40]
	ldr	x9, [x9, #56]
	cmp	x9, x0
	b.ge	LBB0_32
; %bb.7:
	ldr	x9, [x10, #48]
	ldr	x9, [x9, #56]
	cmp	x9, x0
	b.ge	LBB0_33
; %bb.8:
	ldr	x9, [x10, #56]
	ldr	x9, [x9, #56]
	cmp	x9, x0
	b.ge	LBB0_34
; %bb.9:
	ldr	x9, [x10, #64]
	ldr	x9, [x9, #56]
	cmp	x9, x0
	b.ge	LBB0_35
; %bb.10:
	ldr	x9, [x10, #72]
	ldr	x9, [x9, #56]
	cmp	x9, x0
	b.ge	LBB0_36
; %bb.11:
	ldr	x9, [x10, #80]
	ldr	x9, [x9, #56]
	cmp	x9, x0
	b.ge	LBB0_37
; %bb.12:
	cmp	x8, x0
	mov	w8, #11
	cinc	w8, w8, lt
	b	LBB0_38
LBB0_13:
	mov	w0, #96
	ret
LBB0_14:
	mov	w8, #0
	b	LBB0_17
LBB0_15:
	mov	w8, #1
	b	LBB0_17
LBB0_16:
	mov	w8, #2
LBB0_17:
	ldr	x9, [x10, w8, uxtw #3]
	ldr	x13, [x9]
	cmp	x11, x13
	b.le	LBB0_26
; %bb.18:
	ldr	x10, [x9, #8]
	cmp	x11, x10
	b.le	LBB0_47
; %bb.19:
	ldr	x10, [x9, #16]
	cmp	x11, x10
	b.le	LBB0_48
; %bb.20:
	ldr	x10, [x9, #24]
	cmp	x11, x10
	b.le	LBB0_51
; %bb.21:
	ldr	x10, [x9, #32]
	cmp	x11, x10
	b.le	LBB0_52
; %bb.22:
	ldr	x10, [x9, #40]
	cmp	x11, x10
	b.le	LBB0_53
; %bb.23:
	ldr	x10, [x9, #48]
	cmp	x11, x10
	b.le	LBB0_54
; %bb.24:
	ldr	x10, [x9, #56]
	cmp	x11, x10
	b.le	LBB0_46
LBB0_25:
	mov	w10, #8
	b	LBB0_55
LBB0_26:
	cmp	x11, x12
	b.le	LBB0_29
LBB0_27:
	sub	x9, x13, x0
	sub	w11, w8, #1
	ldr	x10, [x10, w11, sxtw #3]
	ldr	x10, [x10, #56]
	sub	x10, x0, x10
	cmp	x9, x10
	csel	w8, w11, w8, gt
LBB0_28:
	mov	w9, #7
	csel	w9, w9, wzr, gt
	b	LBB0_56
LBB0_29:
	mov	w8, #0
	mov	w9, #0
	b	LBB0_56
LBB0_30:
	mov	w8, #3
	b	LBB0_38
LBB0_31:
	mov	w8, #4
	b	LBB0_38
LBB0_32:
	mov	w8, #5
	b	LBB0_38
LBB0_33:
	mov	w8, #6
	b	LBB0_38
LBB0_34:
	mov	w8, #7
	b	LBB0_38
LBB0_35:
	mov	w8, #8
	b	LBB0_38
LBB0_36:
	mov	w8, #9
	b	LBB0_38
LBB0_37:
	mov	w8, #10
LBB0_38:
	ldr	x9, [x10, w8, uxtw #3]
	ldr	x13, [x9]
	cmp	x13, x0
	b.ge	LBB0_49
; %bb.39:
	ldr	x10, [x9, #8]
	cmp	x10, x0
	b.ge	LBB0_47
; %bb.40:
	ldr	x10, [x9, #16]
	cmp	x10, x0
	b.ge	LBB0_48
; %bb.41:
	ldr	x10, [x9, #24]
	cmp	x10, x0
	b.ge	LBB0_51
; %bb.42:
	ldr	x10, [x9, #32]
	cmp	x10, x0
	b.ge	LBB0_52
; %bb.43:
	ldr	x10, [x9, #40]
	cmp	x10, x0
	b.ge	LBB0_53
; %bb.44:
	ldr	x10, [x9, #48]
	cmp	x10, x0
	b.ge	LBB0_54
; %bb.45:
	ldr	x10, [x9, #56]
	cmp	x10, x0
	b.lt	LBB0_25
LBB0_46:
	mov	w10, #7
	b	LBB0_55
LBB0_47:
	mov	w10, #1
	b	LBB0_55
LBB0_48:
	mov	w10, #2
	b	LBB0_55
LBB0_49:
	cmp	x11, x0
	b.lt	LBB0_27
; %bb.50:
	ldp	x9, x8, [x10, #16]
	ldr	x8, [x8]
	sub	x8, x8, x0
	ldr	x9, [x9, #56]
	sub	x9, x0, x9
	cmp	x8, x9
	mov	w8, #2
	cinc	w8, w8, le
	b	LBB0_28
LBB0_51:
	mov	w10, #3
	b	LBB0_55
LBB0_52:
	mov	w10, #4
	b	LBB0_55
LBB0_53:
	mov	w10, #5
	b	LBB0_55
LBB0_54:
	mov	w10, #6
LBB0_55:
	ldr	x11, [x9, w10, uxtw #3]
	sub	x11, x11, x0
	sub	w12, w10, #1
	ldr	x9, [x9, w12, uxtw #3]
	sub	x9, x0, x9
	cmp	x11, x9
	csel	w9, w12, w10, gt
LBB0_56:
	add	w8, w9, w8, lsl #3
	add	w0, w8, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_db_invert_table,8,3            ; @db_invert_table
	.comm	_FRAC_BITS,8,3                  ; @FRAC_BITS
	.no_dead_strip	_rtw_phy_linear_2_db
.subsections_via_symbols
