	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcc_close                      ## -- Begin function tcc_close
	.p2align	4, 0x90
_tcc_close:                             ## @tcc_close
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_file@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	jle	LBB0_2
## %bb.1:
	callq	_close
	movl	16(%rbx), %eax
	movq	_total_lines@GOTPCREL(%rip), %rcx
	addl	%eax, (%rcx)
LBB0_2:
	movq	8(%rbx), %rax
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_file,8,3                       ## @file
	.comm	_total_lines,4,2                ## @total_lines
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcc_close                      ; -- Begin function tcc_close
	.p2align	2
_tcc_close:                             ; @tcc_close
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _file@GOTPAGE
Lloh1:
	ldr	x20, [x20, _file@GOTPAGEOFF]
	ldr	x19, [x20]
	ldr	x0, [x19]
	cmp	x0, #1
	b.lt	LBB0_2
; %bb.1:
	bl	_close
	ldr	w8, [x19, #16]
Lloh2:
	adrp	x9, _total_lines@GOTPAGE
Lloh3:
	ldr	x9, [x9, _total_lines@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w8, w10, w8
	str	w8, [x9]
LBB0_2:
	ldr	x8, [x19, #8]
	str	x8, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_file,8,3                       ; @file
	.comm	_total_lines,4,2                ; @total_lines
.subsections_via_symbols
