	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lua_number2strx
_lua_number2strx:                       ## @lua_number2strx
	.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	%rcx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	%rsi, %rdi
	movl	%edx, %esi
	movl	%r8d, %edx
	callq	_num2straux
	movl	%eax, %r14d
	movq	_SIZELENMOD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	(%r12,%rax), %al
	cmpb	$65, %al
	je	LBB0_3
## %bb.1:
	cmpb	$97, %al
	je	LBB0_6
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_luaL_error                     ## TAILCALL
LBB0_3:
	testl	%r14d, %r14d
	jle	LBB0_6
## %bb.4:
	movl	%r14d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r13,%rbx), %edi
	callq	_uchar
	movl	%eax, %edi
	callq	_toupper
	movb	%al, (%r13,%rbx)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_5
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIZELENMOD,8,3                 ## @SIZELENMOD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"modifiers for format '%%a'/'%%A' not implemented"

	.no_dead_strip	_lua_number2strx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lua_number2strx
_lua_number2strx:                       ; @lua_number2strx
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x3
	mov	x19, x1
	mov	x21, x0
	mov	x0, x1
	mov	x1, x2
	mov	x2, x4
	bl	_num2straux
	mov	x20, x0
Lloh0:
	adrp	x8, _SIZELENMOD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIZELENMOD@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldrb	w8, [x22, x8]
	cmp	w8, #65
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #97
	b.eq	LBB0_6
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_luaL_error
LBB0_3:
	cmp	w20, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w21, w20
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x19]
	bl	_uchar
	bl	_toupper
	strb	w0, [x19], #1
	subs	x21, x21, #1
	b.ne	LBB0_5
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZELENMOD,8,3                 ; @SIZELENMOD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"modifiers for format '%%a'/'%%A' not implemented"

	.no_dead_strip	_lua_number2strx
.subsections_via_symbols
