	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_dfsdm_single_conv
_stm32_dfsdm_single_conv:               ## @stm32_dfsdm_single_conv
	.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	%rdx, %rbx
	movq	%rsi, %r12
	callq	_iio_priv
	movq	%rax, %r14
	leaq	28(%rax), %r15
	movq	%r15, %rdi
	callq	_reinit_completion
	movq	%rbx, (%r14)
	movq	16(%r14), %rdi
	callq	_stm32_dfsdm_start_dfsdm
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	16(%r14), %rax
	movl	(%rax), %r13d
	movl	24(%r14), %edi
	callq	_DFSDM_CR2
	movl	%eax, %ebx
	movq	_DFSDM_CR2_REOCIE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	$1, %edi
	callq	_DFSDM_CR2_REOCIE
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_regmap_update_bits
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movl	$1, 8(%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, 32(%r14)
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_stm32_dfsdm_start_conv
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movq	_DFSDM_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_wait_for_completion_interruptible_timeout
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	16(%r14), %rax
	movl	(%rax), %r12d
	movl	24(%r14), %edi
	callq	_DFSDM_CR2
	movl	%eax, %r13d
	movq	_DFSDM_CR2_REOCIE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_DFSDM_CR2_REOCIE
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_regmap_update_bits
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	js	LBB0_9
## %bb.10:
	movq	_IIO_VAL_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_11
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_3:
	movl	%eax, %ebx
	jmp	LBB0_12
LBB0_5:
	movl	%eax, %ebx
	movq	16(%r14), %rax
	movl	(%rax), %r15d
	movl	24(%r14), %edi
	callq	_DFSDM_CR2
	movl	%eax, %r12d
	movq	_DFSDM_CR2_REOCIE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%edi, %edi
	callq	_DFSDM_CR2_REOCIE
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_regmap_update_bits
	jmp	LBB0_12
LBB0_7:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_9:
	movl	%eax, %ebx
LBB0_11:
	movq	%r14, %rdi
	callq	_stm32_dfsdm_stop_conv
LBB0_12:
	movq	16(%r14), %rdi
	callq	_stm32_dfsdm_stop_dfsdm
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DFSDM_CR2_REOCIE_MASK,4,2      ## @DFSDM_CR2_REOCIE_MASK
	.comm	_DFSDM_TIMEOUT,4,2              ## @DFSDM_TIMEOUT
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_IIO_VAL_INT,4,2                ## @IIO_VAL_INT
	.no_dead_strip	_stm32_dfsdm_single_conv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_dfsdm_single_conv
_stm32_dfsdm_single_conv:               ; @stm32_dfsdm_single_conv
	.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	x20, x2
	mov	x22, x1
	bl	_iio_priv
	mov	x19, x0
	add	x21, x0, #28
	mov	x0, x21
	bl	_reinit_completion
	str	x20, [x19]
	ldr	x0, [x19, #16]
	bl	_stm32_dfsdm_start_dfsdm
	tbnz	w0, #31, LBB0_6
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	w20, [x8]
	ldr	w0, [x19, #24]
	bl	_DFSDM_CR2
	mov	x23, x0
Lloh0:
	adrp	x25, _DFSDM_CR2_REOCIE_MASK@GOTPAGE
Lloh1:
	ldr	x25, [x25, _DFSDM_CR2_REOCIE_MASK@GOTPAGEOFF]
	ldr	w24, [x25]
	mov	w26, #1
	mov	w0, #1
	bl	_DFSDM_CR2_REOCIE
	mov	x3, x0
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	bl	_regmap_update_bits
	tbnz	w0, #31, LBB0_7
; %bb.2:
	str	w26, [x19, #8]
	ldr	w0, [x22]
	bl	_BIT
	str	w0, [x19, #32]
	mov	x0, x19
	mov	x1, #0
	bl	_stm32_dfsdm_start_conv
	tbnz	w0, #31, LBB0_8
; %bb.3:
Lloh2:
	adrp	x8, _DFSDM_TIMEOUT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DFSDM_TIMEOUT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_wait_for_completion_interruptible_timeout
	mov	x20, x0
	ldr	x8, [x19, #16]
	ldr	w21, [x8]
	ldr	w0, [x19, #24]
	bl	_DFSDM_CR2
	mov	x22, x0
	ldr	w23, [x25]
	mov	w0, #0
	bl	_DFSDM_CR2_REOCIE
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_regmap_update_bits
	cbz	x20, LBB0_9
; %bb.4:
	tbnz	x20, #63, LBB0_10
; %bb.5:
Lloh5:
	adrp	x8, _IIO_VAL_INT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	b	LBB0_10
LBB0_6:
	mov	x20, x0
	b	LBB0_12
LBB0_7:
	mov	x20, x0
	b	LBB0_11
LBB0_8:
	mov	x20, x0
	ldr	x8, [x19, #16]
	ldr	w21, [x8]
	ldr	w0, [x19, #24]
	bl	_DFSDM_CR2
	mov	x22, x0
	ldr	w23, [x25]
	mov	w0, #0
	bl	_DFSDM_CR2_REOCIE
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_regmap_update_bits
	b	LBB0_11
LBB0_9:
Lloh8:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_10:
	mov	x0, x19
	bl	_stm32_dfsdm_stop_conv
LBB0_11:
	ldr	x0, [x19, #16]
	bl	_stm32_dfsdm_stop_dfsdm
LBB0_12:
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DFSDM_CR2_REOCIE_MASK,4,2      ; @DFSDM_CR2_REOCIE_MASK
	.comm	_DFSDM_TIMEOUT,4,2              ; @DFSDM_TIMEOUT
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_IIO_VAL_INT,4,2                ; @IIO_VAL_INT
	.no_dead_strip	_stm32_dfsdm_single_conv
.subsections_via_symbols
