	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad7266_init_channels
_ad7266_init_channels:                  ## @ad7266_init_channels
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_iio_priv
	movq	_AD7266_MODE_SINGLE_ENDED@GOTPCREL(%rip), %rcx
	movq	(%rax), %rdx
	movq	8(%rax), %rsi
	xorl	%edi, %edi
	cmpq	(%rcx), %rdx
	setne	%dil
	movq	_AD7266_RANGE_2VREF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	sete	%cl
	movq	_AD7266_MODE_DIFF@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	sete	%dl
	orb	%cl, %dl
	movzbl	%dl, %esi
	movl	16(%rax), %edx
	callq	_AD7266_CHAN_INFO_INDEX
	movq	_ad7266_chan_infos@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	shlq	$4, %rax
	movl	12(%rcx,%rax), %edx
	movl	%edx, 24(%rbx)
	movq	(%rcx,%rax), %rdx
	movq	%rdx, 16(%rbx)
	movl	8(%rcx,%rax), %eax
	movl	%eax, 8(%rbx)
	decq	%rdx
	movq	%rdx, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AD7266_MODE_SINGLE_ENDED,8,3   ## @AD7266_MODE_SINGLE_ENDED
	.comm	_AD7266_RANGE_2VREF,8,3         ## @AD7266_RANGE_2VREF
	.comm	_AD7266_MODE_DIFF,8,3           ## @AD7266_MODE_DIFF
	.comm	_ad7266_chan_infos,8,3          ## @ad7266_chan_infos
	.no_dead_strip	_ad7266_init_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad7266_init_channels
_ad7266_init_channels:                  ; @ad7266_init_channels
	.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, x0
	bl	_iio_priv
Lloh0:
	adrp	x8, _AD7266_MODE_SINGLE_ENDED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AD7266_MODE_SINGLE_ENDED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x9, x10, [x0]
	cmp	x9, x8
	cset	w8, ne
Lloh3:
	adrp	x11, _AD7266_RANGE_2VREF@GOTPAGE
Lloh4:
	ldr	x11, [x11, _AD7266_RANGE_2VREF@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x10, x11
Lloh6:
	adrp	x10, _AD7266_MODE_DIFF@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AD7266_MODE_DIFF@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	ccmp	x9, x10, #4, ne
	cset	w1, eq
	ldr	w2, [x0, #16]
	mov	x0, x8
	bl	_AD7266_CHAN_INFO_INDEX
Lloh9:
	adrp	x8, _ad7266_chan_infos@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ad7266_chan_infos@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	add	x8, x8, w0, sxtw #4
	ldp	w10, w9, [x8, #8]
	str	w9, [x19, #24]
	ldr	x8, [x8]
	str	x8, [x19, #16]
	str	w10, [x19, #8]
	sub	x8, x8, #1
	str	x8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AD7266_MODE_SINGLE_ENDED,8,3   ; @AD7266_MODE_SINGLE_ENDED
	.comm	_AD7266_RANGE_2VREF,8,3         ; @AD7266_RANGE_2VREF
	.comm	_AD7266_MODE_DIFF,8,3           ; @AD7266_MODE_DIFF
	.comm	_ad7266_chan_infos,8,3          ; @ad7266_chan_infos
	.no_dead_strip	_ad7266_init_channels
.subsections_via_symbols
