	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function str_format
_str_format:                            ## @str_format
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_lua_gettop
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	leaq	-120(%rbp), %rdx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_luaL_checklstring
	movq	%rax, %r13
	movq	-120(%rbp), %r15
	leaq	-52(%rbp), %rsi
	movq	%r12, %rdi
	callq	_luaL_buffinit
	testq	%r15, %r15
	jle	LBB0_26
## %bb.1:
	addq	%r13, %r15
	movl	$1, %ebx
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r13
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	-52(%rbp), %rdi
	callq	_luaL_addchar
	movl	%ebx, %r14d
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r14d, %ebx
	cmpq	%r15, %r13
	jae	LBB0_26
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r13), %esi
	movq	_L_ESC@GOTPCREL(%rip), %rax
	cmpb	(%rax), %sil
	jne	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	%sil, 1(%r13)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	$2, %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	incq	%r13
	movq	_MAX_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_MAX_ITEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdi
	callq	_luaL_prepbuffsize
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leal	1(%rbx), %r14d
	cmpl	-84(%rbp), %ebx                 ## 4-byte Folded Reload
	jl	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movl	%r14d, %esi
	leaq	L_.str(%rip), %rdx
	callq	_luaL_argerror
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_scanformat
	movq	%rax, %r13
	movsbl	(%rax), %eax
	leal	-65(%rax), %ecx
	cmpl	$55, %ecx
	ja	LBB0_29
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_luaL_checkinteger
	movq	%rax, %r12
	movq	_LUA_INTEGER_FRMLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_addlenmod
	movq	_MAX_ITEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r12, %rcx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_luaL_checknumber
	movl	%eax, %r12d
	movq	_LUA_NUMBER_FRMLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_addlenmod
	movq	_MAX_ITEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movslq	%r12d, %rcx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_l_sprintf
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %r15d
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r13
	xorl	%edi, %edi
	cmpl	(%rbx), %r15d
	setl	%dil
	callq	_lua_assert
	leaq	-52(%rbp), %rdi
	movl	%r15d, %esi
	callq	_luaL_addsize
	movq	-96(%rbp), %rsp                 ## 8-byte Reload
	movq	-112(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_4
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_LUA_NUMBER_FRMLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_addlenmod
	movq	_MAX_ITEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r12d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_luaL_checknumber
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r15, %rcx
	movl	%eax, %r8d
	callq	_lua_number2strx
	jmp	LBB0_15
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_MAX_ITEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_luaL_checkinteger
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	movq	%r15, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_l_sprintf
	jmp	LBB0_15
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	leaq	-52(%rbp), %rsi
	movl	%r14d, %edx
	callq	_addliteral
	jmp	LBB0_24
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movl	%r14d, %esi
	leaq	-104(%rbp), %rdx
	callq	_luaL_tolstring
	cmpb	$0, 2(%r15)
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-104(%rbp), %rbx
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_strlen
	xorl	%esi, %esi
	cmpq	%rax, %rbx
	sete	%sil
	movq	%r12, %rdi
	movl	%r14d, %edx
	leaq	L_.str.1(%rip), %rcx
	callq	_luaL_argcheck
	movq	%r15, %rdi
	movl	$46, %esi
	callq	_strchr
	testl	%eax, %eax
	jne	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$100, -104(%rbp)
	jb	LBB0_25
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	-52(%rbp), %rdi
	callq	_luaL_addvalue
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r15d, %r15d
	movq	_MAX_ITEM@GOTPCREL(%rip), %rbx
	jmp	LBB0_16
LBB0_25:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_MAX_ITEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_l_sprintf
	movl	%eax, %r15d
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_lua_pop
	jmp	LBB0_16
LBB0_26:
	leaq	-52(%rbp), %rdi
	callq	_luaL_pushresult
	movl	$1, %eax
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_30
## %bb.28:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	movsbl	%al, %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_luaL_error
	movq	-96(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_13
	.long	L0_0_set_29
	.long	L0_0_set_13
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_12
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_17
	.long	L0_0_set_29
	.long	L0_0_set_18
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_29
	.long	L0_0_set_12
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_12
	.long	L0_0_set_29
	.long	L0_0_set_19
	.long	L0_0_set_29
	.long	L0_0_set_20
	.long	L0_0_set_29
	.long	L0_0_set_12
	.long	L0_0_set_29
	.long	L0_0_set_29
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_L_ESC,1,0                      ## @L_ESC
	.comm	_MAX_FORMAT,4,2                 ## @MAX_FORMAT
	.comm	_MAX_ITEM,4,2                   ## @MAX_ITEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no value"

	.comm	_LUA_INTEGER_FRMLEN,4,2         ## @LUA_INTEGER_FRMLEN
	.comm	_LUA_NUMBER_FRMLEN,4,2          ## @LUA_NUMBER_FRMLEN
L_.str.1:                               ## @.str.1
	.asciz	"string contains zeros"

L_.str.2:                               ## @.str.2
	.asciz	"invalid option '%%%c' to 'format'"

	.no_dead_strip	_str_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function str_format
_str_format:                            ; @str_format
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_lua_gettop
	stur	w0, [x29, #-116]                ; 4-byte Folded Spill
	sub	x2, x29, #96
	mov	x0, x19
	mov	w1, #1
	bl	_luaL_checklstring
	mov	x23, x0
	ldur	x20, [x29, #-96]
	sub	x1, x29, #100
	mov	x0, x19
	bl	_luaL_buffinit
	cmp	x20, #1
	b.lt	LBB0_27
; %bb.1:
	add	x28, x23, x20
	mov	w24, #1
Lloh3:
	adrp	x20, _L_ESC@GOTPAGE
Lloh4:
	ldr	x20, [x20, _L_ESC@GOTPAGEOFF]
Lloh5:
	adrp	x26, _MAX_ITEM@GOTPAGE
Lloh6:
	ldr	x26, [x26, _MAX_ITEM@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	x0, x29, #100
	bl	_luaL_addchar
	mov	x22, x24
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, x22
	cmp	x23, x28
	b.hs	LBB0_27
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x23]
	sxtb	w1, w8
	ldrb	w9, [x20]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x27, x23
	ldrb	w8, [x27, #1]!
	cmp	w8, w1, uxtb
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #2
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x20, sp
Lloh7:
	adrp	x8, _MAX_FORMAT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAX_FORMAT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x25, x9, x8
	mov	sp, x25
	mov	x21, x26
	ldr	w1, [x26]
	sub	x0, x29, #100
	bl	_luaL_prepbuffsize
	mov	x26, x0
	add	w22, w24, #1
	ldur	w8, [x29, #-116]                ; 4-byte Folded Reload
	cmp	w24, w8
	b.lt	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x22
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	bl	_luaL_argerror
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x27
	mov	x2, x25
	bl	_scanformat
	mov	x23, x0
	ldrsb	w8, [x23], #1
	sub	w9, w8, #65
	cmp	w9, #55
	b.hi	LBB0_30
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh14:
	adrp	x12, lJTI0_0@PAGE
Lloh15:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x10, LBB0_12
	ldrb	w11, [x12, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_luaL_checkinteger
	mov	x27, x0
Lloh16:
	adrp	x8, _LUA_INTEGER_FRMLEN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LUA_INTEGER_FRMLEN@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_addlenmod
	ldr	w1, [x21]
	str	x27, [sp, #-16]!
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_luaL_checknumber
	mov	x27, x0
Lloh19:
	adrp	x8, _LUA_NUMBER_FRMLEN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _LUA_NUMBER_FRMLEN@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_addlenmod
	ldr	w1, [x21]
	sxtw	x8, w27
	str	x8, [sp, #-16]!
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
	mov	x26, x21
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x2, x25
	bl	_l_sprintf
	add	sp, sp, #16
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, x0
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	cmp	w25, w8
	cset	w0, lt
	bl	_lua_assert
	sub	x0, x29, #100
	mov	x1, x25
	bl	_luaL_addsize
	mov	sp, x20
Lloh22:
	adrp	x20, _L_ESC@GOTPAGE
Lloh23:
	ldr	x20, [x20, _L_ESC@GOTPAGEOFF]
	b	LBB0_4
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh24:
	adrp	x8, _LUA_NUMBER_FRMLEN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LUA_NUMBER_FRMLEN@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_addlenmod
	ldr	w27, [x21]
	mov	x0, x19
	mov	x1, x22
	bl	_luaL_checknumber
	mov	x4, x0
	mov	x0, x19
	mov	x1, x26
	mov	x26, x21
	mov	x2, x27
	mov	x3, x25
	bl	_lua_number2strx
	b	LBB0_16
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w27, [x21]
	mov	x0, x19
	mov	x1, x22
	bl	_luaL_checkinteger
	str	x0, [sp, #-16]!
	mov	x0, x26
	mov	x26, x21
	mov	x1, x27
	b	LBB0_15
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x1, x29, #100
	mov	x0, x19
	mov	x2, x22
	bl	_addliteral
	mov	w25, #0
	b	LBB0_26
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x2, x29, #112
	mov	x0, x19
	mov	x1, x22
	bl	_luaL_tolstring
	ldrb	w8, [x25, #2]
	cbz	w8, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x27, x0
	ldur	x24, [x29, #-112]
	bl	_strlen
	cmp	x24, x0
	cset	w1, eq
	mov	x0, x19
	mov	x2, x22
Lloh27:
	adrp	x3, l_.str.1@PAGE
Lloh28:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_luaL_argcheck
	mov	x0, x25
	mov	w1, #46
	bl	_strchr
	cbnz	w0, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
	ldur	x8, [x29, #-112]
	cmp	x8, #100
	b.lo	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x0, x29, #100
	bl	_luaL_addvalue
	mov	w25, #0
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x21]
	str	x27, [sp, #-16]!
	mov	x0, x26
	mov	x2, x25
	bl	_l_sprintf
	add	sp, sp, #16
	mov	x25, x0
	mov	x0, x19
	mov	w1, #1
	bl	_lua_pop
LBB0_26:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, x21
	b	LBB0_17
LBB0_27:
	sub	x0, x29, #100
	bl	_luaL_pushresult
	mov	w0, #1
LBB0_28:
	ldur	x8, [x29, #-88]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.29:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_30:
	and	w8, w8, #0xff
	sxtb	w2, w8
Lloh32:
	adrp	x1, l_.str.2@PAGE
Lloh33:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_luaL_error
	mov	sp, x20
	b	LBB0_28
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_18-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_18-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_19-LBB0_12)>>2
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_21-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_30-LBB0_12)>>2
	.byte	(LBB0_12-LBB0_12)>>2
                                        ; -- End function
	.comm	_L_ESC,1,0                      ; @L_ESC
	.comm	_MAX_FORMAT,4,2                 ; @MAX_FORMAT
	.comm	_MAX_ITEM,4,2                   ; @MAX_ITEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no value"

	.comm	_LUA_INTEGER_FRMLEN,4,2         ; @LUA_INTEGER_FRMLEN
	.comm	_LUA_NUMBER_FRMLEN,4,2          ; @LUA_NUMBER_FRMLEN
l_.str.1:                               ; @.str.1
	.asciz	"string contains zeros"

l_.str.2:                               ; @.str.2
	.asciz	"invalid option '%%%c' to 'format'"

	.no_dead_strip	_str_format
.subsections_via_symbols
