	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_set_last_nonqos_seq    ## -- Begin function iwl_mvm_set_last_nonqos_seq
	.p2align	4, 0x90
_iwl_mvm_set_last_nonqos_seq:           ## @iwl_mvm_set_last_nonqos_seq
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_iwl_mvm_vif_from_mac80211
	movq	%rax, %rbx
	movl	4(%rax), %edi
	callq	_cpu_to_le16
	movl	%eax, -32(%rbp)
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	callq	_FW_CMD_ID_AND_COLOR
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, -28(%rbp)
	movq	_IWL_NONQOS_SEQ_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movl	%eax, -24(%rbp)
	cmpl	$0, (%rbx)
	je	LBB0_3
## %bb.1:
	movl	$0, (%rbx)
	movq	_NON_QOS_TX_COUNTER_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %r8
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$12, %ecx
	callq	_iwl_mvm_send_cmd_pdu
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_IWL_ERR
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_NONQOS_SEQ_SET,4,2         ## @IWL_NONQOS_SEQ_SET
	.comm	_NON_QOS_TX_COUNTER_CMD,4,2     ## @NON_QOS_TX_COUNTER_CMD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to set non-QoS seqno\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_set_last_nonqos_seq    ; -- Begin function iwl_mvm_set_last_nonqos_seq
	.p2align	2
_iwl_mvm_set_last_nonqos_seq:           ; @iwl_mvm_set_last_nonqos_seq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	mov	x0, x1
	bl	_iwl_mvm_vif_from_mac80211
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_cpu_to_le16
	str	w0, [sp]
	ldp	w1, w0, [x20, #8]
	bl	_FW_CMD_ID_AND_COLOR
	bl	_cpu_to_le32
	str	w0, [sp, #4]
Lloh0:
	adrp	x8, _IWL_NONQOS_SEQ_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_NONQOS_SEQ_SET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	w0, [sp, #8]
	ldr	w8, [x20]
	cbz	w8, LBB0_3
; %bb.1:
	str	wzr, [x20]
Lloh3:
	adrp	x8, _NON_QOS_TX_COUNTER_CMD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NON_QOS_TX_COUNTER_CMD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x4, sp
	mov	x0, x19
	mov	w2, #0
	mov	w3, #12
	bl	_iwl_mvm_send_cmd_pdu
	cbz	x0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_ERR
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_NONQOS_SEQ_SET,4,2         ; @IWL_NONQOS_SEQ_SET
	.comm	_NON_QOS_TX_COUNTER_CMD,4,2     ; @NON_QOS_TX_COUNTER_CMD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to set non-QoS seqno\n"

.subsections_via_symbols
