	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_adc_irq_probe
_stm32_adc_irq_probe:                   ## @stm32_adc_irq_probe
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	movq	_STM32_ADC_MAX_ADCS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	je	LBB0_1
## %bb.2:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movl	(%r15), %esi
	cmpq	%rsi, %rbx
	jae	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_platform_get_irq
	movl	%eax, %r13d
	movq	(%r12), %rax
	movl	%r13d, (%rax,%rbx,4)
	testl	%r13d, %r13d
	jns	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r13d, %eax
	je	LBB0_6
	jmp	LBB0_15
LBB0_1:
	xorl	%esi, %esi
	jmp	LBB0_8
LBB0_7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_8:
	movq	_stm32_adc_domain_ops@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%edx, %edx
	movq	%r12, %r8
	callq	_irq_domain_add_simple
	movl	%eax, 8(%r12)
	testl	%eax, %eax
	je	LBB0_16
## %bb.9:
	movl	(%r15), %eax
	testl	%eax, %eax
	je	LBB0_15
## %bb.10:
	xorl	%ebx, %ebx
	movq	_stm32_adc_irq_handler@GOTPCREL(%rip), %r14
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	movl	%eax, %ecx
	cmpq	%rcx, %rbx
	jae	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rcx
	movl	(%rcx,%rbx,4), %edi
	testl	%edi, %edi
	js	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r14), %esi
	callq	_irq_set_chained_handler
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	movq	%r12, %rsi
	callq	_irq_set_handler_data
	movl	(%r15), %eax
	jmp	LBB0_13
LBB0_16:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_15
LBB0_14:
	xorl	%r13d, %r13d
LBB0_15:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STM32_ADC_MAX_ADCS,4,2         ## @STM32_ADC_MAX_ADCS
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_stm32_adc_domain_ops,4,2       ## @stm32_adc_domain_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to add irq domain\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_stm32_adc_irq_handler,4,2      ## @stm32_adc_irq_handler
	.no_dead_strip	_stm32_adc_irq_probe
.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_probe
_stm32_adc_irq_probe:                   ; @stm32_adc_irq_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x23, _STM32_ADC_MAX_ADCS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _STM32_ADC_MAX_ADCS@GOTPAGEOFF]
	ldr	w8, [x23]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x22, #0
Lloh2:
	adrp	x24, _ENXIO@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ENXIO@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldr	w1, [x23]
	cmp	x22, x1
	b.hs	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_platform_get_irq
	ldr	x8, [x19]
	str	w0, [x8, x22, lsl #2]
	tbz	w0, #31, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x22, LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24]
	cmn	w0, w8
	b.eq	LBB0_2
	b	LBB0_15
LBB0_6:
	mov	w1, #0
LBB0_7:
Lloh4:
	adrp	x3, _stm32_adc_domain_ops@GOTPAGE
Lloh5:
	ldr	x3, [x3, _stm32_adc_domain_ops@GOTPAGEOFF]
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #0
	mov	x4, x19
	bl	_irq_domain_add_simple
	str	w0, [x19, #8]
	cbz	w0, LBB0_14
; %bb.8:
	ldr	w8, [x23]
	cbz	w8, LBB0_13
; %bb.9:
	mov	x20, #0
Lloh6:
	adrp	x21, _stm32_adc_irq_handler@GOTPAGE
Lloh7:
	ldr	x21, [x21, _stm32_adc_irq_handler@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, uxtw
	b.hs	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	ldr	w0, [x9, x20, lsl #2]
	tbnz	w0, #31, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w1, [x21]
	bl	_irq_set_chained_handler
	ldr	x8, [x19]
	ldr	w0, [x8, x20, lsl #2]
	mov	x1, x19
	bl	_irq_set_handler_data
	ldr	w8, [x23]
	b	LBB0_10
LBB0_13:
	mov	w0, #0
	b	LBB0_15
LBB0_14:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_STM32_ADC_MAX_ADCS,4,2         ; @STM32_ADC_MAX_ADCS
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_stm32_adc_domain_ops,4,2       ; @stm32_adc_domain_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to add irq domain\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_stm32_adc_irq_handler,4,2      ; @stm32_adc_irq_handler
	.no_dead_strip	_stm32_adc_irq_probe
.subsections_via_symbols
