	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_digit
_get_digit:                             ## @get_digit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	cmpl	$16, %edx
	jg	LBB0_2
## %bb.1:
	movl	$2, %edi
	callq	_bmalloc
	leal	48(%rbx), %ecx
	leal	55(%rbx), %edx
	cmpl	$10, %ebx
	cmovll	%ecx, %edx
	movq	%rax, -16(%rbp)
	movb	%dl, (%rax)
	movq	-16(%rbp), %rax
	movb	$0, 1(%rax)
	jmp	LBB0_4
LBB0_2:
	movl	%esi, %eax
	leaq	L_.str(%rip), %rsi
	leaq	-16(%rbp), %rdi
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_asprintf
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_err
LBB0_4:
	movq	-16(%rbp), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%0*lu"

	.no_dead_strip	_get_digit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_digit
_get_digit:                             ; @get_digit
	.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	x19, x0
	cmp	w2, #16
	b.gt	LBB0_2
; %bb.1:
	mov	w0, #2
	bl	_bmalloc
	str	x0, [sp, #8]
	mov	w8, #48
	mov	w9, #55
	cmp	w19, #9
	csel	w8, w9, w8, gt
	add	w8, w8, w19
	strb	w8, [x0]
	ldr	x8, [sp, #8]
	strb	wzr, [x8, #1]
	b	LBB0_4
LBB0_2:
	mov	x8, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	x2, x8
	mov	x3, x19
	bl	_asprintf
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #1
	mov	x1, #0
	bl	_err
LBB0_4:
	ldr	x0, [sp, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%0*lu"

	.no_dead_strip	_get_digit
.subsections_via_symbols
