	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_htt_rx_h_peer_channel
_ath10k_htt_rx_h_peer_channel:          ## @ath10k_htt_rx_h_peer_channel
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_lockdep_assert_held
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	movl	8(%rbx), %r15d
	movq	_RX_ATTENTION_FLAGS_PEER_IDX_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___cpu_to_le32
	testl	%r15d, %eax
	je	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	4(%rbx), %r15d
	movq	_RX_MSDU_END_INFO0_FIRST_MSDU@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___cpu_to_le32
	testl	%r15d, %eax
	je	LBB0_3
## %bb.6:
	movl	(%rbx), %edi
	callq	___le32_to_cpu
	movq	_RX_MPDU_START_INFO0_PEER_IDX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_MS
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ath10k_peer_find_by_id
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ath10k_get_arvif
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_3
## %bb.11:
	movl	(%rbx), %edi
	leaq	-32(%rbp), %rsi
	callq	_ath10k_mac_vif_chan
	testq	%rax, %rax
	jne	LBB0_3
## %bb.13:
	movq	-32(%rbp), %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_ATTENTION_FLAGS_PEER_IDX_INVALID,4,2 ## @RX_ATTENTION_FLAGS_PEER_IDX_INVALID
	.comm	_RX_MSDU_END_INFO0_FIRST_MSDU,4,2 ## @RX_MSDU_END_INFO0_FIRST_MSDU
	.comm	_RX_MPDU_START_INFO0_PEER_IDX,4,2 ## @RX_MPDU_START_INFO0_PEER_IDX
	.no_dead_strip	_ath10k_htt_rx_h_peer_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_htt_rx_h_peer_channel
_ath10k_htt_rx_h_peer_channel:          ; @ath10k_htt_rx_h_peer_channel
	.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	x20, x1
	mov	x19, x0
	bl	_lockdep_assert_held
	cbz	x20, LBB0_2
; %bb.1:
	ldr	w21, [x20, #8]
Lloh0:
	adrp	x8, _RX_ATTENTION_FLAGS_PEER_IDX_INVALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RX_ATTENTION_FLAGS_PEER_IDX_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	___cpu_to_le32
	tst	w0, w21
	b.eq	LBB0_4
LBB0_2:
	mov	x0, #0
LBB0_3:
	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
LBB0_4:
	ldr	w21, [x20, #4]
Lloh3:
	adrp	x8, _RX_MSDU_END_INFO0_FIRST_MSDU@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RX_MSDU_END_INFO0_FIRST_MSDU@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	___cpu_to_le32
	tst	w0, w21
	b.eq	LBB0_2
; %bb.5:
	ldr	w0, [x20]
	bl	___le32_to_cpu
Lloh6:
	adrp	x8, _RX_MPDU_START_INFO0_PEER_IDX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RX_MPDU_START_INFO0_PEER_IDX@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_MS
	mov	x1, x0
	mov	x0, x19
	bl	_ath10k_peer_find_by_id
	cbz	x0, LBB0_3
; %bb.6:
	ldr	w1, [x0]
	mov	x0, x19
	bl	_ath10k_get_arvif
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_2
; %bb.7:
	ldr	w0, [x19]
	add	x1, sp, #8
	bl	_ath10k_mac_vif_chan
	cbnz	x0, LBB0_2
; %bb.8:
	ldr	x0, [sp, #8]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_ATTENTION_FLAGS_PEER_IDX_INVALID,4,2 ; @RX_ATTENTION_FLAGS_PEER_IDX_INVALID
	.comm	_RX_MSDU_END_INFO0_FIRST_MSDU,4,2 ; @RX_MSDU_END_INFO0_FIRST_MSDU
	.comm	_RX_MPDU_START_INFO0_PEER_IDX,4,2 ; @RX_MPDU_START_INFO0_PEER_IDX
	.no_dead_strip	_ath10k_htt_rx_h_peer_channel
.subsections_via_symbols
