	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_dbgfs_bf_params_write
_iwl_dbgfs_bf_params_write:             ## @iwl_dbgfs_bf_params_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	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	movl	$24, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.11:
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	movl	$17, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.16:
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	movl	$18, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_17
## %bb.21:
	leaq	L_.str.5(%rip), %rdi
	movq	%rbx, %rsi
	movl	$20, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_22
## %bb.26:
	leaq	L_.str.6(%rip), %rdi
	movq	%rbx, %rsi
	movl	$20, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_27
## %bb.31:
	leaq	L_.str.7(%rip), %rdi
	movq	%rbx, %rsi
	movl	$24, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_32
## %bb.35:
	leaq	L_.str.8(%rip), %rdi
	movq	%rbx, %rsi
	movl	$14, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_36
## %bb.39:
	leaq	L_.str.9(%rip), %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_40
## %bb.44:
	leaq	L_.str.10(%rip), %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_45
## %bb.49:
	leaq	L_.str.11(%rip), %rdi
	movq	%rbx, %rsi
	movl	$23, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_2
## %bb.50:
	addq	$23, %rbx
	leaq	L_.str.1(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.51:
	cmpl	$2, -36(%rbp)
	jae	LBB0_2
## %bb.52:
	movq	_MVM_DEBUGFS_BA_ENABLE_BEACON_ABORT@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_1:
	addq	$16, %rbx
	leaq	L_.str.1(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.3:
	movl	-36(%rbp), %eax
	movq	_IWL_BF_ENERGY_DELTA_MIN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_2
## %bb.4:
	movq	_IWL_BF_ENERGY_DELTA_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_2
## %bb.5:
	movq	_MVM_DEBUGFS_BF_ENERGY_DELTA@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_7:
	addq	$24, %rbx
	leaq	L_.str.1(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.8:
	movl	-36(%rbp), %eax
	movq	_IWL_BF_ROAMING_ENERGY_DELTA_MIN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_2
## %bb.9:
	movq	_IWL_BF_ROAMING_ENERGY_DELTA_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_2
## %bb.10:
	movq	_MVM_DEBUGFS_BF_ROAMING_ENERGY_DELTA@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_12:
	addq	$17, %rbx
	leaq	L_.str.1(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.13:
	movl	-36(%rbp), %eax
	movq	_IWL_BF_ROAMING_STATE_MIN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_2
## %bb.14:
	movq	_IWL_BF_ROAMING_STATE_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_2
## %bb.15:
	movq	_MVM_DEBUGFS_BF_ROAMING_STATE@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_17:
	addq	$18, %rbx
	leaq	L_.str.1(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.18:
	movl	-36(%rbp), %eax
	movq	_IWL_BF_TEMP_THRESHOLD_MIN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_2
## %bb.19:
	movq	_IWL_BF_TEMP_THRESHOLD_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_2
## %bb.20:
	movq	_MVM_DEBUGFS_BF_TEMP_THRESHOLD@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_22:
	addq	$20, %rbx
	leaq	L_.str.1(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.23:
	movl	-36(%rbp), %eax
	movq	_IWL_BF_TEMP_FAST_FILTER_MIN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_2
## %bb.24:
	movq	_IWL_BF_TEMP_FAST_FILTER_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_2
## %bb.25:
	movq	_MVM_DEBUGFS_BF_TEMP_FAST_FILTER@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_27:
	addq	$20, %rbx
	leaq	L_.str.1(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.28:
	movl	-36(%rbp), %eax
	movq	_IWL_BF_TEMP_SLOW_FILTER_MIN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_2
## %bb.29:
	movq	_IWL_BF_TEMP_SLOW_FILTER_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_2
## %bb.30:
	movq	_MVM_DEBUGFS_BF_TEMP_SLOW_FILTER@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_32:
	addq	$24, %rbx
	leaq	L_.str.1(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.33:
	cmpl	$2, -36(%rbp)
	jae	LBB0_2
## %bb.34:
	movq	_MVM_DEBUGFS_BF_ENABLE_BEACON_FILTER@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_36:
	addq	$14, %rbx
	leaq	L_.str.1(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.37:
	cmpl	$2, -36(%rbp)
	jae	LBB0_2
## %bb.38:
	movq	_MVM_DEBUGFS_BF_DEBUG_FLAG@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_40:
	addq	$16, %rbx
	leaq	L_.str.1(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.41:
	movl	-36(%rbp), %eax
	movq	_IWL_BF_ESCAPE_TIMER_MIN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_2
## %bb.42:
	movq	_IWL_BF_ESCAPE_TIMER_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_2
## %bb.43:
	movq	_MVM_DEBUGFS_BF_ESCAPE_TIMER@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_45:
	addq	$16, %rbx
	leaq	L_.str.1(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.46:
	movl	-36(%rbp), %eax
	movq	_IWL_BA_ESCAPE_TIMER_MIN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_2
## %bb.47:
	movq	_IWL_BA_ESCAPE_TIMER_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_2
## %bb.48:
	movq	_MVM_DEBUGFS_BA_ESCAPE_TIMER@GOTPCREL(%rip), %rax
LBB0_53:
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_mutex_lock
	movl	-36(%rbp), %edx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_iwl_dbgfs_update_bf
	movq	_MVM_DEBUGFS_BF_ENABLE_BEACON_FILTER@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_56
## %bb.54:
	cmpl	$0, -36(%rbp)
	jne	LBB0_56
## %bb.55:
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_iwl_mvm_disable_beacon_filter
	jmp	LBB0_57
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subq	(%rcx), %rax
	jmp	LBB0_58
LBB0_56:
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_iwl_mvm_enable_beacon_filter
LBB0_57:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	movslq	%ebx, %rax
	cmoveq	%r14, %rax
LBB0_58:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bf_energy_delta="

L_.str.1:                               ## @.str.1
	.asciz	"%d"

	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_IWL_BF_ENERGY_DELTA_MIN,4,2    ## @IWL_BF_ENERGY_DELTA_MIN
	.comm	_IWL_BF_ENERGY_DELTA_MAX,4,2    ## @IWL_BF_ENERGY_DELTA_MAX
	.comm	_MVM_DEBUGFS_BF_ENERGY_DELTA,4,2 ## @MVM_DEBUGFS_BF_ENERGY_DELTA
L_.str.2:                               ## @.str.2
	.asciz	"bf_roaming_energy_delta="

	.comm	_IWL_BF_ROAMING_ENERGY_DELTA_MIN,4,2 ## @IWL_BF_ROAMING_ENERGY_DELTA_MIN
	.comm	_IWL_BF_ROAMING_ENERGY_DELTA_MAX,4,2 ## @IWL_BF_ROAMING_ENERGY_DELTA_MAX
	.comm	_MVM_DEBUGFS_BF_ROAMING_ENERGY_DELTA,4,2 ## @MVM_DEBUGFS_BF_ROAMING_ENERGY_DELTA
L_.str.3:                               ## @.str.3
	.asciz	"bf_roaming_state="

	.comm	_IWL_BF_ROAMING_STATE_MIN,4,2   ## @IWL_BF_ROAMING_STATE_MIN
	.comm	_IWL_BF_ROAMING_STATE_MAX,4,2   ## @IWL_BF_ROAMING_STATE_MAX
	.comm	_MVM_DEBUGFS_BF_ROAMING_STATE,4,2 ## @MVM_DEBUGFS_BF_ROAMING_STATE
L_.str.4:                               ## @.str.4
	.asciz	"bf_temp_threshold="

	.comm	_IWL_BF_TEMP_THRESHOLD_MIN,4,2  ## @IWL_BF_TEMP_THRESHOLD_MIN
	.comm	_IWL_BF_TEMP_THRESHOLD_MAX,4,2  ## @IWL_BF_TEMP_THRESHOLD_MAX
	.comm	_MVM_DEBUGFS_BF_TEMP_THRESHOLD,4,2 ## @MVM_DEBUGFS_BF_TEMP_THRESHOLD
L_.str.5:                               ## @.str.5
	.asciz	"bf_temp_fast_filter="

	.comm	_IWL_BF_TEMP_FAST_FILTER_MIN,4,2 ## @IWL_BF_TEMP_FAST_FILTER_MIN
	.comm	_IWL_BF_TEMP_FAST_FILTER_MAX,4,2 ## @IWL_BF_TEMP_FAST_FILTER_MAX
	.comm	_MVM_DEBUGFS_BF_TEMP_FAST_FILTER,4,2 ## @MVM_DEBUGFS_BF_TEMP_FAST_FILTER
L_.str.6:                               ## @.str.6
	.asciz	"bf_temp_slow_filter="

	.comm	_IWL_BF_TEMP_SLOW_FILTER_MIN,4,2 ## @IWL_BF_TEMP_SLOW_FILTER_MIN
	.comm	_IWL_BF_TEMP_SLOW_FILTER_MAX,4,2 ## @IWL_BF_TEMP_SLOW_FILTER_MAX
	.comm	_MVM_DEBUGFS_BF_TEMP_SLOW_FILTER,4,2 ## @MVM_DEBUGFS_BF_TEMP_SLOW_FILTER
L_.str.7:                               ## @.str.7
	.asciz	"bf_enable_beacon_filter="

	.comm	_MVM_DEBUGFS_BF_ENABLE_BEACON_FILTER,4,2 ## @MVM_DEBUGFS_BF_ENABLE_BEACON_FILTER
L_.str.8:                               ## @.str.8
	.asciz	"bf_debug_flag="

	.comm	_MVM_DEBUGFS_BF_DEBUG_FLAG,4,2  ## @MVM_DEBUGFS_BF_DEBUG_FLAG
L_.str.9:                               ## @.str.9
	.asciz	"bf_escape_timer="

	.comm	_IWL_BF_ESCAPE_TIMER_MIN,4,2    ## @IWL_BF_ESCAPE_TIMER_MIN
	.comm	_IWL_BF_ESCAPE_TIMER_MAX,4,2    ## @IWL_BF_ESCAPE_TIMER_MAX
	.comm	_MVM_DEBUGFS_BF_ESCAPE_TIMER,4,2 ## @MVM_DEBUGFS_BF_ESCAPE_TIMER
L_.str.10:                              ## @.str.10
	.asciz	"ba_escape_timer="

	.comm	_IWL_BA_ESCAPE_TIMER_MIN,4,2    ## @IWL_BA_ESCAPE_TIMER_MIN
	.comm	_IWL_BA_ESCAPE_TIMER_MAX,4,2    ## @IWL_BA_ESCAPE_TIMER_MAX
	.comm	_MVM_DEBUGFS_BA_ESCAPE_TIMER,4,2 ## @MVM_DEBUGFS_BA_ESCAPE_TIMER
L_.str.11:                              ## @.str.11
	.asciz	"ba_enable_beacon_abort="

	.comm	_MVM_DEBUGFS_BA_ENABLE_BEACON_ABORT,4,2 ## @MVM_DEBUGFS_BA_ENABLE_BEACON_ABORT
	.no_dead_strip	_iwl_dbgfs_bf_params_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_bf_params_write
_iwl_dbgfs_bf_params_write:             ; @iwl_dbgfs_bf_params_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	x21, x0
	bl	_iwl_mvm_vif_from_mac80211
	ldr	x20, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	mov	w2, #16
	bl	_strncmp
	cbz	w0, LBB0_14
; %bb.1:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x22
	mov	w2, #24
	bl	_strncmp
	cbz	w0, LBB0_17
; %bb.2:
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x22
	mov	w2, #17
	bl	_strncmp
	cbz	w0, LBB0_20
; %bb.3:
Lloh6:
	adrp	x0, l_.str.4@PAGE
Lloh7:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x22
	mov	w2, #18
	bl	_strncmp
	cbz	w0, LBB0_23
; %bb.4:
Lloh8:
	adrp	x0, l_.str.5@PAGE
Lloh9:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x22
	mov	w2, #20
	bl	_strncmp
	cbz	w0, LBB0_27
; %bb.5:
Lloh10:
	adrp	x0, l_.str.6@PAGE
Lloh11:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x22
	mov	w2, #20
	bl	_strncmp
	cbz	w0, LBB0_31
; %bb.6:
Lloh12:
	adrp	x0, l_.str.7@PAGE
Lloh13:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x22
	mov	w2, #24
	bl	_strncmp
	cbz	w0, LBB0_35
; %bb.7:
Lloh14:
	adrp	x0, l_.str.8@PAGE
Lloh15:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, x22
	mov	w2, #14
	bl	_strncmp
	cbz	w0, LBB0_38
; %bb.8:
Lloh16:
	adrp	x0, l_.str.9@PAGE
Lloh17:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x1, x22
	mov	w2, #16
	bl	_strncmp
	cbz	w0, LBB0_41
; %bb.9:
Lloh18:
	adrp	x0, l_.str.10@PAGE
Lloh19:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	x1, x22
	mov	w2, #16
	bl	_strncmp
	cbz	w0, LBB0_45
; %bb.10:
Lloh20:
	adrp	x0, l_.str.11@PAGE
Lloh21:
	add	x0, x0, l_.str.11@PAGEOFF
	mov	x1, x22
	mov	w2, #23
	bl	_strncmp
	cbnz	w0, LBB0_51
; %bb.11:
	add	x0, x22, #23
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_51
; %bb.12:
	ldr	w8, [sp, #12]
	cmp	w8, #2
	b.hs	LBB0_51
; %bb.13:
Lloh24:
	adrp	x8, _MVM_DEBUGFS_BA_ENABLE_BEACON_ABORT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MVM_DEBUGFS_BA_ENABLE_BEACON_ABORT@GOTPAGEOFF]
	b	LBB0_49
LBB0_14:
	add	x0, x22, #16
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_51
; %bb.15:
	ldr	w8, [sp, #12]
Lloh28:
	adrp	x9, _IWL_BF_ENERGY_DELTA_MIN@GOTPAGE
Lloh29:
	ldr	x9, [x9, _IWL_BF_ENERGY_DELTA_MIN@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
Lloh31:
	adrp	x10, _IWL_BF_ENERGY_DELTA_MAX@GOTPAGE
Lloh32:
	ldr	x10, [x10, _IWL_BF_ENERGY_DELTA_MAX@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #0, ge
	b.gt	LBB0_51
; %bb.16:
Lloh34:
	adrp	x8, _MVM_DEBUGFS_BF_ENERGY_DELTA@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MVM_DEBUGFS_BF_ENERGY_DELTA@GOTPAGEOFF]
	b	LBB0_49
LBB0_17:
	add	x0, x22, #24
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_51
; %bb.18:
	ldr	w8, [sp, #12]
Lloh38:
	adrp	x9, _IWL_BF_ROAMING_ENERGY_DELTA_MIN@GOTPAGE
Lloh39:
	ldr	x9, [x9, _IWL_BF_ROAMING_ENERGY_DELTA_MIN@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
Lloh41:
	adrp	x10, _IWL_BF_ROAMING_ENERGY_DELTA_MAX@GOTPAGE
Lloh42:
	ldr	x10, [x10, _IWL_BF_ROAMING_ENERGY_DELTA_MAX@GOTPAGEOFF]
Lloh43:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #0, ge
	b.gt	LBB0_51
; %bb.19:
Lloh44:
	adrp	x8, _MVM_DEBUGFS_BF_ROAMING_ENERGY_DELTA@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MVM_DEBUGFS_BF_ROAMING_ENERGY_DELTA@GOTPAGEOFF]
	b	LBB0_49
LBB0_20:
	add	x0, x22, #17
Lloh46:
	adrp	x1, l_.str.1@PAGE
Lloh47:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_51
; %bb.21:
	ldr	w8, [sp, #12]
Lloh48:
	adrp	x9, _IWL_BF_ROAMING_STATE_MIN@GOTPAGE
Lloh49:
	ldr	x9, [x9, _IWL_BF_ROAMING_STATE_MIN@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
Lloh51:
	adrp	x10, _IWL_BF_ROAMING_STATE_MAX@GOTPAGE
Lloh52:
	ldr	x10, [x10, _IWL_BF_ROAMING_STATE_MAX@GOTPAGEOFF]
Lloh53:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #0, ge
	b.gt	LBB0_51
; %bb.22:
Lloh54:
	adrp	x8, _MVM_DEBUGFS_BF_ROAMING_STATE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _MVM_DEBUGFS_BF_ROAMING_STATE@GOTPAGEOFF]
	b	LBB0_49
LBB0_23:
	add	x0, x22, #18
Lloh56:
	adrp	x1, l_.str.1@PAGE
Lloh57:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_51
; %bb.24:
	ldr	w8, [sp, #12]
Lloh58:
	adrp	x9, _IWL_BF_TEMP_THRESHOLD_MIN@GOTPAGE
Lloh59:
	ldr	x9, [x9, _IWL_BF_TEMP_THRESHOLD_MIN@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_51
; %bb.25:
Lloh61:
	adrp	x9, _IWL_BF_TEMP_THRESHOLD_MAX@GOTPAGE
Lloh62:
	ldr	x9, [x9, _IWL_BF_TEMP_THRESHOLD_MAX@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_51
; %bb.26:
Lloh64:
	adrp	x8, _MVM_DEBUGFS_BF_TEMP_THRESHOLD@GOTPAGE
Lloh65:
	ldr	x8, [x8, _MVM_DEBUGFS_BF_TEMP_THRESHOLD@GOTPAGEOFF]
	b	LBB0_49
LBB0_27:
	add	x0, x22, #20
Lloh66:
	adrp	x1, l_.str.1@PAGE
Lloh67:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_51
; %bb.28:
	ldr	w8, [sp, #12]
Lloh68:
	adrp	x9, _IWL_BF_TEMP_FAST_FILTER_MIN@GOTPAGE
Lloh69:
	ldr	x9, [x9, _IWL_BF_TEMP_FAST_FILTER_MIN@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_51
; %bb.29:
Lloh71:
	adrp	x9, _IWL_BF_TEMP_FAST_FILTER_MAX@GOTPAGE
Lloh72:
	ldr	x9, [x9, _IWL_BF_TEMP_FAST_FILTER_MAX@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_51
; %bb.30:
Lloh74:
	adrp	x8, _MVM_DEBUGFS_BF_TEMP_FAST_FILTER@GOTPAGE
Lloh75:
	ldr	x8, [x8, _MVM_DEBUGFS_BF_TEMP_FAST_FILTER@GOTPAGEOFF]
	b	LBB0_49
LBB0_31:
	add	x0, x22, #20
Lloh76:
	adrp	x1, l_.str.1@PAGE
Lloh77:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_51
; %bb.32:
	ldr	w8, [sp, #12]
Lloh78:
	adrp	x9, _IWL_BF_TEMP_SLOW_FILTER_MIN@GOTPAGE
Lloh79:
	ldr	x9, [x9, _IWL_BF_TEMP_SLOW_FILTER_MIN@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_51
; %bb.33:
Lloh81:
	adrp	x9, _IWL_BF_TEMP_SLOW_FILTER_MAX@GOTPAGE
Lloh82:
	ldr	x9, [x9, _IWL_BF_TEMP_SLOW_FILTER_MAX@GOTPAGEOFF]
Lloh83:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_51
; %bb.34:
Lloh84:
	adrp	x8, _MVM_DEBUGFS_BF_TEMP_SLOW_FILTER@GOTPAGE
Lloh85:
	ldr	x8, [x8, _MVM_DEBUGFS_BF_TEMP_SLOW_FILTER@GOTPAGEOFF]
	b	LBB0_49
LBB0_35:
	add	x0, x22, #24
Lloh86:
	adrp	x1, l_.str.1@PAGE
Lloh87:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_51
; %bb.36:
	ldr	w8, [sp, #12]
	cmp	w8, #2
	b.hs	LBB0_51
; %bb.37:
Lloh88:
	adrp	x8, _MVM_DEBUGFS_BF_ENABLE_BEACON_FILTER@GOTPAGE
Lloh89:
	ldr	x8, [x8, _MVM_DEBUGFS_BF_ENABLE_BEACON_FILTER@GOTPAGEOFF]
	b	LBB0_49
LBB0_38:
	add	x0, x22, #14
Lloh90:
	adrp	x1, l_.str.1@PAGE
Lloh91:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_51
; %bb.39:
	ldr	w8, [sp, #12]
	cmp	w8, #2
	b.hs	LBB0_51
; %bb.40:
Lloh92:
	adrp	x8, _MVM_DEBUGFS_BF_DEBUG_FLAG@GOTPAGE
Lloh93:
	ldr	x8, [x8, _MVM_DEBUGFS_BF_DEBUG_FLAG@GOTPAGEOFF]
	b	LBB0_49
LBB0_41:
	add	x0, x22, #16
Lloh94:
	adrp	x1, l_.str.1@PAGE
Lloh95:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_51
; %bb.42:
	ldr	w8, [sp, #12]
Lloh96:
	adrp	x9, _IWL_BF_ESCAPE_TIMER_MIN@GOTPAGE
Lloh97:
	ldr	x9, [x9, _IWL_BF_ESCAPE_TIMER_MIN@GOTPAGEOFF]
Lloh98:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_51
; %bb.43:
Lloh99:
	adrp	x9, _IWL_BF_ESCAPE_TIMER_MAX@GOTPAGE
Lloh100:
	ldr	x9, [x9, _IWL_BF_ESCAPE_TIMER_MAX@GOTPAGEOFF]
Lloh101:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_51
; %bb.44:
Lloh102:
	adrp	x8, _MVM_DEBUGFS_BF_ESCAPE_TIMER@GOTPAGE
Lloh103:
	ldr	x8, [x8, _MVM_DEBUGFS_BF_ESCAPE_TIMER@GOTPAGEOFF]
	b	LBB0_49
LBB0_45:
	add	x0, x22, #16
Lloh104:
	adrp	x1, l_.str.1@PAGE
Lloh105:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_51
; %bb.46:
	ldr	w8, [sp, #12]
Lloh106:
	adrp	x9, _IWL_BA_ESCAPE_TIMER_MIN@GOTPAGE
Lloh107:
	ldr	x9, [x9, _IWL_BA_ESCAPE_TIMER_MIN@GOTPAGEOFF]
Lloh108:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_51
; %bb.47:
Lloh109:
	adrp	x9, _IWL_BA_ESCAPE_TIMER_MAX@GOTPAGE
Lloh110:
	ldr	x9, [x9, _IWL_BA_ESCAPE_TIMER_MAX@GOTPAGEOFF]
Lloh111:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_51
; %bb.48:
Lloh112:
	adrp	x8, _MVM_DEBUGFS_BA_ESCAPE_TIMER@GOTPAGE
Lloh113:
	ldr	x8, [x8, _MVM_DEBUGFS_BA_ESCAPE_TIMER@GOTPAGEOFF]
LBB0_49:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_mutex_lock
	ldr	w2, [sp, #12]
	mov	x0, x21
	mov	x1, x22
	bl	_iwl_dbgfs_update_bf
Lloh114:
	adrp	x8, _MVM_DEBUGFS_BF_ENABLE_BEACON_FILTER@GOTPAGE
Lloh115:
	ldr	x8, [x8, _MVM_DEBUGFS_BF_ENABLE_BEACON_FILTER@GOTPAGEOFF]
Lloh116:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	cmp	w22, w8
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	ccmp	w9, #0, #0, eq
	b.eq	LBB0_52
; %bb.50:
	bl	_iwl_mvm_enable_beacon_filter
	b	LBB0_53
LBB0_51:
Lloh117:
	adrp	x8, _EINVAL@GOTPAGE
Lloh118:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh119:
	ldr	x8, [x8]
	neg	x0, x8
	b	LBB0_54
LBB0_52:
	bl	_iwl_mvm_disable_beacon_filter
LBB0_53:
	mov	x21, x0
	mov	x0, x20
	bl	_mutex_unlock
	sxtw	x8, w21
	cmp	w21, #0
	csel	x0, x19, x8, eq
LBB0_54:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh102, Lloh103
	.loh AdrpAdd	Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGot	Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bf_energy_delta="

l_.str.1:                               ; @.str.1
	.asciz	"%d"

	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_IWL_BF_ENERGY_DELTA_MIN,4,2    ; @IWL_BF_ENERGY_DELTA_MIN
	.comm	_IWL_BF_ENERGY_DELTA_MAX,4,2    ; @IWL_BF_ENERGY_DELTA_MAX
	.comm	_MVM_DEBUGFS_BF_ENERGY_DELTA,4,2 ; @MVM_DEBUGFS_BF_ENERGY_DELTA
l_.str.2:                               ; @.str.2
	.asciz	"bf_roaming_energy_delta="

	.comm	_IWL_BF_ROAMING_ENERGY_DELTA_MIN,4,2 ; @IWL_BF_ROAMING_ENERGY_DELTA_MIN
	.comm	_IWL_BF_ROAMING_ENERGY_DELTA_MAX,4,2 ; @IWL_BF_ROAMING_ENERGY_DELTA_MAX
	.comm	_MVM_DEBUGFS_BF_ROAMING_ENERGY_DELTA,4,2 ; @MVM_DEBUGFS_BF_ROAMING_ENERGY_DELTA
l_.str.3:                               ; @.str.3
	.asciz	"bf_roaming_state="

	.comm	_IWL_BF_ROAMING_STATE_MIN,4,2   ; @IWL_BF_ROAMING_STATE_MIN
	.comm	_IWL_BF_ROAMING_STATE_MAX,4,2   ; @IWL_BF_ROAMING_STATE_MAX
	.comm	_MVM_DEBUGFS_BF_ROAMING_STATE,4,2 ; @MVM_DEBUGFS_BF_ROAMING_STATE
l_.str.4:                               ; @.str.4
	.asciz	"bf_temp_threshold="

	.comm	_IWL_BF_TEMP_THRESHOLD_MIN,4,2  ; @IWL_BF_TEMP_THRESHOLD_MIN
	.comm	_IWL_BF_TEMP_THRESHOLD_MAX,4,2  ; @IWL_BF_TEMP_THRESHOLD_MAX
	.comm	_MVM_DEBUGFS_BF_TEMP_THRESHOLD,4,2 ; @MVM_DEBUGFS_BF_TEMP_THRESHOLD
l_.str.5:                               ; @.str.5
	.asciz	"bf_temp_fast_filter="

	.comm	_IWL_BF_TEMP_FAST_FILTER_MIN,4,2 ; @IWL_BF_TEMP_FAST_FILTER_MIN
	.comm	_IWL_BF_TEMP_FAST_FILTER_MAX,4,2 ; @IWL_BF_TEMP_FAST_FILTER_MAX
	.comm	_MVM_DEBUGFS_BF_TEMP_FAST_FILTER,4,2 ; @MVM_DEBUGFS_BF_TEMP_FAST_FILTER
l_.str.6:                               ; @.str.6
	.asciz	"bf_temp_slow_filter="

	.comm	_IWL_BF_TEMP_SLOW_FILTER_MIN,4,2 ; @IWL_BF_TEMP_SLOW_FILTER_MIN
	.comm	_IWL_BF_TEMP_SLOW_FILTER_MAX,4,2 ; @IWL_BF_TEMP_SLOW_FILTER_MAX
	.comm	_MVM_DEBUGFS_BF_TEMP_SLOW_FILTER,4,2 ; @MVM_DEBUGFS_BF_TEMP_SLOW_FILTER
l_.str.7:                               ; @.str.7
	.asciz	"bf_enable_beacon_filter="

	.comm	_MVM_DEBUGFS_BF_ENABLE_BEACON_FILTER,4,2 ; @MVM_DEBUGFS_BF_ENABLE_BEACON_FILTER
l_.str.8:                               ; @.str.8
	.asciz	"bf_debug_flag="

	.comm	_MVM_DEBUGFS_BF_DEBUG_FLAG,4,2  ; @MVM_DEBUGFS_BF_DEBUG_FLAG
l_.str.9:                               ; @.str.9
	.asciz	"bf_escape_timer="

	.comm	_IWL_BF_ESCAPE_TIMER_MIN,4,2    ; @IWL_BF_ESCAPE_TIMER_MIN
	.comm	_IWL_BF_ESCAPE_TIMER_MAX,4,2    ; @IWL_BF_ESCAPE_TIMER_MAX
	.comm	_MVM_DEBUGFS_BF_ESCAPE_TIMER,4,2 ; @MVM_DEBUGFS_BF_ESCAPE_TIMER
l_.str.10:                              ; @.str.10
	.asciz	"ba_escape_timer="

	.comm	_IWL_BA_ESCAPE_TIMER_MIN,4,2    ; @IWL_BA_ESCAPE_TIMER_MIN
	.comm	_IWL_BA_ESCAPE_TIMER_MAX,4,2    ; @IWL_BA_ESCAPE_TIMER_MAX
	.comm	_MVM_DEBUGFS_BA_ESCAPE_TIMER,4,2 ; @MVM_DEBUGFS_BA_ESCAPE_TIMER
l_.str.11:                              ; @.str.11
	.asciz	"ba_enable_beacon_abort="

	.comm	_MVM_DEBUGFS_BA_ENABLE_BEACON_ABORT,4,2 ; @MVM_DEBUGFS_BA_ENABLE_BEACON_ABORT
	.no_dead_strip	_iwl_dbgfs_bf_params_write
.subsections_via_symbols
