	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fifolog_write_close            ## -- Begin function fifolog_write_close
	.p2align	4, 0x90
_fifolog_write_close:                   ## @fifolog_write_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_FIFOLOG_WRITER_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CHECK_OBJ_NOTNULL
	movq	%rbx, %rdi
	callq	_fifolog_write_assert
	movl	$1, (%rbx)
	leaq	-12(%rbp), %rdi
	callq	_time
	movl	-12(%rbp), %esi
	movq	%rbx, %rdi
	callq	_fifolog_write_gzip
	movq	%rbx, %rdi
	callq	_fifolog_write_assert
	leaq	4(%rbx), %rdi
	callq	_fifolog_int_close
	movl	4(%rbx), %edi
	callq	_free
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FIFOLOG_WRITER_MAGIC,4,2       ## @FIFOLOG_WRITER_MAGIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fifolog_write_close            ; -- Begin function fifolog_write_close
	.p2align	2
_fifolog_write_close:                   ; @fifolog_write_close
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _FIFOLOG_WRITER_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIFOLOG_WRITER_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_CHECK_OBJ_NOTNULL
	mov	x0, x19
	bl	_fifolog_write_assert
	mov	w8, #1
	str	w8, [x19]
	add	x0, sp, #12
	bl	_time
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_fifolog_write_gzip
	mov	x0, x19
	bl	_fifolog_write_assert
	add	x0, x19, #4
	bl	_fifolog_int_close
	ldr	w0, [x19, #4]
	bl	_free
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FIFOLOG_WRITER_MAGIC,4,2       ; @FIFOLOG_WRITER_MAGIC
.subsections_via_symbols
