	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __stm32_dfsdm_postenable
___stm32_dfsdm_postenable:              ## @__stm32_dfsdm_postenable
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_iio_priv
	movq	%rax, %r14
	movq	$0, 16(%rax)
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	callq	_iio_hw_consumer_enable
	testl	%eax, %eax
	js	LBB0_2
LBB0_3:
	movl	8(%r14), %edi
	callq	_stm32_dfsdm_start_dfsdm
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	callq	_stm32_dfsdm_adc_dma_start
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_10
LBB0_4:
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_2:
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_7:
	movl	4(%r15), %esi
	movq	%r14, %rdi
	callq	_stm32_dfsdm_start_conv
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	%r15, %rdi
	callq	_stm32_dfsdm_adc_dma_stop
LBB0_10:
	movl	8(%r14), %edi
	callq	_stm32_dfsdm_stop_dfsdm
LBB0_11:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	callq	_iio_hw_consumer_disable
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't start DMA\n"

L_.str.1:                               ## @.str.1
	.asciz	"Can't start conversion\n"

	.no_dead_strip	___stm32_dfsdm_postenable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __stm32_dfsdm_postenable
___stm32_dfsdm_postenable:              ; @__stm32_dfsdm_postenable
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x0
	bl	_iio_priv
	mov	x19, x0
	str	xzr, [x0, #16]
	ldr	x0, [x0]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_iio_hw_consumer_enable
	tbnz	w0, #31, LBB0_6
LBB0_2:
	ldr	w0, [x19, #8]
	bl	_stm32_dfsdm_start_dfsdm
	tbnz	w0, #31, LBB0_5
; %bb.3:
	mov	x0, x21
	bl	_stm32_dfsdm_adc_dma_start
	cbz	w0, LBB0_7
; %bb.4:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	b	LBB0_9
LBB0_5:
	mov	x20, x0
	ldr	x0, [x19]
	cbnz	x0, LBB0_10
	b	LBB0_11
LBB0_6:
	mov	x20, x0
	b	LBB0_11
LBB0_7:
	ldr	w1, [x21, #4]
	mov	x0, x19
	bl	_stm32_dfsdm_start_conv
	mov	x20, x0
	cbz	w0, LBB0_11
; %bb.8:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	mov	x0, x21
	bl	_stm32_dfsdm_adc_dma_stop
LBB0_9:
	ldr	w0, [x19, #8]
	bl	_stm32_dfsdm_stop_dfsdm
	ldr	x0, [x19]
	cbz	x0, LBB0_11
LBB0_10:
	bl	_iio_hw_consumer_disable
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't start DMA\n"

l_.str.1:                               ; @.str.1
	.asciz	"Can't start conversion\n"

	.no_dead_strip	___stm32_dfsdm_postenable
.subsections_via_symbols
