	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PQrequestCancel                ## -- Begin function PQrequestCancel
	.p2align	4, 0x90
_PQrequestCancel:                       ## @PQrequestCancel
	.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
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_PGINVALID_SOCKET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movl	8(%rbx), %edi
	movl	24(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_strlcpy
	jmp	LBB0_4
LBB0_3:
	leaq	40(%rbx), %rdi
	movl	36(%rbx), %esi
	movl	32(%rbx), %edx
	movl	8(%rbx), %ecx
	movl	24(%rbx), %r8d
	callq	_internal_cancel
	testl	%eax, %eax
	jne	LBB0_5
LBB0_4:
	movl	8(%rbx), %edi
	callq	_strlen
	movq	%rax, 16(%rbx)
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PGINVALID_SOCKET,8,3           ## @PGINVALID_SOCKET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PQrequestCancel() -- connection is not open\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PQrequestCancel                ; -- Begin function PQrequestCancel
	.p2align	2
_PQrequestCancel:                       ; @PQrequestCancel
	.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_5
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PGINVALID_SOCKET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PGINVALID_SOCKET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x19, #8]
	ldr	w2, [x19, #24]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strlcpy
	b	LBB0_4
LBB0_3:
	add	x0, x19, #40
	ldp	w2, w1, [x19, #32]
	ldr	w3, [x19, #8]
	ldr	w4, [x19, #24]
	bl	_internal_cancel
	cbnz	w0, LBB0_5
LBB0_4:
	ldr	w0, [x19, #8]
	bl	_strlen
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #16]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PGINVALID_SOCKET,8,3           ; @PGINVALID_SOCKET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PQrequestCancel() -- connection is not open\n"

.subsections_via_symbols
