	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zpa2326_probe                  ## -- Begin function zpa2326_probe
	.p2align	4, 0x90
_zpa2326_probe:                         ## @zpa2326_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movl	%ecx, %ebx
	movl	%edx, %r12d
	movq	%rdi, %r14
	movq	%r8, %rdx
	callq	_zpa2326_create_managed_iiodev
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movq	%rax, 24(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	24(%rbx), %rdi
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_21:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	16(%rbx), %rdi
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_7:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	callq	_zpa2326_highest_frequency
	movl	%eax, 8(%rbx)
	movq	%r13, (%rbx)
	movq	_zpa2326_trigger_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_zpa2326_buffer_setup_ops@GOTPCREL(%rip), %r8
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_devm_iio_triggered_buffer_setup
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_21
## %bb.8:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_zpa2326_init_managed_trigger
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_21
## %bb.9:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_zpa2326_init_managed_irq
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_21
## %bb.10:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_zpa2326_power_on
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_21
## %bb.11:
	movq	_ZPA2326_DEVICE_ID_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdx
	movq	%r13, %rdi
	callq	_regmap_read
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.12:
	movl	-52(%rbp), %edx
	cmpl	-48(%rbp), %edx                 ## 4-byte Folded Reload
	jne	LBB0_13
## %bb.15:
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_zpa2326_config_oneshot
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.16:
	movq	%r15, %rdi
	callq	_zpa2326_sleep
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_20
## %bb.17:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_dev_set_drvdata
	movq	%r14, %rdi
	callq	_zpa2326_init_runtime
	movq	%r15, %rdi
	callq	_iio_device_register
	testl	%eax, %eax
	je	LBB0_18
## %bb.19:
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_zpa2326_fini_runtime
	jmp	LBB0_20
LBB0_13:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_14:
	movq	%r15, %rdi
	callq	_zpa2326_sleep
LBB0_20:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_zpa2326_power_off
	jmp	LBB0_21
LBB0_18:
	xorl	%r12d, %r12d
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vref"

L_.str.1:                               ## @.str.1
	.asciz	"vdd"

	.comm	_zpa2326_trigger_handler,4,2    ## @zpa2326_trigger_handler
	.comm	_zpa2326_buffer_setup_ops,4,2   ## @zpa2326_buffer_setup_ops
	.comm	_ZPA2326_DEVICE_ID_REG,4,2      ## @ZPA2326_DEVICE_ID_REG
L_.str.2:                               ## @.str.2
	.asciz	"found device with unexpected id %02x"

	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zpa2326_probe                  ; -- Begin function zpa2326_probe
	.p2align	2
_zpa2326_probe:                         ; @zpa2326_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x24, x4
	mov	x23, x3
	mov	x22, x2
	mov	x21, x0
	mov	x2, x4
	bl	_zpa2326_create_managed_iiodev
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_iio_priv
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_devm_regulator_get
	str	x0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x0, [x20, #24]
	b	LBB0_7
LBB0_3:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w25, w8
LBB0_4:
	mov	x0, x25
	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
	add	sp, sp, #96
	ret
LBB0_5:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_devm_regulator_get
	str	x0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x0, [x20, #16]
LBB0_7:
	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
	add	sp, sp, #96
	b	_PTR_ERR
LBB0_8:
	bl	_zpa2326_highest_frequency
	str	w0, [x20, #8]
	str	x24, [x20]
Lloh7:
	adrp	x8, _zpa2326_trigger_handler@GOTPAGE
Lloh8:
	ldr	x8, [x8, _zpa2326_trigger_handler@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
Lloh10:
	adrp	x4, _zpa2326_buffer_setup_ops@GOTPAGE
Lloh11:
	ldr	x4, [x4, _zpa2326_buffer_setup_ops@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x19
	mov	x2, #0
	bl	_devm_iio_triggered_buffer_setup
	mov	x25, x0
	cbnz	w0, LBB0_4
; %bb.9:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	mov	x3, x22
	bl	_zpa2326_init_managed_trigger
	mov	x25, x0
	cbnz	w0, LBB0_4
; %bb.10:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	mov	x3, x22
	bl	_zpa2326_init_managed_irq
	mov	x25, x0
	cbnz	w0, LBB0_4
; %bb.11:
	mov	x0, x19
	mov	x1, x20
	bl	_zpa2326_power_on
	mov	x25, x0
	cbnz	w0, LBB0_4
; %bb.12:
Lloh12:
	adrp	x8, _ZPA2326_DEVICE_ID_REG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ZPA2326_DEVICE_ID_REG@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x24
	bl	_regmap_read
	mov	x25, x0
	cbnz	w0, LBB0_19
; %bb.13:
	ldr	w2, [sp, #12]
	cmp	w2, w23
	b.ne	LBB0_18
; %bb.14:
	mov	x0, x19
	mov	x1, x22
	bl	_zpa2326_config_oneshot
	mov	x25, x0
	cbnz	w0, LBB0_19
; %bb.15:
	mov	x0, x19
	bl	_zpa2326_sleep
	mov	x25, x0
	cbnz	w0, LBB0_20
; %bb.16:
	mov	x0, x21
	mov	x1, x19
	bl	_dev_set_drvdata
	mov	x0, x21
	bl	_zpa2326_init_runtime
	mov	x0, x19
	bl	_iio_device_register
	mov	x25, x0
	cbz	w0, LBB0_4
; %bb.17:
	mov	x0, x21
	bl	_zpa2326_fini_runtime
	b	LBB0_20
LBB0_18:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh17:
	adrp	x8, _ENODEV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w25, w8
LBB0_19:
	mov	x0, x19
	bl	_zpa2326_sleep
LBB0_20:
	mov	x0, x19
	mov	x1, x20
	bl	_zpa2326_power_off
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vref"

l_.str.1:                               ; @.str.1
	.asciz	"vdd"

	.comm	_zpa2326_trigger_handler,4,2    ; @zpa2326_trigger_handler
	.comm	_zpa2326_buffer_setup_ops,4,2   ; @zpa2326_buffer_setup_ops
	.comm	_ZPA2326_DEVICE_ID_REG,4,2      ; @ZPA2326_DEVICE_ID_REG
l_.str.2:                               ; @.str.2
	.asciz	"found device with unexpected id %02x"

	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
