	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_dfsdm_get_jextsel
_stm32_dfsdm_get_jextsel:               ## @stm32_dfsdm_get_jextsel
	.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	_stm32_dfsdm_trigs@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_7
## %bb.1:
	movq	%rsi, %r15
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movq	8(%rax,%r12), %rdi
	movl	(%r15), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	(%r14), %rax
	cmpq	$0, 24(%rax,%r12)
	leaq	16(%r12), %r12
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_is_stm32_timer_trigger
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_is_stm32_lptim_trigger
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_6
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_5:
	movl	%ebx, %eax
	movq	(%r14), %rcx
	shlq	$4, %rax
	movl	(%rcx,%rax), %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stm32_dfsdm_trigs,8,3          ## @stm32_dfsdm_trigs
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_stm32_dfsdm_get_jextsel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_dfsdm_get_jextsel
_stm32_dfsdm_get_jextsel:               ; @stm32_dfsdm_get_jextsel
	.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
Lloh0:
	adrp	x20, _stm32_dfsdm_trigs@GOTPAGE
Lloh1:
	ldr	x20, [x20, _stm32_dfsdm_trigs@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x22, #0
	mov	x21, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	add	x8, x8, x22
	ldr	x0, [x8, #8]
	ldr	w1, [x19]
	bl	_strcmp
	cbz	w0, LBB0_7
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldr	x8, [x20]
	add	x8, x8, x22
	ldr	x8, [x8, #24]
	add	x22, x22, #16
	cbz	x8, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_is_stm32_timer_trigger
	cbnz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_is_stm32_lptim_trigger
	cbnz	x0, LBB0_2
	b	LBB0_3
LBB0_6:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_7:
	and	x8, x21, #0xffffffff
	ldr	x9, [x20]
	lsl	x8, x8, #4
	ldr	w0, [x9, x8]
LBB0_8:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_stm32_dfsdm_trigs,8,3          ; @stm32_dfsdm_trigs
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_stm32_dfsdm_get_jextsel
.subsections_via_symbols
