	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PSQLexecWatch                  ## -- Begin function PSQLexecWatch
	.p2align	4, 0x90
_PSQLexecWatch:                         ## @PSQLexecWatch
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_pset@GOTPCREL(%rip), %r12
	cmpl	$0, 16(%r12)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_SetCancelConn
	cmpq	$0, (%r12)
	je	LBB0_4
## %bb.3:
	callq	_INSTR_TIME_SET_CURRENT
LBB0_4:
	movl	16(%r12), %edi
	movq	%rbx, %rsi
	callq	_PQexec
	movq	%rax, %r15
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ResetCancelConn
	movq	%r15, %rdi
	callq	_AcceptResult
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	cmpq	$0, (%r12)
	je	LBB0_7
## %bb.8:
	callq	_INSTR_TIME_SET_CURRENT
	callq	_INSTR_TIME_SUBTRACT
	callq	_INSTR_TIME_GET_MILLISEC
	jmp	LBB0_9
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_pg_log_error
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_5:
	movq	%r15, %rdi
	callq	_ClearOrSaveResult
	jmp	LBB0_21
LBB0_7:
	xorps	%xmm0, %xmm0
LBB0_9:
	movq	_cancel_pressed@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	callq	_PQclear
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_11:
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_PQresultStatus
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_17
## %bb.12:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_15
LBB0_17:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_15
LBB0_18:
	movl	8(%r12), %edx
	movl	12(%r12), %r8d
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_printQuery
	jmp	LBB0_19
LBB0_14:
	leaq	L_.str.2(%rip), %rdi
LBB0_15:
	callq	_pg_log_error
	movq	%r15, %rdi
	callq	_PQclear
	movl	$-1, %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	8(%r12), %ebx
	movq	(%r14), %r14
	movq	%r15, %rdi
	callq	_PQcmdStatus
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_fprintf
LBB0_19:
	movq	%r15, %rdi
	callq	_PQclear
	movl	8(%r12), %edi
	callq	_fflush
	movl	$1, %ebx
	cmpq	$0, (%r12)
	je	LBB0_21
## %bb.20:
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_PrintTiming
	jmp	LBB0_21
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_18
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_pset,24,3                      ## @pset
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"You are currently not connected to a database."

	.comm	_cancel_pressed,8,3             ## @cancel_pressed
L_.str.1:                               ## @.str.1
	.asciz	"%s\n%s\n\n"

L_.str.2:                               ## @.str.2
	.asciz	"\\watch cannot be used with an empty query"

L_.str.3:                               ## @.str.3
	.asciz	"\\watch cannot be used with COPY"

L_.str.4:                               ## @.str.4
	.asciz	"unexpected result status for \\watch"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PSQLexecWatch                  ; -- Begin function PSQLexecWatch
	.p2align	2
_PSQLexecWatch:                         ; @PSQLexecWatch
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -56
	.cfi_offset b9, -64
Lloh0:
	adrp	x22, _pset@GOTPAGE
Lloh1:
	ldr	x22, [x22, _pset@GOTPAGEOFF]
	ldr	w8, [x22, #16]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	bl	_SetCancelConn
	ldr	x8, [x22]
	cbz	x8, LBB0_3
; %bb.2:
	bl	_INSTR_TIME_SET_CURRENT
LBB0_3:
	ldr	w0, [x22, #16]
	mov	x1, x19
	bl	_PQexec
	mov	x19, x0
	bl	_ResetCancelConn
	mov	x0, x19
	bl	_AcceptResult
	cbz	w0, LBB0_7
; %bb.4:
	ldr	x8, [x22]
	cbz	x8, LBB0_8
; %bb.5:
	bl	_INSTR_TIME_SET_CURRENT
	bl	_INSTR_TIME_SUBTRACT
	bl	_INSTR_TIME_GET_MILLISEC
	fmov	d8, d0
	b	LBB0_9
LBB0_6:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pg_log_error
	mov	w0, #0
	b	LBB0_22
LBB0_7:
	mov	x0, x19
	bl	_ClearOrSaveResult
	mov	w0, #0
	b	LBB0_22
LBB0_8:
	movi	d8, #0000000000000000
LBB0_9:
Lloh4:
	adrp	x8, _cancel_pressed@GOTPAGE
Lloh5:
	ldr	x8, [x8, _cancel_pressed@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_PQclear
	mov	w0, #0
	b	LBB0_22
LBB0_11:
	mov	x0, x19
	bl	_PQresultStatus
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_14
; %bb.12:
Lloh7:
	adrp	x9, lJTI0_0@PAGE
Lloh8:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_13
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_13:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_17
LBB0_14:
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_17
LBB0_15:
	ldp	w2, w4, [x22, #8]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	bl	_printQuery
	b	LBB0_19
LBB0_16:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_17:
	bl	_pg_log_error
	mov	x0, x19
	bl	_PQclear
	mov	w0, #-1
	b	LBB0_22
LBB0_18:
	ldr	w21, [x22, #8]
	ldr	x20, [x20]
	mov	x0, x19
	bl	_PQcmdStatus
	mov	x3, x0
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_fprintf
LBB0_19:
	mov	x0, x19
	bl	_PQclear
	ldr	w0, [x22, #8]
	bl	_fflush
	ldr	x8, [x22]
	cbz	x8, LBB0_21
; %bb.20:
	fmov	d0, d8
	bl	_PrintTiming
LBB0_21:
	mov	w0, #1
LBB0_22:
	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	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_15-LBB0_13)>>2
	.byte	(LBB0_16-LBB0_13)>>2
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_18-LBB0_13)>>2
                                        ; -- End function
	.comm	_pset,24,3                      ; @pset
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"You are currently not connected to a database."

	.comm	_cancel_pressed,8,3             ; @cancel_pressed
l_.str.1:                               ; @.str.1
	.asciz	"%s\n%s\n\n"

l_.str.2:                               ; @.str.2
	.asciz	"\\watch cannot be used with an empty query"

l_.str.3:                               ; @.str.3
	.asciz	"\\watch cannot be used with COPY"

l_.str.4:                               ; @.str.4
	.asciz	"unexpected result status for \\watch"

.subsections_via_symbols
