	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pg_log_v
_pg_log_v:                              ## @pg_log_v
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_QUERY_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r12, %rdi
	callq	__
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	movl	%r15d, %ecx
	callq	_vsnprintf
	leal	-131(%r13), %eax
	cmpl	$-2, %eax
	setb	%al
	movq	_log_opts@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	setne	%cl
	orb	%al, %cl
	cmpb	$1, %cl
	jne	LBB0_6
## %bb.1:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	cmpl	$130, %r13d
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movq	%r14, %rdx
	callq	_fprintf
	jmp	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_fputs
LBB0_5:
	movq	8(%rbx), %rdi
	callq	_fflush
LBB0_6:
	addl	$-128, %r13d
	cmpl	$4, %r13d
	ja	LBB0_15
## %bb.7:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r13,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_8:
	cmpq	$0, (%rbx)
	je	LBB0_15
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
LBB0_10:
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_15:
	movq	_stdout@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_fflush
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.19:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_stdout@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_fileno
	movl	%eax, %edi
	callq	_isatty
	testl	%eax, %eax
	je	LBB0_17
## %bb.12:
	movq	%r14, %rdi
	callq	_strlen
	cltq
	movq	_MESSAGE_WIDTH@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	addq	$-2, %rbx
	cmpq	%rax, %rbx
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %r15
	cmovbq	%rax, %r15
	movq	%r14, %rdi
	callq	_strlen
	cltq
	movq	(%r12), %rcx
	addq	$-2, %rcx
	cmpq	%rax, %rcx
	jae	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	callq	_strlen
	cltq
	addq	%rax, %r14
	subq	(%r12), %r14
	addq	$5, %r14
LBB0_14:
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_15
LBB0_17:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_10
LBB0_16:
	callq	___stack_chk_fail
LBB0_18:
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_QUERY_ALLOC,4,2                ## @QUERY_ALLOC
	.comm	_log_opts,16,3                  ## @log_opts
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"  %s\n"

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

	.comm	_stdout,8,3                     ## @stdout
L_.str.2:                               ## @.str.2
	.asciz	"  %s%-*.*s\r"

	.comm	_MESSAGE_WIDTH,8,3              ## @MESSAGE_WIDTH
L_.str.3:                               ## @.str.3
	.space	1

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

L_.str.5:                               ## @.str.5
	.asciz	"\n%s"

L_.str.6:                               ## @.str.6
	.asciz	"Failure, exiting\n"

	.no_dead_strip	_pg_log_v
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pg_log_v
_pg_log_v:                              ; @pg_log_v
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x21, x2
	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, #-56]
Lloh3:
	adrp	x8, _QUERY_ALLOC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QUERY_ALLOC@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	mov	x0, x1
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	mov	x3, x21
	bl	_vsnprintf
	sub	w9, w20, #131
Lloh8:
	adrp	x21, _log_opts@GOTPAGE
Lloh9:
	ldr	x21, [x21, _log_opts@GOTPAGEOFF]
	ldp	x10, x8, [x21]
	cmp	x10, #0
	mov	w10, #-2
	ccmp	w9, w10, #0, eq
	ccmp	x8, #0, #4, lo
	b.eq	LBB0_5
; %bb.1:
	cmp	w20, #130
	b.ne	LBB0_3
; %bb.2:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	mov	x2, x19
	bl	_fprintf
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	mov	x1, x8
	bl	_fputs
LBB0_4:
	ldr	x0, [x21, #8]
	bl	_fflush
LBB0_5:
	sub	w8, w20, #128
Lloh12:
	adrp	x20, _stdout@GOTPAGE
Lloh13:
	ldr	x20, [x20, _stdout@GOTPAGEOFF]
	cmp	w8, #4
	b.hi	LBB0_10
; %bb.6:
Lloh14:
	adrp	x9, lJTI0_0@PAGE
Lloh15:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	ldr	x8, [x21]
	cbz	x8, LBB0_10
LBB0_8:
	str	x19, [sp, #-16]!
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_9:
	bl	_printf
	add	sp, sp, #16
LBB0_10:
	ldr	x0, [x20]
	bl	_fflush
	ldur	x8, [x29, #-56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.11:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldr	x0, [x20]
	bl	_fileno
	bl	_isatty
	cbz	w0, LBB0_16
; %bb.13:
	mov	x0, x19
	bl	_strlen
Lloh21:
	adrp	x23, _MESSAGE_WIDTH@GOTPAGE
Lloh22:
	ldr	x23, [x23, _MESSAGE_WIDTH@GOTPAGEOFF]
	ldr	x8, [x23]
	sub	x21, x8, #2
Lloh23:
	adrp	x8, l_.str.3@PAGE
Lloh24:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh25:
	adrp	x9, l_.str.4@PAGE
Lloh26:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	x21, w0, sxtw
	csel	x22, x9, x8, lo
	mov	x0, x19
	bl	_strlen
	ldr	x8, [x23]
	sub	x8, x8, #2
	cmp	x8, w0, sxtw
	b.hs	LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_strlen
	add	x8, x19, w0, sxtw
	ldr	x9, [x23]
	sub	x8, x8, x9
	add	x19, x8, #5
LBB0_15:
	sub	sp, sp, #32
	stp	x21, x19, [sp, #16]
	stp	x22, x21, [sp]
Lloh27:
	adrp	x0, l_.str.2@PAGE
Lloh28:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	add	sp, sp, #32
	b	LBB0_10
LBB0_16:
	str	x19, [sp, #-16]!
Lloh29:
	adrp	x0, l_.str@PAGE
Lloh30:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_9
LBB0_17:
	bl	___stack_chk_fail
LBB0_18:
	str	x19, [sp, #-16]!
Lloh31:
	adrp	x0, l_.str.5@PAGE
Lloh32:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	add	sp, sp, #16
Lloh33:
	adrp	x0, l_.str.6@PAGE
Lloh34:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
	bl	_printf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_12-LBB0_7)>>2
	.byte	(LBB0_8-LBB0_7)>>2
	.byte	(LBB0_18-LBB0_7)>>2
                                        ; -- End function
	.comm	_QUERY_ALLOC,4,2                ; @QUERY_ALLOC
	.comm	_log_opts,16,3                  ; @log_opts
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"  %s\n"

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

	.comm	_stdout,8,3                     ; @stdout
l_.str.2:                               ; @.str.2
	.asciz	"  %s%-*.*s\r"

	.comm	_MESSAGE_WIDTH,8,3              ; @MESSAGE_WIDTH
l_.str.3:                               ; @.str.3
	.space	1

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

l_.str.5:                               ; @.str.5
	.asciz	"\n%s"

l_.str.6:                               ; @.str.6
	.asciz	"Failure, exiting\n"

	.no_dead_strip	_pg_log_v
.subsections_via_symbols
