	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32h7_adc_start_conv
_stm32h7_adc_start_conv:                ## @stm32h7_adc_start_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testl	%esi, %esi
	jne	LBB0_1
## %bb.2:
	movq	_STM32H7_DMNGT_DR_ONLY@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_STM32H7_DMNGT_DMA_CIRC@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_STM32H7_ADC_CFGR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_stm32_adc_readl
	movq	_STM32H7_DMNGT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_STM32H7_DMNGT_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	shll	%cl, %ebx
	notl	%edx
	andl	%eax, %edx
	orl	%edx, %ebx
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_stm32_adc_writel
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	_STM32H7_ADC_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_STM32H7_ADSTART@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_stm32_adc_set_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STM32H7_DMNGT_DMA_CIRC,4,2     ## @STM32H7_DMNGT_DMA_CIRC
	.comm	_STM32H7_DMNGT_DR_ONLY,4,2      ## @STM32H7_DMNGT_DR_ONLY
	.comm	_STM32H7_ADC_CFGR,4,2           ## @STM32H7_ADC_CFGR
	.comm	_STM32H7_DMNGT_MASK,4,2         ## @STM32H7_DMNGT_MASK
	.comm	_STM32H7_DMNGT_SHIFT,4,2        ## @STM32H7_DMNGT_SHIFT
	.comm	_STM32H7_ADC_CR,4,2             ## @STM32H7_ADC_CR
	.comm	_STM32H7_ADSTART,4,2            ## @STM32H7_ADSTART
	.no_dead_strip	_stm32h7_adc_start_conv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32h7_adc_start_conv
_stm32h7_adc_start_conv:                ; @stm32h7_adc_start_conv
	.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	x19, x0
Lloh0:
	adrp	x8, _STM32H7_DMNGT_DR_ONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STM32H7_DMNGT_DR_ONLY@GOTPAGEOFF]
Lloh2:
	adrp	x9, _STM32H7_DMNGT_DMA_CIRC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _STM32H7_DMNGT_DMA_CIRC@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x8, x9, eq
	ldr	w20, [x8]
	bl	_spin_lock_irqsave
Lloh4:
	adrp	x21, _STM32H7_ADC_CFGR@GOTPAGE
Lloh5:
	ldr	x21, [x21, _STM32H7_ADC_CFGR@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_stm32_adc_readl
Lloh6:
	adrp	x8, _STM32H7_DMNGT_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STM32H7_DMNGT_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh9:
	adrp	x9, _STM32H7_DMNGT_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _STM32H7_DMNGT_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	lsl	w9, w20, w9
	orr	w2, w9, w8
	ldr	w1, [x21]
	mov	x0, x19
	bl	_stm32_adc_writel
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh12:
	adrp	x8, _STM32H7_ADC_CR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _STM32H7_ADC_CR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _STM32H7_ADSTART@GOTPAGE
Lloh16:
	ldr	x8, [x8, _STM32H7_ADSTART@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	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	_stm32_adc_set_bits
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_STM32H7_DMNGT_DMA_CIRC,4,2     ; @STM32H7_DMNGT_DMA_CIRC
	.comm	_STM32H7_DMNGT_DR_ONLY,4,2      ; @STM32H7_DMNGT_DR_ONLY
	.comm	_STM32H7_ADC_CFGR,4,2           ; @STM32H7_ADC_CFGR
	.comm	_STM32H7_DMNGT_MASK,4,2         ; @STM32H7_DMNGT_MASK
	.comm	_STM32H7_DMNGT_SHIFT,4,2        ; @STM32H7_DMNGT_SHIFT
	.comm	_STM32H7_ADC_CR,4,2             ; @STM32H7_ADC_CR
	.comm	_STM32H7_ADSTART,4,2            ; @STM32H7_ADSTART
	.no_dead_strip	_stm32h7_adc_start_conv
.subsections_via_symbols
