	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_dbgfs_low_latency_write
_iwl_dbgfs_low_latency_write:           ## @iwl_dbgfs_low_latency_write
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	callq	_iwl_mvm_vif_from_mac80211
	movq	(%rax), %r15
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_kstrtou8
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	cmpl	$2, -36(%rbp)
	jl	LBB0_3
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_3:
	movq	%r15, %rdi
	callq	_mutex_lock
	movl	-36(%rbp), %edx
	movq	_LOW_LATENCY_DEBUGFS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_iwl_mvm_update_low_latency
	movq	%r15, %rdi
	callq	_mutex_unlock
	movl	%r14d, %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_LOW_LATENCY_DEBUGFS,4,2        ## @LOW_LATENCY_DEBUGFS
	.no_dead_strip	_iwl_dbgfs_low_latency_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_dbgfs_low_latency_write
_iwl_dbgfs_low_latency_write:           ; @iwl_dbgfs_low_latency_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x22, x1
	mov	x20, x0
	bl	_iwl_mvm_vif_from_mac80211
	ldr	x21, [x0]
	add	x2, sp, #12
	mov	x0, x22
	mov	w1, #0
	bl	_kstrtou8
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	w8, [sp, #12]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_3:
	mov	x0, x21
	bl	_mutex_lock
	ldr	w2, [sp, #12]
Lloh3:
	adrp	x8, _LOW_LATENCY_DEBUGFS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LOW_LATENCY_DEBUGFS@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_iwl_mvm_update_low_latency
	mov	x0, x21
	bl	_mutex_unlock
	mov	x0, x19
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_LOW_LATENCY_DEBUGFS,4,2        ; @LOW_LATENCY_DEBUGFS
	.no_dead_strip	_iwl_dbgfs_low_latency_write
.subsections_via_symbols
