	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mesh_nexthop_resolve           ## -- Begin function mesh_nexthop_resolve
	.p2align	4, 0x90
_mesh_nexthop_resolve:                  ## @mesh_nexthop_resolve
	.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	%rsi, %r12
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	movq	%rsi, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, %r13
	movq	8(%rbx), %r15
	movl	(%rbx), %edi
	callq	_ieee80211_is_qos_nullfunc
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_13
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_mesh_nexthop_lookup
	testl	%eax, %eax
	je	LBB0_12
## %bb.2:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mesh_path_lookup
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_3
LBB0_5:
	movq	_MESH_PATH_RESOLVING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	jne	LBB0_7
## %bb.6:
	movq	_PREQ_Q_F_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_mesh_queue_preq
LBB0_7:
	addq	$4, %r13
	movq	%r13, %rdi
	callq	_skb_queue_len
	movq	_MESH_FRAME_QUEUE_LEN@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jge	LBB0_9
## %bb.8:
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_9:
	movq	%r13, %rdi
	callq	_skb_dequeue
	movq	%rax, %r15
LBB0_10:
	movq	_IEEE80211_TX_INTFL_NEED_TXPROCESSING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ieee80211_set_qos_hdr
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_skb_queue_tail
	movq	_ENOENT@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	testq	%r15, %r15
	je	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mesh_path_discard_frame
	jmp	LBB0_12
LBB0_3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mesh_path_add
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_mesh_path_discard_frame
	movq	%r13, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
LBB0_12:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MESH_PATH_RESOLVING,4,2        ## @MESH_PATH_RESOLVING
	.comm	_PREQ_Q_F_START,4,2             ## @PREQ_Q_F_START
	.comm	_MESH_FRAME_QUEUE_LEN,8,3       ## @MESH_FRAME_QUEUE_LEN
	.comm	_IEEE80211_TX_INTFL_NEED_TXPROCESSING,4,2 ## @IEEE80211_TX_INTFL_NEED_TXPROCESSING
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mesh_nexthop_resolve           ; -- Begin function mesh_nexthop_resolve
	.p2align	2
_mesh_nexthop_resolve:                  ; @mesh_nexthop_resolve
	.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, x1
	mov	x19, x0
	ldr	x22, [x1]
	mov	x0, x1
	bl	_IEEE80211_SKB_CB
	mov	x21, x0
	ldr	x23, [x22, #8]
	ldr	w0, [x22]
	bl	_ieee80211_is_qos_nullfunc
	cbz	x0, LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_15
LBB0_2:
	bl	_rcu_read_lock
	mov	x0, x19
	mov	x1, x20
	bl	_mesh_nexthop_lookup
	cbz	w0, LBB0_8
; %bb.3:
	mov	x0, x19
	mov	x1, x23
	bl	_mesh_path_lookup
	mov	x22, x0
	cbz	x0, LBB0_12
LBB0_4:
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _MESH_PATH_RESOLVING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MESH_PATH_RESOLVING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, _PREQ_Q_F_START@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PREQ_Q_F_START@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_mesh_queue_preq
LBB0_6:
	add	x22, x22, #4
	mov	x0, x22
	bl	_skb_queue_len
Lloh6:
	adrp	x8, _MESH_FRAME_QUEUE_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MESH_FRAME_QUEUE_LEN@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_9
; %bb.7:
	mov	x23, #0
	b	LBB0_10
LBB0_8:
	mov	w20, #0
	b	LBB0_14
LBB0_9:
	mov	x0, x22
	bl	_skb_dequeue
	mov	x23, x0
LBB0_10:
Lloh9:
	adrp	x8, _IEEE80211_TX_INTFL_NEED_TXPROCESSING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IEEE80211_TX_INTFL_NEED_TXPROCESSING@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_ieee80211_set_qos_hdr
	mov	x0, x22
	mov	x1, x20
	bl	_skb_queue_tail
Lloh12:
	adrp	x8, _ENOENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w20, w8
	cbz	x23, LBB0_14
; %bb.11:
	mov	x0, x19
	mov	x1, x23
	bl	_mesh_path_discard_frame
	b	LBB0_14
LBB0_12:
	mov	x0, x19
	mov	x1, x23
	bl	_mesh_path_add
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.13:
	mov	x0, x19
	mov	x1, x20
	bl	_mesh_path_discard_frame
	mov	x0, x22
	bl	_PTR_ERR
	mov	x20, x0
LBB0_14:
	bl	_rcu_read_unlock
LBB0_15:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MESH_PATH_RESOLVING,4,2        ; @MESH_PATH_RESOLVING
	.comm	_PREQ_Q_F_START,4,2             ; @PREQ_Q_F_START
	.comm	_MESH_FRAME_QUEUE_LEN,8,3       ; @MESH_FRAME_QUEUE_LEN
	.comm	_IEEE80211_TX_INTFL_NEED_TXPROCESSING,4,2 ; @IEEE80211_TX_INTFL_NEED_TXPROCESSING
	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
