	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hwmp_route_info_get
_hwmp_route_info_get:                   ## @hwmp_route_info_get
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %r13
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_sta_info_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	callq	_airtime_link_metric_get
	movq	%rax, %r13
	cmpl	$129, %r15d
	je	LBB0_5
## %bb.3:
	cmpl	$128, %r15d
	jne	LBB0_1
## %bb.4:
	movq	%r12, %rdi
	callq	_PREQ_IE_ORIG_ADDR
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_PREQ_IE_ORIG_SN
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_PREQ_IE_LIFETIME
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_PREQ_IE_METRIC
	jmp	LBB0_6
LBB0_5:
	movq	%r12, %rdi
	callq	_PREP_IE_TARGET_ADDR
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_PREP_IE_TARGET_SN
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_PREP_IE_LIFETIME
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_PREP_IE_METRIC
LBB0_6:
	movq	%rax, %r12
	testq	%r13, %r13
	jns	LBB0_7
## %bb.8:
	movq	_MAX_METRIC@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_9
LBB0_7:
	addq	%r13, %r12
LBB0_9:
	movq	%r15, %rdi
	callq	_TU_TO_EXP_TIME
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_ether_addr_equal
	xorl	%r15d, %r15d
	testq	%rax, %rax
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	jne	LBB0_23
## %bb.10:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mesh_path_lookup
	testq	%rax, %rax
	je	LBB0_18
## %bb.11:
	movq	%rax, %r15
	movq	%rax, %rbx
	addq	$32, %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movl	(%r15), %eax
	movq	_MESH_PATH_FIXED@GOTPCREL(%rip), %rcx
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	testl	%eax, (%rcx)
	je	LBB0_12
LBB0_17:
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_23
LBB0_18:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mesh_path_add
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_1
## %bb.19:
	movq	%r15, %rdi
	addq	$32, %rdi
	callq	_spin_lock_bh
	jmp	LBB0_20
LBB0_12:
	movq	_MESH_PATH_ACTIVE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.13:
	movq	_MESH_PATH_SN_VALID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.14:
	movq	8(%r15), %rdi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_SN_GT
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	testq	%rax, %rax
	jne	LBB0_17
## %bb.15:
	cmpq	%r13, 8(%r15)
	jne	LBB0_20
## %bb.16:
	cmpq	16(%r15), %r12
	jge	LBB0_17
LBB0_20:
	movq	%r15, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_mesh_path_assign_nexthop
	movq	_MESH_PATH_SN_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movq	%r12, 16(%r15)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r15)
	movq	24(%r15), %rdi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	24(%r15), %rbx
LBB0_22:
	movq	%rbx, 24(%r15)
	movq	%r15, %rdi
	callq	_mesh_path_activate
	leaq	32(%r15), %rdi
	callq	_spin_unlock_bh
	movq	%r15, %rdi
	callq	_mesh_path_tx_pending
	movl	$1, %r15d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_23:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r13
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_ether_addr_equal
	testq	%rax, %rax
	jne	LBB0_35
## %bb.24:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_mesh_path_lookup
	testq	%rax, %rax
	je	LBB0_29
## %bb.25:
	movq	%rax, %r15
	movq	%rax, %rbx
	addq	$32, %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movl	(%r15), %eax
	movq	_MESH_PATH_FIXED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_26
LBB0_28:
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	jmp	LBB0_34
LBB0_29:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_mesh_path_add
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_30
LBB0_1:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	jmp	LBB0_36
LBB0_26:
	movq	_MESH_PATH_ACTIVE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_31
## %bb.27:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	16(%r15), %rax
	jg	LBB0_28
	jmp	LBB0_31
LBB0_30:
	movq	%r15, %rdi
	addq	$32, %rdi
	callq	_spin_lock_bh
LBB0_31:
	movq	%r15, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_mesh_path_assign_nexthop
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%r15)
	movq	24(%r15), %rdi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:
	movq	24(%r15), %rbx
LBB0_33:
	movq	%rbx, 24(%r15)
	movq	%r15, %rdi
	callq	_mesh_path_activate
	leaq	32(%r15), %rdi
	callq	_spin_unlock_bh
	movq	%r15, %rdi
	callq	_mesh_path_tx_pending
LBB0_34:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_35:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	testl	%r15d, %r15d
	cmoveq	%rbx, %r12
LBB0_36:
	movq	%r12, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_METRIC,8,3                 ## @MAX_METRIC
	.comm	_MESH_PATH_FIXED,4,2            ## @MESH_PATH_FIXED
	.comm	_MESH_PATH_ACTIVE,4,2           ## @MESH_PATH_ACTIVE
	.comm	_MESH_PATH_SN_VALID,4,2         ## @MESH_PATH_SN_VALID
	.no_dead_strip	_hwmp_route_info_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hwmp_route_info_get
