	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function socket_restart_pause
_socket_restart_pause:                  ## @socket_restart_pause
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	12(%rdi), %eax
	cmpl	$130, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_2
## %bb.3:
	movl	$2, %ebx
	cmpl	$128, %eax
	jne	LBB0_5
LBB0_4:
	movl	16(%r14), %ebx
	cmpl	$129, %eax
	je	LBB0_8
LBB0_5:
	movl	8(%r14), %eax
	movq	24(%r14), %rcx
	cltd
	idivl	(%rcx)
	cmpl	$5, %eax
	jl	LBB0_7
## %bb.6:
	movl	%eax, %r15d
	addl	$-4, %r15d
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_max_int
	movl	%eax, %ebx
	movl	%r15d, %edi
	movl	$15, %esi
	callq	_min_int
	movl	%eax, %ecx
	shll	%cl, %ebx
LBB0_7:
	movl	20(%r14), %eax
	cmpl	%eax, %ebx
	cmovgel	%eax, %ebx
	jmp	LBB0_8
LBB0_2:
	movl	$1, %ebx
LBB0_8:
	movl	(%r14), %eax
	xorl	%ecx, %ecx
	cmpl	$-1, %eax
	cmovnel	%ebx, %ecx
	cmpl	%ebx, %eax
	movl	%ecx, %ebx
	cmovgl	%eax, %ebx
	testl	%eax, %eax
	cmovlel	%ecx, %ebx
	movl	$0, (%r14)
	movl	%ebx, %edi
	callq	_do_hold
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.11:
	movq	_D_RESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_msg
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_management_sleep               ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D_RESTART,4,2                  ## @D_RESTART
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Restart pause, %d second(s)"

	.comm	_AR_NOINTERACT,8,3              ## @AR_NOINTERACT
	.no_dead_strip	_socket_restart_pause
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function socket_restart_pause
_socket_restart_pause:                  ; @socket_restart_pause
	.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
	mov	x19, x0
	ldr	w8, [x0, #12]
	cmp	w8, #130
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_5
LBB0_3:
	ldr	w0, [x19, #16]
	cmp	w8, #129
	b.ne	LBB0_6
	b	LBB0_9
LBB0_4:
	mov	w0, #1
	b	LBB0_9
LBB0_5:
	mov	w0, #2
LBB0_6:
	ldr	w8, [x19, #8]
	ldr	x9, [x19, #24]
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	cmp	w8, #5
	b.lt	LBB0_8
; %bb.7:
	sub	w20, w8, #4
	mov	w1, #1
	bl	_max_int
	mov	x21, x0
	mov	x0, x20
	mov	w1, #15
	bl	_min_int
	lsl	w0, w21, w0
LBB0_8:
	ldr	w8, [x19, #20]
	cmp	w0, w8
	csel	w0, w0, w8, lt
LBB0_9:
	ldr	w8, [x19]
	cmn	w8, #1
	csel	w9, wzr, w0, eq
	cmp	w8, w0
	ccmp	w8, #0, #4, gt
	csel	w20, w8, w9, gt
	str	wzr, [x19]
	mov	x0, x20
	bl	_do_hold
	cmp	x0, #0
	ccmp	w20, #0, #4, eq
	b.ne	LBB0_11
; %bb.10:
	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_11:
Lloh0:
	adrp	x8, _D_RESTART@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D_RESTART@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_msg
	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	_management_sleep
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_D_RESTART,4,2                  ; @D_RESTART
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Restart pause, %d second(s)"

	.comm	_AR_NOINTERACT,8,3              ; @AR_NOINTERACT
	.no_dead_strip	_socket_restart_pause
.subsections_via_symbols
