	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_add_meshpeer         ## -- Begin function ieee80211_add_meshpeer
	.p2align	4, 0x90
_ieee80211_add_meshpeer:                ## @ieee80211_add_meshpeer
	.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	%r8, %r12
	movq	%rcx, %r15
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r13
	xorl	%edi, %edi
	testq	%rdx, %rdx
	setne	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movq	_IEEE80211_ELEMID_MESHPEER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	cmpl	$130, %ebx
	je	LBB0_6
## %bb.1:
	cmpl	$129, %ebx
	je	LBB0_5
## %bb.2:
	cmpl	$128, %ebx
	jne	LBB0_3
## %bb.4:
	movq	_IEEE80211_MPM_BASE_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	addq	$8, %r13
	movq	_IEEE80211_MPPID_MPM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_ADDSHORT
	movq	%r13, %rdi
	movq	%r14, %rsi
	jmp	LBB0_12
LBB0_5:
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	leaq	L_.str.1(%rip), %rsi
	callq	_KASSERT
	movq	_IEEE80211_MPM_BASE_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$2, %eax
	movl	%eax, 4(%r13)
	addq	$8, %r13
	movq	_IEEE80211_MPPID_MPM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_ADDSHORT
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_ADDSHORT
	movq	%r13, %rdi
	movq	%r15, %rsi
	jmp	LBB0_12
LBB0_6:
	testq	%r15, %r15
	je	LBB0_7
## %bb.8:
	movq	_IEEE80211_MPM_MAX_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_3:
	addq	$4, %r13
	jmp	LBB0_13
LBB0_7:
	movq	_IEEE80211_MPM_BASE_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$2, %eax
LBB0_9:
	movl	%eax, 4(%r13)
	addq	$8, %r13
	movq	_IEEE80211_MPPID_MPM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_ADDSHORT
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_ADDSHORT
	testq	%r15, %r15
	je	LBB0_11
## %bb.10:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_ADDSHORT
LBB0_11:
	movq	%r13, %rdi
	movq	%r12, %rsi
LBB0_12:
	callq	_ADDSHORT
LBB0_13:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"localid == 0"

	.comm	_IEEE80211_ELEMID_MESHPEER,4,2  ## @IEEE80211_ELEMID_MESHPEER
	.comm	_IEEE80211_MPM_BASE_SZ,4,2      ## @IEEE80211_MPM_BASE_SZ
	.comm	_IEEE80211_MPPID_MPM,8,3        ## @IEEE80211_MPPID_MPM
L_.str.1:                               ## @.str.1
	.asciz	"sending peer confirm without peer id"

	.comm	_IEEE80211_MPM_MAX_SZ,4,2       ## @IEEE80211_MPM_MAX_SZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_add_meshpeer         ; -- Begin function ieee80211_add_meshpeer
	.p2align	2
_ieee80211_add_meshpeer:                ; @ieee80211_add_meshpeer
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x4
	mov	x21, x3
	mov	x19, x2
	mov	x24, x1
	mov	x22, x0
	cmp	x2, #0
	cset	w0, ne
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
Lloh2:
	adrp	x8, _IEEE80211_ELEMID_MESHPEER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IEEE80211_ELEMID_MESHPEER@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	x20, x22
	str	w8, [x20], #4
	cmp	w24, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w24, #129
	b.eq	LBB0_7
; %bb.2:
	cmp	w24, #128
	b.ne	LBB0_9
; %bb.3:
Lloh5:
	adrp	x8, _IEEE80211_MPM_BASE_SZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IEEE80211_MPM_BASE_SZ@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	add	x20, x22, #8
	str	w8, [x22, #4]
Lloh8:
	adrp	x8, _IEEE80211_MPPID_MPM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IEEE80211_MPPID_MPM@GOTPAGEOFF]
Lloh10:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_ADDSHORT
	mov	x0, x20
	mov	x1, x19
	b	LBB0_8
LBB0_4:
Lloh11:
	adrp	x8, _IEEE80211_MPM_BASE_SZ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IEEE80211_MPM_BASE_SZ@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	add	w8, w8, #2
Lloh14:
	adrp	x9, _IEEE80211_MPM_MAX_SZ@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IEEE80211_MPM_MAX_SZ@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	x21, #0
	csel	w8, w8, w9, eq
	add	x20, x22, #8
	str	w8, [x22, #4]
Lloh17:
	adrp	x8, _IEEE80211_MPPID_MPM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IEEE80211_MPPID_MPM@GOTPAGEOFF]
Lloh19:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_ADDSHORT
	mov	x0, x20
	mov	x1, x19
	bl	_ADDSHORT
	cbz	x21, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x21
	bl	_ADDSHORT
LBB0_6:
	mov	x0, x20
	mov	x1, x23
	b	LBB0_8
LBB0_7:
	cmp	x21, #0
	cset	w0, ne
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_KASSERT
Lloh22:
	adrp	x8, _IEEE80211_MPM_BASE_SZ@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IEEE80211_MPM_BASE_SZ@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	add	w8, w8, #2
	add	x20, x22, #8
	str	w8, [x22, #4]
Lloh25:
	adrp	x8, _IEEE80211_MPPID_MPM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IEEE80211_MPPID_MPM@GOTPAGEOFF]
Lloh27:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_ADDSHORT
	mov	x0, x20
	mov	x1, x19
	bl	_ADDSHORT
	mov	x0, x20
	mov	x1, x21
LBB0_8:
	bl	_ADDSHORT
LBB0_9:
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"localid == 0"

	.comm	_IEEE80211_ELEMID_MESHPEER,4,2  ; @IEEE80211_ELEMID_MESHPEER
	.comm	_IEEE80211_MPM_BASE_SZ,4,2      ; @IEEE80211_MPM_BASE_SZ
	.comm	_IEEE80211_MPPID_MPM,8,3        ; @IEEE80211_MPPID_MPM
l_.str.1:                               ; @.str.1
	.asciz	"sending peer confirm without peer id"

	.comm	_IEEE80211_MPM_MAX_SZ,4,2       ; @IEEE80211_MPM_MAX_SZ
.subsections_via_symbols
