	.file	"extr_at91-sama5d2_adc.c_at91_adc_allocate_trigger.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s-dev%d-%s"
	.text
	.p2align 4
	.type	at91_adc_allocate_trigger, @function
at91_adc_allocate_trigger:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r8, rsi
	lea	rsi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	ecx, DWORD PTR 4[rdi]
	mov	edx, DWORD PTR 8[rdi]
	call	devm_iio_trigger_alloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	eax, DWORD PTR 0[rbp]
	mov	rsi, rbp
	mov	rdi, r12
	mov	DWORD PTR 8[r12], eax
	call	iio_trigger_set_drvdata@PLT
	lea	rax, at91_adc_trigger_ops[rip]
	mov	rsi, r12
	mov	rdi, rbp
	mov	QWORD PTR [r12], rax
	call	devm_iio_trigger_register@PLT
	test	eax, eax
	jne	.L11
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	edi, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.cfi_endproc
.LFE0:
	.size	at91_adc_allocate_trigger, .-at91_adc_allocate_trigger
	.comm	at91_adc_trigger_ops,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_at91-sama5d2_adc.c_at91_adc_allocate_trigger.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s-dev%d-%s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	at91_adc_allocate_trigger, %function
at91_adc_allocate_trigger:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	sub	sp, sp, #12
	str	r1, [sp]
	ldr	r3, [r0, #4]
	ldr	r2, [r0, #8]
	ldr	r1, .L12
	mov	r4, r0
	bl	devm_iio_trigger_alloc
	subs	r5, r0, #0
	beq	.L1
	ldr	r3, [r4]
	mov	r1, r4
	str	r3, [r5, #4]
	bl	iio_trigger_set_drvdata
	ldr	r3, .L12+4
	mov	r0, r4
	mov	r1, r5
	str	r3, [r5]
	bl	devm_iio_trigger_register
	cmp	r0, #0
	bne	.L11
.L1:
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L11:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	ERR_PTR
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	at91_adc_trigger_ops
	.size	at91_adc_allocate_trigger, .-at91_adc_allocate_trigger
	.comm	at91_adc_trigger_ops,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
