	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lua_attributes
_lua_attributes:                        ## @lua_attributes
	.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, %r12
	movl	$1, %esi
	callq	_luaL_checkstring
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_stat
	movq	%r12, %rdi
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	callq	_lua_pushnil
	movq	_errno@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_lua_pushfstring
	movl	(%r14), %esi
	jmp	LBB0_2
LBB0_1:
	movq	%r12, %rdi
	callq	_lua_pushnil
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_lua_pushfstring
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_2:
	movq	%r12, %rdi
	callq	_lua_pushinteger
	movl	$3, %r14d
LBB0_17:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	$2, %esi
	callq	_lua_isstring
	movq	%r12, %rdi
	movl	$2, %esi
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	callq	_lua_tostring
	movq	%rax, %r14
	movq	_members@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_nitems
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	8(%rax,%r13), %edi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	movq	(%r15), %rdi
	callq	_nitems
	addq	$16, %r13
	cmpq	%rax, %rbx
	jb	LBB0_8
LBB0_11:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_luaL_error                     ## TAILCALL
LBB0_12:
	callq	_lua_settop
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_lua_istable
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movq	%r12, %rdi
	callq	_lua_newtable
LBB0_14:
	movq	_members@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_nitems
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	8(%rax,%rbx), %esi
	movq	%r12, %rdi
	callq	_lua_pushstring
	movq	(%r13), %rax
	movq	%r12, %rdi
	leaq	-48(%rbp), %rsi
	callq	*(%rax,%rbx)
	movq	%r12, %rdi
	movl	$-3, %esi
	callq	_lua_rawset
	incq	%r15
	movq	(%r13), %rdi
	callq	_nitems
	addq	$16, %rbx
	cmpq	%rax, %r15
	jb	LBB0_16
	jmp	LBB0_17
LBB0_9:
	movq	(%r15), %rax
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	*(%rax,%r13)
	movl	$1, %r14d
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot convert first argument to string"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"cannot obtain information from file '%s': %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_members,8,3                    ## @members
L_.str.2:                               ## @.str.2
	.asciz	"invalid attribute name '%s'"

	.no_dead_strip	_lua_attributes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lua_attributes
_lua_attributes:                        ; @lua_attributes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
	mov	w1, #1
	bl	_luaL_checkstring
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	add	x1, sp, #24
	bl	_stat
	cbz	w0, LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_lua_pushnil
Lloh0:
	adrp	x21, _errno@GOTPAGE
Lloh1:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_lua_pushfstring
	ldr	w1, [x21]
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_lua_pushnil
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_lua_pushfstring
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
LBB0_4:
	mov	x0, x19
	bl	_lua_pushinteger
	mov	w0, #3
LBB0_5:
	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
	add	sp, sp, #96
	ret
LBB0_6:
	mov	x0, x19
	mov	w1, #2
	bl	_lua_isstring
	cbz	x0, LBB0_12
; %bb.7:
	mov	x0, x19
	mov	w1, #2
	bl	_lua_tostring
	mov	x20, x0
Lloh9:
	adrp	x21, _members@GOTPAGE
Lloh10:
	ldr	x21, [x21, _members@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_nitems
	cbz	x0, LBB0_11
; %bb.8:
	mov	x22, #0
	mov	x23, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x8, x8, x22
	ldr	w0, [x8, #8]
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_nitems
	add	x22, x22, #16
	cmp	x23, x0
	b.lo	LBB0_9
LBB0_11:
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	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
	add	sp, sp, #96
	b	_luaL_error
LBB0_12:
	mov	x0, x19
	mov	w1, #2
	bl	_lua_settop
	mov	x0, x19
	mov	w1, #2
	bl	_lua_istable
	cbnz	w0, LBB0_14
; %bb.13:
	mov	x0, x19
	bl	_lua_newtable
LBB0_14:
Lloh13:
	adrp	x20, _members@GOTPAGE
Lloh14:
	ldr	x20, [x20, _members@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_nitems
	cbz	x0, LBB0_18
; %bb.15:
	mov	x21, #0
	mov	x22, #0
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x8, x8, x21
	ldr	w1, [x8, #8]
	mov	x0, x19
	bl	_lua_pushstring
	ldr	x8, [x20]
	ldr	x8, [x8, x21]
	add	x1, sp, #24
	mov	x0, x19
	blr	x8
	mov	x0, x19
	mov	w1, #-3
	bl	_lua_rawset
	add	x22, x22, #1
	ldr	x0, [x20]
	bl	_nitems
	add	x21, x21, #16
	cmp	x22, x0
	b.lo	LBB0_16
	b	LBB0_18
LBB0_17:
	ldr	x8, [x21]
	ldr	x8, [x8, x22]
	add	x1, sp, #24
	mov	x0, x19
	blr	x8
LBB0_18:
	mov	w0, #1
	b	LBB0_5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot convert first argument to string"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"cannot obtain information from file '%s': %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_members,8,3                    ; @members
l_.str.2:                               ; @.str.2
	.asciz	"invalid attribute name '%s'"

	.no_dead_strip	_lua_attributes
.subsections_via_symbols
