	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32f4_adc_start_conv
_stm32f4_adc_start_conv:                ## @stm32f4_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_STM32F4_ADC_CR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_STM32F4_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_stm32_adc_set_bits
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movq	_STM32F4_ADC_CR2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_STM32F4_DMA@GOTPCREL(%rip), %rax
	movq	_STM32F4_DDS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_stm32_adc_set_bits
LBB0_2:
	movq	_STM32F4_ADC_CR2@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_STM32F4_EOCS@GOTPCREL(%rip), %rax
	movq	_STM32F4_ADON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_stm32_adc_set_bits
	movl	$2, %edi
	movl	$3, %esi
	callq	_usleep_range
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_stm32_adc_readl
	movq	_STM32F4_EXTEN_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movl	(%r14), %esi
	movq	_STM32F4_SWSTART@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_stm32_adc_set_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STM32F4_ADC_CR1,4,2            ## @STM32F4_ADC_CR1
	.comm	_STM32F4_SCAN,4,2               ## @STM32F4_SCAN
	.comm	_STM32F4_ADC_CR2,4,2            ## @STM32F4_ADC_CR2
	.comm	_STM32F4_DMA,4,2                ## @STM32F4_DMA
	.comm	_STM32F4_DDS,4,2                ## @STM32F4_DDS
	.comm	_STM32F4_EOCS,4,2               ## @STM32F4_EOCS
	.comm	_STM32F4_ADON,4,2               ## @STM32F4_ADON
	.comm	_STM32F4_EXTEN_MASK,4,2         ## @STM32F4_EXTEN_MASK
	.comm	_STM32F4_SWSTART,4,2            ## @STM32F4_SWSTART
	.no_dead_strip	_stm32f4_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 stm32f4_adc_start_conv
_stm32f4_adc_start_conv:                ; @stm32f4_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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _STM32F4_ADC_CR1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STM32F4_ADC_CR1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _STM32F4_SCAN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STM32F4_SCAN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_stm32_adc_set_bits
Lloh6:
	adrp	x21, _STM32F4_ADC_CR2@GOTPAGE
Lloh7:
	ldr	x21, [x21, _STM32F4_ADC_CR2@GOTPAGEOFF]
	cbz	w20, LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _STM32F4_DMA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _STM32F4_DMA@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _STM32F4_DDS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _STM32F4_DDS@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_stm32_adc_set_bits
LBB0_2:
Lloh14:
	adrp	x8, _STM32F4_EOCS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _STM32F4_EOCS@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _STM32F4_ADON@GOTPAGE
Lloh18:
	ldr	x9, [x9, _STM32F4_ADON@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_stm32_adc_set_bits
	mov	w0, #2
	mov	w1, #3
	bl	_usleep_range
	ldr	w1, [x21]
	mov	x0, x19
	bl	_stm32_adc_readl
Lloh20:
	adrp	x8, _STM32F4_EXTEN_MASK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _STM32F4_EXTEN_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
	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
LBB0_4:
	ldr	w1, [x21]
Lloh23:
	adrp	x8, _STM32F4_SWSTART@GOTPAGE
Lloh24:
	ldr	x8, [x8, _STM32F4_SWSTART@GOTPAGEOFF]
Lloh25:
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_STM32F4_ADC_CR1,4,2            ; @STM32F4_ADC_CR1
	.comm	_STM32F4_SCAN,4,2               ; @STM32F4_SCAN
	.comm	_STM32F4_ADC_CR2,4,2            ; @STM32F4_ADC_CR2
	.comm	_STM32F4_DMA,4,2                ; @STM32F4_DMA
	.comm	_STM32F4_DDS,4,2                ; @STM32F4_DDS
	.comm	_STM32F4_EOCS,4,2               ; @STM32F4_EOCS
	.comm	_STM32F4_ADON,4,2               ; @STM32F4_ADON
	.comm	_STM32F4_EXTEN_MASK,4,2         ; @STM32F4_EXTEN_MASK
	.comm	_STM32F4_SWSTART,4,2            ; @STM32F4_SWSTART
	.no_dead_strip	_stm32f4_adc_start_conv
.subsections_via_symbols
