	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function str_pack
_str_pack:                              ## @str_pack
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$1, %ebx
	movl	$1, %esi
	callq	_luaL_checkstring
	movq	%rax, %r15
	movq	%rax, -96(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	callq	_initheader
	movq	%r14, %rdi
	callq	_lua_pushnil
	leaq	-48(%rbp), %rsi
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_luaL_buffinit
	cmpb	$0, (%r15)
	je	LBB0_24
## %bb.1:
	xorl	%esi, %esi
	jmp	LBB0_2
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, %rbx
	movq	_LUAL_PACKPADBYTE@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	callq	_luaL_addchar
	movq	%rbx, %rsi
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %r13d
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rax
	cmpb	$0, (%rax)
	movl	%r13d, %ebx
	je	LBB0_24
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	leaq	-64(%rbp), %rdi
	movq	%rsi, %r15
	leaq	-96(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	leaq	-76(%rbp), %r8
	callq	_getdetails
	movl	%eax, %ebx
	movslq	-76(%rbp), %rax
	movslq	-44(%rbp), %r13
	addq	%rax, %r13
	leal	-1(%rax), %ecx
	movl	%ecx, -76(%rbp)
	testq	%rax, %rax
	movq	_LUAL_PACKPADBYTE@GOTPCREL(%rip), %r12
	leaq	-48(%rbp), %r14
	jle	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%r12), %esi
	movq	%r14, %rdi
	callq	_luaL_addchar
	movl	-76(%rbp), %eax
	leal	-1(%rax), %ecx
	movl	%ecx, -76(%rbp)
	testl	%eax, %eax
	jg	LBB0_3
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rsi
	addq	%r13, %rsi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	leal	1(%r14), %r13d
	addl	$-128, %ebx
	cmpl	$8, %ebx
	ja	LBB0_23
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%rsi, %r15
	movl	%r13d, %esi
	leaq	-56(%rbp), %rdx
	callq	_luaL_checklstring
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_strlen
	xorl	%esi, %esi
	cmpq	-56(%rbp), %rax
	sete	%sil
	movq	%rbx, %rdi
	movl	%r13d, %edx
	leaq	L_.str.4(%rip), %rcx
	callq	_luaL_argcheck
	movq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_luaL_addlstring
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_luaL_addchar
	movq	%r15, %rsi
	movq	-56(%rbp), %rax
	leaq	(%r15,%rax), %rsi
	incq	%rsi
	jmp	LBB0_23
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_luaL_checkinteger
	movl	%eax, %r14d
	movl	-44(%rbp), %ecx
	movq	_SZINT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jge	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_NB@GOTPCREL(%rip), %rax
	imull	(%rax), %ecx
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	xorl	%esi, %esi
	cmpl	%eax, %r14d
	setl	%sil
	movq	%rbx, %rdi
	movl	%r13d, %edx
	leaq	L_.str.1(%rip), %rcx
	callq	_luaL_argcheck
	movl	-44(%rbp), %ecx
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-64(%rbp), %edx
	leaq	-48(%rbp), %rdi
	movl	%r14d, %esi
	xorl	%r8d, %r8d
	jmp	LBB0_9
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	leaq	-56(%rbp), %rdx
	callq	_luaL_checklstring
	movq	%rax, %r14
	movl	-44(%rbp), %ecx
	movb	$1, %al
	cmpl	$7, %ecx
	jg	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_NB@GOTPCREL(%rip), %rax
	imull	(%rax), %ecx
	movq	-56(%rbp), %rax
                                        ## kill: def $cl killed $cl killed $ecx
	shrq	%cl, %rax
	testq	%rax, %rax
	sete	%al
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%al, %esi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	leaq	L_.str.3(%rip), %rcx
	callq	_luaL_argcheck
	movl	-56(%rbp), %esi
	movl	-64(%rbp), %edx
	movl	-44(%rbp), %ecx
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	_packint
	movq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_luaL_addlstring
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	addq	-56(%rbp), %rsi
	jmp	LBB0_23
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_luaL_checkinteger
	movl	%eax, %ebx
	movl	-44(%rbp), %ecx
	movq	_SZINT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_NB@GOTPCREL(%rip), %rax
	imull	(%rax), %ecx
	decb	%cl
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movl	%eax, %ecx
	negl	%ecx
	cmpl	%ecx, %ebx
	setge	%cl
	cmpl	%eax, %ebx
	setl	%al
	andb	%cl, %al
	movzbl	%al, %esi
	movq	%r14, %rdi
	movl	%r13d, %edx
	leaq	L_.str(%rip), %rcx
	callq	_luaL_argcheck
	movl	-44(%rbp), %ecx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rdi
	movl	-64(%rbp), %edx
	movl	%ebx, %r8d
	shrl	$31, %r8d
	movl	%ebx, %esi
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_packint
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, %r14
	movl	-44(%rbp), %esi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_luaL_prepbuffsize
	movq	%rax, %rbx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_luaL_checknumber
	movq	%rax, -56(%rbp)
	movl	-104(%rbp), %esi
	movl	-44(%rbp), %edx
	movl	-64(%rbp), %ecx
	movq	%rbx, %rdi
	callq	_copywithendian
	movl	-44(%rbp), %esi
	movq	%r15, %rdi
	callq	_luaL_addsize
	movq	%r14, %rsi
	jmp	LBB0_23
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	leaq	-56(%rbp), %rdx
	callq	_luaL_checklstring
	movq	%rax, %r14
	movslq	-44(%rbp), %rax
	xorl	%esi, %esi
	cmpq	%rax, -56(%rbp)
	setbe	%sil
	movq	%rbx, %rdi
	movl	%r13d, %edx
	leaq	L_.str.2(%rip), %rcx
	callq	_luaL_argcheck
	movq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rdi, %r14
	callq	_luaL_addlstring
	movq	-56(%rbp), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, -56(%rbp)
	movslq	-44(%rbp), %rcx
	cmpq	%rcx, %rax
	movq	_LUAL_PACKPADBYTE@GOTPCREL(%rip), %rbx
	jae	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_luaL_addchar
	movq	-56(%rbp), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, -56(%rbp)
	movslq	-44(%rbp), %rcx
	cmpq	%rcx, %rax
	jb	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_24:
	leaq	-48(%rbp), %rdi
	callq	_luaL_pushresult
	movl	$1, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_20
	.long	L0_0_set_10
	.long	L0_0_set_17
	.long	L0_0_set_21
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_6
	.long	L0_0_set_13
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_LUAL_PACKPADBYTE,1,0           ## @LUAL_PACKPADBYTE
	.comm	_SZINT,4,2                      ## @SZINT
	.comm	_NB,4,2                         ## @NB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"integer overflow"

L_.str.1:                               ## @.str.1
	.asciz	"unsigned overflow"

L_.str.2:                               ## @.str.2
	.asciz	"string longer than given size"

L_.str.3:                               ## @.str.3
	.asciz	"string length does not fit in given size"

L_.str.4:                               ## @.str.4
	.asciz	"string contains zeros"

	.no_dead_strip	_str_pack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function str_pack
_str_pack:                              ; @str_pack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	mov	w1, #1
	bl	_luaL_checkstring
	mov	x20, x0
	str	x0, [sp, #32]
	add	x1, sp, #40
	mov	x0, x19
	bl	_initheader
	mov	x0, x19
	bl	_lua_pushnil
	add	x1, sp, #44
	mov	x0, x19
	bl	_luaL_buffinit
	ldrb	w8, [x20]
	cbz	w8, LBB0_24
; %bb.1:
	mov	x20, #0
Lloh0:
	adrp	x22, _LUAL_PACKPADBYTE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _LUAL_PACKPADBYTE@GOTPAGEOFF]
Lloh2:
	adrp	x24, lJTI0_0@PAGE
Lloh3:
	add	x24, x24, lJTI0_0@PAGEOFF
Lloh4:
	adrp	x28, _SZINT@GOTPAGE
Lloh5:
	ldr	x28, [x28, _SZINT@GOTPAGEOFF]
Lloh6:
	adrp	x21, _NB@GOTPAGE
Lloh7:
	ldr	x21, [x21, _NB@GOTPAGEOFF]
	mov	w26, #1
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrsb	w1, [x22]
	add	x0, sp, #44
	bl	_luaL_addchar
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x26
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #32]
	ldrb	w8, [x8]
	mov	x26, x23
	cbz	w8, LBB0_24
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
	add	x0, sp, #40
	add	x2, sp, #32
	add	x3, sp, #28
	add	x4, sp, #24
	mov	x1, x20
	bl	_getdetails
	mov	x27, x0
	ldpsw	x23, x25, [sp, #24]
	subs	w8, w23, #1
	str	w8, [sp, #24]
	b.lt	LBB0_7
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w1, [x22]
	add	x0, sp, #44
	bl	_luaL_addchar
	ldr	w8, [sp, #24]
	sub	w9, w8, #1
	str	w9, [sp, #24]
	cmp	w8, #0
	b.gt	LBB0_6
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x25, x23
	add	x20, x20, x8
	add	w23, w26, #1
	sub	w8, w27, #128
	cmp	w8, #8
	b.hi	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x24, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x23
	bl	_luaL_checklstring
	mov	x27, x0
	bl	_strlen
	ldr	x8, [sp, #8]
	cmp	x0, x8
	cset	w1, eq
	mov	x0, x19
	mov	x2, x23
Lloh8:
	adrp	x3, l_.str.4@PAGE
Lloh9:
	add	x3, x3, l_.str.4@PAGEOFF
	bl	_luaL_argcheck
	ldr	x2, [sp, #8]
	add	x0, sp, #44
	mov	x1, x27
	bl	_luaL_addlstring
	add	x0, sp, #44
	mov	w1, #0
	bl	_luaL_addchar
	ldr	x8, [sp, #8]
	add	x8, x20, x8
	add	x20, x8, #1
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_luaL_checkinteger
	mov	x27, x0
	ldr	w3, [sp, #28]
	ldr	w8, [x28]
	cmp	w3, w8
	b.ge	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21]
	mul	w8, w8, w3
	mov	w9, #1
	lsl	w8, w9, w8
	cmp	w27, w8
	cset	w1, lt
	mov	x0, x19
	mov	x2, x23
Lloh10:
	adrp	x3, l_.str.1@PAGE
Lloh11:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_luaL_argcheck
	ldr	w3, [sp, #28]
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [sp, #40]
	add	x0, sp, #44
	mov	x1, x27
	mov	w4, #0
	bl	_packint
	b	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x23
	bl	_luaL_checklstring
	mov	x27, x0
	ldr	w8, [sp, #28]
	cmp	w8, #7
	b.le	LBB0_22
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w1, #1
	b	LBB0_23
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_luaL_checkinteger
	mov	x27, x0
	ldr	w3, [sp, #28]
	ldr	w8, [x28]
	cmp	w3, w8
	b.ge	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21]
	mul	w8, w8, w3
	sub	w8, w8, #1
	mov	w9, #1
	lsl	w8, w9, w8
	neg	w9, w8
	cmp	w27, w9
	ccmp	w27, w8, #0, ge
	cset	w1, lt
	mov	x0, x19
	mov	x2, x23
Lloh12:
	adrp	x3, l_.str@PAGE
Lloh13:
	add	x3, x3, l_.str@PAGEOFF
	bl	_luaL_argcheck
	ldr	w3, [sp, #28]
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [sp, #40]
	lsr	w4, w27, #31
	add	x0, sp, #44
	mov	x1, x27
	bl	_packint
	b	LBB0_4
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [sp, #28]
	add	x0, sp, #44
	bl	_luaL_prepbuffsize
	mov	x27, x0
	mov	x0, x19
	mov	x1, x23
	bl	_luaL_checknumber
	str	x0, [sp, #8]
	ldr	w1, [sp, #16]
	ldr	w2, [sp, #28]
	ldr	w3, [sp, #40]
	mov	x0, x27
	bl	_copywithendian
	ldr	w1, [sp, #28]
	add	x0, sp, #44
	bl	_luaL_addsize
	b	LBB0_4
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x23
	bl	_luaL_checklstring
	mov	x27, x0
	ldr	x8, [sp, #8]
	ldrsw	x9, [sp, #28]
	cmp	x8, x9
	cset	w1, ls
	mov	x0, x19
	mov	x2, x23
Lloh14:
	adrp	x3, l_.str.2@PAGE
Lloh15:
	add	x3, x3, l_.str.2@PAGEOFF
	bl	_luaL_argcheck
	ldr	x2, [sp, #8]
	add	x0, sp, #44
	mov	x1, x27
	bl	_luaL_addlstring
LBB0_20:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [sp, #8]
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrsw	x9, [sp, #28]
	cmp	x8, x9
	b.hs	LBB0_4
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	ldrsb	w1, [x22]
	add	x0, sp, #44
	bl	_luaL_addchar
	b	LBB0_20
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [sp, #8]
	ldr	w10, [x21]
	mul	w8, w10, w8
	lsr	x8, x9, x8
	cmp	x8, #0
	cset	w1, eq
LBB0_23:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x2, x23
Lloh16:
	adrp	x3, l_.str.3@PAGE
Lloh17:
	add	x3, x3, l_.str.3@PAGEOFF
	bl	_luaL_argcheck
	ldr	w1, [sp, #8]
	ldr	w2, [sp, #40]
	ldr	w3, [sp, #28]
	add	x0, sp, #44
	mov	w4, #0
	bl	_packint
	ldr	x2, [sp, #8]
	add	x0, sp, #44
	mov	x1, x27
	bl	_luaL_addlstring
	ldr	x8, [sp, #8]
	add	x20, x8, x20
	b	LBB0_4
LBB0_24:
	add	x0, sp, #44
	bl	_luaL_pushresult
	mov	w0, #1
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
                                        ; -- End function
	.comm	_LUAL_PACKPADBYTE,1,0           ; @LUAL_PACKPADBYTE
	.comm	_SZINT,4,2                      ; @SZINT
	.comm	_NB,4,2                         ; @NB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"integer overflow"

l_.str.1:                               ; @.str.1
	.asciz	"unsigned overflow"

l_.str.2:                               ; @.str.2
	.asciz	"string longer than given size"

l_.str.3:                               ; @.str.3
	.asciz	"string length does not fit in given size"

l_.str.4:                               ; @.str.4
	.asciz	"string contains zeros"

	.no_dead_strip	_str_pack
.subsections_via_symbols
