	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_aio_read_connection     ## -- Begin function create_aio_read_connection
	.p2align	4, 0x90
_create_aio_read_connection:            ## @create_aio_read_connection
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r15
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movl	%edi, %r13d
	movl	$80, %edi
	callq	_zmalloc0
	movq	%rax, %rbx
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	movq	%r12, %rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r14
	callq	_fprintf
	addq	$16, %rsp
LBB0_2:
	movl	%r13d, (%rbx)
	movq	_C_AIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	%r15, 64(%rbx)
	movl	$4, %edi
	callq	_zmalloc0
	movq	%rax, 8(%rbx)
	movq	%rbx, 48(%rbx)
	movq	%rbx, 56(%rbx)
	movq	%r14, 40(%rbx)
	movq	_ct_aio@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%rbx)
	movq	_conn_wait_aio@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rbx)
	movq	_aio_list@GOTPCREL(%rip), %rcx
	movq	%rcx, 16(%rbx)
	movq	(%rcx), %rdx
	movq	%rdx, 24(%rbx)
	movq	%rbx, 16(%rdx)
	movq	%rbx, (%rcx)
	movl	%r13d, (%rax)
	movq	%r12, 24(%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 16(%rax)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 4(%rax)
	movq	_SIGEV_SIGNAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_SIGPOLL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	%rax, %rdi
	callq	_aio_read
	testq	%rax, %rax
	js	LBB0_4
## %bb.3:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$3, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in create_aio_read_connection(%d,%p,%lld,%d,%p): allocated at %p\n"

	.comm	_C_AIO,4,2                      ## @C_AIO
	.comm	_ct_aio,4,2                     ## @ct_aio
	.comm	_conn_wait_aio,4,2              ## @conn_wait_aio
	.comm	_aio_list,8,3                   ## @aio_list
	.comm	_SIGEV_SIGNAL,4,2               ## @SIGEV_SIGNAL
	.comm	_SIGPOLL,4,2                    ## @SIGPOLL
L_.str.1:                               ## @.str.1
	.asciz	"aio_read returned -1: %m\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_aio_read_connection     ; -- Begin function create_aio_read_connection
	.p2align	2
_create_aio_read_connection:            ; @create_aio_read_connection
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x24, x5
	mov	x25, x4
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x22, x0
	mov	w0, #80
	bl	_zmalloc0
	mov	x19, x0
Lloh0:
	adrp	x8, _verbosity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	stp	x24, x19, [sp, #32]
	stp	x21, x20, [sp, #16]
	stp	x22, x23, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
	str	w22, [x19]
Lloh8:
	adrp	x8, _C_AIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _C_AIO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #72]
	str	x25, [x19, #64]
	mov	w0, #4
	bl	_zmalloc0
	stp	x19, x19, [x19, #48]
	str	x24, [x19, #40]
Lloh11:
	adrp	x8, _ct_aio@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ct_aio@GOTPAGEOFF]
Lloh13:
	adrp	x9, _conn_wait_aio@GOTPAGE
Lloh14:
	ldr	x9, [x9, _conn_wait_aio@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #32]
Lloh17:
	adrp	x8, _aio_list@GOTPAGE
Lloh18:
	ldr	x8, [x8, _aio_list@GOTPAGEOFF]
	stp	x0, x8, [x19, #8]
	ldr	x9, [x8]
	str	x9, [x19, #24]
	str	x19, [x9, #16]
	str	x19, [x8]
	stp	x21, x23, [x0, #16]
	stp	w22, w20, [x0]
Lloh19:
	adrp	x8, _SIGEV_SIGNAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SIGEV_SIGNAL@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _SIGPOLL@GOTPAGE
Lloh23:
	ldr	x9, [x9, _SIGPOLL@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
	bl	_aio_read
	tbnz	x0, #63, LBB0_4
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
Lloh25:
	adrp	x8, _stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	w0, #3
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in create_aio_read_connection(%d,%p,%lld,%d,%p): allocated at %p\n"

	.comm	_C_AIO,4,2                      ; @C_AIO
	.comm	_ct_aio,4,2                     ; @ct_aio
	.comm	_conn_wait_aio,4,2              ; @conn_wait_aio
	.comm	_aio_list,8,3                   ; @aio_list
	.comm	_SIGEV_SIGNAL,4,2               ; @SIGEV_SIGNAL
	.comm	_SIGPOLL,4,2                    ; @SIGPOLL
l_.str.1:                               ; @.str.1
	.asciz	"aio_read returned -1: %m\n"

.subsections_via_symbols
