	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function close_input_stream
_close_input_stream:                    ## @close_input_stream
	.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	_istream_type@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ISTREAM_FILE@GOTPCREL(%rip), %rcx
	movq	_cpp_pipe@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_fclose
LBB0_3:
	movq	_cpp_temp_file@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.4:
	movq	_errno@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	callq	_unlink
	movl	%r12d, (%r15)
	movq	(%r14), %rdi
	callq	_free
	jmp	LBB0_7
LBB0_5:
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_pclose
LBB0_7:
	movq	$0, (%rbx)
	movq	_cpp_temp_file@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_istream_type,8,3               ## @istream_type
	.comm	_ISTREAM_FILE,8,3               ## @ISTREAM_FILE
	.comm	_cpp_pipe,8,3                   ## @cpp_pipe
	.comm	_cpp_temp_file,8,3              ## @cpp_temp_file
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_close_input_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function close_input_stream
_close_input_stream:                    ; @close_input_stream
	.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, _istream_type@GOTPAGE
Lloh1:
	ldr	x8, [x8, _istream_type@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _ISTREAM_FILE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ISTREAM_FILE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x19, _cpp_pipe@GOTPAGE
Lloh7:
	ldr	x19, [x19, _cpp_pipe@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh8:
	adrp	x20, _cpp_temp_file@GOTPAGE
Lloh9:
	ldr	x20, [x20, _cpp_temp_file@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	cbz	x0, LBB0_3
; %bb.2:
	bl	_fclose
LBB0_3:
	ldr	x0, [x20]
	cbz	x0, LBB0_7
; %bb.4:
Lloh10:
	adrp	x21, _errno@GOTPAGE
Lloh11:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	ldr	w22, [x21]
	bl	_unlink
	str	w22, [x21]
	ldr	x0, [x20]
	bl	_free
	b	LBB0_7
LBB0_5:
	cbz	x0, LBB0_7
; %bb.6:
	bl	_pclose
LBB0_7:
	str	xzr, [x19]
	str	xzr, [x20]
	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	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_istream_type,8,3               ; @istream_type
	.comm	_ISTREAM_FILE,8,3               ; @ISTREAM_FILE
	.comm	_cpp_pipe,8,3                   ; @cpp_pipe
	.comm	_cpp_temp_file,8,3              ; @cpp_temp_file
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_close_input_stream
.subsections_via_symbols
