	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mesh_isucastforme
_mesh_isucastforme:                     ## @mesh_isucastforme
	.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	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	(%rdx), %ebx
	andl	$3, %ebx
	movq	(%rsi), %rax
	movslq	4(%rax), %rsi
	movq	_IEEE80211_FC1_DIR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	movq	_IEEE80211_FC1_DIR_DSTODS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_KASSERT
	movq	_IEEE80211_MESH_AE_00@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	sete	%al
	movq	_IEEE80211_MESH_AE_10@GOTPCREL(%rip), %r13
	cmpl	(%r13), %ebx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	movq	%rbx, %rsi
	callq	_KASSERT
	cmpl	(%r13), %ebx
	jne	LBB0_3
## %bb.1:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_ieee80211_mesh_rt_find
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%rax, %rcx
	movq	_IEEE80211_MESHRT_FLAGS_PROXY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	testl	%edx, (%rcx)
	setne	%al
	jmp	LBB0_5
LBB0_3:
	movl	8(%r12), %edi
	movl	(%r14), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IEEE80211_ADDR_EQ              ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_FC1_DIR_MASK,4,2     ## @IEEE80211_FC1_DIR_MASK
	.comm	_IEEE80211_FC1_DIR_DSTODS,4,2   ## @IEEE80211_FC1_DIR_DSTODS
	.comm	_IEEE80211_MESH_AE_00,4,2       ## @IEEE80211_MESH_AE_00
	.comm	_IEEE80211_MESH_AE_10,4,2       ## @IEEE80211_MESH_AE_10
	.comm	_IEEE80211_MESHRT_FLAGS_PROXY,4,2 ## @IEEE80211_MESHRT_FLAGS_PROXY
	.no_dead_strip	_mesh_isucastforme
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mesh_isucastforme
_mesh_isucastforme:                     ; @mesh_isucastforme
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x2]
	and	x22, x8, #0x3
	ldr	x8, [x1]
	ldrsw	x1, [x8, #4]
Lloh0:
	adrp	x8, _IEEE80211_FC1_DIR_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_FC1_DIR_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w1
Lloh3:
	adrp	x9, _IEEE80211_FC1_DIR_DSTODS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_FC1_DIR_DSTODS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	bl	_KASSERT
Lloh6:
	adrp	x8, _IEEE80211_MESH_AE_00@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_MESH_AE_00@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w22, w8
Lloh9:
	adrp	x23, _IEEE80211_MESH_AE_10@GOTPAGE
Lloh10:
	ldr	x23, [x23, _IEEE80211_MESH_AE_10@GOTPAGEOFF]
	ldr	w8, [x23]
	ccmp	w22, w8, #4, ne
	cset	w0, eq
	mov	x1, x22
	bl	_KASSERT
	ldr	w8, [x23]
	cmp	w22, w8
	b.ne	LBB0_4
; %bb.1:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ieee80211_mesh_rt_find
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w8, [x0]
Lloh11:
	adrp	x9, _IEEE80211_MESHRT_FLAGS_PROXY@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IEEE80211_MESHRT_FLAGS_PROXY@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w0, [x21, #8]
	ldr	w1, [x19]
	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
	b	_IEEE80211_ADDR_EQ
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_FC1_DIR_MASK,4,2     ; @IEEE80211_FC1_DIR_MASK
	.comm	_IEEE80211_FC1_DIR_DSTODS,4,2   ; @IEEE80211_FC1_DIR_DSTODS
	.comm	_IEEE80211_MESH_AE_00,4,2       ; @IEEE80211_MESH_AE_00
	.comm	_IEEE80211_MESH_AE_10,4,2       ; @IEEE80211_MESH_AE_10
	.comm	_IEEE80211_MESHRT_FLAGS_PROXY,4,2 ; @IEEE80211_MESHRT_FLAGS_PROXY
	.no_dead_strip	_mesh_isucastforme
.subsections_via_symbols
