	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath5k_get_interpolated_value
_ath5k_get_interpolated_value:          ## @ath5k_get_interpolated_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rcx, %r9
	movq	%rdx, %rcx
	subq	%rsi, %rcx
	je	LBB0_6
## %bb.1:
	subq	%r9, %r8
	je	LBB0_6
## %bb.2:
	imulq	$100, %r8, %rax
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_3
## %bb.4:
	cqto
	idivq	%rcx
	jmp	LBB0_5
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_5:
	subq	%rsi, %rdi
	imulq	%rax, %rdi
	movabsq	$-6640827866535438581, %rcx     ## imm = 0xA3D70A3D70A3D70B
	movq	%rdi, %rax
	imulq	%rcx
	addq	%rdi, %rdx
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$6, %rdx
	addq	%rax, %rdx
	addq	%rdx, %r9
LBB0_6:
	movq	%r9, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ath5k_get_interpolated_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath5k_get_interpolated_value
_ath5k_get_interpolated_value:          ; @ath5k_get_interpolated_value
	.cfi_startproc
; %bb.0:
	subs	x8, x2, x1
	b.eq	LBB0_3
; %bb.1:
	subs	x9, x4, x3
	b.eq	LBB0_3
; %bb.2:
	mov	w10, #100
	mul	x9, x9, x10
	sdiv	x8, x9, x8
	sub	x9, x0, x1
	mul	x8, x8, x9
	mov	x9, #55051
	movk	x9, #28835, lsl #16
	movk	x9, #2621, lsl #32
	movk	x9, #41943, lsl #48
	smulh	x9, x8, x9
	add	x8, x9, x8
	asr	x9, x8, #6
	add	x8, x9, x8, lsr #63
	add	x3, x8, x3
LBB0_3:
	mov	x0, x3
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ath5k_get_interpolated_value
.subsections_via_symbols
