	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_number_to_chars_bigendian      ## -- Begin function number_to_chars_bigendian
	.p2align	4, 0x90
_number_to_chars_bigendian:             ## @number_to_chars_bigendian
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	jle	LBB0_7
## %bb.1:
	movl	%edx, %eax
	leaq	-1(%rax), %rcx
	movq	%rax, %rdx
	andq	$3, %rdx
	je	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movb	%sil, -1(%rdi,%rax)
	decq	%rax
	sarl	$8, %esi
	decq	%rdx
	jne	LBB0_2
LBB0_3:
	cmpq	$3, %rcx
	jb	LBB0_6
## %bb.4:
	movl	%esi, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	sarl	$31, %ecx
	bswapl	%esi
	movl	%esi, -4(%rdi,%rax)
	movl	%ecx, %esi
	addq	$-4, %rax
	jne	LBB0_5
LBB0_6:
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_number_to_chars_bigendian      ; -- Begin function number_to_chars_bigendian
	.p2align	2
_number_to_chars_bigendian:             ; @number_to_chars_bigendian
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w2, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w8, w2
	sub	x9, x0, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	strb	w1, [x9, x8]
	asr	w1, w1, #8
	subs	x8, x8, #1
	b.ne	LBB0_2
; %bb.3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	_abort
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
