	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rds_conn_connect_if_down       ## -- Begin function rds_conn_connect_if_down
	.p2align	4, 0x90
_rds_conn_connect_if_down:              ## @rds_conn_connect_if_down
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_rds_conn_state
	movq	_RDS_CONN_DOWN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_RDS_RECONNECT_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %rsi
	callq	_test_and_set_bit
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_rds_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_queue_delayed_work             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RDS_CONN_DOWN,8,3              ## @RDS_CONN_DOWN
	.comm	_RDS_RECONNECT_PENDING,4,2      ## @RDS_RECONNECT_PENDING
	.comm	_rds_wq,4,2                     ## @rds_wq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rds_conn_connect_if_down       ; -- Begin function rds_conn_connect_if_down
	.p2align	2
_rds_conn_connect_if_down:              ; @rds_conn_connect_if_down
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_rds_conn_state
Lloh0:
	adrp	x8, _RDS_CONN_DOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDS_CONN_DOWN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _RDS_RECONNECT_PENDING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RDS_RECONNECT_PENDING@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_test_and_set_bit
	cbz	w0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh6:
	adrp	x8, _rds_wq@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rds_wq@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_queue_delayed_work
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RDS_CONN_DOWN,8,3              ; @RDS_CONN_DOWN
	.comm	_RDS_RECONNECT_PENDING,4,2      ; @RDS_RECONNECT_PENDING
	.comm	_rds_wq,4,2                     ; @rds_wq
.subsections_via_symbols
