	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_connect                     ## -- Begin function do_connect
	.p2align	4, 0x90
_do_connect:                            ## @do_connect
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movl	%r8d, %ebx
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r15
	movl	%r8d, (%rsp)
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	movl	%r15d, %edx
	movq	%r13, %rcx
	movq	%r14, %r8
	movq	%r12, %r9
	xorl	%eax, %eax
	callq	_vkprintf
	movq	%r15, %rdi
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	movq	%r14, %r13
	movq	%r12, %r14
	movq	%r13, %rdx
	movq	%r12, %rcx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r8d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r9
	callq	_get_host_on_connect
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_vkprintf
	testl	%r15d, %r15d
	js	LBB0_3
## %bb.1:
	movq	_now@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, 4(%rcx)
	je	LBB0_3
## %bb.2:
	movl	$1, %edi
	callq	_assert
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %r12d
	movq	_LEV_COPYEXEC_RESULT_CONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leal	32(%r12), %esi
	xorl	%edx, %edx
	callq	_alloc_log_event
	movq	%rbx, %rcx
	movq	%rax, %rbx
	movq	%r13, (%rax)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movq	(%rcx), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	%r12d, 16(%rbx)
	movl	24(%rbx), %edi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 20(%rbx)
LBB0_3:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"do_connect (c: %p, volume_id: 0x%llx, random_tag: 0x%llx, hostname: %s, pid: %d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"get_host_on_connect returns %d.\n"

	.comm	_now,4,2                        ## @now
	.comm	_LEV_COPYEXEC_RESULT_CONNECT,4,2 ## @LEV_COPYEXEC_RESULT_CONNECT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_connect                     ; -- Begin function do_connect
	.p2align	2
_do_connect:                            ; @do_connect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x5
	mov	x19, x4
	mov	x20, x3
	mov	x23, x2
	mov	x22, x1
	mov	x24, x0
	stp	x3, x19, [sp, #16]
	stp	x1, x2, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	mov	x2, x24
	bl	_vkprintf
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	mov	x3, x20
	mov	x4, x19
	mov	x5, x21
	bl	_get_host_on_connect
	mov	x24, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #4
	mov	x2, x24
	bl	_vkprintf
	tbnz	w24, #31, LBB0_3
; %bb.1:
Lloh4:
	adrp	x8, _now@GOTPAGE
Lloh5:
	ldr	x8, [x8, _now@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	x9, [x21]
	str	w8, [x9, #4]
	cbz	w24, LBB0_3
; %bb.2:
	mov	w0, #1
	bl	_assert
	mov	x0, x20
	bl	_strlen
	mov	x25, x0
Lloh7:
	adrp	x8, _LEV_COPYEXEC_RESULT_CONNECT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LEV_COPYEXEC_RESULT_CONNECT@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	add	w1, w25, #32
	mov	w2, #0
	bl	_alloc_log_event
	mov	x26, x0
	stp	x23, x22, [x0]
	ldr	x8, [x21]
	ldr	w8, [x8]
	str	w8, [x0, #28]
	str	w25, [x0, #16]
	ldr	w0, [x0, #24]
	mov	x1, x20
	mov	x2, x25
	bl	_memcpy
	str	w19, [x26, #20]
LBB0_3:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"do_connect (c: %p, volume_id: 0x%llx, random_tag: 0x%llx, hostname: %s, pid: %d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"get_host_on_connect returns %d.\n"

	.comm	_now,4,2                        ; @now
	.comm	_LEV_COPYEXEC_RESULT_CONNECT,4,2 ; @LEV_COPYEXEC_RESULT_CONNECT
.subsections_via_symbols
