	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AcceptResult
_AcceptResult:                          ## @AcceptResult
	.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
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	callq	_PQresultStatus
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_3
## %bb.2:
	movl	$1, %ebx
	movl	$121, %ecx
	btl	%eax, %ecx
	jb	LBB0_7
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_PQresultStatus
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pg_log_error
LBB0_4:
	movq	_pset@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PQerrorMessage
	cmpb	$0, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	callq	_pg_log_info
LBB0_6:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_CheckConnection
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected PQresultStatus: %d"

	.comm	_pset,4,2                       ## @pset
L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.no_dead_strip	_AcceptResult
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AcceptResult
_AcceptResult:                          ; @AcceptResult
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_PQresultStatus
	sub	w8, w0, #128
	cmp	w8, #7
	b.hi	LBB0_3
; %bb.2:
	mov	w0, #1
	lsl	w8, w0, w8
	mov	w9, #121
	tst	w8, w9
	b.ne	LBB0_7
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_PQresultStatus
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pg_log_error
LBB0_4:
Lloh2:
	adrp	x8, _pset@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pset@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_PQerrorMessage
	ldrb	w8, [x0]
	cbz	w8, LBB0_6
; %bb.5:
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pg_log_info
LBB0_6:
	bl	_CheckConnection
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected PQresultStatus: %d"

	.comm	_pset,4,2                       ; @pset
l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.no_dead_strip	_AcceptResult
.subsections_via_symbols
