	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mesh_mpm_plink_open
_mesh_mpm_plink_open:                   ## @mesh_mpm_plink_open
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r12
	movq	_plink_timer@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_eloop_cancel_timeout
	movslq	(%r12), %rax
	imulq	$274877907, %rax, %rdi          ## imm = 0x10624DD3
	movq	%rdi, %rcx
	shrq	$63, %rcx
	sarq	$38, %rdi
	addl	%ecx, %edi
	imull	$1000, %edi, %ecx               ## imm = 0x3E8
	subl	%ecx, %eax
	imull	$1000, %eax, %esi               ## imm = 0x3E8
	movl	(%r13), %edx
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%rbx, %rcx
	movq	%r15, %r8
	callq	_eloop_register_timeout
	movq	_PLINK_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_mesh_mpm_send_plink_action
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_mesh_set_plink_state       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_plink_timer,4,2                ## @plink_timer
	.comm	_PLINK_OPEN,4,2                 ## @PLINK_OPEN
	.no_dead_strip	_mesh_mpm_plink_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mesh_mpm_plink_open
_mesh_mpm_plink_open:                   ; @mesh_mpm_plink_open
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x22, [x8]
Lloh0:
	adrp	x23, _plink_timer@GOTPAGE
Lloh1:
	ldr	x23, [x23, _plink_timer@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x21
	mov	x2, x20
	bl	_eloop_cancel_timeout
	ldr	w8, [x22]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w0, w9, w10
	mov	w9, #1000
	msub	w8, w0, w9, w8
	mul	w1, w8, w9
	ldr	w2, [x23]
	mov	x3, x21
	mov	x4, x20
	bl	_eloop_register_timeout
Lloh2:
	adrp	x8, _PLINK_OPEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PLINK_OPEN@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	w3, #0
	bl	_mesh_mpm_send_plink_action
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	b	_wpa_mesh_set_plink_state
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_plink_timer,4,2                ; @plink_timer
	.comm	_PLINK_OPEN,4,2                 ; @PLINK_OPEN
	.no_dead_strip	_mesh_mpm_plink_open
.subsections_via_symbols
