	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_get_chan_txrate             ## -- Begin function t4_get_chan_txrate
	.p2align	4, 0x90
_t4_get_chan_txrate:                    ## @t4_get_chan_txrate
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_TP_TX_TRATE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_t4_read_reg
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_TNLRATE0_G
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_chan_rate
	movl	%eax, (%r15)
	movl	%r12d, %edi
	callq	_TNLRATE1_G
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_chan_rate
	movl	%eax, 4(%r15)
	movq	(%rbx), %rax
	movq	_NCHAN@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_2
## %bb.1:
	movl	%r12d, %edi
	callq	_TNLRATE2_G
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_chan_rate
	movl	%eax, 8(%r15)
	movl	%r12d, %edi
	callq	_TNLRATE3_G
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_chan_rate
	movl	%eax, 12(%r15)
LBB0_2:
	movq	_TP_TX_ORATE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_t4_read_reg
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_OFDRATE0_G
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_chan_rate
	movl	%eax, (%r14)
	movl	%r15d, %edi
	callq	_OFDRATE1_G
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_chan_rate
	movl	%eax, 4(%r14)
	movq	(%rbx), %rax
	cmpq	(%r13), %rax
	jne	LBB0_4
## %bb.3:
	movl	%r15d, %edi
	callq	_OFDRATE2_G
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_chan_rate
	movl	%eax, 8(%r14)
	movl	%r15d, %edi
	callq	_OFDRATE3_G
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_chan_rate
	movl	%eax, 12(%r14)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TP_TX_TRATE_A,4,2              ## @TP_TX_TRATE_A
	.comm	_NCHAN,8,3                      ## @NCHAN
	.comm	_TP_TX_ORATE_A,4,2              ## @TP_TX_ORATE_A
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_get_chan_txrate             ; -- Begin function t4_get_chan_txrate
	.p2align	2
_t4_get_chan_txrate:                    ; @t4_get_chan_txrate
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _TP_TX_TRATE_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TP_TX_TRATE_A@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_t4_read_reg
	mov	x22, x0
	bl	_TNLRATE0_G
	mov	x1, x0
	mov	x0, x20
	bl	_chan_rate
	str	w0, [x21]
	mov	x0, x22
	bl	_TNLRATE1_G
	mov	x1, x0
	mov	x0, x20
	bl	_chan_rate
	str	w0, [x21, #4]
	ldr	x8, [x20]
Lloh3:
	adrp	x23, _NCHAN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _NCHAN@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_TNLRATE2_G
	mov	x1, x0
	mov	x0, x20
	bl	_chan_rate
	str	w0, [x21, #8]
	mov	x0, x22
	bl	_TNLRATE3_G
	mov	x1, x0
	mov	x0, x20
	bl	_chan_rate
	str	w0, [x21, #12]
LBB0_2:
Lloh5:
	adrp	x8, _TP_TX_ORATE_A@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TP_TX_ORATE_A@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_t4_read_reg
	mov	x21, x0
	bl	_OFDRATE0_G
	mov	x1, x0
	mov	x0, x20
	bl	_chan_rate
	str	w0, [x19]
	mov	x0, x21
	bl	_OFDRATE1_G
	mov	x1, x0
	mov	x0, x20
	bl	_chan_rate
	str	w0, [x19, #4]
	ldr	x8, [x20]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_OFDRATE2_G
	mov	x1, x0
	mov	x0, x20
	bl	_chan_rate
	str	w0, [x19, #8]
	mov	x0, x21
	bl	_OFDRATE3_G
	mov	x1, x0
	mov	x0, x20
	bl	_chan_rate
	str	w0, [x19, #12]
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TP_TX_TRATE_A,4,2              ; @TP_TX_TRATE_A
	.comm	_NCHAN,8,3                      ; @NCHAN
	.comm	_TP_TX_ORATE_A,4,2              ; @TP_TX_ORATE_A
.subsections_via_symbols
