	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rds_queue_reconnect            ## -- Begin function rds_queue_reconnect
	.p2align	4, 0x90
_rds_queue_reconnect:                   ## @rds_queue_reconnect
	.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, %rbx
	leaq	16(%rdi), %r14
	leaq	12(%rdi), %r15
	movq	(%rdi), %r8
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_rdsdebug
	movq	_RDS_RECONNECT_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	20(%rbx), %rsi
	callq	_set_bit
	cmpq	$0, (%rbx)
	je	LBB0_8
## %bb.1:
	leaq	-32(%rbp), %rdi
	movl	$8, %esi
	callq	_get_random_bytes
	movq	-32(%rbp), %rax
	movq	(%rbx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_2
## %bb.3:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_4
LBB0_8:
	movq	_rds_sysctl_reconnect_min_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_rds_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rbx
	movq	%rbx, %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_delayed_work             ## TAILCALL
LBB0_2:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	movq	%rbx, %rcx
	movq	%r14, %r8
	movq	%r15, %r9
	xorl	%eax, %eax
	callq	_rdsdebug
	movq	_rds_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	movq	-32(%rbp), %rax
	movq	(%rbx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_5
## %bb.6:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_7
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_7:
	callq	_queue_delayed_work
	movl	(%rbx), %edi
	addl	%edi, %edi
	movq	_rds_sysctl_reconnect_max_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_min
	movq	%rax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"conn %p for %pI4 to %pI4 reconnect jiffies %lu\n"

	.comm	_RDS_RECONNECT_PENDING,4,2      ## @RDS_RECONNECT_PENDING
	.comm	_rds_sysctl_reconnect_min_jiffies,8,3 ## @rds_sysctl_reconnect_min_jiffies
	.comm	_rds_wq,4,2                     ## @rds_wq
L_.str.1:                               ## @.str.1
	.asciz	"%lu delay %lu ceil conn %p for %pI4 -> %pI4\n"

	.comm	_rds_sysctl_reconnect_max_jiffies,4,2 ## @rds_sysctl_reconnect_max_jiffies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rds_queue_reconnect            ; -- Begin function rds_queue_reconnect
	.p2align	2
_rds_queue_reconnect:                   ; @rds_queue_reconnect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
	add	x20, x0, #16
	add	x21, x0, #12
	ldr	x8, [x0]
	stp	x21, x8, [sp, #16]
	stp	x0, x20, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_rdsdebug
Lloh2:
	adrp	x8, _RDS_RECONNECT_PENDING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RDS_RECONNECT_PENDING@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, x19, #20
	bl	_set_bit
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	add	x0, sp, #40
	mov	w1, #8
	bl	_get_random_bytes
	ldr	x8, [sp, #40]
	ldr	x9, [x19]
	udiv	x10, x8, x9
	msub	x8, x10, x9, x8
	stp	x20, x21, [sp, #24]
	stp	x9, x19, [sp, #8]
	str	x8, [sp]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_rdsdebug
Lloh7:
	adrp	x8, _rds_wq@GOTPAGE
Lloh8:
	ldr	x8, [x8, _rds_wq@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	add	x1, x19, #8
	ldr	x8, [sp, #40]
	ldr	x9, [x19]
	udiv	x10, x8, x9
	msub	x2, x10, x9, x8
	bl	_queue_delayed_work
	ldr	w8, [x19]
	lsl	w0, w8, #1
Lloh10:
	adrp	x8, _rds_sysctl_reconnect_max_jiffies@GOTPAGE
Lloh11:
	ldr	x8, [x8, _rds_sysctl_reconnect_max_jiffies@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_min
	str	x0, [x19]
	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
	add	sp, sp, #96
	ret
LBB0_2:
Lloh13:
	adrp	x8, _rds_sysctl_reconnect_min_jiffies@GOTPAGE
Lloh14:
	ldr	x8, [x8, _rds_sysctl_reconnect_min_jiffies@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x8, [x19], #8
Lloh16:
	adrp	x8, _rds_wq@GOTPAGE
Lloh17:
	ldr	x8, [x8, _rds_wq@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, #0
	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
	add	sp, sp, #96
	b	_queue_delayed_work
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"conn %p for %pI4 to %pI4 reconnect jiffies %lu\n"

	.comm	_RDS_RECONNECT_PENDING,4,2      ; @RDS_RECONNECT_PENDING
	.comm	_rds_sysctl_reconnect_min_jiffies,8,3 ; @rds_sysctl_reconnect_min_jiffies
	.comm	_rds_wq,4,2                     ; @rds_wq
l_.str.1:                               ; @.str.1
	.asciz	"%lu delay %lu ceil conn %p for %pI4 -> %pI4\n"

	.comm	_rds_sysctl_reconnect_max_jiffies,4,2 ; @rds_sysctl_reconnect_max_jiffies
.subsections_via_symbols
