	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PLy_output_setup_tuple         ## -- Begin function PLy_output_setup_tuple
	.p2align	4, 0x90
_PLy_output_setup_tuple:                ## @PLy_output_setup_tuple
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	_PLyObject_ToComposite@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	8(%r15), %rax
	movq	_RECORDOID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 16(%r15)
	jns	LBB0_3
## %bb.2:
	movq	%r12, 48(%r15)
LBB0_3:
	movl	32(%r15), %ecx
	movl	(%r12), %eax
	cmpl	%eax, %ecx
	je	LBB0_7
## %bb.4:
	movq	40(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_pfree
	movl	(%r12), %eax
LBB0_6:
	movl	%eax, 32(%r15)
	movl	24(%r15), %edi
	imull	$56, %eax, %esi
	callq	_MemoryContextAllocZero
	movq	%rax, 40(%r15)
	movl	(%r12), %ecx
LBB0_7:
	testl	%ecx, %ecx
	jle	LBB0_15
## %bb.8:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rax), %rcx
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	addq	%r13, %rdi
	movl	24(%r15), %esi
	movq	%r14, %r8
	callq	_PLy_output_setup_func
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	addq	$56, %r13
	cmpq	%rax, %rbx
	jge	LBB0_15
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_TupleDescAttr
	cmpq	$0, 16(%rax)
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	40(%r15), %rdi
	movq	(%rax), %rdx
	cmpq	%rdx, 8(%rdi,%r13)
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rax), %rcx
	cmpq	%rcx, 16(%rdi,%r13)
	jne	LBB0_13
	jmp	LBB0_14
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLyObject_ToComposite,8,3      ## @PLyObject_ToComposite
	.comm	_RECORDOID,8,3                  ## @RECORDOID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PLy_output_setup_tuple         ; -- Begin function PLy_output_setup_tuple
	.p2align	2
_PLy_output_setup_tuple:                ; @PLy_output_setup_tuple
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PLyObject_ToComposite@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PLyObject_ToComposite@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x21, #8]
Lloh3:
	adrp	x9, _RECORDOID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RECORDOID@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x21, #16]
	tbz	x8, #63, LBB0_3
; %bb.2:
	str	x20, [x21, #48]
LBB0_3:
	ldr	w9, [x21, #32]
	ldr	w8, [x20]
	cmp	w9, w8
	b.eq	LBB0_7
; %bb.4:
	ldr	x0, [x21, #40]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_pfree
	ldr	w8, [x20]
LBB0_6:
	str	w8, [x21, #32]
	ldr	w0, [x21, #24]
	mov	w9, #56
	mul	w1, w8, w9
	bl	_MemoryContextAllocZero
	str	x0, [x21, #40]
	ldr	w9, [x20]
LBB0_7:
	cmp	w9, #1
	b.lt	LBB0_15
; %bb.8:
	mov	x23, #0
	mov	x22, #0
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
	ldr	x3, [x8, #8]
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w1, [x21, #24]
	mov	x4, x19
	bl	_PLy_output_setup_func
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x23, x23, #56
	cmp	x22, x8
	b.ge	LBB0_15
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_TupleDescAttr
	ldr	x9, [x0, #16]
	cbnz	x9, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x8, x0
	ldr	x9, [x21, #40]
	add	x0, x9, x23
	ldr	x10, [x0, #8]
	ldr	x2, [x8]
	cmp	x10, x2
	b.ne	LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x9, x9, x23
	ldr	x9, [x9, #16]
	ldr	x3, [x8, #8]
	cmp	x9, x3
	b.ne	LBB0_10
	b	LBB0_11
LBB0_15:
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PLyObject_ToComposite,8,3      ; @PLyObject_ToComposite
	.comm	_RECORDOID,8,3                  ; @RECORDOID
.subsections_via_symbols
