	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_send_cmd_status        ## -- Begin function iwl_mvm_send_cmd_status
	.p2align	4, 0x90
_iwl_mvm_send_cmd_status:               ## @iwl_mvm_send_cmd_status
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	addq	$8, %rdi
	callq	_lockdep_assert_held
	movl	(%r15), %edx
	movq	_CMD_ASYNC@GOTPCREL(%rip), %rax
	movq	_CMD_WANT_SKB@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	orl	(%rax), %edi
	andl	%edx, %edi
	leaq	L_.str(%rip), %rsi
	callq	_WARN_ONCE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_2:
	movl	(%r12), %eax
	orl	%eax, (%r15)
	movl	(%rbx), %edi
	movq	%r15, %rsi
	callq	_iwl_trans_send_cmd
	movq	_ERFKILL@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	je	LBB0_8
## %bb.3:
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	movq	8(%r15), %rbx
	movq	%rbx, %rdi
	callq	_iwl_rx_packet_payload_len
	xorl	%edi, %edi
	cmpl	$4, %eax
	setne	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_6:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movl	%eax, (%r14)
	xorl	%ebx, %ebx
LBB0_7:
	movq	%r15, %rdi
	callq	_iwl_free_resp
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_ASYNC,4,2                  ## @CMD_ASYNC
	.comm	_CMD_WANT_SKB,4,2               ## @CMD_WANT_SKB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmd flags %x"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ERFKILL,4,2                    ## @ERFKILL
	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_send_cmd_status        ; -- Begin function iwl_mvm_send_cmd_status
	.p2align	2
_iwl_mvm_send_cmd_status:               ; @iwl_mvm_send_cmd_status
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	add	x0, x0, #8
	bl	_lockdep_assert_held
	ldr	w2, [x19]
Lloh0:
	adrp	x8, _CMD_ASYNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_ASYNC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x22, _CMD_WANT_SKB@GOTPAGE
Lloh4:
	ldr	x22, [x22, _CMD_WANT_SKB@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w8, w9, w8
	and	w0, w8, w2
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WARN_ONCE
	cbz	x0, LBB0_2
; %bb.1:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_9
LBB0_2:
	ldr	w8, [x22]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w0, [x21]
	mov	x1, x19
	bl	_iwl_trans_send_cmd
Lloh10:
	adrp	x8, _ERFKILL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERFKILL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_4
; %bb.3:
	mov	w21, #0
	b	LBB0_9
LBB0_4:
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.5:
	ldr	x21, [x19, #8]
	mov	x0, x21
	bl	_iwl_rx_packet_payload_len
	cmp	w0, #4
	cset	w0, ne
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_7
; %bb.6:
Lloh13:
	adrp	x8, _EIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_8
LBB0_7:
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_le32_to_cpu
	mov	w21, #0
	str	w0, [x20]
LBB0_8:
	mov	x0, x19
	bl	_iwl_free_resp
LBB0_9:
	mov	x0, x21
	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
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_ASYNC,4,2                  ; @CMD_ASYNC
	.comm	_CMD_WANT_SKB,4,2               ; @CMD_WANT_SKB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmd flags %x"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ERFKILL,4,2                    ; @ERFKILL
	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
