	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_conn_streams
_prepare_conn_streams:                  ## @prepare_conn_streams
	.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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	cmpq	$0, 24(%rdi)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_apr_time_now
	subq	48(%rbx), %rax
	movq	%rax, 56(%rbx)
LBB0_2:
	movq	_SERF_CONN_CONNECTED@GOTPCREL(%rip), %rcx
	movq	(%rbx), %rdx
	movq	24(%rbx), %rax
	cmpq	(%rcx), %rdx
	jne	LBB0_6
## %bb.3:
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_do_conn_setup
	testq	%rax, %rax
	jne	LBB0_10
LBB0_5:
	movq	40(%rbx), %rax
	movq	%rax, (%r15)
	movq	32(%rbx), %rax
	movq	%rax, (%r14)
	movq	24(%rbx), %rax
	movq	%rax, (%r12)
	jmp	LBB0_9
LBB0_6:
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movl	16(%rbx), %esi
	movl	20(%rbx), %edi
	callq	_serf_bucket_socket_create
	movq	%rax, (%r12)
LBB0_8:
	movq	8(%rbx), %rax
	movq	%rax, (%r14)
	movq	%rax, (%r15)
LBB0_9:
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SERF_CONN_CONNECTED,8,3        ## @SERF_CONN_CONNECTED
	.comm	_APR_SUCCESS,8,3                ## @APR_SUCCESS
	.no_dead_strip	_prepare_conn_streams
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_conn_streams
_prepare_conn_streams:                  ; @prepare_conn_streams
	.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, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	ldr	x8, [x0, #24]
	cbnz	x8, LBB0_2
; %bb.1:
	bl	_apr_time_now
	ldr	x8, [x21, #48]
	sub	x8, x0, x8
	str	x8, [x21, #56]
LBB0_2:
	ldr	x9, [x21]
Lloh0:
	adrp	x8, _SERF_CONN_CONNECTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SERF_CONN_CONNECTED@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	ldr	x8, [x21, #24]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.3:
	cbnz	x8, LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_do_conn_setup
	cbnz	x0, LBB0_10
LBB0_5:
	ldr	x8, [x21, #40]
	str	x8, [x20]
	ldr	x8, [x21, #32]
	str	x8, [x19]
	ldr	x8, [x21, #24]
	str	x8, [x22]
	b	LBB0_9
LBB0_6:
	cbnz	x8, LBB0_8
; %bb.7:
	ldp	w1, w0, [x21, #16]
	bl	_serf_bucket_socket_create
	str	x0, [x22]
LBB0_8:
	ldr	x8, [x21, #8]
	str	x8, [x19]
	str	x8, [x20]
LBB0_9:
Lloh3:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
LBB0_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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SERF_CONN_CONNECTED,8,3        ; @SERF_CONN_CONNECTED
	.comm	_APR_SUCCESS,8,3                ; @APR_SUCCESS
	.no_dead_strip	_prepare_conn_streams
.subsections_via_symbols
