	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %ebx
	leaq	L_.str(%rip), %r14
	movq	_longest@GOTPCREL(%rip), %r13
	movq	_quiet@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, (%r13)
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_getopt
	cmpl	$107, %eax
	jle	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$108, %eax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$113, %eax
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, (%r12)
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$100, %eax
	jne	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_debug@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_1
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_10
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_1
LBB0_10:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	subl	%r12d, %ebx
	cmpl	$1, %ebx
	je	LBB0_13
## %bb.11:
	testl	%ebx, %ebx
	jne	LBB0_15
## %bb.12:
	movq	_stdin@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_16
LBB0_13:
	movq	(%r15,%r12,8), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_16
## %bb.14:
	movq	(%r15,%r12,8), %rdx
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
	xorl	%r14d, %r14d
	jmp	LBB0_16
LBB0_15:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_usage
LBB0_16:
	movl	$1024, -72(%rbp)                ## imm = 0x400
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_grow_buf
	movq	%rax, -80(%rbp)
	movl	$1024, -56(%rbp)                ## imm = 0x400
	xorl	%edi, %edi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_grow_buf
	movq	%rax, -64(%rbp)
	movq	%r14, %rdi
	callq	_getc
	movq	_EOF@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jne	LBB0_17
LBB0_29:
	movq	%r14, %rdi
	callq	_fclose
	testl	%r15d, %r15d
	je	LBB0_31
## %bb.30:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_31:
	xorl	%eax, %eax
	callq	_tsort
	xorl	%edi, %edi
	callq	_exit
LBB0_17:
	movl	%eax, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%r14, %rdi
	callq	_getc
	movl	%eax, %ebx
	cmpl	(%r12), %eax
	je	LBB0_29
LBB0_18:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	movl	%ebx, %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	cmpl	(%r12), %ebx
	je	LBB0_29
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movl	%r15d, %eax
	shlq	$4, %rax
	leaq	(%rax,%rbp), %rcx
	addq	$-72, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	-72(%rbp,%rax), %r15d
	movq	-80(%rbp,%rax), %r12
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %r13
	movl	%ebx, -4(%r12,%rcx,4)
	movl	%r15d, %eax
	cmpq	%rax, %rcx
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=2
	addl	%r15d, %r15d
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_grow_buf
	movq	%rax, %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, -8(%rax)
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=2
	movq	%r14, %rdi
	callq	_getc
	movl	%eax, %ebx
	movq	_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=2
	movl	%ebx, %edi
	callq	_isspace
	leaq	1(%r13), %rcx
	testq	%rax, %rax
	je	LBB0_22
LBB0_26:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	%r13d, %eax
	movl	$0, (%r12,%rax,4)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, (%rax)
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	testl	%r15d, %r15d
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	-80(%rbp), %rdi
	movq	-64(%rbp), %rsi
	callq	_add_arc
LBB0_28:                                ##   in Loop: Header=BB0_18 Depth=1
	xorl	$1, %r15d
	movq	_EOF@GOTPCREL(%rip), %r12
	cmpl	(%r12), %ebx
	jne	LBB0_18
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dlq"

	.comm	_debug,4,2                      ## @debug
	.comm	_longest,4,2                    ## @longest
	.comm	_quiet,4,2                      ## @quiet
	.comm	_optind,8,3                     ## @optind
	.comm	_stdin,8,3                      ## @stdin
L_.str.1:                               ## @.str.1
	.asciz	"r"

L_.str.2:                               ## @.str.2
	.asciz	"%s"

	.comm	_EOF,4,2                        ## @EOF
L_.str.3:                               ## @.str.3
	.asciz	"odd data count"

.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, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _debug@GOTPAGE
Lloh1:
	ldr	x22, [x22, _debug@GOTPAGEOFF]
	mov	w23, #1
Lloh2:
	adrp	x24, _longest@GOTPAGE
Lloh3:
	ldr	x24, [x24, _longest@GOTPAGEOFF]
Lloh4:
	adrp	x25, _quiet@GOTPAGE
Lloh5:
	ldr	x25, [x25, _quiet@GOTPAGEOFF]