_hwmp_route_info_get:                   ; @hwmp_route_info_get
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x24, x3
	mov	x23, x2
	mov	x22, x1
	mov	x21, x0
	ldr	x20, [x0, #8]
	bl	_rcu_read_lock
	ldr	x1, [x22]
	mov	x0, x21
	bl	_sta_info_get
	cbz	x0, LBB0_27
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_airtime_link_metric_get
	mov	x20, x0
	cmp	w24, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w24, #128
	b.ne	LBB0_27
; %bb.3:
	mov	x0, x23
	bl	_PREQ_IE_ORIG_ADDR
	mov	x24, x0
	mov	x0, x23
	bl	_PREQ_IE_ORIG_SN
	mov	x25, x0
	mov	x0, x23
	bl	_PREQ_IE_LIFETIME
	mov	x26, x0
	mov	x0, x23
	bl	_PREQ_IE_METRIC
	b	LBB0_5
LBB0_4:
	mov	x0, x23
	bl	_PREP_IE_TARGET_ADDR
	mov	x24, x0
	mov	x0, x23
	bl	_PREP_IE_TARGET_SN
	mov	x25, x0
	mov	x0, x23
	bl	_PREP_IE_LIFETIME
	mov	x26, x0
	mov	x0, x23
	bl	_PREP_IE_METRIC
LBB0_5:
	add	x8, x0, x20
Lloh0:
	adrp	x9, _MAX_METRIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_METRIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x20, #0
	csel	x28, x9, x8, lt
	mov	x0, x26
	bl	_TU_TO_EXP_TIME
	mov	x23, x0
	ldr	x1, [x21]
	mov	x0, x24
	bl	_ether_addr_equal
	cbz	x0, LBB0_7
; %bb.6:
	mov	w26, #0
	b	LBB0_22
LBB0_7:
	mov	x0, x21
	mov	x1, x24
	bl	_mesh_path_lookup
	cbz	x0, LBB0_11
; %bb.8:
	mov	x26, x0
	add	x27, x0, #32
	mov	x0, x27
	bl	_spin_lock_bh
	ldr	w8, [x26]
Lloh3:
	adrp	x9, _MESH_PATH_FIXED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MESH_PATH_FIXED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.9:
	mov	w26, #1
LBB0_10:
	mov	x0, x27
	bl	_spin_unlock_bh
	b	LBB0_22
LBB0_11:
	mov	x0, x21
	mov	x1, x24
	bl	_mesh_path_add
	mov	x26, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_27
; %bb.12:
	add	x0, x26, #32
	bl	_spin_lock_bh
	b	LBB0_19
LBB0_13:
Lloh6:
	adrp	x9, _MESH_PATH_ACTIVE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MESH_PATH_ACTIVE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.14:
Lloh9:
	adrp	x9, _MESH_PATH_SN_VALID@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MESH_PATH_SN_VALID@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.15:
	ldr	x0, [x26, #8]
	mov	x1, x25
	bl	_SN_GT
	cbz	x0, LBB0_17
LBB0_16:
	mov	w26, #0
	b	LBB0_10
LBB0_17:
	ldr	x8, [x26, #8]
	cmp	x8, x25
	b.ne	LBB0_19
; %bb.18:
	ldr	x8, [x26, #16]
	cmp	x28, x8
	b.ge	LBB0_16
LBB0_19:
	mov	x0, x26
	mov	x1, x19
	bl	_mesh_path_assign_nexthop
Lloh12:
	adrp	x8, _MESH_PATH_SN_VALID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MESH_PATH_SN_VALID@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x26]
	orr	w8, w9, w8
	str	w8, [x26]
	stp	x25, x28, [x26, #8]
	ldr	x0, [x26, #24]
	mov	x1, x23
	bl	_time_after
	mov	x8, x23
	cbz	x0, LBB0_21
; %bb.20:
	ldr	x8, [x26, #24]
LBB0_21:
	str	x8, [x26, #24]
	mov	x0, x26
	bl	_mesh_path_activate
	add	x0, x26, #32
	bl	_spin_unlock_bh
	mov	x0, x26
	bl	_mesh_path_tx_pending
	mov	w26, #1
LBB0_22:
	ldr	x25, [x22]
	mov	x0, x24
	mov	x1, x25
	bl	_ether_addr_equal
	cbnz	x0, LBB0_34
; %bb.23:
	mov	x0, x21
	mov	x1, x25
	bl	_mesh_path_lookup
	cbz	x0, LBB0_26
; %bb.24:
	mov	x22, x0
	add	x21, x0, #32
	mov	x0, x21
	bl	_spin_lock_bh
	ldr	w8, [x22]
Lloh15:
	adrp	x9, _MESH_PATH_FIXED@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MESH_PATH_FIXED@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_28
LBB0_25:
	mov	x0, x21
	bl	_spin_unlock_bh
	b	LBB0_34
LBB0_26:
	mov	x0, x21
	mov	x1, x25
	bl	_mesh_path_add
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_30
LBB0_27:
	bl	_rcu_read_unlock
	mov	x0, #0
	b	LBB0_35
LBB0_28:
Lloh18:
	adrp	x9, _MESH_PATH_ACTIVE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MESH_PATH_ACTIVE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_31
; %bb.29:
	ldr	x8, [x22, #16]
	cmp	x20, x8
	b.gt	LBB0_25
	b	LBB0_31
LBB0_30:
	add	x0, x22, #32
	bl	_spin_lock_bh
LBB0_31:
	mov	x0, x22
	mov	x1, x19
	bl	_mesh_path_assign_nexthop
	str	x20, [x22, #16]
	ldr	x0, [x22, #24]
	mov	x1, x23
	bl	_time_after
	cbz	x0, LBB0_33
; %bb.32:
	ldr	x23, [x22, #24]
LBB0_33:
	str	x23, [x22, #24]
	mov	x0, x22
	bl	_mesh_path_activate
	add	x0, x22, #32
	bl	_spin_unlock_bh
	mov	x0, x22
	bl	_mesh_path_tx_pending
LBB0_34:
	bl	_rcu_read_unlock
	cmp	w26, #0
	csel	x0, xzr, x28, eq
LBB0_35:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 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	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_METRIC,8,3                 ; @MAX_METRIC
	.comm	_MESH_PATH_FIXED,4,2            ; @MESH_PATH_FIXED
	.comm	_MESH_PATH_ACTIVE,4,2           ; @MESH_PATH_ACTIVE
	.comm	_MESH_PATH_SN_VALID,4,2         ; @MESH_PATH_SN_VALID
	.no_dead_strip	_hwmp_route_info_get
.subsections_via_symbols
