	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zpa2326_start_oneshot
_zpa2326_start_oneshot:                 ## @zpa2326_start_oneshot
	.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, %r14
	callq	_iio_priv
	movl	(%rax), %edi
	movq	_ZPA2326_CTRL_REG0_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ZPA2326_CTRL_REG0_ENABLE@GOTPCREL(%rip), %rax
	movq	_ZPA2326_CTRL_REG0_ONE_SHOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_zpa2326_err
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_zpa2326_dbg
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZPA2326_CTRL_REG0_REG,4,2      ## @ZPA2326_CTRL_REG0_REG
	.comm	_ZPA2326_CTRL_REG0_ENABLE,4,2   ## @ZPA2326_CTRL_REG0_ENABLE
	.comm	_ZPA2326_CTRL_REG0_ONE_SHOT,4,2 ## @ZPA2326_CTRL_REG0_ONE_SHOT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to start one shot cycle (%d)"

L_.str.1:                               ## @.str.1
	.asciz	"one shot cycle started"

	.no_dead_strip	_zpa2326_start_oneshot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zpa2326_start_oneshot
_zpa2326_start_oneshot:                 ; @zpa2326_start_oneshot
	.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	x19, x0
	bl	_iio_priv
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _ZPA2326_CTRL_REG0_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZPA2326_CTRL_REG0_REG@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ZPA2326_CTRL_REG0_ENABLE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ZPA2326_CTRL_REG0_ENABLE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _ZPA2326_CTRL_REG0_ONE_SHOT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ZPA2326_CTRL_REG0_ONE_SHOT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_regmap_write
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_zpa2326_err
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_zpa2326_dbg
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ZPA2326_CTRL_REG0_REG,4,2      ; @ZPA2326_CTRL_REG0_REG
	.comm	_ZPA2326_CTRL_REG0_ENABLE,4,2   ; @ZPA2326_CTRL_REG0_ENABLE
	.comm	_ZPA2326_CTRL_REG0_ONE_SHOT,4,2 ; @ZPA2326_CTRL_REG0_ONE_SHOT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to start one shot cycle (%d)"

l_.str.1:                               ; @.str.1
	.asciz	"one shot cycle started"

	.no_dead_strip	_zpa2326_start_oneshot
.subsections_via_symbols
