	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_du_dpll_divider
_rcar_du_dpll_divider:                  ## @rcar_du_dpll_divider
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r8
	movq	$-1, %r10
	xorl	%r11d, %r11d
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
	movq	%r11, %r14
	incq	%r11
	movl	$119, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=2
	decq	%r15
	cmpq	$38, %r15
	jbe	LBB0_16
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
	leaq	1(%r15), %rax
	imulq	%r8, %rax
	movq	%rax, %rdx
	orq	%r11, %rdx
	shrq	$32, %rdx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	xorl	%edx, %edx
	divq	%r11
	movq	%rax, %r9
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=2
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r11d
	movl	%eax, %r9d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=2
	leaq	-2048000001(%r9), %rax
	cmpq	$-2047999001, %rax              ## imm = 0x85EE03E7
	jb	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=2
	movl	$2, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=3
	cmpq	%rcx, %rax
	je	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=3
	incq	%rbx
	cmpq	$33, %rbx
	je	LBB0_15
LBB0_7:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r9, %rax
	orq	%rbx, %rax
	shrq	$32, %rax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=3
	movq	%r9, %rax
	xorl	%edx, %edx
	divq	%rbx
	cmpq	$399999999, %rax                ## imm = 0x17D783FF
	ja	LBB0_14
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=3
	movl	%r9d, %eax
	xorl	%edx, %edx
	divl	%ebx
                                        ## kill: def $eax killed $eax def $rax
	cmpq	$399999999, %rax                ## imm = 0x17D783FF
	ja	LBB0_14
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=3
	movq	%rax, %rdx
	subq	%rcx, %rdx
	movq	%rdx, %r12
	negq	%r12
	cmovsq	%rdx, %r12
	cmpq	%r12, %r10
	jbe	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=3
	movl	%r15d, (%rsi)
	movl	%r14d, 4(%rsi)
	leal	-1(%rbx), %edx
	movl	%edx, 8(%rsi)
	movq	%rax, 16(%rsi)
	movq	%r12, %r10
	jmp	LBB0_13
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$4, %r11
	jne	LBB0_1
LBB0_17:
	movq	(%rdi), %rax
	movl	(%rax), %edi
	movq	16(%rsi), %rdx
	movl	8(%rsi), %ecx
	movl	(%rsi), %r8d
	movl	4(%rsi), %r9d
	movq	%r10, (%rsp)
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"output:%u, fdpll:%u, n:%u, m:%u, diff:%lu\n"

	.no_dead_strip	_rcar_du_dpll_divider
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_du_dpll_divider
_rcar_du_dpll_divider:                  ; @rcar_du_dpll_divider
	.cfi_startproc
; %bb.0:
	mov	x8, #0
	mov	x6, #-1
	mov	x9, #-2048000001
	mov	x10, #-64537
	movk	x10, #34286, lsl #16
	mov	w11, #33791
	movk	w11, #6103, lsl #16
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
                                        ;       Child Loop BB0_7 Depth 3
	mov	x12, x8
	add	x8, x8, #1
	mov	w13, #119
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=2
	sub	x13, x13, #1
	cmp	x13, #38
	b.ls	LBB0_10
LBB0_3:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_7 Depth 3
	madd	x14, x2, x13, x2
	udiv	x14, x14, x8
	add	x15, x14, x9
	cmp	x15, x10
	b.lo	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	mov	w15, #2
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=3
	cmp	x16, x3
	b.eq	LBB0_11
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=3
	add	x15, x15, #1
	cmp	x15, #33
	b.eq	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_1 Depth=1
                                        ;     Parent Loop BB0_3 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	udiv	x16, x14, x15
	cmp	x16, x11
	b.hi	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=3
	subs	x17, x16, x3
	cneg	x17, x17, mi
	cmp	x6, x17
	b.ls	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=3
	stp	w13, w12, [x1]
	sub	w4, w15, #1
	str	w4, [x1, #8]
	str	x16, [x1, #16]
	mov	x6, x17
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	x8, #4
	b.ne	LBB0_1
LBB0_11:
	ldr	x8, [x0]
	ldr	w0, [x8]
	ldr	x2, [x1, #16]
	ldp	w5, w3, [x1, #4]
	ldr	w4, [x1]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	_dev_dbg
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"output:%u, fdpll:%u, n:%u, m:%u, diff:%lu\n"

	.no_dead_strip	_rcar_du_dpll_divider
.subsections_via_symbols
