	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad7266_probe
_ad7266_probe:                          ## @ad7266_probe
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	8(%rdi), %r13
	movl	$64, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_regulator_get_optional
	movl	%eax, 8(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	movl	8(%r15), %edi
	testl	%eax, %eax
	je	LBB0_3
## %bb.6:
	callq	_PTR_ERR
	movq	_ENODEV@GOTPCREL(%rip), %rdx
	movl	$2500, %ecx                     ## imm = 0x9C4
	addl	(%rdx), %eax
	je	LBB0_7
## %bb.23:
	movl	8(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_22
LBB0_3:
	callq	_regulator_enable
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_22
## %bb.4:
	movl	8(%r15), %edi
	callq	_regulator_get_voltage
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_20
## %bb.5:
	movl	%ebx, %eax
	imulq	$274877907, %rax, %rcx          ## imm = 0x10624DD3
	shrq	$38, %rcx
LBB0_7:
	movl	%ecx, (%r15)
	testq	%r13, %r13
	je	LBB0_13
## %bb.8:
	movl	(%r13), %eax
	movl	%eax, 4(%r15)
	movl	20(%r13), %ecx
	movl	%ecx, 56(%r15)
	movl	16(%r13), %ecx
	movl	%ecx, 60(%r15)
	testl	%eax, %eax
	jne	LBB0_14
## %bb.9:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	16(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:
	movl	$2, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movl	(%rax,%r14,4), %eax
	movq	16(%r15), %rdi
	movl	%eax, (%rdi,%rbx,4)
	movq	_GPIOF_OUT_INIT_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rdi,%rbx,4)
	movq	_ad7266_gpio_labels@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %eax
	movl	%eax, -8(%rdi,%rbx,4)
	incq	%r14
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$3, %rbx
	cmpq	%rax, %r14
	jb	LBB0_11
LBB0_12:
	movq	16(%r15), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_gpio_request_array
	movl	%eax, %ebx
	testl	%eax, %eax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_20
	jmp	LBB0_14
LBB0_13:
	movl	$1, 4(%r15)
	movq	_AD7266_RANGE_VREF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%r15)
	movq	_AD7266_MODE_DIFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r15)
LBB0_14:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_spi_set_drvdata
	movq	%r12, 48(%r15)
	movq	%r12, 24(%r14)
	movl	(%r12), %eax
	movl	%eax, 16(%r14)
	movq	%r12, %rdi
	callq	_spi_get_device_id
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_ad7266_info@GOTPCREL(%rip), %rax
	movq	%rax, (%r14)
	movq	%r14, %rdi
	callq	_ad7266_init_channels
	movq	32(%r15), %rax
	movq	40(%r15), %rcx
	movq	%rcx, 16(%rax)
	movabsq	$4294967298, %rdx               ## imm = 0x100000002
	movq	%rdx, (%rax)
	movq	%rcx, 40(%rax)
	movabsq	$4294967300, %rdx               ## imm = 0x100000004
	movq	%rdx, 24(%rax)
	movq	%rcx, 56(%rax)
	movl	$1, 48(%rax)
	movq	%r15, %rbx
	addq	$24, %rbx
	movq	%rbx, %rdi
	callq	_spi_message_init
	movq	32(%r15), %rdi
	movq	%rbx, %rsi
	callq	_spi_message_add_tail
	movq	32(%r15), %rdi
	addq	$24, %rdi
	movq	%rbx, %rsi
	callq	_spi_message_add_tail
	movq	32(%r15), %rdi
	addq	$48, %rdi
	movq	%rbx, %rsi
	callq	_spi_message_add_tail
	movq	_iio_pollfunc_store_time@GOTPCREL(%rip), %rsi
	movq	_ad7266_trigger_handler@GOTPCREL(%rip), %rdx
	movq	_iio_triggered_buffer_setup_ops@GOTPCREL(%rip), %rcx
	movq	%r14, %rdi
	callq	_iio_triggered_buffer_setup
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_15
## %bb.18:
	cmpl	$0, 4(%r15)
	jne	LBB0_20
LBB0_19:
	movq	16(%r15), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_gpio_free_array
LBB0_20:
	movl	8(%r15), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_22
