	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_dbgfs_rx_phyinfo_write
_iwl_dbgfs_rx_phyinfo_write:            ## @iwl_dbgfs_rx_phyinfo_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_iwl_mvm_vif_from_mac80211
	movq	(%rax), %r12
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_kstrtou16
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	leaq	8(%r12), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	(%r13), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r13
	movq	16(%rax), %rax
	movq	(%rax), %rbx
	shlq	$2, %rbx
	addq	16(%r12), %rbx
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	-48(%rbp), %rax
	movq	%rax, (%r12)
	movq	%r13, %rdx
	addq	$8, %rdx
	movl	(%r13), %r8d
	movl	4(%r13), %ecx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_iwl_mvm_phy_ctxt_changed
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	cmovnel	%ebx, %r15d
	movl	%r15d, %ebx
	jmp	LBB0_4
LBB0_2:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_iwl_dbgfs_rx_phyinfo_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_rx_phyinfo_write
_iwl_dbgfs_rx_phyinfo_write:            ; @iwl_dbgfs_rx_phyinfo_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x0
	bl	_iwl_mvm_vif_from_mac80211
	ldr	x20, [x0]
	add	x2, sp, #8
	mov	x0, x21
	mov	w1, #0
	bl	_kstrtou16
	cbnz	w0, LBB0_4
; %bb.1:
	add	x21, x20, #8
	mov	x0, x21
	bl	_mutex_lock
	bl	_rcu_read_lock
	ldr	w0, [x22]
	bl	_rcu_dereference
	cbz	x0, LBB0_3
; %bb.2:
	mov	x22, x0
	ldr	x8, [x20, #16]
	ldr	x9, [x0, #16]
	ldr	x9, [x9]
	add	x23, x8, x9, lsl #2
	bl	_rcu_read_unlock
	ldr	x8, [sp, #8]
	str	x8, [x20]
	add	x2, x22, #8
	ldp	w4, w3, [x22]
	mov	x0, x20
	mov	x1, x23
	bl	_iwl_mvm_phy_ctxt_changed
	mov	x20, x0
	mov	x0, x21
	bl	_mutex_unlock
	cmp	w20, #0
	csel	w0, w19, w20, eq
	b	LBB0_4
LBB0_3:
	bl	_rcu_read_unlock
	mov	x0, x21
	bl	_mutex_unlock
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_iwl_dbgfs_rx_phyinfo_write
.subsections_via_symbols
