	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_htt_rx_sec_ind_handler
_ath10k_htt_rx_sec_ind_handler:         ## @ath10k_htt_rx_sec_ind_handler
	.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, %r15
	movq	%rdi, %r14
	callq	_spin_lock_bh
	movl	4(%r15), %edi
	callq	___le16_to_cpu
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ath10k_peer_find_by_id
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	(%r15), %edi
	movq	_HTT_SECURITY_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	movq	_HTT_SECURITY_IS_UNICAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	8(%rbx), %rcx
	andl	(%r15), %edx
	jne	LBB0_3
## %bb.4:
	movq	_HTT_TXRX_SEC_MCAST@GOTPCREL(%rip), %rdx
	jmp	LBB0_5
LBB0_1:
	movl	4(%r15), %edi
	callq	___le16_to_cpu
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ath10k_warn
	jmp	LBB0_6
LBB0_3:
	movq	_HTT_TXRX_SEC_UCAST@GOTPCREL(%rip), %rdx
LBB0_5:
	movl	(%rdx), %r15d
	movl	%eax, (%rcx,%r15,8)
	movl	%eax, %edi
	callq	_ath10k_htt_rx_pn_len
	movq	8(%rbx), %rcx
	movl	%eax, 4(%rcx,%r15,8)
	movl	4(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
LBB0_6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to find peer id %d for security indication"

	.comm	_HTT_SECURITY_TYPE,4,2          ## @HTT_SECURITY_TYPE
	.comm	_HTT_SECURITY_IS_UNICAST,4,2    ## @HTT_SECURITY_IS_UNICAST
	.comm	_HTT_TXRX_SEC_UCAST,4,2         ## @HTT_TXRX_SEC_UCAST
	.comm	_HTT_TXRX_SEC_MCAST,4,2         ## @HTT_TXRX_SEC_MCAST
	.no_dead_strip	_ath10k_htt_rx_sec_ind_handler
.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_sec_ind_handler
_ath10k_htt_rx_sec_ind_handler:         ; @ath10k_htt_rx_sec_ind_handler
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x1
	mov	x19, x0
	bl	_spin_lock_bh
	ldr	w0, [x21, #4]
	bl	___le16_to_cpu
	mov	x1, x0
	mov	x0, x19
	bl	_ath10k_peer_find_by_id
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	w0, [x21]
Lloh0:
	adrp	x8, _HTT_SECURITY_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HTT_SECURITY_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_MS
	ldr	w8, [x21]
Lloh3:
	adrp	x9, _HTT_SECURITY_IS_UNICAST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HTT_SECURITY_IS_UNICAST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _HTT_TXRX_SEC_MCAST@GOTPAGE
Lloh7:
	ldr	x10, [x10, _HTT_TXRX_SEC_MCAST@GOTPAGEOFF]
Lloh8:
	adrp	x11, _HTT_TXRX_SEC_UCAST@GOTPAGE
Lloh9:
	ldr	x11, [x11, _HTT_TXRX_SEC_UCAST@GOTPAGEOFF]
	ldr	x12, [x20, #8]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	lsl	x21, x8, #3
	str	w0, [x12, x21]
	bl	_ath10k_htt_rx_pn_len
	ldr	x8, [x20, #8]
	add	x8, x8, x21
	str	w0, [x8, #4]
	ldr	w0, [x20, #4]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x20]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	b	LBB0_3
LBB0_2:
	ldr	w0, [x21, #4]
	bl	___le16_to_cpu
	mov	x2, x0
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spin_unlock_bh
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to find peer id %d for security indication"

	.comm	_HTT_SECURITY_TYPE,4,2          ; @HTT_SECURITY_TYPE
	.comm	_HTT_SECURITY_IS_UNICAST,4,2    ; @HTT_SECURITY_IS_UNICAST
	.comm	_HTT_TXRX_SEC_UCAST,4,2         ; @HTT_TXRX_SEC_UCAST
	.comm	_HTT_TXRX_SEC_MCAST,4,2         ; @HTT_TXRX_SEC_MCAST
	.no_dead_strip	_ath10k_htt_rx_sec_ind_handler
.subsections_via_symbols