Lloh6:
	adrp	x21, l_.str@PAGE
Lloh7:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	w23, [x24]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_getopt
	cmp	w0, #107
	b.le	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #108
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #113
	b.ne	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w23, [x25]
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #100
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w23, [x22]
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_usage
	b	LBB0_2
LBB0_10:
Lloh8:
	adrp	x8, _optind@GOTPAGE
Lloh9:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh10:
	ldr	x21, [x8]
	sub	w8, w19, w21
	cmp	w8, #1
	b.eq	LBB0_13
; %bb.11:
	cbnz	w8, LBB0_15
; %bb.12:
Lloh11:
	adrp	x8, _stdin@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh13:
	ldr	x19, [x8]
	b	LBB0_16
LBB0_13:
	ldr	x0, [x20, x21, lsl #3]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	mov	x19, x0
	cbnz	x0, LBB0_16
; %bb.14:
	ldr	x2, [x20, x21, lsl #3]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
	b	LBB0_16
LBB0_15:
	bl	_usage
	mov	x19, #0
LBB0_16:
	mov	w20, #1024
	str	w20, [sp, #8]
	mov	x0, #0
	mov	w1, #1024
	bl	_grow_buf
	str	x0, [sp]
	str	w20, [sp, #24]
	mov	x0, #0
	mov	w1, #1024
	bl	_grow_buf
	str	x0, [sp, #16]
	mov	x0, x19
	bl	_getc
Lloh18:
	adrp	x24, _EOF@GOTPAGE
Lloh19:
	ldr	x24, [x24, _EOF@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_21
; %bb.17:
	mov	w23, #0
LBB0_18:
	mov	x0, x19
	bl	_fclose
	cbz	w23, LBB0_20
; %bb.19:
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_20:
	bl	_tsort
	mov	w0, #0
	bl	_exit
LBB0_21:
	mov	x20, x0
	mov	w23, #0
	mov	x25, sp
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x19
	bl	_getc
	mov	x20, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_18
LBB0_23:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
	mov	x0, x20
	bl	_isspace
	cbnz	x0, LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	w8, [x24]
	cmp	w20, w8
	b.eq	LBB0_18
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x8, #0
	add	x27, x25, w23, uxtw #4
	mov	x26, x27
	ldr	w21, [x26, #8]!
	ldr	x22, [x27]
LBB0_26:                                ;   Parent Loop BB0_23 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x28, x8
	add	x8, x8, #1
	str	w20, [x22, x28, lsl #2]
	cmp	x8, w21, uxtw
	b.ne	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	lsl	w21, w21, #1
	mov	x0, x22
	mov	x1, x21
	bl	_grow_buf
	mov	x22, x0
	str	x0, [x27]
LBB0_28:                                ;   in Loop: Header=BB0_26 Depth=2
	mov	x0, x19
	bl	_getc
	mov	x20, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_26 Depth=2
	mov	x0, x20
	bl	_isspace
	add	x8, x28, #1
	cbz	x0, LBB0_26
LBB0_30:                                ;   in Loop: Header=BB0_23 Depth=1
	add	w8, w28, #1
	str	wzr, [x22, w8, uxtw #2]
	str	w21, [x26]
	cbz	w23, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	x0, [sp]
	ldr	x1, [sp, #16]
	bl	_add_arc
LBB0_32:                                ;   in Loop: Header=BB0_23 Depth=1
	eor	w23, w23, #0x1
	ldr	w8, [x24]
	cmp	w20, w8
	b.ne	LBB0_23
	b	LBB0_18
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dlq"

	.comm	_debug,4,2                      ; @debug
	.comm	_longest,4,2                    ; @longest
	.comm	_quiet,4,2                      ; @quiet
	.comm	_optind,8,3                     ; @optind
	.comm	_stdin,8,3                      ; @stdin
l_.str.1:                               ; @.str.1
	.asciz	"r"

l_.str.2:                               ; @.str.2
	.asciz	"%s"

	.comm	_EOF,4,2                        ; @EOF
l_.str.3:                               ; @.str.3
	.asciz	"odd data count"

.subsections_via_symbols
