	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_peer_map_event          ## -- Begin function ath10k_peer_map_event
	.p2align	4, 0x90
_ath10k_peer_map_event:                 ## @ath10k_peer_map_event
	.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	(%rdi), %r14
	movq	(%rsi), %rdx
	movq	_ATH10K_MAX_NUM_PEER_IDS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jae	LBB0_6
## %bb.1:
	movq	%rsi, %rbx
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	movq	%r14, %rdi
	callq	_ath10k_peer_find
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %r15
	movl	12(%rbx), %eax
	movl	%eax, 12(%r15)
	movl	8(%r15), %edi
	movl	8(%rbx), %esi
	callq	_ether_addr_copy
	movq	%r15, %rdi
	addq	$4, %rdi
	leaq	20(%r14), %rsi
	callq	_list_add
	leaq	16(%r14), %rdi
	callq	_wake_up
LBB0_4:
	movq	_ATH10K_DBG_HTT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%rbx), %ecx
	movl	8(%rbx), %r8d
	movq	(%rbx), %r9
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_ath10k_dbg
	movq	8(%r14), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	setne	%cl
	cmpq	%r15, %rax
	setne	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_WARN_ON
	movq	8(%r14), %rax
	movq	(%rbx), %rdi
	movq	%r15, (%rax,%rdi,8)
	movl	(%r15), %esi
	callq	_set_bit
LBB0_5:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ath10k_warn                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_MAX_NUM_PEER_IDS,8,3    ## @ATH10K_MAX_NUM_PEER_IDS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"received htt peer map event with idx out of bounds: %hu\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ATH10K_DBG_HTT,4,2             ## @ATH10K_DBG_HTT
L_.str.1:                               ## @.str.1
	.asciz	"htt peer map vdev %d peer %pM id %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_peer_map_event          ; -- Begin function ath10k_peer_map_event
	.p2align	2
_ath10k_peer_map_event:                 ; @ath10k_peer_map_event
	.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
	ldr	x19, [x0]
	ldr	x2, [x1]
Lloh0:
	adrp	x8, _ATH10K_MAX_NUM_PEER_IDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH10K_MAX_NUM_PEER_IDS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x2, x8
	b.hs	LBB0_6
; %bb.1:
	mov	x20, x1
	mov	x0, x19
	bl	_spin_lock_bh
	ldp	w2, w1, [x20, #8]
	mov	x0, x19
	bl	_ath10k_peer_find
	mov	x21, x0
	cbnz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, x0
	ldp	w1, w8, [x20, #8]
	str	w8, [x0, #12]
	ldr	w0, [x0, #8]
	bl	_ether_addr_copy
	add	x0, x21, #4
	add	x1, x19, #20
	bl	_list_add
	add	x0, x19, #16
	bl	_wake_up
LBB0_4:
Lloh6:
	adrp	x8, _ATH10K_DBG_HTT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATH10K_DBG_HTT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldp	w4, w3, [x20, #8]
	ldr	x5, [x20]
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ath10k_dbg
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	cmp	x8, #0
	ccmp	x8, x21, #4, ne
	cset	w0, ne
	bl	_WARN_ON
	ldr	x8, [x19, #8]
	ldr	x0, [x20]
	str	x21, [x8, x0, lsl #3]
	ldr	w1, [x21]
	bl	_set_bit
LBB0_5:
	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
LBB0_6:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	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	_ath10k_warn
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_MAX_NUM_PEER_IDS,8,3    ; @ATH10K_MAX_NUM_PEER_IDS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"received htt peer map event with idx out of bounds: %hu\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ATH10K_DBG_HTT,4,2             ; @ATH10K_DBG_HTT
l_.str.1:                               ; @.str.1
	.asciz	"htt peer map vdev %d peer %pM id %d\n"

.subsections_via_symbols
