	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_get_trigger_mode
_stm32_get_trigger_mode:                ## @stm32_get_trigger_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	callq	_iio_priv
	movl	(%rax), %edi
	movq	_TIM_SMCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	callq	_regmap_read
	movl	-4(%rbp), %ecx
	movq	_TIM_SMCR_SMS@GOTPCREL(%rip), %rax
	notl	%ecx
	andl	(%rax), %ecx
	movq	_EINVAL@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	subl	(%rdx), %eax
	testl	%ecx, %ecx
	cmovel	%ecx, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIM_SMCR,4,2                   ## @TIM_SMCR
	.comm	_TIM_SMCR_SMS,4,2               ## @TIM_SMCR_SMS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_stm32_get_trigger_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_get_trigger_mode
_stm32_get_trigger_mode:                ; @stm32_get_trigger_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_iio_priv
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _TIM_SMCR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIM_SMCR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x2, x29, #4
	bl	_regmap_read
	ldur	w8, [x29, #-4]
Lloh3:
	adrp	x9, _TIM_SMCR_SMS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TIM_SMCR_SMS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _EINVAL@GOTPAGE
Lloh7:
	ldr	x10, [x10, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	bics	wzr, w9, w8
	csneg	w0, wzr, w10, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TIM_SMCR,4,2                   ; @TIM_SMCR
	.comm	_TIM_SMCR_SMS,4,2               ; @TIM_SMCR_SMS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_stm32_get_trigger_mode
.subsections_via_symbols
