	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_send_lq_cmd            ## -- Begin function iwl_mvm_send_lq_cmd
	.p2align	4, 0x90
_iwl_mvm_send_lq_cmd:                   ## @iwl_mvm_send_lq_cmd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	%esi, -24(%rbp)
	movq	_CMD_ASYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movl	$8, -16(%rbp)
	movq	_LQ_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	movq	(%rsi), %rax
	movq	_IWL_MVM_INVALID_STA@GOTPCREL(%rip), %rcx
	movl	$1, %edi
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_iwl_mvm_has_tlc_offload
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_2:
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_4:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_iwl_mvm_send_cmd
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_ASYNC,4,2                  ## @CMD_ASYNC
	.comm	_LQ_CMD,4,2                     ## @LQ_CMD
	.comm	_IWL_MVM_INVALID_STA,8,3        ## @IWL_MVM_INVALID_STA
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_send_lq_cmd            ; -- Begin function iwl_mvm_send_lq_cmd
	.p2align	2
_iwl_mvm_send_lq_cmd:                   ; @iwl_mvm_send_lq_cmd
	.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
Lloh0:
	adrp	x8, _CMD_ASYNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_ASYNC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w1, w8, [sp]
	mov	w8, #8
Lloh3:
	adrp	x9, _LQ_CMD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LQ_CMD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #8]
	ldr	x8, [x1]
Lloh6:
	adrp	x9, _IWL_MVM_INVALID_STA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IWL_MVM_INVALID_STA@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	w0, #1
	bl	_WARN_ON
	cbz	x0, LBB0_4
LBB0_2:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_iwl_mvm_has_tlc_offload
	cmp	x0, #0
	cset	w0, ne
	bl	_WARN_ON
	cbnz	x0, LBB0_2
LBB0_4:
	mov	x1, sp
	mov	x0, x19
	bl	_iwl_mvm_send_cmd
LBB0_5:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_ASYNC,4,2                  ; @CMD_ASYNC
	.comm	_LQ_CMD,4,2                     ; @LQ_CMD
	.comm	_IWL_MVM_INVALID_STA,8,3        ; @IWL_MVM_INVALID_STA
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
