	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_common_finish                ## -- Begin function c_common_finish
	.p2align	4, 0x90
_c_common_finish:                       ## @c_common_finish
	.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	_cpp_opts@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_DEPS_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.1:
	movq	_deps_file@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_2
## %bb.3:
	movq	_deps_append@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rsi
	cmoveq	%rax, %rsi
	callq	_fopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_fatal_error
LBB0_5:
	xorl	%r14d, %r14d
	jmp	LBB0_6
LBB0_2:
	movq	_out_stream@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_6:
	movq	_parse_in@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_cpp_finish
	movq	_errorcount@GOTPCREL(%rip), %rcx
	addl	%eax, (%rcx)
	movq	_out_stream@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	testq	%r14, %r14
	je	LBB0_12
## %bb.7:
	cmpq	%rbx, %r14
	je	LBB0_12
## %bb.8:
	movq	%r14, %rdi
	callq	_ferror
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_fclose
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	movq	_deps_file@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_fatal_error
LBB0_11:
	movq	(%r15), %rbx
LBB0_12:
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.13:
	movq	%rbx, %rdi
	callq	_ferror
	testq	%rax, %rax
	jne	LBB0_16
## %bb.14:
	movq	%rbx, %rdi
	callq	_fclose
	testq	%rax, %rax
	je	LBB0_15
LBB0_16:
	movq	_out_fname@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fatal_error                    ## TAILCALL
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cpp_opts,8,3                   ## @cpp_opts
	.comm	_DEPS_NONE,8,3                  ## @DEPS_NONE
	.comm	_deps_file,4,2                  ## @deps_file
	.comm	_out_stream,8,3                 ## @out_stream
	.comm	_deps_append,8,3                ## @deps_append
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"a"

L_.str.1:                               ## @.str.1
	.asciz	"w"

L_.str.2:                               ## @.str.2
	.asciz	"opening dependency file %s: %m"

	.comm	_parse_in,4,2                   ## @parse_in
	.comm	_errorcount,4,2                 ## @errorcount
L_.str.3:                               ## @.str.3
	.asciz	"closing dependency file %s: %m"

L_.str.4:                               ## @.str.4
	.asciz	"when writing output to %s: %m"

	.comm	_out_fname,4,2                  ## @out_fname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_common_finish                ; -- Begin function c_common_finish
	.p2align	2
_c_common_finish:                       ; @c_common_finish
	.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
Lloh0:
	adrp	x8, _cpp_opts@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpp_opts@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _DEPS_NONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DEPS_NONE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x21, _out_stream@GOTPAGE
Lloh7:
	ldr	x21, [x21, _out_stream@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x19, #0
	b	LBB0_6
LBB0_2:
Lloh8:
	adrp	x20, _deps_file@GOTPAGE
Lloh9:
	ldr	x20, [x20, _deps_file@GOTPAGEOFF]
	ldr	w0, [x20]
	cbz	w0, LBB0_5
; %bb.3:
Lloh10:
	adrp	x8, _deps_append@GOTPAGE
Lloh11:
	ldr	x8, [x8, _deps_append@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, l_.str@PAGE
Lloh14:
	add	x9, x9, l_.str@PAGEOFF
Lloh15:
	adrp	x10, l_.str.1@PAGE
Lloh16:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x1, x10, x9, eq
	bl	_fopen
	mov	x19, x0
	cbnz	x0, LBB0_6
; %bb.4:
	ldr	w1, [x20]
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_fatal_error
	b	LBB0_6
LBB0_5:
	ldr	x19, [x21]
LBB0_6:
Lloh19:
	adrp	x8, _parse_in@GOTPAGE
Lloh20:
	ldr	x8, [x8, _parse_in@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_cpp_finish
Lloh22:
	adrp	x8, _errorcount@GOTPAGE
Lloh23:
	ldr	x8, [x8, _errorcount@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, w0
	str	w9, [x8]
	ldr	x20, [x21]
	cbz	x19, LBB0_12
; %bb.7:
	cmp	x19, x20
	b.eq	LBB0_12
; %bb.8:
	mov	x0, x19
	bl	_ferror
	cbnz	x0, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_fclose
	cbz	x0, LBB0_11
LBB0_10:
Lloh24:
	adrp	x8, _deps_file@GOTPAGE
Lloh25:
	ldr	x8, [x8, _deps_file@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_fatal_error
LBB0_11:
	ldr	x20, [x21]
LBB0_12:
	cbz	x20, LBB0_16
; %bb.13:
	mov	x0, x20
	bl	_ferror
	cbnz	x0, LBB0_15
; %bb.14:
	mov	x0, x20
	bl	_fclose
	cbz	x0, LBB0_16
LBB0_15:
Lloh29:
	adrp	x8, _out_fname@GOTPAGE
Lloh30:
	ldr	x8, [x8, _out_fname@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x0, l_.str.4@PAGE
Lloh33:
	add	x0, x0, l_.str.4@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	_fatal_error
LBB0_16:
	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	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_cpp_opts,8,3                   ; @cpp_opts
	.comm	_DEPS_NONE,8,3                  ; @DEPS_NONE
	.comm	_deps_file,4,2                  ; @deps_file
	.comm	_out_stream,8,3                 ; @out_stream
	.comm	_deps_append,8,3                ; @deps_append
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"a"

l_.str.1:                               ; @.str.1
	.asciz	"w"

l_.str.2:                               ; @.str.2
	.asciz	"opening dependency file %s: %m"

	.comm	_parse_in,4,2                   ; @parse_in
	.comm	_errorcount,4,2                 ; @errorcount
l_.str.3:                               ; @.str.3
	.asciz	"closing dependency file %s: %m"

l_.str.4:                               ; @.str.4
	.asciz	"when writing output to %s: %m"

	.comm	_out_fname,4,2                  ; @out_fname
.subsections_via_symbols
