	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s_dp2k
_s_dp2k:                                ## @s_dp2k
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	callq	_MP_DIGITS
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_MP_USED
	movq	(%rbx), %rcx
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.2:
	movl	$1, %eax
	jmp	LBB0_9
LBB0_3:
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.4:
	movq	_MP_DIGIT_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addq	$8, %rbx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	addl	%edx, %eax
	movq	(%rbx), %rcx
	addq	$8, %rbx
	testq	%rcx, %rcx
	je	LBB0_5
LBB0_6:
	testb	$1, %cl
	jne	LBB0_9
## %bb.7:
	movq	%rcx, %rdx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	sarq	%rdx
	incl	%eax
	testb	$2, %cl
	movq	%rdx, %rcx
	je	LBB0_8
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MP_DIGIT_BIT,8,3               ## @MP_DIGIT_BIT
	.no_dead_strip	_s_dp2k
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s_dp2k
_s_dp2k:                                ; @s_dp2k
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_MP_DIGITS
	mov	x19, x0
	mov	x0, x20
	bl	_MP_USED
	ldr	x8, [x19]
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.1:
	cbz	x8, LBB0_8
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
	mov	w0, #0
	cbnz	x8, LBB0_6
; %bb.4:
Lloh0:
	adrp	x8, _MP_DIGIT_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MP_DIGIT_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	add	x10, x19, #8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	w0, w0, w9
	ldr	x8, [x10], #8
	cbz	x8, LBB0_5
LBB0_6:
	tbnz	w8, #0, LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	asr	x8, x8, #1
	add	w0, w0, #1
	tbz	w9, #1, LBB0_7
	b	LBB0_9
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MP_DIGIT_BIT,8,3               ; @MP_DIGIT_BIT
	.no_dead_strip	_s_dp2k
.subsections_via_symbols
