	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_aio_init_store              ## -- Begin function tl_aio_init_store
	.p2align	4, 0x90
_tl_aio_init_store:                     ## @tl_aio_init_store
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	_tl_type_conn@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_rpc_target_lookup
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_rpc_target_choose_connection
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_vkprintf
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_tl_store_init
	movl	$1, %eax
	jmp	LBB0_10
LBB0_4:
	movq	_tl_type_raw_msg@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	callq	_udp_target_lookup
	movq	%rax, %rdi
	movl	$-1, %eax
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.6:
	movq	(%rdi), %rcx
	movq	_udp_failed@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_10
## %bb.7:
	movq	%r14, %rsi
	callq	_tl_store_init_raw_msg
	movl	$1, %eax
	jmp	LBB0_10
LBB0_8:
	xorl	%edi, %edi
	callq	_assert
	jmp	LBB0_9
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	callq	_vkprintf
LBB0_9:
	movl	$-1, %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tl_type_conn,4,2               ## @tl_type_conn
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Good connection\n"

L_.str.1:                               ## @.str.1
	.asciz	"Bad connection\n"

	.comm	_tl_type_raw_msg,4,2            ## @tl_type_raw_msg
	.comm	_udp_failed,8,3                 ## @udp_failed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_aio_init_store              ; -- Begin function tl_aio_init_store
	.p2align	2
_tl_aio_init_store:                     ; @tl_aio_init_store
	.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, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _tl_type_conn@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tl_type_conn@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_rpc_target_lookup
	mov	x1, x20
	bl	_rpc_target_choose_connection
	cbz	x0, LBB0_8
; %bb.2:
	mov	x20, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	mov	x0, x20
	mov	x1, x19
	bl	_tl_store_init
	mov	w0, #1
	b	LBB0_10
LBB0_3:
Lloh5:
	adrp	x8, _tl_type_raw_msg@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tl_type_raw_msg@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_7
; %bb.4:
	mov	x0, x20
	bl	_udp_target_lookup
	cbz	x0, LBB0_9
; %bb.5:
	ldr	x8, [x0]
Lloh8:
	adrp	x9, _udp_failed@GOTPAGE
Lloh9:
	ldr	x9, [x9, _udp_failed@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.6:
	mov	x1, x19
	bl	_tl_store_init_raw_msg
	mov	w0, #1
	b	LBB0_10
LBB0_7:
	mov	w0, #0
	bl	_assert
	b	LBB0_9
LBB0_8:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_tl_type_conn,4,2               ; @tl_type_conn
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Good connection\n"

l_.str.1:                               ; @.str.1
	.asciz	"Bad connection\n"

	.comm	_tl_type_raw_msg,4,2            ; @tl_type_raw_msg
	.comm	_udp_failed,8,3                 ; @udp_failed
.subsections_via_symbols
