	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_dbgfs_he_sniffer_params_write
_iwl_dbgfs_he_sniffer_params_write:     ## @iwl_dbgfs_he_sniffer_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	%rdi, -88(%rbp)
	movq	_HE_AIR_SNIFFER_CONFIG_CMD@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_DATA_PATH_GROUP@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	xorl	%edx, %edx
	callq	_iwl_cmd_id
	movl	%eax, -52(%rbp)
	movq	%rbx, %rdi
	callq	_iwl_mvm_firmware_running
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movl	$4, %r8d
	movl	$8, %r9d
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	pushq	$20
	pushq	$16
	pushq	$12
	callq	_sscanf
	addq	$32, %rsp
	cmpl	$7, %eax
	jne	LBB0_4
## %bb.5:
	movl	-44(%rbp), %edi
	callq	_cpu_to_le16
	movl	%eax, -72(%rbp)
	movl	-44(%rbp), %eax
	movl	%eax, -96(%rbp)
	movq	$0, -104(%rbp)
	movq	%rbx, %rdi
	callq	_mutex_lock
	leaq	4(%rbx), %r15
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	leaq	-52(%rbp), %r13
	movq	%r13, %rdi
	callq	_ARRAY_SIZE
	movq	_iwl_mvm_sniffer_apply@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	leaq	-48(%rbp), %rsi
	leaq	-104(%rbp), %r9
	movq	%r15, %rdi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_iwl_init_notification_wait
	movl	(%r12), %edi
	movl	(%r14), %esi
	xorl	%edx, %edx
	callq	_iwl_cmd_id
	leaq	-80(%rbp), %r8
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	movl	$16, %ecx
	callq	_iwl_mvm_send_cmd_pdu
	movl	%eax, %r13d
	movq	%r15, %rdi
	leaq	-48(%rbp), %rsi
	callq	_iwl_remove_notification
	movq	%rbx, %rdi
	callq	_mutex_unlock
	testl	%r13d, %r13d
	movslq	%r13d, %rax
	cmoveq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	jmp	LBB0_6
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subq	(%rcx), %rax
LBB0_6:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HE_AIR_SNIFFER_CONFIG_CMD,4,2  ## @HE_AIR_SNIFFER_CONFIG_CMD
	.comm	_DATA_PATH_GROUP,4,2            ## @DATA_PATH_GROUP
	.comm	_EIO,8,3                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%x %2hhx:%2hhx:%2hhx:%2hhx:%2hhx:%2hhx"

	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_iwl_mvm_sniffer_apply,4,2      ## @iwl_mvm_sniffer_apply
	.no_dead_strip	_iwl_dbgfs_he_sniffer_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_he_sniffer_params_write
_iwl_dbgfs_he_sniffer_params_write:     ; @iwl_dbgfs_he_sniffer_params_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	stp	xzr, xzr, [sp, #40]
	str	x0, [sp, #32]
Lloh0:
	adrp	x22, _HE_AIR_SNIFFER_CONFIG_CMD@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HE_AIR_SNIFFER_CONFIG_CMD@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x23, _DATA_PATH_GROUP@GOTPAGE
Lloh3:
	ldr	x23, [x23, _DATA_PATH_GROUP@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w2, #0
	bl	_iwl_cmd_id
	str	w0, [sp, #12]
	mov	x0, x20
	bl	_iwl_mvm_firmware_running
	cbz	w0, LBB0_3
; %bb.1:
	mov	w8, #20
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x0, x21
	mov	x3, #0
	mov	w4, #4
	mov	w5, #8
	mov	w6, #12
	mov	w7, #16
	bl	_sscanf
	cmp	w0, #7
	b.ne	LBB0_4
; %bb.2:
	ldr	w0, [sp, #8]
	bl	_cpu_to_le16
	str	w0, [sp, #48]
	ldr	w8, [sp, #8]
	str	w8, [sp, #24]
	str	xzr, [sp, #16]
	mov	x0, x20
	bl	_mutex_lock
	add	x21, x20, #4
	add	x0, sp, #12
	bl	_ARRAY_SIZE
	mov	x3, x0
Lloh6:
	adrp	x8, _iwl_mvm_sniffer_apply@GOTPAGE
Lloh7:
	ldr	x8, [x8, _iwl_mvm_sniffer_apply@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	add	x1, sp, #56
	add	x2, sp, #12
	add	x5, sp, #16
	mov	x0, x21
	bl	_iwl_init_notification_wait
	ldr	w0, [x22]
	ldr	w1, [x23]
	mov	w2, #0
	bl	_iwl_cmd_id
	mov	x1, x0
	add	x4, sp, #40
	mov	x0, x20
	mov	w2, #0
	mov	w3, #16
	bl	_iwl_mvm_send_cmd_pdu
	mov	x22, x0
	add	x1, sp, #56
	mov	x0, x21
	bl	_iwl_remove_notification
	mov	x0, x20
	bl	_mutex_unlock
	sxtw	x8, w22
	cmp	w22, #0
	csel	x0, x19, x8, eq
	b	LBB0_6
LBB0_3:
Lloh9:
	adrp	x8, _EIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	x8, [x8]
	neg	x0, x8
LBB0_6:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_HE_AIR_SNIFFER_CONFIG_CMD,4,2  ; @HE_AIR_SNIFFER_CONFIG_CMD
	.comm	_DATA_PATH_GROUP,4,2            ; @DATA_PATH_GROUP
	.comm	_EIO,8,3                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%x %2hhx:%2hhx:%2hhx:%2hhx:%2hhx:%2hhx"

	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_iwl_mvm_sniffer_apply,4,2      ; @iwl_mvm_sniffer_apply
	.no_dead_strip	_iwl_dbgfs_he_sniffer_params_write
.subsections_via_symbols
