	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32h7_adc_disable
_stm32h7_adc_disable:                   ## @stm32h7_adc_disable
	.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, %rbx
	callq	_iio_priv_to_dev
	movq	%rax, %r14
	movq	_STM32H7_ADC_CR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_STM32H7_ADDIS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_stm32_adc_set_bits
	movl	(%r15), %edi
	movq	_STM32_ADC_TIMEOUT_US@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$1, %edx
	movl	$100, %ecx
	callq	_stm32_adc_readl_poll_timeout
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STM32H7_ADC_CR,4,2             ## @STM32H7_ADC_CR
	.comm	_STM32H7_ADDIS,4,2              ## @STM32H7_ADDIS
	.comm	_STM32H7_ADEN,4,2               ## @STM32H7_ADEN
	.comm	_STM32_ADC_TIMEOUT_US,4,2       ## @STM32_ADC_TIMEOUT_US
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to disable\n"

	.no_dead_strip	_stm32h7_adc_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32h7_adc_disable
_stm32h7_adc_disable:                   ; @stm32h7_adc_disable
	.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	x20, x0
	bl	_iio_priv_to_dev
	mov	x19, x0
Lloh0:
	adrp	x21, _STM32H7_ADC_CR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _STM32H7_ADC_CR@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x8, _STM32H7_ADDIS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STM32H7_ADDIS@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_stm32_adc_set_bits
	ldr	w0, [x21]
Lloh5:
	adrp	x8, _STM32_ADC_TIMEOUT_US@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STM32_ADC_TIMEOUT_US@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
	mov	w2, #1
	mov	w3, #100
	bl	_stm32_adc_readl_poll_timeout
	cbz	w0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	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
	b	_dev_warn
LBB0_2:
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_STM32H7_ADC_CR,4,2             ; @STM32H7_ADC_CR
	.comm	_STM32H7_ADDIS,4,2              ; @STM32H7_ADDIS
	.comm	_STM32H7_ADEN,4,2               ; @STM32H7_ADEN
	.comm	_STM32_ADC_TIMEOUT_US,4,2       ; @STM32_ADC_TIMEOUT_US
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to disable\n"

	.no_dead_strip	_stm32h7_adc_disable
.subsections_via_symbols
