	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ddr2ns
_ddr2ns:                                ## @ddr2ns
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rax
	imull	$1000000, %esi, %ecx            ## imm = 0xF4240
	shrq	$3, %rax
	movabsq	$2361183241434822607, %rdx      ## imm = 0x20C49BA5E353F7CF
	mulq	%rdx
	movq	%rdx, %rsi
	shrq	$4, %rsi
	cmpq	%rsi, %rcx
	jb	LBB0_1
## %bb.2:
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ddr2ns
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ddr2ns
_ddr2ns:                                ; @ddr2ns
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	sbfx	x8, x8, #2, #30
	mov	w9, #16960
	movk	w9, #15, lsl #16
	mul	w9, w1, w9
	lsr	x8, x8, #3
	mov	x10, #63439
	movk	x10, #58195, lsl #16
	movk	x10, #39845, lsl #32
	movk	x10, #8388, lsl #48
	umulh	x8, x8, x10
	lsr	x8, x8, #4
	udiv	x0, x9, x8
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ddr2ns
.subsections_via_symbols
