	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function readin
_readin:                                ## @readin
	.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	%rsi, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	callq	_fdopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	callq	_err
LBB0_2:
	movq	%r14, %rdi
	callq	_getchange
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:
	leaq	-48(%rbp), %r15
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ecx, %ecx
	cmpb	$97, %r13b
	sete	%cl
	addl	%ecx, %r14d
	xorl	%ecx, %ecx
	cmpb	$100, %r13b
	sete	%cl
	addl	%ecx, %r15d
	incl	%ebx
	incl	%eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%r14d, 8(%rcx,%r12)
	movl	%ebx, 12(%rcx,%r12)
	movl	%r15d, (%rcx,%r12)
	movl	%eax, 4(%rcx,%r12)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	incq	%rbx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_getchange
	movq	%rax, -48(%rbp)
	addq	$16, %r12
	testq	%rax, %rax
	leaq	-48(%rbp), %r15
	je	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_szchanges@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	decq	%rax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %rbx
	jb	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_increase
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_number
	movl	%eax, %r14d
	movq	-48(%rbp), %rax
	cmpb	$44, (%rax)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rax
	movq	%rax, -48(%rbp)
	movq	%r15, %rdi
	callq	_number
	movl	%eax, %ebx
	movq	-48(%rbp), %rax
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r14d, %ebx
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%rax), %rcx
	movq	%rcx, -48(%rbp)
	movzbl	(%rax), %r13d
	movq	%r15, %rdi
	callq	_number
	movl	%eax, %r15d
	movq	-48(%rbp), %rcx
	cmpb	$44, (%rcx)
	jne	LBB0_4
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%rcx
	movq	%rcx, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_number
	jmp	LBB0_4
LBB0_12:
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.13:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	-12(%rax,%r12), %ecx
	movl	-4(%rax,%r12), %edx
	movl	%edx, 8(%rax,%r12)
	movl	%ecx, (%rax,%r12)
	jmp	LBB0_16
LBB0_15:
	xorl	%ebx, %ebx
LBB0_16:
	movq	%r14, %rdi
	callq	_fclose
	movl	%ebx, %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	"r"

L_.str.1:                               ## @.str.1
	.asciz	"fdopen"

	.comm	_szchanges,4,2                  ## @szchanges
	.no_dead_strip	_readin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function readin
_readin:                                ; @readin
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fdopen
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	bl	_err
LBB0_2:
	mov	x0, x19
	bl	_getchange
	str	x0, [sp, #8]
	cbz	x0, LBB0_14
; %bb.3:
	mov	x25, #0
	mov	x21, #0
Lloh4:
	adrp	x26, _szchanges@GOTPAGE
Lloh5:
	ldr	x26, [x26, _szchanges@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w27, #97
	cinc	w8, w22, eq
	ldr	x9, [x20]
	cmp	w27, #100
	cinc	w10, w24, eq
	add	w11, w23, #1
	add	x9, x9, x25
	stp	w8, w11, [x9, #8]
	add	w8, w0, #1
	stp	w10, w8, [x9]
	add	x21, x21, #1
	mov	x0, x19
	bl	_getchange
	str	x0, [sp, #8]
	add	x25, x25, #16
	cbz	x0, LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x26]
	sub	x8, x8, #1
	cmp	x21, x8
	b.lo	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_increase
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	bl	_number
	mov	x22, x0
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cmp	w9, #44
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, #1
	str	x8, [sp, #8]
	add	x0, sp, #8
	bl	_number
	mov	x23, x0
	ldr	x8, [sp, #8]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x22
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrb	w27, [x8]
	add	x0, sp, #8
	bl	_number
	mov	x24, x0
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cmp	w9, #44
	b.ne	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, #1
	str	x8, [sp, #8]
	add	x0, sp, #8
	bl	_number
	b	LBB0_4
LBB0_12:
	cbz	x21, LBB0_15
; %bb.13:
	ldr	x8, [x20]
	add	x8, x8, x25
	ldur	w9, [x8, #-4]
	str	w9, [x8, #8]
	ldur	w9, [x8, #-12]
	str	w9, [x8]
	b	LBB0_15
LBB0_14:
	mov	w21, #0
LBB0_15:
	mov	x0, x19
	bl	_fclose
	mov	x0, x21
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"fdopen"

	.comm	_szchanges,4,2                  ; @szchanges
	.no_dead_strip	_readin
.subsections_via_symbols
