	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mesh_verify_meshpeer
_mesh_verify_meshpeer:                  ## @mesh_verify_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$1, %r14d
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.1:
	movq	(%rdx), %rax
	movq	_IEEE80211_MPM_BASE_SZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	cmpq	%r8, %rax
	jl	LBB0_15
## %bb.2:
	movq	_IEEE80211_MPM_MAX_SZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_15
## %bb.3:
	movq	8(%rdx), %rcx
	movq	_IEEE80211_MPPID_MPM@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rcx
	jne	LBB0_4
## %bb.5:
	cmpl	$130, %esi
	je	LBB0_10
## %bb.6:
	cmpl	$129, %esi
	je	LBB0_9
## %bb.7:
	cmpl	$128, %esi
	je	LBB0_8
	jmp	LBB0_14
LBB0_4:
	movq	_IEEE80211_MSG_ACTION@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_MESH@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_IEEE80211_DPRINTF
	jmp	LBB0_15
LBB0_9:
	addq	$2, %r8
LBB0_8:
	cmpq	%r8, %rax
	jne	LBB0_15
LBB0_14:
	xorl	%r14d, %r14d
LBB0_15:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	addq	$2, %r8
	cmpq	%r8, %rax
	jl	LBB0_15
## %bb.11:
	jne	LBB0_13
## %bb.12:
	cmpl	$0, 20(%rdx)
	jne	LBB0_15
LBB0_13:
	cmpl	$0, 16(%rdx)
	jne	LBB0_14
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_MPM_BASE_SZ,8,3      ## @IEEE80211_MPM_BASE_SZ
	.comm	_IEEE80211_MPM_MAX_SZ,8,3       ## @IEEE80211_MPM_MAX_SZ
	.comm	_IEEE80211_MPPID_MPM,8,3        ## @IEEE80211_MPPID_MPM
	.comm	_IEEE80211_MSG_ACTION,4,2       ## @IEEE80211_MSG_ACTION
	.comm	_IEEE80211_MSG_MESH,4,2         ## @IEEE80211_MSG_MESH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Only MPM protocol is supported (proto: 0x%02X)"

	.no_dead_strip	_mesh_verify_meshpeer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mesh_verify_meshpeer
_mesh_verify_meshpeer:                  ; @mesh_verify_meshpeer
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x2, LBB0_8
; %bb.1:
	ldr	x8, [x2]
Lloh0:
	adrp	x9, _IEEE80211_MPM_BASE_SZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_MPM_BASE_SZ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _IEEE80211_MPM_MAX_SZ@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IEEE80211_MPM_MAX_SZ@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #0, ge
	b.gt	LBB0_8
; %bb.2:
	ldr	x3, [x2, #8]
Lloh6:
	adrp	x10, _IEEE80211_MPPID_MPM@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IEEE80211_MPPID_MPM@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x3, x10
	b.ne	LBB0_7
; %bb.3:
	cmp	w1, #130
	b.eq	LBB0_9
; %bb.4:
	cmp	w1, #129
	b.eq	LBB0_13
; %bb.5:
	cmp	w1, #128
	b.ne	LBB0_14
; %bb.6:
	cmp	x8, x9
	b.ne	LBB0_8
	b	LBB0_14
LBB0_7:
Lloh9:
	adrp	x8, _IEEE80211_MSG_ACTION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IEEE80211_MSG_ACTION@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _IEEE80211_MSG_MESH@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IEEE80211_MSG_MESH@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	bl	_IEEE80211_DPRINTF
LBB0_8:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_9:
	add	x9, x9, #2
	cmp	x8, x9
	b.lt	LBB0_8
; %bb.10:
	b.ne	LBB0_12
; %bb.11:
	ldr	w8, [x2, #20]
	cbnz	w8, LBB0_8
LBB0_12:
	ldr	w8, [x2, #16]
	cbnz	w8, LBB0_14
	b	LBB0_8
LBB0_13:
	add	x9, x9, #2
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_14:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MPM_BASE_SZ,8,3      ; @IEEE80211_MPM_BASE_SZ
	.comm	_IEEE80211_MPM_MAX_SZ,8,3       ; @IEEE80211_MPM_MAX_SZ
	.comm	_IEEE80211_MPPID_MPM,8,3        ; @IEEE80211_MPPID_MPM
	.comm	_IEEE80211_MSG_ACTION,4,2       ; @IEEE80211_MSG_ACTION
	.comm	_IEEE80211_MSG_MESH,4,2         ; @IEEE80211_MSG_MESH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Only MPM protocol is supported (proto: 0x%02X)"

	.no_dead_strip	_mesh_verify_meshpeer
.subsections_via_symbols
