	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movl	%r8d, %r13d
	movl	%ecx, %r14d
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PJDLOG_MAX_MSGSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	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
	movq	_pjdlog_mode@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_PJDLOG_MODE_STD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_PJDLOG_MODE_SYSLOG@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%dl
	orb	%cl, %dl
	movq	_PJDLOG_MODE_SOCK@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	sete	%al
	orb	%dl, %al
	movzbl	%al, %edi
	callq	_assert
	movq	(%r15), %rax
	cmpq	(%rbx), %rax
	setne	%al
	movq	_pjdlog_sock@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	setns	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	_LOG_EMERG@GOTPCREL(%rip), %rax
	movq	_LOG_ALERT@GOTPCREL(%rip), %rcx
	movq	_LOG_CRIT@GOTPCREL(%rip), %rdx
	movq	_LOG_ERR@GOTPCREL(%rip), %rsi
	movq	_LOG_WARNING@GOTPCREL(%rip), %rdi
	movq	_LOG_NOTICE@GOTPCREL(%rip), %rbx
	movq	_LOG_INFO@GOTPCREL(%rip), %r8
	movd	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, (%rcx), %xmm0
	pinsrd	$2, (%rdx), %xmm0
	movq	_LOG_DEBUG@GOTPCREL(%rip), %r15
	pinsrd	$3, (%rsi), %xmm0
	movd	(%rdi), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	pinsrd	$1, (%rbx), %xmm1
	pinsrd	$2, (%r8), %xmm1
	pinsrd	$3, (%r15), %xmm1
	movd	%r14d, %xmm2
	pshufd	$0, %xmm2, %xmm2                ## xmm2 = xmm2[0,0,0,0]
	pcmpeqd	%xmm2, %xmm1
	pcmpeqd	%xmm2, %xmm0
	packssdw	%xmm1, %xmm0
	psllw	$15, %xmm0
	pmovmskb	%xmm0, %eax
	xorl	%edi, %edi
	testl	$43690, %eax                    ## imm = 0xAAAA
	setne	%dil
	callq	_assert
	cmpl	%r14d, (%r15)
	setne	%al
	testl	%r13d, %r13d
	setg	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	xorl	%edi, %edi
	cmpl	$128, %r13d
	setl	%dil
	callq	_assert
	xorl	%edi, %edi
	movl	%r12d, -64(%rbp)                ## 4-byte Spill
	cmpl	$-1, %r12d
	setge	%dil
	callq	_assert
	cmpl	%r14d, (%r15)
	jne	LBB0_2
## %bb.1:
	movq	_pjdlog_debug_level@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jl	LBB0_9
LBB0_2:
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	24(%rbp), %ecx
	movq	16(%rbp), %rdx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_vsnprintf
	movq	%rbx, -104(%rbp)
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r12
	leaq	-104(%rbp), %r13
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%rbx, %r15
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%rax, %rbx
	cmpb	$0, (%rax)
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%r15, %r15
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	subq	$8, %rsp
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movl	$-1, %r9d
	pushq	%r15
	callq	_pjdlogv_common_single_line
	addq	$16, %rsp
	jmp	LBB0_3
