	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tiadc_channel_init
_tiadc_channel_init:                    ## @tiadc_channel_init
	.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
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_iio_priv
	movq	%rax, %r13
	movl	%r12d, (%rbx)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	movl	$48, %esi
	callq	_kcalloc
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_4
## %bb.2:
	movl	%r12d, %r12d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	addq	$40, %rbx
	xorl	%r15d, %r15d
	movabsq	$68719476748, %r14              ## imm = 0x100000000C
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_IIO_VOLTAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	$1, -40(%rbx)
	movq	(%r13), %rax
	movq	(%rax,%r15,8), %rax
	movq	%rax, -32(%rbx)
	movq	_IIO_CHAN_INFO_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, -4(%rbx)
	movq	_chan_name_ain@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-32(%rbx), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, -8(%rbx)
	movl	%r15d, -24(%rbx)
	movb	$117, -20(%rbx)
	movq	%r14, -16(%rbx)
	incq	%r15
	addq	$48, %rbx
	cmpq	%r15, %r12
	jne	LBB0_3
LBB0_4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 8(%rax)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IIO_VOLTAGE,4,2                ## @IIO_VOLTAGE
	.comm	_IIO_CHAN_INFO_RAW,4,2          ## @IIO_CHAN_INFO_RAW
	.comm	_chan_name_ain,8,3              ## @chan_name_ain
	.no_dead_strip	_tiadc_channel_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function tiadc_channel_init
lCPI0_0:
	.long	12                              ; 0xc
	.long	16                              ; 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_tiadc_channel_init:                    ; @tiadc_channel_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x22, x1
	mov	x19, x0
	bl	_iio_priv
	mov	x20, x0
	str	w22, [x19]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w1, #48
	bl	_kcalloc
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	cbz	x0, LBB0_5
; %bb.1:
	cmp	w22, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x23, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x24, x8, #20
Lloh3:
	adrp	x25, _IIO_VOLTAGE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _IIO_VOLTAGE@GOTPAGEOFF]
	mov	w26, #1
Lloh5:
	adrp	x27, _IIO_CHAN_INFO_RAW@GOTPAGE
Lloh6:
	ldr	x27, [x27, _IIO_CHAN_INFO_RAW@GOTPAGEOFF]
Lloh7:
	adrp	x28, _chan_name_ain@GOTPAGE
Lloh8:
	ldr	x28, [x28, _chan_name_ain@GOTPAGEOFF]
	mov	w21, #117
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
	mov	w22, w22
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x25]
	str	w8, [x24, #20]
	stur	w26, [x24, #-20]
	ldr	x8, [x20]
	ldr	x8, [x8, x23, lsl #3]
	stur	x8, [x24, #-12]
	ldr	w0, [x27]
	bl	_BIT
	str	w0, [x24, #16]
	ldr	x8, [x28]
	ldur	x9, [x24, #-12]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x24, #12]
	stur	w23, [x24, #-4]
	strb	w21, [x24]
	stur	d8, [x24, #4]
	add	x23, x23, #1
	add	x24, x24, #48
	cmp	x22, x23
	b.ne	LBB0_3
LBB0_4:
	mov	w0, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x8, [x19, #8]
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IIO_VOLTAGE,4,2                ; @IIO_VOLTAGE
	.comm	_IIO_CHAN_INFO_RAW,4,2          ; @IIO_CHAN_INFO_RAW
	.comm	_chan_name_ain,8,3              ; @chan_name_ain
	.no_dead_strip	_tiadc_channel_init
.subsections_via_symbols
