	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_drv_tx_protection
_rs_drv_tx_protection:                  ## @rs_drv_tx_protection
	.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
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	8(%rsi), %r14
	callq	_lockdep_assert_held
	movq	(%rbx), %rax
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.1:
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_LQ_FLAG_USE_RTS_MSK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r14)
LBB0_3:
	incq	%rax
	movq	%rax, (%rbx)
	jmp	LBB0_6
LBB0_4:
	decq	%rax
	movq	%rax, (%rbx)
	jne	LBB0_6
## %bb.5:
	movq	_LQ_FLAG_USE_RTS_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r14)
LBB0_6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iwl_mvm_send_lq_cmd            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LQ_FLAG_USE_RTS_MSK,4,2        ## @LQ_FLAG_USE_RTS_MSK
	.no_dead_strip	_rs_drv_tx_protection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_drv_tx_protection
_rs_drv_tx_protection:                  ; @rs_drv_tx_protection
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_lockdep_assert_held
	mov	x1, x20
	ldr	x8, [x1], #8
	cbz	w21, LBB0_4
; %bb.1:
	cbnz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x9, _LQ_FLAG_USE_RTS_MSK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LQ_FLAG_USE_RTS_MSK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	w10, [x1]
	orr	w9, w10, w9
	str	w9, [x1]
LBB0_3:
	add	x8, x8, #1
	str	x8, [x20]
	b	LBB0_6
LBB0_4:
	subs	x8, x8, #1
	str	x8, [x20]
	b.ne	LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, _LQ_FLAG_USE_RTS_MSK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LQ_FLAG_USE_RTS_MSK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x1]
	bic	w8, w9, w8
	str	w8, [x1]
LBB0_6:
	mov	x0, x19
	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	_iwl_mvm_send_lq_cmd
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LQ_FLAG_USE_RTS_MSK,4,2        ; @LQ_FLAG_USE_RTS_MSK
	.no_dead_strip	_rs_drv_tx_protection
.subsections_via_symbols
