	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_send_low_latency_cmd   ## -- Begin function iwl_mvm_send_low_latency_cmd
	.p2align	4, 0x90
_iwl_mvm_send_low_latency_cmd:          ## @iwl_mvm_send_low_latency_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	$0, -32(%rbp)
	movl	%edx, %edi
	callq	_cpu_to_le32
	movl	%eax, -24(%rbp)
	movq	(%rbx), %rdi
	movq	_IWL_UCODE_TLV_CAPA_DYNAMIC_QUOTA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_fw_has_capa
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.2:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -32(%rbp)
LBB0_3:
	movq	_LOW_LATENCY_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MAC_CONF_GROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_iwl_cmd_id
	leaq	-32(%rbp), %r8
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	movl	$12, %ecx
	callq	_iwl_mvm_send_cmd_pdu
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_IWL_ERR
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_UCODE_TLV_CAPA_DYNAMIC_QUOTA,4,2 ## @IWL_UCODE_TLV_CAPA_DYNAMIC_QUOTA
	.comm	_LOW_LATENCY_CMD,4,2            ## @LOW_LATENCY_CMD
	.comm	_MAC_CONF_GROUP,4,2             ## @MAC_CONF_GROUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to send low latency command\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_send_low_latency_cmd   ; -- Begin function iwl_mvm_send_low_latency_cmd
	.p2align	2
_iwl_mvm_send_low_latency_cmd:          ; @iwl_mvm_send_low_latency_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	x20, x1
	mov	x19, x0
	str	xzr, [sp]
	mov	x0, x2
	bl	_cpu_to_le32
	str	w0, [sp, #8]
	ldr	x0, [x19]
Lloh0:
	adrp	x8, _IWL_UCODE_TLV_CAPA_DYNAMIC_QUOTA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_UCODE_TLV_CAPA_DYNAMIC_QUOTA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_fw_has_capa
	cbz	w0, LBB0_5
; %bb.1:
	cbz	w20, LBB0_3
; %bb.2:
	movi.2s	v0, #1
	str	d0, [sp]
LBB0_3:
Lloh3:
	adrp	x8, _LOW_LATENCY_CMD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LOW_LATENCY_CMD@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _MAC_CONF_GROUP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAC_CONF_GROUP@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_iwl_cmd_id
	mov	x1, x0
	mov	x4, sp
	mov	x0, x19
	mov	w2, #0
	mov	w3, #12
	bl	_iwl_mvm_send_cmd_pdu
	cbz	x0, LBB0_5
; %bb.4:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_ERR
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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_UCODE_TLV_CAPA_DYNAMIC_QUOTA,4,2 ; @IWL_UCODE_TLV_CAPA_DYNAMIC_QUOTA
	.comm	_LOW_LATENCY_CMD,4,2            ; @LOW_LATENCY_CMD
	.comm	_MAC_CONF_GROUP,4,2             ; @MAC_CONF_GROUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to send low latency command\n"

.subsections_via_symbols
