	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_dfsdm_filter_set_trig
_stm32_dfsdm_filter_set_trig:           ## @stm32_dfsdm_filter_set_trig
	.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	%rdx, %r12
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_iio_priv_to_dev
	movq	(%rbx), %rcx
	movq	(%rcx), %rbx
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_stm32_dfsdm_get_jextsel
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_STM32_DFSDM_JEXTEN_RISING_EDGE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_STM32_DFSDM_JEXTEN_DISABLED@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
LBB0_4:
	movl	(%rax), %r12d
	movl	%r15d, %edi
	callq	_DFSDM_CR1
	movl	%eax, %r15d
	movq	_DFSDM_CR1_JEXTSEL_MASK@GOTPCREL(%rip), %rax
	movq	_DFSDM_CR1_JEXTEN_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	orl	(%rax), %r14d
	movl	%r13d, %edi
	callq	_DFSDM_CR1_JEXTSEL
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_DFSDM_CR1_JEXTEN
	orl	%eax, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_regmap_update_bits
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
	jmp	LBB0_6
LBB0_5:
	movl	%r13d, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STM32_DFSDM_JEXTEN_DISABLED,4,2 ## @STM32_DFSDM_JEXTEN_DISABLED
	.comm	_STM32_DFSDM_JEXTEN_RISING_EDGE,4,2 ## @STM32_DFSDM_JEXTEN_RISING_EDGE
	.comm	_DFSDM_CR1_JEXTSEL_MASK,4,2     ## @DFSDM_CR1_JEXTSEL_MASK
	.comm	_DFSDM_CR1_JEXTEN_MASK,4,2      ## @DFSDM_CR1_JEXTEN_MASK
	.no_dead_strip	_stm32_dfsdm_filter_set_trig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_dfsdm_filter_set_trig
_stm32_dfsdm_filter_set_trig:           ; @stm32_dfsdm_filter_set_trig
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_iio_priv_to_dev
	ldr	x8, [x19]
	ldr	x19, [x8]
	cbz	x21, LBB0_3
; %bb.1:
	mov	x1, x21
	bl	_stm32_dfsdm_get_jextsel
	mov	x21, x0
	tbnz	w0, #31, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _STM32_DFSDM_JEXTEN_RISING_EDGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STM32_DFSDM_JEXTEN_RISING_EDGE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _STM32_DFSDM_JEXTEN_DISABLED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STM32_DFSDM_JEXTEN_DISABLED@GOTPAGEOFF]
LBB0_4:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_DFSDM_CR1
	mov	x20, x0
Lloh4:
	adrp	x8, _DFSDM_CR1_JEXTSEL_MASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DFSDM_CR1_JEXTSEL_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _DFSDM_CR1_JEXTEN_MASK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _DFSDM_CR1_JEXTEN_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w23, w9, w8
	mov	x0, x21
	bl	_DFSDM_CR1_JEXTSEL
	mov	x21, x0
	mov	x0, x22
	bl	_DFSDM_CR1_JEXTEN
	orr	w3, w0, w21
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	bl	_regmap_update_bits
	cmp	w0, #0
	csel	w0, w0, wzr, lt
	b	LBB0_6
LBB0_5:
	mov	x0, x21
LBB0_6:
	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 AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_STM32_DFSDM_JEXTEN_DISABLED,4,2 ; @STM32_DFSDM_JEXTEN_DISABLED
	.comm	_STM32_DFSDM_JEXTEN_RISING_EDGE,4,2 ; @STM32_DFSDM_JEXTEN_RISING_EDGE
	.comm	_DFSDM_CR1_JEXTSEL_MASK,4,2     ; @DFSDM_CR1_JEXTSEL_MASK
	.comm	_DFSDM_CR1_JEXTEN_MASK,4,2      ; @DFSDM_CR1_JEXTEN_MASK
	.no_dead_strip	_stm32_dfsdm_filter_set_trig
.subsections_via_symbols
