	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad5064_probe
_ad5064_probe:                          ## @ad5064_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
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r13
	movl	$56, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_iio_priv
	movl	%r12d, %ebx
	movq	%rax, %r12
	leaq	48(%rax), %rdi
	callq	_mutex_init
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_dev_set_drvdata
	movq	_ad5064_chip_info_tbl@GOTPCREL(%rip), %rax
	movl	%r15d, %ecx
	shlq	$4, %rcx
	addq	(%rax), %rcx
	movq	%rcx, 24(%r12)
	movq	%r13, 40(%r12)
	movl	%ebx, 32(%r12)
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ad5064_request_vref
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.3:
	cmpl	$0, 12(%r12)
	je	LBB0_4
LBB0_5:
	movq	%r13, 40(%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r14)
	movq	_ad5064_info@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r14)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	24(%r12), %rax
	movq	8(%rax), %rcx
	movq	%rcx, 16(%r14)
	movl	(%rax), %esi
	movl	%esi, 8(%r14)
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	testl	%esi, %esi
	je	LBB0_8
## %bb.6:
	movl	%edx, %ecx
	shrl	$31, %ecx
	addl	%edx, %ecx
	sarl	%ecx
	movq	(%r12), %rdx
	movq	16(%r12), %rsi
	xorl	%edi, %edi
	movq	_AD5064_LDAC_PWRDN_1K@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r8), %ebx
	movl	%ebx, (%rsi,%rdi,4)
	movl	%ecx, (%rdx,%rdi,4)
	incq	%rdi
	movl	(%rax), %ebx
	cmpq	%rbx, %rdi
	jb	LBB0_7
LBB0_8:
	movq	%r14, %rdi
	callq	_iio_device_register
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movl	%eax, %ebx
	cmpl	$0, 12(%r12)
	jne	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	callq	_ad5064_num_vref
	movl	8(%r12), %esi
	movl	%eax, %edi
	callq	_regulator_bulk_disable
	jmp	LBB0_12
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r12, %rdi
	callq	_ad5064_num_vref
	movl	8(%r12), %esi
	movl	%eax, %edi
	callq	_regulator_bulk_enable
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
	jmp	LBB0_5
LBB0_9:
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ad5064_chip_info_tbl,8,3       ## @ad5064_chip_info_tbl
	.comm	_ad5064_info,4,2                ## @ad5064_info
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_AD5064_LDAC_PWRDN_1K,4,2       ## @AD5064_LDAC_PWRDN_1K
	.no_dead_strip	_ad5064_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad5064_probe
_ad5064_probe:                          ; @ad5064_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x3
	mov	x21, x2
	mov	x24, x1
	mov	x22, x0
	mov	w1, #56
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	bl	_iio_priv
	mov	x19, x0
	add	x0, x0, #48
	bl	_mutex_init
	mov	x0, x22
	mov	x1, x20
	bl	_dev_set_drvdata
Lloh0:
	adrp	x8, _ad5064_chip_info_tbl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ad5064_chip_info_tbl@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, w24, uxtw #4
	str	x8, [x19, #24]
	str	x22, [x19, #40]
	str	w23, [x19, #32]
	mov	x0, x19
	mov	x1, x22
	bl	_ad5064_request_vref
	mov	x23, x0
	cbnz	w0, LBB0_10
; %bb.2:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_11
LBB0_3:
	str	x21, [x20]
Lloh3:
	adrp	x8, _ad5064_info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ad5064_info@GOTPAGEOFF]
	stp	x8, x22, [x20, #32]
Lloh5:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	ldr	x8, [x19, #24]
	ldr	x9, [x8, #8]
	str	x9, [x20, #16]
	ldr	w11, [x8]
	str	w11, [x20, #8]
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
	cmp	w9, #0
	cinc	w10, w9, lt
	cbz	w11, LBB0_6
; %bb.4:
	mov	x9, #0
	asr	w10, w10, #1
	ldr	x11, [x19, #16]
	ldr	x12, [x19]
Lloh8:
	adrp	x13, _AD5064_LDAC_PWRDN_1K@GOTPAGE
Lloh9:
	ldr	x13, [x13, _AD5064_LDAC_PWRDN_1K@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x13]
	lsl	x15, x9, #2
	str	w14, [x11, x15]
	str	w10, [x12, x15]
	add	x9, x9, #1
	ldr	w14, [x8]
	cmp	x9, x14
	b.lo	LBB0_5
LBB0_6:
	mov	x0, x20
	bl	_iio_device_register
	mov	x23, x0
	cbz	w0, LBB0_10
; %bb.7:
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_ad5064_num_vref
	ldr	w1, [x19, #8]
	bl	_regulator_bulk_disable
	b	LBB0_10
LBB0_9:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_10:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x0, x19
	bl	_ad5064_num_vref
	ldr	w1, [x19, #8]
	bl	_regulator_bulk_enable
	mov	x23, x0
	cbnz	w0, LBB0_10
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ad5064_chip_info_tbl,8,3       ; @ad5064_chip_info_tbl
	.comm	_ad5064_info,4,2                ; @ad5064_info
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_AD5064_LDAC_PWRDN_1K,4,2       ; @AD5064_LDAC_PWRDN_1K
	.no_dead_strip	_ad5064_probe
.subsections_via_symbols
