	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function operate_on_lines
_operate_on_lines:                      ## @operate_on_lines
	.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	%esi, %ebx
	movq	%rdi, %r15
	callq	_operate_common
	movl	$-1, %r14d
	testq	%rax, %rax
	js	LBB0_19
## %bb.1:
	movq	_fd@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_buf@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movq	_bsize@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_read
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	movq	(%r12), %rcx
	movb	$0, (%rcx,%rax)
	testl	%ebx, %ebx
	js	LBB0_7
## %bb.6:
	movq	(%r12), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_write
	movl	%ebx, %edi
	callq	_fsync
LBB0_7:
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.8:
	cmpb	$0, (%rdi)
	je	LBB0_12
## %bb.9:
	movq	_dpv_overall_read@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incl	(%rbx)
	incl	(%r15)
	movq	%rax, %rdi
	incq	%rdi
	cmpb	$0, 1(%rax)
	jne	LBB0_10
LBB0_12:
	movq	8(%r15), %rcx
	testq	%rcx, %rcx
	js	LBB0_19
## %bb.13:
	movslq	(%r15), %rsi
	imulq	$100, %rsi, %rax
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_14
## %bb.15:
	cqto
	idivq	%rcx
	movq	%rax, %r14
	jmp	LBB0_16
LBB0_2:
	movl	(%r13), %edi
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	je	LBB0_4
## %bb.3:
	callq	_close
LBB0_4:
	movl	$-1, (%r13)
	movq	_DPV_STATUS_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movl	$100, %r14d
	jmp	LBB0_19
LBB0_14:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %r14d
LBB0_16:
	movq	_no_overrun@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_19
## %bb.17:
	cmpl	$100, %r14d
	jne	LBB0_19
## %bb.18:
	xorl	%eax, %eax
	cmpq	%rsi, %rcx
	setg	%al
	movl	$100, %r14d
	subl	%eax, %r14d
LBB0_19:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fd,4,2                         ## @fd
	.comm	_buf,8,3                        ## @buf
	.comm	_bsize,4,2                      ## @bsize
	.comm	_STDIN_FILENO,4,2               ## @STDIN_FILENO
	.comm	_DPV_STATUS_DONE,4,2            ## @DPV_STATUS_DONE
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_dpv_overall_read,4,2           ## @dpv_overall_read
	.comm	_no_overrun,8,3                 ## @no_overrun
	.no_dead_strip	_operate_on_lines
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function operate_on_lines
_operate_on_lines:                      ; @operate_on_lines
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_operate_common
	tbnz	x0, #63, LBB0_13
; %bb.1:
Lloh0:
	adrp	x22, _fd@GOTPAGE
Lloh1:
	ldr	x22, [x22, _fd@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x21, _buf@GOTPAGE
Lloh3:
	ldr	x21, [x21, _buf@GOTPAGEOFF]
	ldr	x1, [x21]
Lloh4:
	adrp	x8, _bsize@GOTPAGE
Lloh5:
	ldr	x8, [x8, _bsize@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	bl	_read
	cbz	x0, LBB0_14
; %bb.2:
	mov	x2, x0
	ldr	x8, [x21]
	strb	wzr, [x8, x0]
	tbnz	w20, #31, LBB0_4
; %bb.3:
	ldr	x1, [x21]
	mov	x0, x20
	bl	_write
	mov	x0, x20
	bl	_fsync
LBB0_4:
	ldr	x0, [x21]
	cbz	x0, LBB0_9
; %bb.5:
	ldrb	w8, [x0]
	cbz	w8, LBB0_9
; %bb.6:
Lloh7:
	adrp	x20, _dpv_overall_read@GOTPAGE
Lloh8:
	ldr	x20, [x20, _dpv_overall_read@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	w1, #10
	bl	_strchr
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldrb	w8, [x0, #1]!
	cbnz	w8, LBB0_7
LBB0_9:
	ldr	x8, [x19, #8]
	tbnz	x8, #63, LBB0_13
; %bb.10:
	ldrsw	x9, [x19]
	mov	w10, #100
	mul	x10, x9, x10
Lloh9:
	adrp	x11, _no_overrun@GOTPAGE
Lloh10:
	ldr	x11, [x11, _no_overrun@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
	sdiv	x0, x10, x8
	cbz	x11, LBB0_17
; %bb.11:
	cmp	w0, #100
	b.ne	LBB0_17
; %bb.12:
	cmp	x8, x9
	mov	w8, #99
	cinc	w0, w8, le
	b	LBB0_17
LBB0_13:
	mov	w0, #-1
	b	LBB0_17
LBB0_14:
	ldr	w0, [x22]
Lloh12:
	adrp	x8, _STDIN_FILENO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _STDIN_FILENO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_16
; %bb.15:
	bl	_close
LBB0_16:
	mov	w8, #-1
	str	w8, [x22]
Lloh15:
	adrp	x8, _DPV_STATUS_DONE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DPV_STATUS_DONE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	mov	w0, #100
LBB0_17:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_fd,4,2                         ; @fd
	.comm	_buf,8,3                        ; @buf
	.comm	_bsize,4,2                      ; @bsize
	.comm	_STDIN_FILENO,4,2               ; @STDIN_FILENO
	.comm	_DPV_STATUS_DONE,4,2            ; @DPV_STATUS_DONE
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_dpv_overall_read,4,2           ; @dpv_overall_read
	.comm	_no_overrun,8,3                 ; @no_overrun
	.no_dead_strip	_operate_on_lines
.subsections_via_symbols
