	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dofile                         ## -- Begin function dofile
	.p2align	4, 0x90
_dofile:                                ## @dofile
	.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
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r12
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_fgets
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_3
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movq	%rbx, %rcx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%r12, %rdx
	callq	_fgets
	movq	%rbx, %rcx
	testq	%rax, %rax
	je	LBB0_13
LBB0_8:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %r14
	movsbl	(%rcx), %edi
	callq	_isspace
	leaq	1(%r14), %rcx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movzbl	(%r14), %eax
	testb	%al, %al
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	cmpb	$35, %al
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%r13d, -56(%rbp)                ## 4-byte Spill
	movsbl	%al, %edi
	callq	_isspace
	movq	%r14, %r13
	testq	%rax, %rax
	jne	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$0, (%r13)
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movsbl	1(%r13), %edi
	incq	%r13
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_14
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$10, (%r13)
	je	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	movb	$0, (%r13)
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	callq	_warnx
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	movb	$0, (%r13)
	movq	%r14, %rdi
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %esi
	callq	_dodir
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	orl	%eax, %r14d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%r12, %rdx
	callq	_fgets
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_3
LBB0_13:
	movl	-52(%rbp), %r14d                ## 4-byte Reload
LBB0_3:
	movq	%r12, %rdi
	callq	_fclose
	jmp	LBB0_4
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_warn
	movl	$-1, %r14d
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.20:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

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

L_.str.2:                               ## @.str.2
	.asciz	"%s: trailing characters ignored"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dofile                         ; -- Begin function dofile
	.p2align	2
_dofile:                                ; @dofile
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_15
; %bb.1:
	mov	x21, x0
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_fgets
	mov	w23, #0
	cbz	x0, LBB0_14
; %bb.2:
Lloh10:
	adrp	x24, l_.str.2@PAGE
Lloh11:
	add	x24, x24, l_.str.2@PAGEOFF
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	mov	x26, x22
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_fgets
	mov	x26, x22
	cbz	x0, LBB0_14
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x25, x26
	ldrsb	w0, [x26], #1
	bl	_isspace
	cbnz	x0, LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldrb	w8, [x25]
	cbz	w8, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	cmp	w8, #35
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtb	w0, w8
	bl	_isspace
	mov	x26, x25
	cbnz	x0, LBB0_11
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x26]
	cbz	w8, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldrsb	w0, [x26, #1]!
	bl	_isspace
	cbz	x0, LBB0_9
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x26]
	cmp	w8, #10
	b.eq	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	wzr, [x26]
	mov	x0, x24
	mov	x1, x25
	bl	_warnx
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	wzr, [x26]
	mov	x0, x25
	mov	x1, x19
	bl	_dodir
	orr	w23, w0, w23
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_fgets
	cbnz	x0, LBB0_3
LBB0_14:
	mov	x0, x21
	bl	_fclose
	b	LBB0_16
LBB0_15:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x23
	bl	_warn
	mov	w23, #-1
LBB0_16:
	ldur	x8, [x29, #-72]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x23
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

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

l_.str.2:                               ; @.str.2
	.asciz	"%s: trailing characters ignored"

.subsections_via_symbols
