	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_fill_rates_for_column
_rs_fill_rates_for_column:              ## @rs_fill_rates_for_column
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %r14d
	movl	(%r8), %r15d
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	testl	%r9d, %r9d
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	jle	LBB0_16
## %bb.1:
	movq	_LINK_QUAL_MAX_RETRY_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r15d
	jge	LBB0_16
## %bb.2:
	movslq	%eax, %r13
	xorl	%ecx, %ecx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	cmpl	$0, 16(%rbp)
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	jle	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%eax, %r15d
	jge	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r15d, %r14
	incq	%r14
	movl	$1, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ucode_rate_from_rs_rate
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, -4(%rcx,%r14,4)
	cmpl	$0, 32(%rbp)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	24(%rbp), %edi
	movq	%rbx, %rsi
	callq	_rs_toggle_antenna
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	incl	%r15d
	cmpl	16(%rbp), %r12d
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	leaq	1(%r14), %rax
	incl	%r12d
	cmpq	%r13, %r14
	movq	%rax, %r14
	jl	LBB0_6
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx), %r14d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_rs_get_lower_rate_in_column
	testl	%eax, %eax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_is_legacy
	testl	%eax, %eax
	je	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	cmpl	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	jge	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, %r15d
	jl	LBB0_3
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	cmpl	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	jge	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, %r15d
	jl	LBB0_3
LBB0_16:
	movq	%rbx, %rdi
	callq	_is_legacy
	testl	%eax, %eax
	jne	LBB0_18
## %bb.17:
	movl	%r14d, (%rbx)
LBB0_18:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, (%rax)
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LINK_QUAL_MAX_RETRY_NUM,4,2    ## @LINK_QUAL_MAX_RETRY_NUM
	.no_dead_strip	_rs_fill_rates_for_column
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_fill_rates_for_column
_rs_fill_rates_for_column:              ; @rs_fill_rates_for_column
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x3, [sp, #24]                   ; 8-byte Folded Spill
	mov	x20, x2
	str	x1, [sp, #40]                   ; 8-byte Folded Spill
	ldr	w25, [x2]
	ldr	w23, [x4]
	cmp	w5, #1
	str	x4, [sp, #8]                    ; 8-byte Folded Spill
	b.lt	LBB0_17
; %bb.1:
Lloh0:
	adrp	x8, _LINK_QUAL_MAX_RETRY_NUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LINK_QUAL_MAX_RETRY_NUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ge	LBB0_17
; %bb.2:
	mov	x21, x7
	mov	x22, x6
	mov	x27, x5
	mov	x26, x0
	mov	w28, #0
	ldr	w19, [x29, #16]
	sxtw	x24, w8
	str	w5, [sp, #20]                   ; 4-byte Folded Spill
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	w22, #1
	b.lt	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w23, w24
	b.ge	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, #0
	sxtw	x8, w23
	str	x23, [sp, #32]                  ; 8-byte Folded Spill
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x23, x9, w23, sxtw #2
	add	x27, x8, #1
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x26
	mov	x1, x20
	bl	_ucode_rate_from_rs_rate
	bl	_cpu_to_le32
	str	w0, [x23, x25, lsl #2]
	cbz	w19, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x21
	mov	x1, x20
	bl	_rs_toggle_antenna
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x8, x25, #1
	cmp	w8, w22
	b.ge	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x9, x27, x25
	cmp	x9, x24
	mov	x25, x8
	b.lt	LBB0_6
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [sp, #32]                  ; 8-byte Folded Reload
	add	w23, w23, w8
	ldr	w27, [sp, #20]                  ; 4-byte Folded Reload
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x20]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x1, x20
	bl	_rs_get_lower_rate_in_column
	cbz	w0, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_is_legacy
	cbz	w0, LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	add	w28, w28, #1
	cmp	w28, w27
	b.ge	LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w23, w24
	b.lt	LBB0_3
	b	LBB0_19
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w28, w28, #1
	cmp	w28, w27
	b.ge	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w23, w24
	b.lt	LBB0_3
LBB0_17:
	mov	x0, x20
	bl	_is_legacy
	cbnz	w0, LBB0_19
; %bb.18:
	str	w25, [x20]
LBB0_19:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	w23, [x8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LINK_QUAL_MAX_RETRY_NUM,4,2    ; @LINK_QUAL_MAX_RETRY_NUM
	.no_dead_strip	_rs_fill_rates_for_column
.subsections_via_symbols
