	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hwmp_rann_frame_process
_hwmp_rann_frame_process:               ## @hwmp_rann_frame_process
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%rdi, %r14
	movq	24(%rdi), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	4(%rdx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_RANN_FLAG_IS_GATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	8(%rdx), %r13
	movl	28(%rdx), %edi
	callq	_le32_to_cpu
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	24(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, %r12
	movl	16(%rbx), %r15d
	movl	20(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, %rbx
	movl	16(%r14), %esi
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_ether_addr_equal
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, %r13
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	xorl	%r8d, %r8d
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	-88(%rbp), %eax                 ## 4-byte Reload
	testl	%r12d, %eax
	setne	%r8b
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_mhwmp_dbg
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_sta_info_get
	testq	%rax, %rax
	je	LBB0_21
## %bb.2:
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_airtime_link_metric_get
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_mesh_path_lookup
	movq	%rax, %r13
	testq	%rax, %rax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_3
LBB0_6:
	movq	(%r13), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_SN_LT
	testl	%eax, %eax
	je	LBB0_7
LBB0_9:
	movq	_MESH_PATH_ACTIVE@GOTPCREL(%rip), %rax
	movq	_MESH_PATH_RESOLVING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, 16(%r13)
	je	LBB0_12
## %bb.10:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r15
	movq	32(%r13), %rbx
	movq	%r14, %rdi
	callq	_root_path_confirmation_jiffies
	addq	%rax, %rbx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r15, %rbx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	32(%r13), %rsi
	callq	_time_before
	testq	%rax, %rax
	je	LBB0_15
LBB0_12:
	movq	_MESH_PATH_FIXED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r13)
	jne	LBB0_15
## %bb.13:
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.14:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_mhwmp_dbg
	movq	_PREQ_Q_F_START@GOTPCREL(%rip), %rax
	movq	_PREQ_Q_F_REFRESH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r13, %rdi
	callq	_mesh_queue_preq
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r13)
LBB0_15:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r13)
	addq	-104(%rbp), %rbx                ## 8-byte Folded Reload
	movq	%rbx, 8(%r13)
	movl	$1, 20(%r13)
	movl	24(%r13), %edi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	testl	%r12d, -88(%rbp)                ## 4-byte Folded Reload
	je	LBB0_17
## %bb.16:
	movq	%r13, %rdi
	callq	_mesh_path_add_gate
LBB0_17:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	$1, %eax
	jg	LBB0_19
## %bb.18:
	incl	8(%r14)
	jmp	LBB0_21
LBB0_3:
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_mesh_path_add
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	incl	12(%r14)
	jmp	LBB0_5
LBB0_7:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, (%r13)
	jne	LBB0_21
## %bb.8:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpq	8(%r13), %rax
	jl	LBB0_9
	jmp	LBB0_21
LBB0_19:
	cmpq	$0, (%r14)
	je	LBB0_21
## %bb.20:
	incl	%r15d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	decl	%eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_MPATH_RANN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_cpu_to_le32
	movl	%eax, %r15d
	movq	_broadcast_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_cpu_to_le32
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_cpu_to_le32
                                        ## kill: def $eax killed $eax def $rax
	movl	%r12d, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r14
	pushq	$0
	pushq	%rax
	pushq	%r13
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	$0
	callq	_mesh_path_sel_frame_tx
	addq	$64, %rsp
LBB0_21:
	xorl	%eax, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RANN_FLAG_IS_GATE,4,2          ## @RANN_FLAG_IS_GATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"received RANN from %pM via neighbour %pM (is_gate=%d)\n"

	.comm	_MESH_PATH_ACTIVE,4,2           ## @MESH_PATH_ACTIVE
	.comm	_MESH_PATH_RESOLVING,4,2        ## @MESH_PATH_RESOLVING
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_MESH_PATH_FIXED,4,2            ## @MESH_PATH_FIXED
L_.str.1:                               ## @.str.1
	.asciz	"time to refresh root mpath %pM\n"

	.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
	.comm	_MPATH_RANN,4,2                 ## @MPATH_RANN
	.comm	_broadcast_addr,4,2             ## @broadcast_addr
	.no_dead_strip	_hwmp_rann_frame_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hwmp_rann_frame_process
_hwmp_rann_frame_process:               ; @hwmp_rann_frame_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x2
	mov	x24, x1
	mov	x19, x0
	ldr	x26, [x0, #24]
	ldp	w27, w20, [x2]
Lloh0:
	adrp	x8, _RANN_FLAG_IS_GATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RANN_FLAG_IS_GATE@GOTPAGEOFF]
