	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function conread
_conread:                               ## @conread
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	movq	_fdcon@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movslq	%edi, %rax
	leaq	(%rax,%rax,4), %rbx
	movl	(%r14,%rbx,8), %eax
	movq	_CS_CON@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.7:
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_congreet                       ## TAILCALL
LBB0_1:
	movq	_read@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r14,%rbx,8), %rax
	movq	24(%r14,%rbx,8), %rcx
	movq	8(%r14,%rbx,8), %rdx
	addq	%rax, %rdx
	subq	%rax, %rcx
	movl	%r15d, %esi
	callq	_atomicio
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	leaq	(%r14,%rbx,8), %r13
	addq	$16, %r13
	addq	(%r13), %rax
	movq	%rax, (%r13)
	cmpq	8(%r13), %rax
	jne	LBB0_6
## %bb.3:
	leaq	(%r14,%rbx,8), %r12
	movl	(%r12), %esi
	cmpl	$128, %esi
	jne	LBB0_5
## %bb.4:
	leaq	(%r14,%rbx,8), %rax
	addq	$8, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	32(%r14,%rbx,8), %edi
	callq	_htonl
	movl	%eax, 32(%r14,%rbx,8)
	addl	$8, %eax
	andl	$-8, %eax
	movslq	%eax, %rdi
	movq	%rdi, 8(%r13)
	movq	$0, (%r13)
	callq	_xmalloc
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_CS_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	jmp	LBB0_6
LBB0_8:
	movl	36(%r14,%rbx,8), %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movq	%rax, %rdx
	callq	_error
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_confree                        ## TAILCALL
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	callq	_fatal
LBB0_6:
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_contouch                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_fdcon,8,3                      ## @fdcon
	.comm	_CS_CON,4,2                     ## @CS_CON
	.comm	_read,4,2                       ## @read
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read (%s): %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_CS_KEYS,4,2                    ## @CS_KEYS
L_.str.1:                               ## @.str.1
	.asciz	"conread: invalid status %d"

	.no_dead_strip	_conread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function conread
_conread:                               ; @conread
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
Lloh0:
	adrp	x8, _fdcon@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fdcon@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	mov	w8, #40
	smaddl	x20, w0, w8, x22
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _CS_CON@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CS_CON@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_congreet
LBB0_2:
	sxtw	x24, w19
Lloh6:
	adrp	x8, _read@GOTPAGE
Lloh7:
	ldr	x8, [x8, _read@GOTPAGEOFF]
	mov	w9, #40
	madd	x21, x24, x9, x22
	ldr	x9, [x21, #8]!
	mov	x23, x21
	ldr	x10, [x23, #8]!
Lloh8:
	ldr	w0, [x8]
	add	x2, x10, x9
	mov	x25, x21
	ldr	x8, [x25, #16]!
	sub	x3, x8, x10
	mov	x1, x19
	bl	_atomicio
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x8, [x23]
	ldr	x9, [x25]
	add	x8, x8, x0
	cmp	x8, x9
	str	x8, [x23]
	b.ne	LBB0_8
; %bb.4:
	ldr	w1, [x20]
	cmp	w1, #128
	b.ne	LBB0_7
; %bb.5:
	mov	w8, #40
	madd	x22, x24, x8, x22
	ldr	w0, [x22, #32]
	bl	_htonl
	str	w0, [x22, #32]
	add	w8, w0, #8
	and	w8, w8, #0xfffffff8
	sxtw	x0, w8
	str	x0, [x25]
	str	xzr, [x23]
	bl	_xmalloc
	str	x0, [x21]
Lloh9:
	adrp	x8, _CS_KEYS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CS_KEYS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_8
LBB0_6:
	mov	w8, #40
	madd	x8, x24, x8, x22
	ldr	w20, [x8, #36]
Lloh12:
	adrp	x8, _errno@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_error
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_confree
LBB0_7:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_contouch
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_fdcon,8,3                      ; @fdcon
	.comm	_CS_CON,4,2                     ; @CS_CON
	.comm	_read,4,2                       ; @read
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read (%s): %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_CS_KEYS,4,2                    ; @CS_KEYS
l_.str.1:                               ; @.str.1
	.asciz	"conread: invalid status %d"

	.no_dead_strip	_conread
.subsections_via_symbols
