	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zlog_stream_finish             ## -- Begin function zlog_stream_finish
	.p2align	4, 0x90
_zlog_stream_finish:                    ## @zlog_stream_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$0, (%rdi)
	jne	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_10
## %bb.2:
	cmpq	$0, 24(%rbx)
	movq	16(%rbx), %rax
	je	LBB0_6
## %bb.3:
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_zlog_stream_finish_buffer_suffix
LBB0_5:
	movq	%rbx, %rdi
	callq	_zlog_stream_buf_flush
	jmp	LBB0_9
LBB0_6:
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_zlog_stream_finish_direct_suffix
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_zlog_stream_direct_write
LBB0_9:
	movl	$1, (%rbx)
LBB0_10:
	movq	_ZLOG_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZLOG_TRUE,4,2                  ## @ZLOG_TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zlog_stream_finish             ; -- Begin function zlog_stream_finish
	.p2align	2
_zlog_stream_finish:                    ; @zlog_stream_finish
	.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
	ldr	w8, [x0]
	cbnz	w8, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_10
; %bb.2:
	ldp	x8, x9, [x19, #16]
	cbz	x9, LBB0_6
; %bb.3:
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_zlog_stream_finish_buffer_suffix
LBB0_5:
	mov	x0, x19
	bl	_zlog_stream_buf_flush
	b	LBB0_9
LBB0_6:
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_zlog_stream_finish_direct_suffix
	b	LBB0_9
LBB0_8:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_zlog_stream_direct_write
LBB0_9:
	mov	w8, #1
	str	w8, [x19]
LBB0_10:
Lloh2:
	adrp	x8, _ZLOG_TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ZLOG_TRUE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ZLOG_TRUE,4,2                  ; @ZLOG_TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

.subsections_via_symbols
