	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_setup_iio_triggers
_stm32_setup_iio_triggers:              ## @stm32_setup_iio_triggers
	.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	(%rdi), %r15
	xorl	%eax, %eax
	testq	%r15, %r15
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r12
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	jne	LBB0_2
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_iio_trigger_set_drvdata
	movq	8(%r12), %rdi
	movq	%r14, %rsi
	callq	_devm_iio_trigger_register
	testl	%eax, %eax
	jne	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rdi
	addq	$8, %r15
	testq	%rdi, %rdi
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	callq	_stm32_timer_is_trgo_name
	movl	%eax, %r13d
	movq	(%r15), %rdi
	callq	_stm32_timer_is_trgo2_name
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 16(%r12)
	je	LBB0_9
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rdi
	movq	(%r15), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_devm_iio_trigger_alloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	movq	8(%r12), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_timer_trigger_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r14)
	orl	%ebx, %r13d
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_stm32_trigger_attr_groups@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_8
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_timer_trigger_ops,4,2          ## @timer_trigger_ops
	.comm	_stm32_trigger_attr_groups,4,2  ## @stm32_trigger_attr_groups
	.no_dead_strip	_stm32_setup_iio_triggers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_setup_iio_triggers
_stm32_setup_iio_triggers:              ; @stm32_setup_iio_triggers
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x24, [x0]
	cbz	x24, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	x0, [x24]
	cbz	x0, LBB0_12
; %bb.2:
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
Lloh2:
	adrp	x25, _timer_trigger_ops@GOTPAGE
Lloh3:
	ldr	x25, [x25, _timer_trigger_ops@GOTPAGEOFF]
Lloh4:
	adrp	x26, _stm32_trigger_attr_groups@GOTPAGE
Lloh5:
	ldr	x26, [x26, _stm32_trigger_attr_groups@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	mov	x1, x19
	bl	_iio_trigger_set_drvdata
	ldr	x0, [x19, #8]
	mov	x1, x23
	bl	_devm_iio_trigger_register
	cbnz	w0, LBB0_12
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x24, #8]!
	cbz	x0, LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	bl	_stm32_timer_is_trgo_name
	mov	x21, x0
	ldr	x0, [x24]
	bl	_stm32_timer_is_trgo2_name
	mov	x22, x0
	cbz	w0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x19, #8]
	ldr	x2, [x24]
	mov	x1, x20
	bl	_devm_iio_trigger_alloc
	cbz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x0
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	str	w8, [x0, #4]
	str	x25, [x0, #8]
	orr	w8, w21, w22
	cbz	w8, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	str	w8, [x23]
	b	LBB0_3
LBB0_10:
	mov	w0, #0
	b	LBB0_12
LBB0_11:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_timer_trigger_ops,4,2          ; @timer_trigger_ops
	.comm	_stm32_trigger_attr_groups,4,2  ; @stm32_trigger_attr_groups
	.no_dead_strip	_stm32_setup_iio_triggers
.subsections_via_symbols
