	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pnv_calc_dpll_params
_pnv_calc_dpll_params:                  ## @pnv_calc_dpll_params
	.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
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movl	4(%rsi), %eax
	movl	16(%rsi), %ecx
	addl	$2, %eax
	movl	%eax, (%rsi)
	imull	12(%rsi), %ecx
	movl	%ecx, 8(%rsi)
	cmpq	$0, 24(%rsi)
	sete	%al
	testl	%ecx, %ecx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_WARN_ON
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_2
## %bb.1:
	imull	(%rbx), %r14d
	movq	24(%rbx), %rsi
	movl	%r14d, %edi
	callq	_DIV_ROUND_CLOSEST
	movl	%eax, 32(%rbx)
	movslq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_DIV_ROUND_CLOSEST
	movl	%eax, 36(%rbx)
LBB0_2:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pnv_calc_dpll_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pnv_calc_dpll_params
_pnv_calc_dpll_params:                  ; @pnv_calc_dpll_params
	.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	x19, x1
	mov	x20, x0
	ldr	w8, [x1, #4]
	add	w8, w8, #2
	str	w8, [x1]
	ldp	w8, w9, [x1, #12]
	mul	w8, w9, w8
	str	w8, [x1, #8]
	ldr	x9, [x1, #24]
	cmp	x9, #0
	ccmp	w8, #0, #4, ne
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	ldr	w8, [x19]
	mul	w0, w8, w20
	ldr	x1, [x19, #24]
	bl	_DIV_ROUND_CLOSEST
	str	w0, [x19, #32]
	ldrsw	x1, [x19, #8]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_DIV_ROUND_CLOSEST
	str	w0, [x19, #36]
LBB0_3:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pnv_calc_dpll_params
.subsections_via_symbols
