	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_recalc_rtscts_prot
_ath10k_recalc_rtscts_prot:             ## @ath10k_recalc_rtscts_prot
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	16(%rdi), %r14
	leaq	8(%r14), %rdi
	callq	_lockdep_assert_held
	movq	(%r14), %rax
	movl	(%rax), %r15d
	movq	_WMI_RTSCTS_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_WMI_RTSCTS_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SM
	movl	%eax, %ebx
	cmpq	$0, (%r12)
	jle	LBB0_1
## %bb.2:
	movq	_WMI_RTSCTS_ACROSS_SW_RETRIES@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_WMI_RTSCTS_FOR_SECOND_RATESERIES@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	movq	_WMI_RTSCTS_PROFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SM
	orl	%eax, %ebx
	movq	_ATH10K_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r12), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %r8d
	callq	_ath10k_dbg
	movl	8(%r12), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath10k_wmi_vdev_set_param      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_RTSCTS_ENABLED,4,2         ## @WMI_RTSCTS_ENABLED
	.comm	_WMI_RTSCTS_SET,4,2             ## @WMI_RTSCTS_SET
	.comm	_WMI_RTSCTS_ACROSS_SW_RETRIES,4,2 ## @WMI_RTSCTS_ACROSS_SW_RETRIES
	.comm	_WMI_RTSCTS_PROFILE,4,2         ## @WMI_RTSCTS_PROFILE
	.comm	_WMI_RTSCTS_FOR_SECOND_RATESERIES,4,2 ## @WMI_RTSCTS_FOR_SECOND_RATESERIES
	.comm	_ATH10K_DBG_MAC,4,2             ## @ATH10K_DBG_MAC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac vdev %d recalc rts/cts prot %d\n"

	.no_dead_strip	_ath10k_recalc_rtscts_prot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_recalc_rtscts_prot
_ath10k_recalc_rtscts_prot:             ; @ath10k_recalc_rtscts_prot
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x20, [x0, #16]
	add	x0, x20, #8
	bl	_lockdep_assert_held
	ldr	x8, [x20]
	ldr	w21, [x8]
Lloh0:
	adrp	x8, _WMI_RTSCTS_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMI_RTSCTS_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _WMI_RTSCTS_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WMI_RTSCTS_SET@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_SM
	mov	x22, x0
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _WMI_RTSCTS_ACROSS_SW_RETRIES@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WMI_RTSCTS_ACROSS_SW_RETRIES@GOTPAGEOFF]
Lloh8:
	adrp	x10, _WMI_RTSCTS_FOR_SECOND_RATESERIES@GOTPAGE
Lloh9:
	ldr	x10, [x10, _WMI_RTSCTS_FOR_SECOND_RATESERIES@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, gt
	ldr	w0, [x8]
Lloh10:
	adrp	x8, _WMI_RTSCTS_PROFILE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WMI_RTSCTS_PROFILE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_SM
	orr	w22, w0, w22
Lloh13:
	adrp	x8, _ATH10K_DBG_MAC@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ATH10K_DBG_MAC@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w3, [x19, #8]
Lloh16:
	adrp	x2, l_.str@PAGE
Lloh17:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x4, x22
	bl	_ath10k_dbg
	ldr	w1, [x19, #8]
	mov	x0, x20
	mov	x2, x21
	mov	x3, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ath10k_wmi_vdev_set_param
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_RTSCTS_ENABLED,4,2         ; @WMI_RTSCTS_ENABLED
	.comm	_WMI_RTSCTS_SET,4,2             ; @WMI_RTSCTS_SET
	.comm	_WMI_RTSCTS_ACROSS_SW_RETRIES,4,2 ; @WMI_RTSCTS_ACROSS_SW_RETRIES
	.comm	_WMI_RTSCTS_PROFILE,4,2         ; @WMI_RTSCTS_PROFILE
	.comm	_WMI_RTSCTS_FOR_SECOND_RATESERIES,4,2 ; @WMI_RTSCTS_FOR_SECOND_RATESERIES
	.comm	_ATH10K_DBG_MAC,4,2             ; @ATH10K_DBG_MAC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac vdev %d recalc rts/cts prot %d\n"

	.no_dead_strip	_ath10k_recalc_rtscts_prot
.subsections_via_symbols
