	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tqueueReceiveSlot
_tqueueReceiveSlot:                     ## @tqueueReceiveSlot
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	leaq	-28(%rbp), %rdx
	movl	$1, %esi
	callq	_ExecFetchSlotHeapTuple
	movq	%rax, %rbx
	movl	(%r14), %edi
	movl	(%rax), %edx
	movl	4(%rax), %esi
	xorl	%r14d, %r14d
	xorl	%ecx, %ecx
	callq	_shm_mq_send
	movq	%rax, %r15
	cmpl	$0, -28(%rbp)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_heap_freetuple
LBB0_2:
	movq	_SHM_MQ_DETACHED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_5
## %bb.3:
	movq	_SHM_MQ_SUCCESS@GOTPCREL(%rip), %rax
	movl	$1, %r14d
	cmpq	(%rax), %r15
	je	LBB0_5
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SHM_MQ_DETACHED,8,3            ## @SHM_MQ_DETACHED
	.comm	_SHM_MQ_SUCCESS,8,3             ## @SHM_MQ_SUCCESS
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ## @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not send tuple to shared-memory queue"

	.no_dead_strip	_tqueueReceiveSlot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tqueueReceiveSlot
_tqueueReceiveSlot:                     ; @tqueueReceiveSlot
	.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	x20, x1
	add	x2, sp, #12
	mov	w1, #1
	bl	_ExecFetchSlotHeapTuple
	mov	x19, x0
	ldr	w0, [x20]
	ldp	w2, w1, [x19]
	mov	w3, #0
	bl	_shm_mq_send
	mov	x20, x0
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_heap_freetuple
LBB0_2:
Lloh0:
	adrp	x8, _SHM_MQ_DETACHED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SHM_MQ_DETACHED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_7
LBB0_4:
Lloh3:
	adrp	x8, _SHM_MQ_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SHM_MQ_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x20, x8
	b.eq	LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
Lloh9:
	adrp	x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_errcode
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_6:
	mov	w0, #1
LBB0_7:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SHM_MQ_DETACHED,8,3            ; @SHM_MQ_DETACHED
	.comm	_SHM_MQ_SUCCESS,8,3             ; @SHM_MQ_SUCCESS
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ; @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not send tuple to shared-memory queue"

	.no_dead_strip	_tqueueReceiveSlot
.subsections_via_symbols
