	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pltcl_build_tuple_argument
_pltcl_build_tuple_argument:            ## @pltcl_build_tuple_argument
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_Tcl_NewObj
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r12)
	jle	LBB0_8
## %bb.1:
	movl	$1, %r13d
	jmp	LBB0_2
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rbx), %edi
	callq	_NameStr
	movq	%rax, %r14
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movq	%r12, %rdx
	leaq	-56(%rbp), %rcx
	callq	_heap_getattr
	cmpl	$0, -56(%rbp)
	je	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%r13), %eax
	cmpl	(%r12), %r13d
	movl	%eax, %r13d
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%r13), %esi
	movq	%r12, %rdi
	callq	_TupleDescAttr
	cmpq	$0, 16(%rax)
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%rbx)
	jne	LBB0_7
	jmp	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r15d
	movl	(%rbx), %edi
	leaq	-52(%rbp), %rsi
	leaq	-68(%rbp), %rdx
	callq	_getTypeOutputInfo
	movl	-52(%rbp), %edi
	movl	%r15d, %esi
	callq	_OidOutputFunctionCall
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_UTF_E2U
	movl	%eax, %edi
	movl	$-1, %esi
	callq	_Tcl_NewStringObj
	xorl	%edi, %edi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_Tcl_ListObjAppendElement
	movq	%r15, %rdi
	callq	_UTF_E2U
	movl	%eax, %edi
	movl	$-1, %esi
	callq	_Tcl_NewStringObj
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_Tcl_ListObjAppendElement
	movq	%r15, %rdi
	callq	_pfree
	jmp	LBB0_7
LBB0_8:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UTF_BEGIN,4,2                  ## @UTF_BEGIN
	.comm	_UTF_END,4,2                    ## @UTF_END
	.no_dead_strip	_pltcl_build_tuple_argument
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pltcl_build_tuple_argument
_pltcl_build_tuple_argument:            ; @pltcl_build_tuple_argument
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_Tcl_NewObj
	mov	x22, x0
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	w23, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x24, #4]
	bl	_NameStr
	mov	x25, x0
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x23
	mov	x2, x20
	bl	_heap_getattr
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_7
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
	add	w9, w23, #1
	cmp	w23, w8
	mov	x23, x9
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w1, w23, #1
	mov	x0, x20
	bl	_TupleDescAttr
	ldr	x8, [x0, #16]
	cbnz	x8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	cbnz	w19, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24, #8]
	cbnz	x8, LBB0_3
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x0
	ldr	w0, [x24]
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_getTypeOutputInfo
	ldr	w0, [sp, #8]
	mov	x1, x26
	bl	_OidOutputFunctionCall
	mov	x24, x0
	mov	x0, x25
	bl	_UTF_E2U
	mov	w1, #-1
	bl	_Tcl_NewStringObj
	mov	x2, x0
	mov	x0, #0
	mov	x1, x22
	bl	_Tcl_ListObjAppendElement
	mov	x0, x24
	bl	_UTF_E2U
	mov	w1, #-1
	bl	_Tcl_NewStringObj
	mov	x2, x0
	mov	x0, #0
	mov	x1, x22
	bl	_Tcl_ListObjAppendElement
	mov	x0, x24
	bl	_pfree
	b	LBB0_3
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_UTF_BEGIN,4,2                  ; @UTF_BEGIN
	.comm	_UTF_END,4,2                    ; @UTF_END
	.no_dead_strip	_pltcl_build_tuple_argument
.subsections_via_symbols
