	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_string                    ## -- Begin function read_string
	.p2align	4, 0x90
_read_string:                           ## @read_string
	.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	%rdi, %rbx
	movl	$16, %edi
	callq	_bmalloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	%eax, %ebx
	movq	_EOF@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	cmpl	(%rax), %ebx
	jne	LBB0_2
## %bb.1:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_16:
	movslq	%r12d, %rax
	movb	$0, (%rdi,%rax)
	movq	%rdi, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$15, %r13d
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r12d, %rax
	incl	%r12d
	movq	%rdi, %r15
	movb	%bl, (%rdi,%rax)
	xorl	%r14d, %r14d
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	callq	*(%rax)
	movl	%eax, %ebx
	movq	_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	movq	%r15, %rdi
	je	LBB0_16
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r14d, %r14d
	jne	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$93, %ebx
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$91, %ebx
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	testl	%eax, %eax
	jne	LBB0_10
	jmp	LBB0_16
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	decl	%eax
	testl	%eax, %eax
	jne	LBB0_10
	jmp	LBB0_16
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_16
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$1, %r14d
	cmpl	$92, %ebx
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdi, %r15
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r13d, %r12d
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, %r14d
	addl	%r13d, %r14d
	leal	1(%r13,%r13), %edx
	movl	$1, %esi
	callq	_breallocarray
	movq	%rax, %rdi
	movl	%r14d, %r13d
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_string                    ; -- Begin function read_string
	.p2align	2
_read_string:                           ; @read_string
	.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	x20, x0
	mov	w0, #16
	bl	_bmalloc
	mov	x19, x0
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
Lloh0:
	adrp	x23, _EOF@GOTPAGE
Lloh1:
	ldr	x23, [x23, _EOF@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.1:
	mov	w22, #0
LBB0_2:
	strb	wzr, [x19, w22, sxtw]
	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
	ret
LBB0_3:
	mov	x21, x0
	mov	w26, #0
	mov	w22, #0
	mov	w24, #1
	mov	w25, #15
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w26, #0
	strb	w21, [x19, w22, sxtw]
	add	w22, w22, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	mov	x21, x0
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	w26, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w24, #1
	cmp	w21, #91
	cinc	w9, w24, eq
	cmp	w21, #93
	csel	w24, w8, w9, eq
	cbz	w24, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w21, #92
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w26, #1
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w22, w25
	b.ne	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	lsl	w26, w25, #1
	mov	w2, #1
	bfi	w2, w25, #1, #31
	mov	x0, x19
	mov	w1, #1
	bl	_breallocarray
	mov	x19, x0
	mov	x25, x26
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
.subsections_via_symbols
