	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_readfp                      ## -- Begin function ex_readfp
	.p2align	4, 0x90
_ex_readfp:                             ## @ex_readfp
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	callq	_EXP
	movq	%rax, %r14
	movl	(%r15), %r15d
	leaq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	callq	_ex_getline
	testl	%eax, %eax
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
LBB0_12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ferror
	testq	%rax, %rax
	jne	LBB0_20
## %bb.13:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_fclose
	testq	%rax, %rax
	je	LBB0_14
LBB0_20:
	movq	_M_SYSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rcx
	movq	%rbx, %rdi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_msgq_str
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_fclose
	movl	$1, %r14d
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_22
LBB0_21:
	movq	_BUSY_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	callq	*(%rax)
LBB0_22:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	leaq	L_.str(%rip), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	1(%r12), %r15d
	movl	%r15d, %eax
	cltd
	movq	_INTERRUPT_CHECK@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	testl	%edx, %edx
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_INTERRUPTED
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_BUSY_ON@GOTPCREL(%rip), %rax
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_BUSY_UPDATE@GOTPCREL(%rip), %rax
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	callq	*(%rax)
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	addl	-68(%rbp), %r12d                ## 4-byte Folded Reload
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movq	-64(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_FILE2INT5
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%r12d, %edx
	callq	_db_append
	testq	%rax, %rax
	jne	LBB0_20
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	-64(%rbp), %r13
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	-64(%rbp), %rdx
	callq	_ex_getline
	movl	%r15d, %r12d
	testl	%eax, %eax
	je	LBB0_3
	jmp	LBB0_12
LBB0_14:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movl	%r15d, (%rax)
LBB0_16:
	xorl	%r14d, %r14d
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_22
## %bb.17:
	leaq	-72(%rbp), %rdx
	movq	%rbx, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_msg_print
	movq	%rax, %r12
	movq	_M_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %r8d
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rcx
	movq	%r13, %r9
	callq	_msgq
	cmpl	$0, -72(%rbp)
	je	LBB0_18
## %bb.19:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_FREE_SPACE
	jmp	LBB0_21
LBB0_5:
	movl	%r12d, %r15d
	jmp	LBB0_12
LBB0_18:
	xorl	%r14d, %r14d
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"147|Reading..."

	.comm	_INTERRUPT_CHECK,4,2            ## @INTERRUPT_CHECK
	.comm	_BUSY_UPDATE,4,2                ## @BUSY_UPDATE
	.comm	_BUSY_ON,4,2                    ## @BUSY_ON
	.comm	_M_INFO,4,2                     ## @M_INFO
L_.str.1:                               ## @.str.1
	.asciz	"148|%s: %lu lines, %lu characters"

	.comm	_M_SYSERR,4,2                   ## @M_SYSERR
L_.str.2:                               ## @.str.2
	.asciz	"%s"

	.comm	_BUSY_OFF,4,2                   ## @BUSY_OFF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_readfp                      ; -- Begin function ex_readfp
	.p2align	2
_ex_readfp:                             ; @ex_readfp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x5
	mov	x23, x4
	mov	x24, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	bl	_EXP
	mov	x25, x0
	ldr	w28, [x24]
	add	x2, sp, #40
	mov	x0, x19
	mov	x1, x22
	bl	_ex_getline
	stp	x23, x21, [sp, #8]              ; 16-byte Folded Spill
	cbz	w0, LBB0_7
; %bb.1:
	mov	x24, #0
	mov	w23, #0
LBB0_2:
	mov	x0, x22
	bl	_ferror
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_fclose
	cbz	x0, LBB0_14
LBB0_4:
Lloh0:
	adrp	x8, _M_SYSERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_SYSERR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x3, l_.str.2@PAGE
Lloh4:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	ldr	x2, [sp, #16]                   ; 8-byte Folded Reload
	bl	_msgq_str
	mov	x0, x22
	bl	_fclose
	mov	w21, #1
	cbnz	w20, LBB0_6
LBB0_5:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _BUSY_OFF@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BUSY_OFF@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x9]
	mov	x0, x19
	mov	x1, #0
	blr	x8
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_7:
	mov	w23, #0
	mov	x24, #0
Lloh8:
	adrp	x21, _INTERRUPT_CHECK@GOTPAGE
Lloh9:
	ldr	x21, [x21, _INTERRUPT_CHECK@GOTPAGEOFF]
Lloh10:
	adrp	x26, l_.str@PAGE
Lloh11:
	add	x26, x26, l_.str@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w23, #1
	ldr	w9, [x21]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	cbnz	w8, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_INTERRUPTED
	cbnz	x0, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	cbnz	w20, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	cmp	x26, #0
Lloh12:
	adrp	x9, _BUSY_UPDATE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BUSY_UPDATE@GOTPAGEOFF]
Lloh14:
	adrp	x10, _BUSY_ON@GOTPAGE
Lloh15:
	ldr	x10, [x10, _BUSY_ON@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w2, [x9]
	mov	x0, x19
	mov	x1, x26
	blr	x8
	mov	x26, #0
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w27, w28, w23
	ldp	w2, w1, [x25]
	ldr	x3, [sp, #40]
	mov	x0, x19
	bl	_FILE2INT5
	mov	x0, x19
	mov	w1, #1
	mov	x2, x27
	bl	_db_append
	cbnz	x0, LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp, #40]
	add	x24, x8, x24
	add	x2, sp, #40
	mov	x0, x19
	mov	x1, x22
	bl	_ex_getline
	add	w23, w23, #1
	cbz	w0, LBB0_8
	b	LBB0_2
LBB0_14:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x8, LBB0_16
; %bb.15:
	str	w23, [x8]
LBB0_16:
	cbz	w20, LBB0_18
; %bb.17:
	mov	w21, #0
	b	LBB0_6
LBB0_18:
	add	x2, sp, #36
	mov	x0, x19
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_msg_print
	mov	x20, x0
Lloh16:
	adrp	x8, _M_INFO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _M_INFO@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	w4, w23
Lloh19:
	adrp	x2, l_.str.1@PAGE
Lloh20:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	mov	x5, x24
	bl	_msgq
	ldr	w8, [sp, #36]
	cbz	w8, LBB0_20
; %bb.19:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_FREE_SPACE
LBB0_20:
	mov	w21, #0
	b	LBB0_5
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"147|Reading..."

	.comm	_INTERRUPT_CHECK,4,2            ; @INTERRUPT_CHECK
	.comm	_BUSY_UPDATE,4,2                ; @BUSY_UPDATE
	.comm	_BUSY_ON,4,2                    ; @BUSY_ON
	.comm	_M_INFO,4,2                     ; @M_INFO
l_.str.1:                               ; @.str.1
	.asciz	"148|%s: %lu lines, %lu characters"

	.comm	_M_SYSERR,4,2                   ; @M_SYSERR
l_.str.2:                               ; @.str.2
	.asciz	"%s"

	.comm	_BUSY_OFF,4,2                   ; @BUSY_OFF
.subsections_via_symbols
