	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function printpat_l
_printpat_l:                            ## @printpat_l
	.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	%rdi, %r15
	movl	$1, %ebx
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_getpatt
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_lua_getfenv
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_lua_objlen
	movl	%eax, %r12d
	movl	$91, %edi
	callq	_putchar
	testl	%r12d, %r12d
	jle	LBB0_6
## %bb.1:
	negl	%r12d
	leaq	L_.str.1(%rip), %r13
	leaq	L_.str.2(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_lua_type
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_lua_typename
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_lua_pop
	leal	(%r12,%rbx), %eax
	incl	%eax
	movl	%ebx, %ecx
	incl	%ecx
	movl	%ecx, %ebx
	cmpl	$1, %eax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	%r15, %rdi
	movl	$-1, %esi
	movl	%ebx, %edx
	callq	_lua_rawgeti
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_lua_isstring
	movq	%r15, %rdi
	movl	$-1, %esi
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_lua_tostring
	jmp	LBB0_5
LBB0_6:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_printpatt
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"%d = "

L_.str.2:                               ## @.str.2
	.asciz	"%s  "

L_str:                                  ## @str
	.asciz	"]"

	.no_dead_strip	_printpat_l
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function printpat_l
_printpat_l:                            ; @printpat_l
	.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, x0
	mov	w1, #1
	mov	x2, #0
	bl	_getpatt
	mov	x20, x0
	mov	x0, x19
	mov	w1, #1
	bl	_lua_getfenv
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_objlen
	mov	x21, x0
	mov	w0, #91
	bl	_putchar
	cmp	w21, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w25, #0
Lloh0:
	adrp	x22, l_.str.1@PAGE
Lloh1:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh2:
	adrp	x23, l_.str.2@PAGE
Lloh3:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_type
	mov	x1, x0
	mov	x0, x19
	bl	_lua_typename
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x0, [sp]
	mov	x0, x23
	bl	_printf
	mov	x0, x19
	mov	w1, #1
	bl	_lua_pop
	add	w25, w25, #1
	cmp	w21, w25
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	w24, w25, #1
	str	x24, [sp]
	mov	x0, x22
	bl	_printf
	mov	x0, x19
	mov	w1, #-1
	mov	x2, x24
	bl	_lua_rawgeti
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_isstring
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	w1, #-1
	bl	_lua_tostring
	b	LBB0_3
LBB0_6:
Lloh4:
	adrp	x0, l_str@PAGE
Lloh5:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	x0, x20
	bl	_printpatt
	mov	w0, #0
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"%d = "

l_.str.2:                               ; @.str.2
	.asciz	"%s  "

l_str:                                  ; @str
	.asciz	"]"

	.no_dead_strip	_printpat_l
.subsections_via_symbols
