	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function defundefile
_defundefile:                           ## @defundefile
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_filename@GOTPCREL(%rip), %r14
	movq	%rdi, (%r14)
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	_input@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	movq	%rbx, %rdx
	callq	_err
LBB0_2:
	movq	_linenum@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_defundef
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	(%r15), %rbx
	movq	%rbx, %rdi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%r14), %rdx
	leaq	L_.str.2(%rip), %rsi
	movl	$2, %edi
	callq	_err
	jmp	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_fclose
LBB0_7:
	movq	_incomment@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.9:
	leaq	L_.str.3(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_filename,8,3                   ## @filename
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rb"

	.comm	_input,8,3                      ## @input
L_.str.1:                               ## @.str.1
	.asciz	"can't open %s"

	.comm	_linenum,8,3                    ## @linenum
L_.str.2:                               ## @.str.2
	.asciz	"can't read %s"

	.comm	_incomment,8,3                  ## @incomment
L_.str.3:                               ## @.str.3
	.asciz	"EOF in comment"

	.no_dead_strip	_defundefile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function defundefile
_defundefile:                           ; @defundefile
	.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	x19, x0
Lloh0:
	adrp	x20, _filename@GOTPAGE
Lloh1:
	ldr	x20, [x20, _filename@GOTPAGEOFF]
	str	x0, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
Lloh4:
	adrp	x21, _input@GOTPAGE
Lloh5:
	ldr	x21, [x21, _input@GOTPAGEOFF]
	str	x0, [x21]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	mov	x2, x19
	bl	_err
LBB0_2:
Lloh8:
	adrp	x8, _linenum@GOTPAGE
Lloh9:
	ldr	x8, [x8, _linenum@GOTPAGEOFF]
Lloh10:
	str	xzr, [x8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_defundef
	cbnz	x0, LBB0_3
; %bb.4:
	ldr	x19, [x21]
	mov	x0, x19
	bl	_ferror
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x2, [x20]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #2
	bl	_err
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_fclose
LBB0_7:
Lloh13:
	adrp	x8, _incomment@GOTPAGE
Lloh14:
	ldr	x8, [x8, _incomment@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.8:
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	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
	b	_error
LBB0_9:
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_filename,8,3                   ; @filename
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rb"

	.comm	_input,8,3                      ; @input
l_.str.1:                               ; @.str.1
	.asciz	"can't open %s"

	.comm	_linenum,8,3                    ; @linenum
l_.str.2:                               ; @.str.2
	.asciz	"can't read %s"

	.comm	_incomment,8,3                  ; @incomment
l_.str.3:                               ; @.str.3
	.asciz	"EOF in comment"

	.no_dead_strip	_defundefile
.subsections_via_symbols
