	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mesh_nexthop_lookup            ## -- Begin function mesh_nexthop_lookup
	.p2align	4, 0x90
_mesh_nexthop_lookup:                   ## @mesh_nexthop_lookup
	.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	%rdi, %r15
	movq	(%rsi), %r14
	movq	16(%r14), %rbx
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mesh_path_lookup
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	movq	_MESH_PATH_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_9
## %bb.2:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r13d
	movq	8(%rbx), %r14
	movl	4(%r15), %edi
	callq	_msecs_to_jiffies
	subq	%rax, %r14
	movl	%r13d, %edi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movl	(%r15), %edi
	movl	8(%r13), %esi
	callq	_ether_addr_equal
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	(%rbx), %eax
	movq	_MESH_PATH_RESOLVING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_7
## %bb.5:
	movq	_MESH_PATH_FIXED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_7
## %bb.6:
	movq	_PREQ_Q_F_START@GOTPCREL(%rip), %rax
	movq	_PREQ_Q_F_REFRESH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mesh_queue_preq
LBB0_7:
	movl	4(%rbx), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rax, %rbx
	movl	4(%r13), %edi
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_memcpy
	movl	(%r13), %edi
	movl	(%r15), %esi
	movl	(%r14), %edx
	callq	_memcpy
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_ieee80211_mps_set_frame_flags
	xorl	%r12d, %r12d
LBB0_9:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_MESH_PATH_ACTIVE,4,2           ## @MESH_PATH_ACTIVE
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_MESH_PATH_RESOLVING,4,2        ## @MESH_PATH_RESOLVING
	.comm	_MESH_PATH_FIXED,4,2            ## @MESH_PATH_FIXED
	.comm	_PREQ_Q_F_START,4,2             ## @PREQ_Q_F_START
	.comm	_PREQ_Q_F_REFRESH,4,2           ## @PREQ_Q_F_REFRESH
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mesh_nexthop_lookup            ; -- Begin function mesh_nexthop_lookup
	.p2align	2
_mesh_nexthop_lookup:                   ; @mesh_nexthop_lookup
	.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, x0
	ldr	x19, [x1]
	ldr	x22, [x19, #16]
Lloh0:
	adrp	x8, _ENOENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	bl	_rcu_read_lock
	mov	x0, x20
	mov	x1, x22
	bl	_mesh_path_lookup
	cbz	x0, LBB0_9
; %bb.1:
	mov	x22, x0
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _MESH_PATH_ACTIVE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MESH_PATH_ACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.2:
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
	ldr	x24, [x22, #8]
	ldr	w0, [x20, #4]
	bl	_msecs_to_jiffies
	sub	x1, x24, x0
	mov	x0, x23
	bl	_time_after
	cbz	x0, LBB0_7
; %bb.3:
	ldr	w0, [x20]
	ldr	w1, [x19, #8]
	bl	_ether_addr_equal
	cbz	x0, LBB0_7
; %bb.4:
	ldr	w8, [x22]
Lloh9:
	adrp	x9, _MESH_PATH_RESOLVING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MESH_PATH_RESOLVING@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.5:
Lloh12:
	adrp	x9, _MESH_PATH_FIXED@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MESH_PATH_FIXED@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.6:
Lloh15:
	adrp	x8, _PREQ_Q_F_START@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PREQ_Q_F_START@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _PREQ_Q_F_REFRESH@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PREQ_Q_F_REFRESH@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x22
	bl	_mesh_queue_preq
LBB0_7:
	ldr	w0, [x22, #4]
	bl	_rcu_dereference
	cbz	x0, LBB0_9
; %bb.8:
	mov	x22, x0
	ldr	w0, [x19, #4]
	ldr	w1, [x22]
Lloh21:
	adrp	x21, _ETH_ALEN@GOTPAGE
Lloh22:
	ldr	x21, [x21, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_memcpy
	ldr	w0, [x19]
	ldr	w1, [x20]
	ldr	w2, [x21]
	bl	_memcpy
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_ieee80211_mps_set_frame_flags
	mov	w21, #0
LBB0_9:
	bl	_rcu_read_unlock
	mov	x0, x21
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_MESH_PATH_ACTIVE,4,2           ; @MESH_PATH_ACTIVE
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_MESH_PATH_RESOLVING,4,2        ; @MESH_PATH_RESOLVING
	.comm	_MESH_PATH_FIXED,4,2            ; @MESH_PATH_FIXED
	.comm	_PREQ_Q_F_START,4,2             ; @PREQ_Q_F_START
	.comm	_PREQ_Q_F_REFRESH,4,2           ; @PREQ_Q_F_REFRESH
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
.subsections_via_symbols
