	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_adc_irq_handler
_stm32_adc_irq_handler:                 ## @stm32_adc_irq_handler
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_irq_desc_get_handler_data
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_irq_desc_get_chip
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_chained_irq_enter
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rdi
	addq	16(%rbx), %rdi
	callq	_readl_relaxed
	movl	%eax, %r12d
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	testl	%r12d, (%rax)
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_stm32_adc_eoc_enabled
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_irq_find_mapping
	movl	%eax, %edi
	callq	_generic_handle_irq
LBB0_3:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	testl	%r12d, 4(%rax)
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_stm32_adc_eoc_enabled
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_irq_find_mapping
	movl	%eax, %edi
	callq	_generic_handle_irq
LBB0_6:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	testl	%r12d, 8(%rax)
	je	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_stm32_adc_eoc_enabled
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	(%rbx), %edi
	movl	$2, %esi
	callq	_irq_find_mapping
	movl	%eax, %edi
	callq	_generic_handle_irq
LBB0_9:
	movq	%r14, %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_chained_irq_exit               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stm32_adc_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_adc_irq_handler
_stm32_adc_irq_handler:                 ; @stm32_adc_irq_handler
	.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
	bl	_irq_desc_get_handler_data
	mov	x21, x0
	mov	x0, x19
	bl	_irq_desc_get_chip
	mov	x20, x0
	mov	x1, x19
	bl	_chained_irq_enter
	ldp	x9, x8, [x21, #8]
	ldr	x9, [x9]
	ldr	x9, [x9, #16]
	add	x0, x9, x8
	bl	_readl_relaxed
	mov	x22, x0
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x21
	mov	w1, #0
	bl	_stm32_adc_eoc_enabled
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x21]
	mov	w1, #0
	bl	_irq_find_mapping
	bl	_generic_handle_irq
LBB0_3:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	w8, [x8, #4]
	tst	w8, w22
	b.eq	LBB0_6
; %bb.4:
	mov	x0, x21
	mov	w1, #1
	bl	_stm32_adc_eoc_enabled
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x21]
	mov	w1, #1
	bl	_irq_find_mapping
	bl	_generic_handle_irq
LBB0_6:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	w8, [x8, #8]
	tst	w8, w22
	b.eq	LBB0_9
; %bb.7:
	mov	x0, x21
	mov	w1, #2
	bl	_stm32_adc_eoc_enabled
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w0, [x21]
	mov	w1, #2
	bl	_irq_find_mapping
	bl	_generic_handle_irq
LBB0_9:
	mov	x0, x20
	mov	x1, 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	_chained_irq_exit
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stm32_adc_irq_handler
.subsections_via_symbols
