	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getReadyForQuery
_getReadyForQuery:                      ## @getReadyForQuery
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	-9(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_pqGetc
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_10
LBB0_2:
	movsbl	-9(%rbp), %eax
	cmpl	$69, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$84, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$73, %eax
	jne	LBB0_8
## %bb.5:
	movq	_PQTRANS_IDLE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_PQTRANS_INERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_PQTRANS_INTRANS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_PQTRANS_UNKNOWN@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
	.comm	_PQTRANS_IDLE,4,2               ## @PQTRANS_IDLE
	.comm	_PQTRANS_INTRANS,4,2            ## @PQTRANS_INTRANS
	.comm	_PQTRANS_INERROR,4,2            ## @PQTRANS_INERROR
	.comm	_PQTRANS_UNKNOWN,4,2            ## @PQTRANS_UNKNOWN
	.no_dead_strip	_getReadyForQuery
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getReadyForQuery
_getReadyForQuery:                      ; @getReadyForQuery
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	add	x0, sp, #15
	mov	x1, x19
	bl	_pqGetc
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_10
LBB0_2:
	ldrsb	w8, [sp, #15]
	cmp	w8, #69
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #84
	b.eq	LBB0_7
; %bb.4:
	cmp	w8, #73
	b.ne	LBB0_8
; %bb.5:
	mov	w0, #0
Lloh3:
	adrp	x8, _PQTRANS_IDLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PQTRANS_IDLE@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	mov	w0, #0
Lloh5:
	adrp	x8, _PQTRANS_INERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PQTRANS_INERROR@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	mov	w0, #0
Lloh7:
	adrp	x8, _PQTRANS_INTRANS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PQTRANS_INTRANS@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
	mov	w0, #0
Lloh9:
	adrp	x8, _PQTRANS_UNKNOWN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PQTRANS_UNKNOWN@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
	.comm	_PQTRANS_IDLE,4,2               ; @PQTRANS_IDLE
	.comm	_PQTRANS_INTRANS,4,2            ; @PQTRANS_INTRANS
	.comm	_PQTRANS_INERROR,4,2            ; @PQTRANS_INERROR
	.comm	_PQTRANS_UNKNOWN,4,2            ; @PQTRANS_UNKNOWN
	.no_dead_strip	_getReadyForQuery
.subsections_via_symbols
