	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_getline                     ## -- Begin function ex_getline
	.p2align	4, 0x90
_ex_getline:                            ## @ex_getline
	.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	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_EXP
	movq	%rax, %r12
	movq	_errno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	(%r12), %r15
	xorl	%r13d, %r13d
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	leaq	1(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r12), %rdx
	cmpq	%rdx, %r13
	jb	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	(%r12), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_BINC_RETC
	movq	(%r12), %r15
	addq	%r13, %r15
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	%rbx, %rdi
	callq	_getc
	movl	%eax, %r14d
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r14d
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	%rbx, %rdi
	callq	_feof
	testl	%eax, %eax
	jne	LBB0_6
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	_EINTR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	$0, (%rcx)
	movq	%rbx, %rdi
	callq	_clearerr
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$10, %r14d
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%eax, %r14d
	je	LBB0_9
## %bb.16:                              ##   in Loop: Header=BB0_1 Depth=1
	movb	%r14b, (%r15)
	incq	%r15
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_1
LBB0_14:
	movl	$1, %eax
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	cmpl	%eax, %r14d
	jne	LBB0_11
## %bb.10:
	movl	$1, %eax
	testq	%r13, %r13
	je	LBB0_12
LBB0_11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_EOF,4,2                        ## @EOF
	.comm	_EINTR,8,3                      ## @EINTR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_getline                     ; -- Begin function ex_getline
	.p2align	2
_ex_getline:                            ; @ex_getline
	.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
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	mov	x20, x1
	mov	x21, x0
	bl	_EXP
	mov	x22, x0
	mov	x25, #0
Lloh0:
	adrp	x26, _errno@GOTPAGE
Lloh1:
	ldr	x26, [x26, _errno@GOTPAGEOFF]
	str	xzr, [x26]
	ldr	x19, [x0]
Lloh2:
	adrp	x27, _EOF@GOTPAGE
Lloh3:
	ldr	x27, [x27, _EOF@GOTPAGEOFF]
Lloh4:
	adrp	x28, _EINTR@GOTPAGE
Lloh5:
	ldr	x28, [x28, _EINTR@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	add	x23, x25, #1
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x2, [x22, #8]
	cmp	x25, x2
	b.lo	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=2
	ldr	x1, [x22]
	mov	x0, x21
	mov	x3, x23
	bl	_BINC_RETC
	ldr	x8, [x22]
	add	x19, x8, x25
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=2
	mov	x0, x20
	bl	_getc
	mov	x24, x0
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=2
	mov	x0, x20
	bl	_feof
	cbnz	w0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=2
	ldr	x8, [x26]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=2
	str	xzr, [x26]
	mov	x0, x20
	bl	_clearerr
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x27]
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
	cmp	w24, #10
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_1 Depth=1
	cmp	w24, w8
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_1 Depth=1
	strb	w24, [x19], #1
	mov	x25, x23
	b	LBB0_1
LBB0_12:
	cmp	w24, w8
	ccmp	x25, #0, #0, eq
	b.eq	LBB0_14
; %bb.13:
	mov	w0, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x25, [x8]
	b	LBB0_15
LBB0_14:
	mov	w0, #1
LBB0_15:
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_EOF,4,2                        ; @EOF
	.comm	_EINTR,8,3                      ; @EINTR
.subsections_via_symbols
