	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pjdlogv_common                 ## -- Begin function pjdlogv_common
	.p2align	4, 0x90
_pjdlogv_common:                        ## @pjdlogv_common
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movq	%rcx, -1088(%rbp)               ## 8-byte Spill
	movl	%edx, %ebx
	movl	%esi, %r13d
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_pjdlog_initialized@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PJDLOG_INITIALIZED@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	leal	-130(%r12), %r15d
	cmpl	$8, %r15d
	jae	LBB0_1
## %bb.2:
	movl	$1, %edi
	movl	$223, %eax
	btl	%r15d, %eax
	jb	LBB0_3
LBB0_1:
	xorl	%edi, %edi
	cmpl	$135, %r12d
	sete	%dil
LBB0_3:
	callq	_assert
	cmpl	$135, %r12d
	setne	%al
	testl	%r13d, %r13d
	setg	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	xorl	%edi, %edi
	cmpl	$-1, %ebx
	setge	%dil
	callq	_assert
	cmpl	$135, %r12d
	jne	LBB0_5
## %bb.4:
	movq	_pjdlog_debug_level@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jl	LBB0_20
LBB0_5:
	movl	%ebx, -1076(%rbp)               ## 4-byte Spill
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movq	_pjdlog_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$128, %eax
	movl	%ecx, -1080(%rbp)               ## 4-byte Spill
	je	LBB0_13
## %bb.6:
	cmpl	$129, %eax
	jne	LBB0_18
## %bb.7:
	cmpl	$8, %r15d
	jae	LBB0_22
## %bb.8:
	movslq	%r15d, %rax
	leaq	l_switch.table.pjdlogv_common(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rax), %r15
	xorl	%eax, %eax
	callq	_getpid
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fprintf
	movl	%r12d, %edi
	callq	_pjdlog_level_string
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	cmpl	$135, %r12d
	movl	-1076(%rbp), %ebx               ## 4-byte Reload
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_10:
	movq	_pjdlog_prefix@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_fprintf
	movq	%r15, %rdi
	movq	-1088(%rbp), %rsi               ## 8-byte Reload
	movl	%r14d, %edx
	callq	_vfprintf
	cmpl	$-1, %ebx
	je	LBB0_12
## %bb.11:
	movl	%ebx, %edi
	callq	_strerror
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_12:
	movl	$10, %edi
	movq	%r15, %rsi
	callq	_fputc
	movq	%r15, %rdi
	callq	_fflush
	movq	_errno@GOTPCREL(%rip), %rbx
	jmp	LBB0_19
LBB0_13:
	movq	_pjdlog_prefix@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.7(%rip), %rdx
	leaq	-1072(%rbp), %rdi
	movl	$1024, %r13d                    ## imm = 0x400
	movl	$1024, %esi                     ## imm = 0x400
	callq	_snprintf
	cmpl	$1023, %eax                     ## imm = 0x3FF
	ja	LBB0_17
## %bb.14:
	movl	%eax, %r15d
	movl	%eax, %eax
	leaq	(%rax,%rbp), %rdi
	addq	$-1072, %rdi                    ## imm = 0xFBD0
	subl	%r15d, %r13d
	movl	%r13d, %esi
	movq	-1088(%rbp), %rdx               ## 8-byte Reload
	movl	%r14d, %ecx
	callq	_vsnprintf
	cmpl	$-1, -1076(%rbp)                ## 4-byte Folded Reload
	je	LBB0_17
## %bb.15:
	addl	%r15d, %eax
	cmpl	$1023, %eax                     ## imm = 0x3FF
	ja	LBB0_17
