	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zd1201_get_rate
_zd1201_get_rate:                       ## @zd1201_get_rate
	.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	%rdx, %rbx
	callq	_netdev_priv
	movq	_ZD1201_RID_CURRENTTXRATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-10(%rbp), %rdx
	movq	%rax, %rdi
	callq	_zd1201_getconfig16
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movswl	-10(%rbp), %edx
	decl	%edx
	cmpl	$10, %edx
	ja	LBB0_6
## %bb.2:
	movl	$1000000, %ecx                  ## imm = 0xF4240
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_3:
	movl	$2000000, %ecx                  ## imm = 0x1E8480
	jmp	LBB0_7
LBB0_6:
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_4:
	movl	$5500000, %ecx                  ## imm = 0x53EC60
	jmp	LBB0_7
LBB0_5:
	movl	$11000000, %ecx                 ## imm = 0xA7D8C0
LBB0_7:
	movl	%ecx, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_ZD1201_RID_CURRENTTXRATE,4,2   ## @ZD1201_RID_CURRENTTXRATE
	.no_dead_strip	_zd1201_get_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zd1201_get_rate
_zd1201_get_rate:                       ; @zd1201_get_rate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	bl	_netdev_priv
Lloh0:
	adrp	x8, _ZD1201_RID_CURRENTTXRATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZD1201_RID_CURRENTTXRATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #14
	bl	_zd1201_getconfig16
	cbnz	w0, LBB0_8
; %bb.1:
	ldrsh	w8, [sp, #14]
	sub	w9, w8, #1
	cmp	w9, #10
	b.hi	LBB0_4
; %bb.2:
	mov	w8, #16960
	movk	w8, #15, lsl #16
Lloh3:
	adrp	x10, lJTI0_0@PAGE
Lloh4:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
	mov	w8, #33920
	movk	w8, #30, lsl #16
	b	LBB0_7
LBB0_4:
	mov	w8, #0
	b	LBB0_7
LBB0_5:
	mov	w8, #60512
	movk	w8, #83, lsl #16
	b	LBB0_7
LBB0_6:
	mov	w8, #55488
	movk	w8, #167, lsl #16
LBB0_7:
	str	w8, [x19]
	stp	xzr, xzr, [x19, #8]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
                                        ; -- End function
	.comm	_ZD1201_RID_CURRENTTXRATE,4,2   ; @ZD1201_RID_CURRENTTXRATE
	.no_dead_strip	_zd1201_get_rate
.subsections_via_symbols
