	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __rate_control_send_low
___rate_control_send_low:               ## @__rate_control_send_low
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	_IEEE80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_IEEE80211_TX_CTL_NO_CCK_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.3:
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_rate_lowest_non_cck_index
	jmp	LBB0_4
LBB0_2:
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_rate_lowest_index
LBB0_4:
	movq	16(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movq	_IEEE80211_TX_CTL_NO_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %eax
	testl	%edx, (%rbx)
	jne	LBB0_6
## %bb.5:
	movl	(%r14), %eax
LBB0_6:
	movl	%eax, (%rcx)
	movl	$1, 8(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_BAND_2GHZ,8,3        ## @IEEE80211_BAND_2GHZ
	.comm	_IEEE80211_TX_CTL_NO_CCK_RATE,4,2 ## @IEEE80211_TX_CTL_NO_CCK_RATE
	.comm	_IEEE80211_TX_CTL_NO_ACK,4,2    ## @IEEE80211_TX_CTL_NO_ACK
	.no_dead_strip	___rate_control_send_low
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __rate_control_send_low
___rate_control_send_low:               ; @__rate_control_send_low
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	mov	x20, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _IEEE80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _IEEE80211_TX_CTL_NO_CCK_RATE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_TX_CTL_NO_CCK_RATE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x1
	mov	x1, x2
	bl	_rate_lowest_non_cck_index
	b	LBB0_4
LBB0_3:
	mov	x0, x1
	mov	x1, x2
	bl	_rate_lowest_index
LBB0_4:
	ldr	x8, [x19, #16]
	str	w0, [x8, #4]
	ldr	w11, [x19]
Lloh6:
	adrp	x9, _IEEE80211_TX_CTL_NO_ACK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_TX_CTL_NO_ACK@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x9]
	mov	w9, #1
	mov	w10, #1
	tst	w12, w11
	b.ne	LBB0_6
; %bb.5:
	ldr	w10, [x20]
LBB0_6:
	str	w10, [x8]
	str	w9, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_BAND_2GHZ,8,3        ; @IEEE80211_BAND_2GHZ
	.comm	_IEEE80211_TX_CTL_NO_CCK_RATE,4,2 ; @IEEE80211_TX_CTL_NO_CCK_RATE
	.comm	_IEEE80211_TX_CTL_NO_ACK,4,2    ; @IEEE80211_TX_CTL_NO_ACK
	.no_dead_strip	___rate_control_send_low
.subsections_via_symbols
