	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad5360_get_channel_vref_index
_ad5360_get_channel_vref_index:         ## @ad5360_get_channel_vref_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	(%rdi), %rcx
	xorl	%edx, %edx
	divl	(%rcx)
	movl	4(%rcx), %ecx
	leal	-1(%rcx), %edx
	cmpl	%ecx, %eax
	cmovael	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ad5360_get_channel_vref_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad5360_get_channel_vref_index
_ad5360_get_channel_vref_index:         ; @ad5360_get_channel_vref_index
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldp	w9, w8, [x8]
	udiv	w9, w1, w9
	sub	w10, w8, #1
	cmp	w9, w8
	csel	w0, w9, w10, lo
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ad5360_get_channel_vref_index
.subsections_via_symbols
