	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad5755_init_channels
_ad5755_init_channels:                  ## @ad5755_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_iio_priv
	movq	%rax, %r15
	movq	8(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_AD5755_NUM_CHANNELS@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	je	LBB0_6
## %bb.1:
	xorl	%r12d, %r12d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_IIO_CURRENT@GOTPCREL(%rip), %rcx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rcx), %eax
	movl	%eax, 8(%r14)
	incq	%r12
	movl	(%r13), %eax
	addq	$12, %r14
	cmpq	%rax, %r12
	jae	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%r14)
	movl	8(%rax), %eax
	movl	%eax, 8(%r14)
	movl	%r12d, (%r14)
	movl	%r12d, 4(%r14)
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	movl	(%rax,%r12,4), %edi
	callq	_ad5755_is_voltage_mode
	movq	_IIO_VOLTAGE@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_4
LBB0_6:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AD5755_NUM_CHANNELS,4,2        ## @AD5755_NUM_CHANNELS
	.comm	_IIO_VOLTAGE,4,2                ## @IIO_VOLTAGE
	.comm	_IIO_CURRENT,4,2                ## @IIO_CURRENT
	.no_dead_strip	_ad5755_init_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad5755_init_channels
_ad5755_init_channels:                  ; @ad5755_init_channels
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	bl	_iio_priv
	ldr	x22, [x0, #8]
Lloh0:
	adrp	x23, _AD5755_NUM_CHANNELS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _AD5755_NUM_CHANNELS@GOTPAGEOFF]
	ldr	w8, [x23]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x21, x0
	mov	x24, #0
Lloh2:
	adrp	x25, _IIO_CURRENT@GOTPAGE
Lloh3:
	ldr	x25, [x25, _IIO_CURRENT@GOTPAGEOFF]
Lloh4:
	adrp	x26, _IIO_VOLTAGE@GOTPAGE
Lloh5:
	ldr	x26, [x26, _IIO_VOLTAGE@GOTPAGEOFF]
	mov	x27, x22
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x25
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x8]
	str	w8, [x27, #8]
	add	x24, x24, #1
	ldr	w8, [x23]
	add	x27, x27, #12
	cmp	x24, x8
	b.hs	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w9, [x8, #8]
	ldr	x8, [x8]
	str	x8, [x27]
	stp	w24, w9, [x27, #4]
	str	w24, [x27]
	cbz	x20, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8, x24, lsl #2]
	bl	_ad5755_is_voltage_mode
	mov	x8, x26
	cbnz	x0, LBB0_3
	b	LBB0_2
LBB0_6:
	str	x22, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_AD5755_NUM_CHANNELS,4,2        ; @AD5755_NUM_CHANNELS
	.comm	_IIO_VOLTAGE,4,2                ; @IIO_VOLTAGE
	.comm	_IIO_CURRENT,4,2                ; @IIO_CURRENT
	.no_dead_strip	_ad5755_init_channels
.subsections_via_symbols
