	.file	"extr_industrialio-sw-trigger.c_iio_sw_trigger_create.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Invalid trigger type: %s\n"
	.text
	.p2align 4
	.globl	iio_sw_trigger_create
	.type	iio_sw_trigger_create, @function
iio_sw_trigger_create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	iio_get_sw_trigger_type@PLT
	test	rax, rax
	je	.L7
	mov	rbx, rax
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rbp
	call	[QWORD PTR [rax]]
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L8
	mov	QWORD PTR [r12], rbx
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	call	module_put@PLT
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rsi, r12
	lea	rdi, .LC0[rip]
	call	pr_err@PLT
	mov	edi, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	edi
	jmp	ERR_PTR@PLT
	.cfi_endproc
.LFE0:
	.size	iio_sw_trigger_create, .-iio_sw_trigger_create
	.comm	EINVAL,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_industrialio-sw-trigger.c_iio_sw_trigger_create.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid trigger type: %s\012\000"
	.text
	.align	2
	.global	iio_sw_trigger_create
	.syntax unified
	.arm
	.fpu softvfp
	.type	iio_sw_trigger_create, %function
iio_sw_trigger_create:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r0
	bl	iio_get_sw_trigger_type
	subs	r4, r0, #0
	beq	.L7
	ldr	r3, [r4, #4]
	mov	r0, r5
	ldr	r3, [r3]
	blx	r3
	mov	r5, r0
	bl	IS_ERR
	cmp	r0, #0
	streq	r4, [r5]
	bne	.L8
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r0, [r4]
	bl	module_put
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L7:
	mov	r1, r6
	ldr	r0, .L9
	bl	pr_err
	pop	{r4, r5, r6, lr}
	ldr	r3, .L9+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	EINVAL
	.size	iio_sw_trigger_create, .-iio_sw_trigger_create
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