Lloh2:
	ldr	w28, [x8]
	ldr	x21, [x2, #8]
	ldr	w0, [x2, #28]
	bl	_le32_to_cpu
	mov	x23, x0
	ldr	w0, [x25, #24]
	bl	_le32_to_cpu
	str	x0, [sp, #56]                   ; 8-byte Folded Spill
	ldp	w22, w0, [x25, #16]
	bl	_le32_to_cpu
	mov	x25, x0
	ldr	w1, [x19, #16]
	mov	x0, x21
	bl	_ether_addr_equal
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_2:
	str	w22, [sp, #52]                  ; 4-byte Folded Spill
	and	w28, w28, w20
	cmp	w28, #0
	cset	w8, ne
	ldr	w9, [x24]
	stp	x9, x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_mhwmp_dbg
	bl	_rcu_read_lock
	ldr	w1, [x24]
	mov	x0, x19
	bl	_sta_info_get
	cbz	x0, LBB0_21
; %bb.3:
	mov	x1, x0
	mov	x0, x26
	bl	_airtime_link_metric_get
	mov	x22, x0
	mov	x0, x19
	mov	x1, x21
	bl	_mesh_path_lookup
	mov	x26, x0
	cbz	x0, LBB0_15
LBB0_4:
	ldr	x0, [x26]
	mov	x1, x23
	bl	_SN_LT
	cbz	w0, LBB0_17
LBB0_5:
	ldr	w8, [x26, #16]
Lloh5:
	adrp	x9, _MESH_PATH_ACTIVE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MESH_PATH_ACTIVE@GOTPAGEOFF]
Lloh7:
	adrp	x10, _MESH_PATH_RESOLVING@GOTPAGE
Lloh8:
	ldr	x10, [x10, _MESH_PATH_RESOLVING@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_8
; %bb.6:
Lloh11:
	adrp	x8, _jiffies@GOTPAGE
Lloh12:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	str	w28, [sp, #48]                  ; 4-byte Folded Spill
	mov	x28, x22
	ldr	x22, [x26, #32]
	mov	x0, x19
	bl	_root_path_confirmation_jiffies
	add	x1, x0, x22
	mov	x22, x28
	ldr	w28, [sp, #48]                  ; 4-byte Folded Reload
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_time_after
	cbnz	x0, LBB0_8
; %bb.7:
Lloh14:
	adrp	x8, _jiffies@GOTPAGE
Lloh15:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
	ldr	x1, [x26, #32]
	bl	_time_before
	cbz	x0, LBB0_11
LBB0_8:
	ldr	w8, [x26, #16]
Lloh17:
	adrp	x9, _MESH_PATH_FIXED@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MESH_PATH_FIXED@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_11
; %bb.9:
	cbz	w27, LBB0_11
; %bb.10:
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_mhwmp_dbg
Lloh22:
	adrp	x8, _PREQ_Q_F_START@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PREQ_Q_F_START@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _PREQ_Q_F_REFRESH@GOTPAGE
Lloh26:
	ldr	x9, [x9, _PREQ_Q_F_REFRESH@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x26
	bl	_mesh_queue_preq
Lloh28:
	adrp	x8, _jiffies@GOTPAGE
Lloh29:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	str	x8, [x26, #32]
LBB0_11:
	add	x25, x22, x25
	stp	x23, x25, [x26]
	mov	w8, #1
	str	w8, [x26, #20]
	ldr	w0, [x26, #24]
	ldr	w1, [x24]
Lloh31:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	bl	_memcpy
	cbz	w28, LBB0_13
; %bb.12:
	mov	x0, x26
	bl	_mesh_path_add_gate
LBB0_13:
	subs	w27, w27, #1
	ldr	w9, [sp, #52]                   ; 4-byte Folded Reload
	b.gt	LBB0_19
; %bb.14:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	b	LBB0_21
LBB0_15:
	mov	x0, x19
	mov	x1, x21
	bl	_mesh_path_add
	mov	x26, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.16:
	bl	_rcu_read_unlock
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	b	LBB0_1
LBB0_17:
	ldr	x8, [x26]
	cmp	x8, x23
	b.ne	LBB0_21
; %bb.18:
	ldr	x8, [x26, #8]
	cmp	x25, x8
	b.lt	LBB0_5
	b	LBB0_21
LBB0_19:
	ldr	x8, [x19]
	cbz	x8, LBB0_21
; %bb.20:
	add	w28, w9, #1
Lloh34:
	adrp	x8, _MPATH_RANN@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MPATH_RANN@GOTPAGEOFF]
Lloh36:
	ldr	w24, [x8]
	mov	x0, x23
	bl	_cpu_to_le32
	mov	x23, x0
Lloh37:
	adrp	x8, _broadcast_addr@GOTPAGE
Lloh38:
	ldr	x8, [x8, _broadcast_addr@GOTPAGEOFF]
Lloh39:
	ldr	w26, [x8]
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	bl	_cpu_to_le32
	mov	x22, x0
	mov	x0, x25
	bl	_cpu_to_le32
	str	x19, [sp, #24]
	stp	w0, wzr, [sp, #12]
	stp	w27, w22, [sp, #4]
	str	w28, [sp]
	mov	x0, x24
	mov	x1, x20
	mov	x2, x21
	mov	x3, x23
	mov	w4, #0
	mov	x5, #0
	mov	w6, #0
	mov	x7, x26
	bl	_mesh_path_sel_frame_tx
LBB0_21:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_rcu_read_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_RANN_FLAG_IS_GATE,4,2          ; @RANN_FLAG_IS_GATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"received RANN from %pM via neighbour %pM (is_gate=%d)\n"

	.comm	_MESH_PATH_ACTIVE,4,2           ; @MESH_PATH_ACTIVE
	.comm	_MESH_PATH_RESOLVING,4,2        ; @MESH_PATH_RESOLVING
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_MESH_PATH_FIXED,4,2            ; @MESH_PATH_FIXED
l_.str.1:                               ; @.str.1
	.asciz	"time to refresh root mpath %pM\n"

	.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
	.comm	_MPATH_RANN,4,2                 ; @MPATH_RANN
	.comm	_broadcast_addr,4,2             ; @broadcast_addr
	.no_dead_strip	_hwmp_rann_frame_process
.subsections_via_symbols