## %bb.16:
	movl	%eax, %ecx
	leaq	(%rcx,%rbp), %r15
	addq	$-1072, %r15                    ## imm = 0xFBD0
	movl	$1024, %ebx                     ## imm = 0x400
	subl	%eax, %ebx
	movl	-1076(%rbp), %edi               ## 4-byte Reload
	callq	_strerror
	leaq	L_.str.5(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%rax, %rcx
	callq	_snprintf
LBB0_17:
	leaq	L_.str.7(%rip), %rsi
	leaq	-1072(%rbp), %rdx
	movl	%r12d, %edi
	callq	_syslog
	movq	_errno@GOTPCREL(%rip), %rbx
	jmp	LBB0_19
LBB0_18:
	xorl	%edi, %edi
	callq	_assert
LBB0_19:
	movl	-1080(%rbp), %eax               ## 4-byte Reload
	movl	%eax, (%rbx)
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.21:
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
LBB0_22:
	xorl	%edi, %edi
	callq	_assert
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_pjdlog_initialized,8,3         ## @pjdlog_initialized
	.comm	_PJDLOG_INITIALIZED,8,3         ## @PJDLOG_INITIALIZED
	.comm	_pjdlog_debug_level,4,2         ## @pjdlog_debug_level
	.comm	_errno,4,2                      ## @errno
	.comm	_pjdlog_mode,4,2                ## @pjdlog_mode
	.comm	_stderr,8,3                     ## @stderr
	.comm	_stdout,8,3                     ## @stdout
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"(%d) "

L_.str.2:                               ## @.str.2
	.asciz	"[%s]"

L_.str.3:                               ## @.str.3
	.asciz	"[%d]"

L_.str.4:                               ## @.str.4
	.asciz	" %s"

	.comm	_pjdlog_prefix,8,3              ## @pjdlog_prefix
L_.str.5:                               ## @.str.5
	.asciz	": %s."

L_.str.7:                               ## @.str.7
	.asciz	"%s"

	.section	__DATA,__const
	.p2align	3                               ## @switch.table.pjdlogv_common
l_switch.table.pjdlogv_common:
	.quad	_stderr
	.quad	_stdout
	.quad	_stdout
	.quad	_stderr
	.quad	_stderr
	.quad	_stdout
	.quad	_stderr
	.quad	_stderr

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pjdlogv_common                 ; -- Begin function pjdlogv_common
	.p2align	2
_pjdlogv_common:                        ; @pjdlogv_common
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #1040
	mov	x21, x4
	mov	x22, x3
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _pjdlog_initialized@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pjdlog_initialized@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _PJDLOG_INITIALIZED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PJDLOG_INITIALIZED@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	sub	w24, w20, #130
	cmp	w24, #8
	b.hs	LBB0_2
; %bb.1:
	mov	w8, #223
	lsr	w8, w8, w24
	tbnz	w8, #0, LBB0_3
LBB0_2:
	cmp	w20, #135
	cset	w0, eq
	b	LBB0_4
LBB0_3:
	mov	w0, #1
LBB0_4:
	bl	_assert
	cmp	w20, #135
	cset	w8, ne
	cmp	w23, #0
	cset	w9, gt
	orr	w0, w8, w9
	bl	_assert
	cmn	w19, #2
	cset	w0, gt
	bl	_assert
	cmp	w20, #135
	b.ne	LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _pjdlog_debug_level@GOTPAGE
Lloh10:
	ldr	x8, [x8, _pjdlog_debug_level@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, w23
	b.lt	LBB0_21
LBB0_6:
Lloh12:
	adrp	x25, _errno@GOTPAGE
Lloh13:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
	ldr	w26, [x25]
Lloh14:
	adrp	x8, _pjdlog_mode@GOTPAGE
Lloh15:
	ldr	x8, [x8, _pjdlog_mode@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w8, #128
	b.eq	LBB0_14
; %bb.7:
	cmp	w8, #129
	b.ne	LBB0_19
; %bb.8:
	cmp	w24, #8
	b.hs	LBB0_24
; %bb.9:
Lloh17:
	adrp	x8, l_switch.table.pjdlogv_common@PAGE
Lloh18:
	add	x8, x8, l_switch.table.pjdlogv_common@PAGEOFF
	ldr	x8, [x8, w24, sxtw #3]
	ldr	x24, [x8]
	bl	_getpid
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x24
	bl	_fprintf
	mov	x0, x20
	bl	_pjdlog_level_string
	str	x0, [sp]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x24
	bl	_fprintf
	cmp	w20, #135
	b.ne	LBB0_11
; %bb.10:
	str	x23, [sp]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x24
	bl	_fprintf
LBB0_11:
Lloh25:
	adrp	x8, _pjdlog_prefix@GOTPAGE
Lloh26:
	ldr	x8, [x8, _pjdlog_prefix@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	str	x8, [sp]
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x24
	bl	_fprintf
	mov	x0, x24
	mov	x1, x22
	mov	x2, x21
	bl	_vfprintf
	cmn	w19, #1
	b.eq	LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_strerror
	str	x0, [sp]
Lloh30:
	adrp	x1, l_.str.5@PAGE
Lloh31:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x24
	bl	_fprintf
LBB0_13:
	mov	w0, #10
	mov	x1, x24
	bl	_fputc
	mov	x0, x24
	bl	_fflush
	b	LBB0_20
LBB0_14:
Lloh32:
	adrp	x8, _pjdlog_prefix@GOTPAGE
Lloh33:
	ldr	x8, [x8, _pjdlog_prefix@GOTPAGEOFF]
Lloh34:
	ldr	x3, [x8]
Lloh35:
	adrp	x2, l_.str.7@PAGE
Lloh36:
	add	x2, x2, l_.str.7@PAGEOFF
	add	x24, sp, #8
	mov	w27, #1024
	add	x0, sp, #8
	mov	w1, #1024
	bl	_snprintf
	cmp	w0, #1023
	b.hi	LBB0_18
; %bb.15:
	mov	x23, x0
	add	x0, x24, w0, uxtw
	sub	w1, w27, w23
	mov	x2, x22
	mov	x3, x21
	bl	_vsnprintf
	cmn	w19, #1
	b.eq	LBB0_18
; %bb.16:
	add	w8, w0, w23
	cmp	w8, #1023
	b.hi	LBB0_18
; %bb.17:
	add	x9, sp, #8
	add	x21, x9, w8, uxtw
	mov	w9, #1024
	sub	w22, w9, w8
	mov	x0, x19
	bl	_strerror
	mov	x3, x0
Lloh37:
	adrp	x2, l_.str.5@PAGE
Lloh38:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_snprintf
LBB0_18:
Lloh39:
	adrp	x1, l_.str.7@PAGE
Lloh40:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x2, sp, #8
	mov	x0, x20
	bl	_syslog
	b	LBB0_20
LBB0_19:
	mov	w0, #0
	bl	_assert
LBB0_20:
	str	w26, [x25]
LBB0_21:
	ldur	x8, [x29, #-88]
Lloh41:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh42:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.22:
	add	sp, sp, #1040
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_23:
	bl	___stack_chk_fail
LBB0_24:
	mov	w0, #0
	bl	_assert
	bl	_abort
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_pjdlog_initialized,8,3         ; @pjdlog_initialized
	.comm	_PJDLOG_INITIALIZED,8,3         ; @PJDLOG_INITIALIZED
	.comm	_pjdlog_debug_level,4,2         ; @pjdlog_debug_level
	.comm	_errno,4,2                      ; @errno
	.comm	_pjdlog_mode,4,2                ; @pjdlog_mode
	.comm	_stderr,8,3                     ; @stderr
	.comm	_stdout,8,3                     ; @stdout
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"(%d) "

l_.str.2:                               ; @.str.2
	.asciz	"[%s]"

l_.str.3:                               ; @.str.3
	.asciz	"[%d]"

l_.str.4:                               ; @.str.4
	.asciz	" %s"

	.comm	_pjdlog_prefix,8,3              ; @pjdlog_prefix
l_.str.5:                               ; @.str.5
	.asciz	": %s."

l_.str.7:                               ; @.str.7
	.asciz	"%s"

	.section	__DATA,__const
	.p2align	3                               ; @switch.table.pjdlogv_common
l_switch.table.pjdlogv_common:
	.quad	_stderr
	.quad	_stdout
	.quad	_stdout
	.quad	_stderr
	.quad	_stderr
	.quad	_stdout
	.quad	_stderr
	.quad	_stderr

.subsections_via_symbols