## %bb.21:
	movl	8(%r15), %edi
	callq	_regulator_disable
	jmp	LBB0_22
LBB0_15:
	movq	%r14, %rdi
	callq	_iio_device_register
	testl	%eax, %eax
	je	LBB0_16
## %bb.17:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_iio_triggered_buffer_cleanup
	cmpl	$0, 4(%r15)
	jne	LBB0_20
	jmp	LBB0_19
LBB0_16:
	xorl	%ebx, %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vref"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GPIOF_OUT_INIT_LOW,4,2         ## @GPIOF_OUT_INIT_LOW
	.comm	_ad7266_gpio_labels,8,3         ## @ad7266_gpio_labels
	.comm	_AD7266_RANGE_VREF,4,2          ## @AD7266_RANGE_VREF
	.comm	_AD7266_MODE_DIFF,4,2           ## @AD7266_MODE_DIFF
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_ad7266_info,4,2                ## @ad7266_info
	.comm	_iio_pollfunc_store_time,4,2    ## @iio_pollfunc_store_time
	.comm	_ad7266_trigger_handler,4,2     ## @ad7266_trigger_handler
	.comm	_iio_triggered_buffer_setup_ops,4,2 ## @iio_triggered_buffer_setup_ops
	.no_dead_strip	_ad7266_probe
.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 ad7266_probe
lCPI0_0:
	.long	2                               ; 0x2
	.long	1                               ; 0x1