LBB0_8:
	testq	%r15, %r15
	leaq	L_.str.1(%rip), %rax
	cmovneq	%r15, %rax
	subq	$8, %rsp
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movl	-64(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rax
	callq	_pjdlogv_common_single_line
	addq	$16, %rsp
	movq	_errno@GOTPCREL(%rip), %rax
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PJDLOG_MAX_MSGSIZE,4,2         ## @PJDLOG_MAX_MSGSIZE
	.comm	_pjdlog_initialized,8,3         ## @pjdlog_initialized
	.comm	_PJDLOG_INITIALIZED,8,3         ## @PJDLOG_INITIALIZED
	.comm	_pjdlog_mode,8,3                ## @pjdlog_mode
	.comm	_PJDLOG_MODE_STD,8,3            ## @PJDLOG_MODE_STD
	.comm	_PJDLOG_MODE_SYSLOG,8,3         ## @PJDLOG_MODE_SYSLOG
	.comm	_PJDLOG_MODE_SOCK,8,3           ## @PJDLOG_MODE_SOCK
	.comm	_pjdlog_sock,8,3                ## @pjdlog_sock
	.comm	_LOG_EMERG,4,2                  ## @LOG_EMERG
	.comm	_LOG_ALERT,4,2                  ## @LOG_ALERT
	.comm	_LOG_CRIT,4,2                   ## @LOG_CRIT
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.comm	_LOG_WARNING,4,2                ## @LOG_WARNING
	.comm	_LOG_NOTICE,4,2                 ## @LOG_NOTICE
	.comm	_LOG_INFO,4,2                   ## @LOG_INFO
	.comm	_LOG_DEBUG,4,2                  ## @LOG_DEBUG
	.comm	_pjdlog_debug_level,4,2         ## @pjdlog_debug_level
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

L_.str.1:                               ## @.str.1
	.space	1

.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, #32
	mov	x25, x7
	mov	x26, x6
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x24, x2
	stp	x0, x1, [x29, #-112]            ; 16-byte Folded Spill
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_MAX_MSGSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PJDLOG_MAX_MSGSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w27, [x8]
	mov	x9, x27
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x27, #15
	and	x9, x9, #0x1fffffff0
	sub	x28, x8, x9
	mov	sp, x28
Lloh8:
	adrp	x8, _pjdlog_initialized@GOTPAGE
Lloh9:
	ldr	x8, [x8, _pjdlog_initialized@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _PJDLOG_INITIALIZED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PJDLOG_INITIALIZED@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
Lloh14:
	adrp	x22, _pjdlog_mode@GOTPAGE
Lloh15:
	ldr	x22, [x22, _pjdlog_mode@GOTPAGEOFF]
Lloh16:
	adrp	x8, _PJDLOG_MODE_STD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PJDLOG_MODE_STD@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh18:
	ldr	x8, [x8]
	cmp	x9, x8
Lloh19:
	adrp	x8, _PJDLOG_MODE_SYSLOG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PJDLOG_MODE_SYSLOG@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ccmp	x9, x8, #4, ne
Lloh22:
	adrp	x23, _PJDLOG_MODE_SOCK@GOTPAGE
Lloh23:
	ldr	x23, [x23, _PJDLOG_MODE_SOCK@GOTPAGEOFF]
	ldr	x8, [x23]
	ccmp	x9, x8, #4, ne
	cset	w0, eq
	bl	_assert
	ldr	x8, [x22]
	ldr	x9, [x23]
	cmp	x8, x9
Lloh24:
	adrp	x8, _pjdlog_sock@GOTPAGE
Lloh25:
	ldr	x8, [x8, _pjdlog_sock@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ccmp	x8, #0, #0, eq
	cset	w0, ge
	bl	_assert
Lloh27:
	adrp	x8, _LOG_EMERG@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LOG_EMERG@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cmp	w8, w21
Lloh30:
	adrp	x8, _LOG_ALERT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _LOG_ALERT@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _LOG_CRIT@GOTPAGE
Lloh34:
	ldr	x9, [x9, _LOG_CRIT@GOTPAGEOFF]
	ccmp	w8, w21, #4, ne
Lloh35:
	ldr	w8, [x9]
	ccmp	w8, w21, #4, ne
Lloh36:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh37:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	ccmp	w8, w21, #4, ne
Lloh39:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh40:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _LOG_NOTICE@GOTPAGE
Lloh43:
	ldr	x9, [x9, _LOG_NOTICE@GOTPAGEOFF]
	ccmp	w8, w21, #4, ne
Lloh44:
	ldr	w8, [x9]
	ccmp	w8, w21, #4, ne
Lloh45:
	adrp	x8, _LOG_INFO@GOTPAGE
Lloh46:
	ldr	x8, [x8, _LOG_INFO@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	ccmp	w8, w21, #4, ne
Lloh48:
	adrp	x22, _LOG_DEBUG@GOTPAGE
Lloh49:
	ldr	x22, [x22, _LOG_DEBUG@GOTPAGEOFF]
	ldr	w8, [x22]
	ccmp	w8, w21, #4, ne
	cset	w0, eq
	bl	_assert
	ldr	w8, [x22]
	cmp	w20, #0
	ccmp	w8, w21, #0, le
	cset	w0, ne
	bl	_assert
	cmp	w20, #128
	cset	w0, lt
	bl	_assert
	cmn	w19, #2
	cset	w0, gt
	bl	_assert
	ldr	w8, [x22]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.1:
Lloh50:
	adrp	x8, _pjdlog_debug_level@GOTPAGE
Lloh51:
	ldr	x8, [x8, _pjdlog_debug_level@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	cmp	w8, w20
	b.lt	LBB0_9
LBB0_2:
Lloh53:
	adrp	x8, _errno@GOTPAGE
Lloh54:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh55:
	ldr	w22, [x8]
	mov	x0, x28
	mov	x1, x27
	mov	x2, x26
	mov	x3, x25
	bl	_vsnprintf
	mov	x26, #0
	stur	x28, [x29, #-96]
Lloh56:
	adrp	x25, l_.str@PAGE
Lloh57:
	add	x25, x25, l_.str@PAGEOFF
	ldp	x28, x23, [x29, #-112]          ; 16-byte Folded Reload
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	mov	x27, x26
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x0, x29, #96
	mov	x1, x25
	bl	_strsep
	cbz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x26, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x27, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x28
	mov	x1, x23
	mov	x2, x24
	mov	x3, x21
	mov	x4, x20
	mov	w5, #-1
	mov	x6, x27
	bl	_pjdlogv_common_single_line
	b	LBB0_3
LBB0_8:
Lloh58:
	adrp	x8, l_.str.1@PAGE
Lloh59:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	x27, #0
	csel	x6, x8, x27, eq
	mov	x0, x28
	mov	x1, x23
	mov	x2, x24
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_pjdlogv_common_single_line
Lloh60:
	adrp	x8, _errno@GOTPAGE
Lloh61:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh62:
	str	w22, [x8]
LBB0_9:
	ldur	x8, [x29, #-88]
Lloh63:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh64:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh65:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #80
	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_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotStr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.comm	_PJDLOG_MAX_MSGSIZE,4,2         ; @PJDLOG_MAX_MSGSIZE
	.comm	_pjdlog_initialized,8,3         ; @pjdlog_initialized
	.comm	_PJDLOG_INITIALIZED,8,3         ; @PJDLOG_INITIALIZED
	.comm	_pjdlog_mode,8,3                ; @pjdlog_mode
	.comm	_PJDLOG_MODE_STD,8,3            ; @PJDLOG_MODE_STD
	.comm	_PJDLOG_MODE_SYSLOG,8,3         ; @PJDLOG_MODE_SYSLOG
	.comm	_PJDLOG_MODE_SOCK,8,3           ; @PJDLOG_MODE_SOCK
	.comm	_pjdlog_sock,8,3                ; @pjdlog_sock
	.comm	_LOG_EMERG,4,2                  ; @LOG_EMERG
	.comm	_LOG_ALERT,4,2                  ; @LOG_ALERT
	.comm	_LOG_CRIT,4,2                   ; @LOG_CRIT
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.comm	_LOG_WARNING,4,2                ; @LOG_WARNING
	.comm	_LOG_NOTICE,4,2                 ; @LOG_NOTICE
	.comm	_LOG_INFO,4,2                   ; @LOG_INFO
	.comm	_LOG_DEBUG,4,2                  ; @LOG_DEBUG
	.comm	_pjdlog_debug_level,4,2         ; @pjdlog_debug_level
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.space	1

.subsections_via_symbols
