	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8411_conv_clk_and_div_n
_rtl8411_conv_clk_and_div_n:            ## @rtl8411_conv_clk_and_div_n
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movq	_CLK_TO_DIV_N@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	shll	$2, %edi
	movslq	%edi, %rax
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	sarq	$33, %rcx
	shrq	$63, %rax
	addl	%ecx, %eax
	addl	$-2, %eax
	popq	%rbp
	retq
LBB0_2:
	leal	(%rdi,%rdi,4), %ecx
	addl	$10, %ecx
	leal	(%rdi,%rdi,4), %eax
	addl	$13, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$2, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLK_TO_DIV_N,4,2               ## @CLK_TO_DIV_N
	.no_dead_strip	_rtl8411_conv_clk_and_div_n
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8411_conv_clk_and_div_n
_rtl8411_conv_clk_and_div_n:            ; @rtl8411_conv_clk_and_div_n
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _CLK_TO_DIV_N@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLK_TO_DIV_N@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w9, w0, w0, lsl #2
	add	w10, w9, #10
	add	w9, w9, #13
	cmp	w10, #0
	csel	w9, w9, w10, lt
	asr	w9, w9, #2
	lsl	w10, w0, #2
	mov	w11, #26215
	movk	w11, #26214, lsl #16
	smull	x10, w10, w11
	lsr	x11, x10, #63
	asr	x10, x10, #33
	add	w10, w10, w11
	sub	w10, w10, #2
	cmp	w8, w1
	csel	w0, w9, w10, ne
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CLK_TO_DIV_N,4,2               ; @CLK_TO_DIV_N
	.no_dead_strip	_rtl8411_conv_clk_and_div_n
.subsections_via_symbols
