	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ads1015_get_channels_config
_ads1015_get_channels_config:           ## @ads1015_get_channels_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_i2c_get_clientdata
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_dev_get_platdata
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	(%r14), %rdi
	movl	(%rax), %esi
	movl	$8, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_1:
	movq	_ADS1015_CHANNELS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movq	(%r14), %rcx
	xorl	%edx, %edx
	movq	_ADS1015_DEFAULT_PGA@GOTPCREL(%rip), %rsi
	movq	_ADS1015_DEFAULT_DATA_RATE@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %ebx
	movl	%ebx, 4(%rcx,%rdx,8)
	movl	(%rdi), %ebx
	movl	%ebx, (%rcx,%rdx,8)
	incq	%rdx
	movl	(%rax), %ebx
	cmpq	%rbx, %rdx
	jb	LBB0_3
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADS1015_CHANNELS,4,2           ## @ADS1015_CHANNELS
	.comm	_ADS1015_DEFAULT_PGA,4,2        ## @ADS1015_DEFAULT_PGA
	.comm	_ADS1015_DEFAULT_DATA_RATE,4,2  ## @ADS1015_DEFAULT_DATA_RATE
	.no_dead_strip	_ads1015_get_channels_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ads1015_get_channels_config
_ads1015_get_channels_config:           ; @ads1015_get_channels_config
	.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	x20, x0
	bl	_i2c_get_clientdata
	bl	_iio_priv
	mov	x19, x0
	mov	x0, x20
	bl	_dev_get_platdata
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w1, [x0]
	mov	x0, x8
	mov	w2, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memcpy
LBB0_2:
Lloh0:
	adrp	x8, _ADS1015_CHANNELS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADS1015_CHANNELS@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_5
; %bb.3:
	mov	x9, #0
	ldr	x10, [x19]
	add	x10, x10, #4
Lloh2:
	adrp	x11, _ADS1015_DEFAULT_PGA@GOTPAGE
Lloh3:
	ldr	x11, [x11, _ADS1015_DEFAULT_PGA@GOTPAGEOFF]
Lloh4:
	adrp	x12, _ADS1015_DEFAULT_DATA_RATE@GOTPAGE
Lloh5:
	ldr	x12, [x12, _ADS1015_DEFAULT_DATA_RATE@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x11]
	str	w13, [x10]
	ldr	w13, [x12]
	stur	w13, [x10, #-4]
	add	x9, x9, #1
	ldr	w13, [x8]
	add	x10, x10, #8
	cmp	x9, x13
	b.lo	LBB0_4
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ADS1015_CHANNELS,4,2           ; @ADS1015_CHANNELS
	.comm	_ADS1015_DEFAULT_PGA,4,2        ; @ADS1015_DEFAULT_PGA
	.comm	_ADS1015_DEFAULT_DATA_RATE,4,2  ; @ADS1015_DEFAULT_DATA_RATE
	.no_dead_strip	_ads1015_get_channels_config
.subsections_via_symbols
