	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaV_objlen                    ## -- Begin function luaV_objlen
	.p2align	4, 0x90
_luaV_objlen:                           ## @luaV_objlen
	.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, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	%rdx, %rdi
	callq	_ttype
	cmpl	$130, %eax
	je	LBB0_8
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.3:
	movq	%rbx, %rdi
	callq	_hvalue
	movq	%rax, %r13
	movl	(%rax), %esi
	movq	_TM_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_fasttm
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_11
## %bb.4:
	movq	%r13, %rdi
	callq	_luaH_getn
	movl	%r14d, %edi
	movl	%eax, %esi
	jmp	LBB0_7
LBB0_8:
	movq	%rbx, %rdi
	callq	_tsvalue
	movl	(%rax), %esi
	jmp	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_tsvalue
	movl	4(%rax), %esi
LBB0_6:
	movl	%r14d, %edi
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_setivalue                      ## TAILCALL
LBB0_9:
	movq	_TM_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_luaT_gettmbyobj
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_ttisnil
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_luaG_typeerror
LBB0_11:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	movl	%r14d, %r8d
	movl	$1, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_luaT_callTM                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TM_LEN,4,2                     ## @TM_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get length of"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaV_objlen                    ; -- Begin function luaV_objlen
	.p2align	2
_luaV_objlen:                           ; @luaV_objlen
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	x0, x2
	bl	_ttype
	cmp	w0, #130
	b.eq	LBB0_5
; %bb.1:
	cmp	w0, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w0, #128
	b.ne	LBB0_8
; %bb.3:
	mov	x0, x20
	bl	_hvalue
	mov	x23, x0
	ldr	w1, [x0]
Lloh0:
	adrp	x8, _TM_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TM_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_fasttm
	mov	x22, x0
	cbnz	x0, LBB0_10
; %bb.4:
	mov	x0, x23
	bl	_luaH_getn
	mov	x1, x0
	b	LBB0_7
LBB0_5:
	mov	x0, x20
	bl	_tsvalue
	ldr	w1, [x0]
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	bl	_tsvalue
	ldr	w1, [x0, #4]
LBB0_7:
	mov	x0, x19
	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
	b	_setivalue
LBB0_8:
Lloh3:
	adrp	x8, _TM_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TM_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_luaT_gettmbyobj
	mov	x22, x0
	bl	_ttisnil
	cbz	w0, LBB0_10
; %bb.9:
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_luaG_typeerror
LBB0_10:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	x3, x20
	mov	x4, x19
	mov	w5, #1
	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
	b	_luaT_callTM
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TM_LEN,4,2                     ; @TM_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get length of"

.subsections_via_symbols
