	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib8000_reset_pll_common
_dib8000_reset_pll_common:              ## @dib8000_reset_pll_common
	.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, %r14
	movq	%rdi, %rbx
	movl	(%rsi), %edx
	movl	%edx, %ecx
	sarl	$25, %ecx
	leaq	L_.str(%rip), %rdi
	movl	%edx, %esi
	callq	_dprintk
	cmpl	$32912, (%rbx)                  ## imm = 0x8090
	movl	4(%r14), %eax
	jne	LBB0_1
## %bb.2:
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	imull	$1000, %ecx, %edx               ## imm = 0x3E8
	shrl	$16, %edx
	movq	%rbx, %rdi
	movl	$23, %esi
	callq	_dib8000_write_word
	movl	4(%r14), %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	jmp	LBB0_3
LBB0_1:
	imull	$1000, %eax, %edx               ## imm = 0x3E8
	shrl	$16, %edx
	movq	%rbx, %rdi
	movl	$23, %esi
	callq	_dib8000_write_word
	movl	4(%r14), %eax
LBB0_3:
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	movzwl	%ax, %edx
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_dib8000_write_word
	movzwl	2(%r14), %edx
	andl	$511, %edx                      ## imm = 0x1FF
	movq	%rbx, %rdi
	movl	$27, %esi
	callq	_dib8000_write_word
	movzwl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$28, %esi
	callq	_dib8000_write_word
	movl	(%r14), %edx
	shrl	$25, %edx
	andl	$3, %edx
	movq	%rbx, %rdi
	movl	$26, %esi
	callq	_dib8000_write_word
	cmpl	$32912, (%rbx)                  ## imm = 0x8090
	jne	LBB0_5
## %bb.4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movl	8(%r14), %edx
	movq	%rbx, %rdi
	movl	$922, %esi                      ## imm = 0x39A
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dib8000_write_word             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ifreq: %d %x, inversion: %d\n"

	.no_dead_strip	_dib8000_reset_pll_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib8000_reset_pll_common
_dib8000_reset_pll_common:              ; @dib8000_reset_pll_common
	.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, x1
	mov	x19, x0
	ldr	w1, [x1]
	asr	w3, w1, #25
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x1
	bl	_dprintk
	ldr	w9, [x19]
	ldr	w8, [x20, #4]
	mov	w10, #32912
	cmp	w9, w10
	b.ne	LBB0_2
; %bb.1:
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	mov	w9, #1000
	mul	w8, w8, w9
	lsr	w2, w8, #16
	mov	x0, x19
	mov	w1, #23
	bl	_dib8000_write_word
	ldr	w8, [x20, #4]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	b	LBB0_3
LBB0_2:
	mov	w9, #1000
	mul	w8, w8, w9
	lsr	w2, w8, #16
	mov	x0, x19
	mov	w1, #23
	bl	_dib8000_write_word
	ldr	w8, [x20, #4]
LBB0_3:
	mov	w9, #1000
	mul	w8, w8, w9
	and	w2, w8, #0xfff8
	mov	x0, x19
	mov	w1, #24
	bl	_dib8000_write_word
	ldrh	w8, [x20, #2]
	and	w2, w8, #0x1ff
	mov	x0, x19
	mov	w1, #27
	bl	_dib8000_write_word
	ldrh	w2, [x20]
	mov	x0, x19
	mov	w1, #28
	bl	_dib8000_write_word
	ldr	w8, [x20]
	ubfx	w2, w8, #25, #2
	mov	x0, x19
	mov	w1, #26
	bl	_dib8000_write_word
	ldr	w8, [x19]
	mov	w9, #32912
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w2, [x20, #8]
	mov	x0, x19
	mov	w1, #922
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dib8000_write_word
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ifreq: %d %x, inversion: %d\n"

	.no_dead_strip	_dib8000_reset_pll_common
.subsections_via_symbols
