	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function from_bcd
_from_bcd:                              ## @from_bcd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movl	$1, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	15(%rdi), %r8d
	testl	%edi, %edi
	movl	%edi, %edx
	cmovsl	%r8d, %edx
	movl	%edx, %esi
	andl	$-16, %esi
	subl	%esi, %edi
	imull	%ecx, %edi
	addl	%edi, %eax
	sarl	$4, %edx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	movl	%edx, %edi
	cmpl	$30, %r8d
	ja	LBB0_3
## %bb.4:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_from_bcd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function from_bcd
_from_bcd:                              ; @from_bcd
	.cfi_startproc
; %bb.0:
	cbz	w0, LBB0_3
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	mov	w9, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w10, w8, #15
	cmp	w8, #0
	csel	w11, w10, w8, lt
	and	w12, w11, #0xfffffff0
	sub	w8, w8, w12
	asr	w11, w11, #4
	madd	w0, w8, w9, w0
	add	w8, w9, w9, lsl #2
	lsl	w9, w8, #1
	mov	x8, x11
	cmp	w10, #30
	b.hi	LBB0_2
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_from_bcd
.subsections_via_symbols