lCPI0_1:
	.long	4                               ; 0x4
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ad7266_probe:                          ; @ad7266_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x0
	ldr	x23, [x0, #8]
	mov	w1, #64
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	bl	_iio_priv
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_devm_regulator_get_optional
	str	w0, [x19, #8]
	bl	_IS_ERR
	mov	x8, x0
	ldr	w0, [x19, #8]
	cbz	w8, LBB0_10
; %bb.2:
	bl	_PTR_ERR
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_19
; %bb.3:
	mov	w8, #2500
	str	w8, [x19]
	cbz	x23, LBB0_13
LBB0_4:
	ldr	w8, [x23]
	str	w8, [x19, #4]
	ldr	d0, [x23, #16]
	rev64.2s	v0, v0
	str	d0, [x19, #56]
	cbnz	w8, LBB0_14
; %bb.5:
	ldr	x0, [x19, #16]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_8
; %bb.6:
	mov	x22, #0
	mov	x24, #0
Lloh5:
	adrp	x25, _GPIOF_OUT_INIT_LOW@GOTPAGE
Lloh6:
	ldr	x25, [x25, _GPIOF_OUT_INIT_LOW@GOTPAGEOFF]
Lloh7:
	adrp	x26, _ad7266_gpio_labels@GOTPAGE
Lloh8:
	ldr	x26, [x26, _ad7266_gpio_labels@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #8]
	lsl	x9, x24, #2
	ldr	w8, [x8, x9]
	ldr	x0, [x19, #16]
	add	x10, x0, x22
	str	w8, [x10, #8]
	ldr	w8, [x25]
	str	w8, [x10, #4]
	ldr	x8, [x26]
	ldr	w8, [x8, x9]
	str	w8, [x10]
	add	x24, x24, #1
	bl	_ARRAY_SIZE
	add	x22, x22, #12
	cmp	x24, w0, uxtw
	b.lo	LBB0_7
LBB0_8:
	ldr	x22, [x19, #16]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, x22
	bl	_gpio_request_array
	mov	x22, x0
	cbnz	w0, LBB0_17
	b	LBB0_14
LBB0_9:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_22
LBB0_10:
	bl	_regulator_enable
	mov	x22, x0
	cbnz	w0, LBB0_22
; %bb.11:
	ldr	w0, [x19, #8]
	bl	_regulator_get_voltage
	mov	x22, x0
	tbnz	w0, #31, LBB0_17
; %bb.12:
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	umull	x8, w22, w8
	lsr	x8, x8, #38
	str	w8, [x19]
	cbnz	x23, LBB0_4
LBB0_13:
	mov	w8, #1
	str	w8, [x19, #4]
Lloh12:
	adrp	x8, _AD7266_RANGE_VREF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AD7266_RANGE_VREF@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _AD7266_MODE_DIFF@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AD7266_MODE_DIFF@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #56]
LBB0_14:
	mov	x0, x21
	mov	x1, x20
	bl	_spi_set_drvdata
	str	x21, [x19, #48]
	str	x21, [x20, #24]
	ldr	w8, [x21]
	str	w8, [x20, #16]
	mov	x0, x21
	bl	_spi_get_device_id
	ldr	w8, [x0]
Lloh18:
	adrp	x9, _INDIO_DIRECT_MODE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #8]
Lloh21:
	adrp	x8, _ad7266_info@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ad7266_info@GOTPAGEOFF]
	str	x8, [x20]
	mov	x0, x20
	bl	_ad7266_init_channels
	ldp	x9, x8, [x19, #32]
	str	x8, [x9, #16]
Lloh23:
	adrp	x10, lCPI0_0@PAGE
Lloh24:
	ldr	d0, [x10, lCPI0_0@PAGEOFF]
	str	d0, [x9]
	str	x8, [x9, #40]
Lloh25:
	adrp	x10, lCPI0_1@PAGE
Lloh26:
	ldr	d0, [x10, lCPI0_1@PAGEOFF]
	str	d0, [x9, #24]
	str	x8, [x9, #56]
	mov	w8, #1
	str	w8, [x9, #48]
	add	x21, x19, #24
	mov	x0, x21
	bl	_spi_message_init
	ldr	x0, [x19, #32]
	mov	x1, x21
	bl	_spi_message_add_tail
	ldr	x8, [x19, #32]
	add	x0, x8, #24
	mov	x1, x21
	bl	_spi_message_add_tail
	ldr	x8, [x19, #32]
	add	x0, x8, #48
	mov	x1, x21
	bl	_spi_message_add_tail
Lloh27:
	adrp	x1, _iio_pollfunc_store_time@GOTPAGE
Lloh28:
	ldr	x1, [x1, _iio_pollfunc_store_time@GOTPAGEOFF]
Lloh29:
	adrp	x2, _ad7266_trigger_handler@GOTPAGE
Lloh30:
	ldr	x2, [x2, _ad7266_trigger_handler@GOTPAGEOFF]
Lloh31:
	adrp	x3, _iio_triggered_buffer_setup_ops@GOTPAGE
Lloh32:
	ldr	x3, [x3, _iio_triggered_buffer_setup_ops@GOTPAGEOFF]
	mov	x0, x20
	bl	_iio_triggered_buffer_setup
	mov	x22, x0
	cbz	w0, LBB0_20
; %bb.15:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_17
LBB0_16:
	ldr	x20, [x19, #16]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, x20
	bl	_gpio_free_array
LBB0_17:
	ldr	w0, [x19, #8]
	bl	_IS_ERR
	cbnz	w0, LBB0_22
; %bb.18:
	ldr	w0, [x19, #8]
	bl	_regulator_disable
	b	LBB0_22
LBB0_19:
	ldr	w0, [x19, #8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_20:
	mov	x0, x20
	bl	_iio_device_register
	mov	x22, x0
	cbz	w0, LBB0_22
; %bb.21:
	mov	x0, x20
	bl	_iio_triggered_buffer_cleanup
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_17
	b	LBB0_16
LBB0_22:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdr	Lloh25, Lloh26
	.loh AdrpAdrp	Lloh23, Lloh25
	.loh AdrpLdr	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vref"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GPIOF_OUT_INIT_LOW,4,2         ; @GPIOF_OUT_INIT_LOW
	.comm	_ad7266_gpio_labels,8,3         ; @ad7266_gpio_labels
	.comm	_AD7266_RANGE_VREF,4,2          ; @AD7266_RANGE_VREF
	.comm	_AD7266_MODE_DIFF,4,2           ; @AD7266_MODE_DIFF
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_ad7266_info,4,2                ; @ad7266_info
	.comm	_iio_pollfunc_store_time,4,2    ; @iio_pollfunc_store_time
	.comm	_ad7266_trigger_handler,4,2     ; @ad7266_trigger_handler
	.comm	_iio_triggered_buffer_setup_ops,4,2 ; @iio_triggered_buffer_setup_ops
	.no_dead_strip	_ad7266_probe
.subsections_via_symbols
