	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%r12
	pushq	%rbx
	subq	$256, %rsp                      ## imm = 0x100
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_lflag@GOTPCREL(%rip), %r12
	movl	$0, (%r12)
	leaq	L_.str(%rip), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, (%r12)
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
	cmpl	$108, %eax
	je	LBB0_17
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_1
LBB0_4:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	(%r14,%rbx,8), %rdi
	testq	%rdi, %rdi
	jne	LBB0_5
## %bb.8:
	movq	_stdin@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-288(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_16
## %bb.9:
	leaq	-288(%rbp), %rdi
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_11:
	leaq	-288(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_convert
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:
	leaq	-288(%rbp), %rbx
	leaq	L_.str.1(%rip), %r14
	leaq	L_str.3(%rip), %r15
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r15, %rdi
	callq	_puts
	movq	%rbx, %rdi
	callq	_convert
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	$1, %edi
	movq	%r14, %rsi
	callq	_errx
	jmp	LBB0_15
LBB0_5:
	callq	_convert
	cmpq	$0, 8(%r14,%rbx,8)
	je	LBB0_16
## %bb.6:
	leaq	(%r14,%rbx,8), %rbx
	addq	$16, %rbx
	leaq	L_str.3(%rip), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_puts
	movq	-8(%rbx), %rdi
	callq	_convert
	cmpq	$0, (%rbx)
	leaq	8(%rbx), %rbx
	jne	LBB0_7
LBB0_16:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_lflag,4,2                      ## @lflag
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"l"

	.comm	_optind,8,3                     ## @optind
	.comm	_stdin,4,2                      ## @stdin
L_.str.1:                               ## @.str.1
	.asciz	"line too long."

L_str.3:                                ## @str.3
	.asciz	"..."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x24, x23, [sp, #256]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _lflag@GOTPAGE
Lloh1:
	ldr	x22, [x22, _lflag@GOTPAGEOFF]
	str	wzr, [x22]
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
	mov	w23, #1
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	w23, [x22]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	cmp	w0, #108
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_usage
	b	LBB0_2
LBB0_5:
Lloh4:
	adrp	x8, _optind@GOTPAGE
Lloh5:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh6:
	ldr	x20, [x8]
	add	x21, x19, x20, lsl #3
	ldr	x0, [x21]
	cbnz	x0, LBB0_14
; %bb.6:
Lloh7:
	adrp	x21, _stdin@GOTPAGE
Lloh8:
	ldr	x21, [x21, _stdin@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, sp
	mov	w1, #256
	bl	_fgets
	cbz	x0, LBB0_17
; %bb.7:
	mov	x0, sp
	mov	w1, #10
	bl	_strchr
	cbnz	x0, LBB0_9
; %bb.8:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_9:
	mov	x0, sp
	bl	_convert
	ldr	w2, [x21]
	mov	x0, sp
	mov	w1, #256
	bl	_fgets
	cbz	x0, LBB0_17
; %bb.10:
Lloh11:
	adrp	x19, l_.str.1@PAGE
Lloh12:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh13:
	adrp	x20, l_str.3@PAGE
Lloh14:
	add	x20, x20, l_str.3@PAGEOFF
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x20
	bl	_puts
	mov	x0, sp
	bl	_convert
	ldr	w2, [x21]
	mov	x0, sp
	mov	w1, #256
	bl	_fgets
	cbz	x0, LBB0_17
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	mov	w1, #10
	bl	_strchr
	cbnz	x0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w0, #1
	mov	x1, x19
	bl	_errx
	b	LBB0_11
LBB0_14:
	bl	_convert
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_17
; %bb.15:
	add	x8, x19, x20, lsl #3
	add	x20, x8, #16
Lloh15:
	adrp	x19, l_str.3@PAGE
Lloh16:
	add	x19, x19, l_str.3@PAGEOFF
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_puts
	ldur	x0, [x20, #-8]
	bl	_convert
	ldr	x8, [x20], #8
	cbnz	x8, LBB0_16
LBB0_17:
	mov	w0, #0
	bl	_exit
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_lflag,4,2                      ; @lflag
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"l"

	.comm	_optind,8,3                     ; @optind
	.comm	_stdin,4,2                      ; @stdin
l_.str.1:                               ; @.str.1
	.asciz	"line too long."

l_str.3:                                ; @str.3
	.asciz	"..."

.subsections_via_symbols
