	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pjdlog_fini                    ## -- Begin function pjdlog_fini
	.p2align	4, 0x90
_pjdlog_fini:                           ## @pjdlog_fini
	.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	_pjdlog_initialized@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_PJDLOG_INITIALIZED@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movq	_errno@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movq	_pjdlog_mode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PJDLOG_MODE_SYSLOG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_closelog
LBB0_2:
	movq	_PJDLOG_NOT_INITIALIZED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movl	%ebx, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pjdlog_initialized,8,3         ## @pjdlog_initialized
	.comm	_PJDLOG_INITIALIZED,8,3         ## @PJDLOG_INITIALIZED
	.comm	_errno,4,2                      ## @errno
	.comm	_pjdlog_mode,8,3                ## @pjdlog_mode
	.comm	_PJDLOG_MODE_SYSLOG,8,3         ## @PJDLOG_MODE_SYSLOG
	.comm	_PJDLOG_NOT_INITIALIZED,8,3     ## @PJDLOG_NOT_INITIALIZED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pjdlog_fini                    ; -- Begin function pjdlog_fini
	.p2align	2
_pjdlog_fini:                           ; @pjdlog_fini
	.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	x19, _pjdlog_initialized@GOTPAGE
Lloh1:
	ldr	x19, [x19, _pjdlog_initialized@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _PJDLOG_INITIALIZED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PJDLOG_INITIALIZED@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
Lloh5:
	adrp	x20, _errno@GOTPAGE
Lloh6:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
Lloh7:
	adrp	x8, _pjdlog_mode@GOTPAGE
Lloh8:
	ldr	x8, [x8, _pjdlog_mode@GOTPAGEOFF]
	ldr	w21, [x20]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _PJDLOG_MODE_SYSLOG@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PJDLOG_MODE_SYSLOG@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	bl	_closelog
LBB0_2:
Lloh13:
	adrp	x8, _PJDLOG_NOT_INITIALIZED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PJDLOG_NOT_INITIALIZED@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x8, [x19]
	str	w21, [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 AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_pjdlog_initialized,8,3         ; @pjdlog_initialized
	.comm	_PJDLOG_INITIALIZED,8,3         ; @PJDLOG_INITIALIZED
	.comm	_errno,4,2                      ; @errno
	.comm	_pjdlog_mode,8,3                ; @pjdlog_mode
	.comm	_PJDLOG_MODE_SYSLOG,8,3         ; @PJDLOG_MODE_SYSLOG
	.comm	_PJDLOG_NOT_INITIALIZED,8,3     ; @PJDLOG_NOT_INITIALIZED
.subsections_via_symbols
