	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mesh_path_timer                ## -- Begin function mesh_path_timer
	.p2align	4, 0x90
_mesh_path_timer:                       ## @mesh_path_timer
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	32(%rdi), %r14
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	leaq	24(%rdi), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movl	(%rbx), %eax
	movq	_MESH_PATH_RESOLVED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_MESH_PATH_RESOLVING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %edx
	jne	LBB0_10
## %bb.2:
	movl	%ecx, %esi
	andl	%eax, %esi
	je	LBB0_10
## %bb.3:
	movq	8(%rbx), %r12
	movq	%r14, %rdi
	callq	_max_preq_retries
	cmpq	%rax, %r12
	jge	LBB0_4
## %bb.11:
	incq	8(%rbx)
	shll	16(%rbx)
	movq	_MESH_PATH_REQ_QUEUED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movq	%rbx, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mesh_queue_preq                ## TAILCALL
LBB0_10:
	orl	%edx, %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rbx)
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
LBB0_4:
	movl	$0, (%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	cmpl	$0, 20(%rbx)
	je	LBB0_5
LBB0_8:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mesh_path_flush_pending        ## TAILCALL
LBB0_5:
	movq	%r14, %rdi
	callq	_mesh_gate_num
	testq	%rax, %rax
	jle	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	callq	_mesh_path_send_to_gates
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mhwmp_dbg                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MESH_PATH_RESOLVED,4,2         ## @MESH_PATH_RESOLVED
	.comm	_MESH_PATH_RESOLVING,4,2        ## @MESH_PATH_RESOLVING
	.comm	_MESH_PATH_REQ_QUEUED,4,2       ## @MESH_PATH_REQ_QUEUED
	.comm	_jiffies,4,2                    ## @jiffies
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no gate was reachable\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mesh_path_timer                ; -- Begin function mesh_path_timer
	.p2align	2
_mesh_path_timer:                       ; @mesh_path_timer
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x20, [x0, #32]
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	add	x21, x0, #24
	mov	x0, x21
	bl	_spin_lock_bh
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _MESH_PATH_RESOLVED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MESH_PATH_RESOLVED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w11, w9, w8
Lloh3:
	adrp	x10, _MESH_PATH_RESOLVING@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MESH_PATH_RESOLVING@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	and	w12, w10, w8
	cmp	w11, #0
	ccmp	w12, #0, #4, eq
	b.ne	LBB0_4
; %bb.3:
	orr	w9, w10, w9
	bic	w8, w8, w9
	str	w8, [x19]
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spin_unlock_bh
LBB0_4:
	ldr	x22, [x19, #8]
	mov	x0, x20
	bl	_max_preq_retries
	cmp	x22, x0
	b.ge	LBB0_6
; %bb.5:
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
	ldr	w8, [x19, #16]
	lsl	w8, w8, #1
	str	w8, [x19, #16]
Lloh6:
	adrp	x8, _MESH_PATH_REQ_QUEUED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MESH_PATH_REQ_QUEUED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	mov	x0, x21
	bl	_spin_unlock_bh
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mesh_queue_preq
LBB0_6:
	str	wzr, [x19]
Lloh9:
	adrp	x8, _jiffies@GOTPAGE
Lloh10:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #28]
	mov	x0, x21
	bl	_spin_unlock_bh
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_8
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mesh_path_flush_pending
LBB0_8:
	mov	x0, x20
	bl	_mesh_gate_num
	cmp	x0, #1
	b.lt	LBB0_7
; %bb.9:
	mov	x0, x19
	bl	_mesh_path_send_to_gates
	cbz	w0, LBB0_1
; %bb.10:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mhwmp_dbg
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MESH_PATH_RESOLVED,4,2         ; @MESH_PATH_RESOLVED
	.comm	_MESH_PATH_RESOLVING,4,2        ; @MESH_PATH_RESOLVING
	.comm	_MESH_PATH_REQ_QUEUED,4,2       ; @MESH_PATH_REQ_QUEUED
	.comm	_jiffies,4,2                    ; @jiffies
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no gate was reachable\n"

.subsections_via_symbols
