	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checkend
_checkend:                              ## @checkend
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_strlen
	movq	%rax, %r15
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	addq	%r15, %r12
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_strspn
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_strlen
	cmpq	%rax, %rbx
	jne	LBB0_2
## %bb.3:
	movq	_outfp@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fclose
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_infile@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_outfile@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rdi
	callq	_warn
	jmp	LBB0_6
LBB0_2:
	movq	_infile@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_outfile@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rcx
	callq	_warnx
LBB0_6:
	movl	$1, %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" \t\r\n"

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

	.comm	_infile,4,2                     ## @infile
	.comm	_outfile,4,2                    ## @outfile
	.comm	_outfp,4,2                      ## @outfp
L_.str.2:                               ## @.str.2
	.asciz	"%s: %s"

	.no_dead_strip	_checkend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkend
_checkend:                              ; @checkend
	.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, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x1
	bl	_strlen
	mov	x21, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_strncmp
	cbnz	x0, LBB0_4
; %bb.1:
	add	x20, x20, x21
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strspn
	mov	x21, x0
	mov	x0, x20
	bl	_strlen
	cmp	x21, x0
	b.ne	LBB0_4
; %bb.2:
Lloh2:
	adrp	x8, _outfp@GOTPAGE
Lloh3:
	ldr	x8, [x8, _outfp@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_fclose
	cbz	x0, LBB0_6
; %bb.3:
Lloh5:
	adrp	x8, _infile@GOTPAGE
Lloh6:
	ldr	x8, [x8, _infile@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _outfile@GOTPAGE
Lloh9:
	ldr	x8, [x8, _outfile@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warn
	b	LBB0_5
LBB0_4:
Lloh13:
	adrp	x8, _infile@GOTPAGE
Lloh14:
	ldr	x8, [x8, _infile@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _outfile@GOTPAGE
Lloh17:
	ldr	x8, [x8, _outfile@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x3, x19
	bl	_warnx
LBB0_5:
	mov	w0, #1
LBB0_6:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" \t\r\n"

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

	.comm	_infile,4,2                     ; @infile
	.comm	_outfile,4,2                    ; @outfile
	.comm	_outfp,4,2                      ; @outfp
l_.str.2:                               ; @.str.2
	.asciz	"%s: %s"

	.no_dead_strip	_checkend
.subsections_via_symbols
