	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grub_lltoa
_grub_lltoa:                            ## @grub_lltoa
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rax
	movq	%rdi, %r14
	cmpl	$100, %esi
	jne	LBB0_3
## %bb.1:
	testq	%rax, %rax
	jns	LBB0_3
## %bb.2:
	negq	%rax
	movb	$45, (%r14)
	incq	%r14
LBB0_3:
	cmpl	$120, %esi
	jne	LBB0_6
## %bb.4:
	movq	%r14, %rbx
	movq	%rax, %rcx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %edx
	andl	$15, %edx
	leal	48(%rdx), %esi
	leal	87(%rdx), %edi
	cmpl	$10, %edx
	movzbl	%dil, %edx
	movzbl	%sil, %esi
	cmovael	%edx, %esi
	movb	%sil, (%rbx)
	incq	%rbx
	shrq	$4, %rcx
	cmpq	$16, %rax
	movq	%rcx, %rax
	jae	LBB0_5
	jmp	LBB0_8
LBB0_6:
	leaq	-28(%rbp), %r15
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	movl	$10, %esi
	movq	%r15, %rdx
	callq	_grub_divmod64
	movzbl	-28(%rbp), %ecx
	addb	$48, %cl
	movb	%cl, (%rbx)
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_7
LBB0_8:
	movb	$0, (%rbx)
	movq	%r14, %rdi
	callq	_grub_reverse
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_grub_lltoa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grub_lltoa
_grub_lltoa:                            ; @grub_lltoa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x8, x2
	mov	x19, x0
	cmp	w1, #100
	b.ne	LBB0_3
; %bb.1:
	tbz	x8, #63, LBB0_3
; %bb.2:
	neg	x8, x8
	mov	w9, #45
	strb	w9, [x19], #1
LBB0_3:
	mov	x20, x19
	cmp	w1, #120
	b.ne	LBB0_5
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	and	w9, w8, #0xf
	add	w10, w9, #87
	mov	w11, #48
	bfxil	w11, w8, #0, #4
	cmp	w9, #9
	csel	w9, w10, w11, hi
	strb	w9, [x20], #1
	lsr	x9, x8, #4
	cmp	x8, #16
	mov	x8, x9
	b.hs	LBB0_4
	b	LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #12
	mov	x0, x8
	mov	w1, #10
	bl	_grub_divmod64
	mov	x8, x0
	ldrb	w9, [sp, #12]
	add	w9, w9, #48
	strb	w9, [x20], #1
	cbnz	x0, LBB0_5
LBB0_6:
	strb	wzr, [x20]
	mov	x0, x19
	bl	_grub_reverse
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_grub_lltoa
.subsections_via_symbols
