	.file	"extr_gpio-fan.c_gpio_fan_get_of_data.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"alarm"
.LC1:
	.string	"DT properties empty / missing"
.LC2:
	.string	"gpio-fan,speed-map"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"gpio-fan,speed-map DT property missing"
	.align 8
.LC4:
	.string	"gpio-fan,speed-map contains zero/odd number of entries"
	.text
	.p2align 4
	.type	gpio_fan_get_of_data, @function
gpio_fan_get_of_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	rsi, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rbp, QWORD PTR 32[rdi]
	mov	edx, DWORD PTR GPIOD_IN[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rdi, rbp
	mov	r12, QWORD PTR 0[rbp]
	call	devm_gpiod_get_optional@PLT
	mov	QWORD PTR 24[rbx], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L28
	xor	esi, esi
	mov	rdi, rbp
	call	gpiod_count@PLT
	mov	DWORD PTR [rbx], eax
	test	eax, eax
	jne	.L4
	cmp	QWORD PTR 24[rbx], 0
	je	.L29
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L30
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	ecx, DWORD PTR GFP_KERNEL[rip]
	mov	edx, 8
	mov	esi, eax
	mov	rdi, rbp
	call	devm_kcalloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L25
	mov	edx, DWORD PTR [rbx]
	mov	DWORD PTR 12[rsp], 0
	test	edx, edx
	je	.L6
	xor	edx, edx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR 12[rsp]
	lea	edx, 1[rax]
	mov	DWORD PTR 12[rsp], edx
	cmp	edx, DWORD PTR [rbx]
	jnb	.L6
.L8:
	mov	ecx, DWORD PTR GPIOD_ASIS[rip]
	mov	eax, edx
	xor	esi, esi
	mov	rdi, rbp
	lea	r14, 0[r13+rax*8]
	call	devm_gpiod_get_index@PLT
	mov	QWORD PTR [r14], rax
	mov	eax, DWORD PTR 12[rsp]
	mov	rdi, QWORD PTR 0[r13+rax*8]
	call	IS_ERR@PLT
	test	rax, rax
	je	.L7
	mov	eax, DWORD PTR 12[rsp]
	mov	rdi, QWORD PTR 0[r13+rax*8]
	call	PTR_ERR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L28:
	mov	rdi, QWORD PTR 24[rbx]
	call	PTR_ERR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	QWORD PTR 16[rbx], r13
	mov	rdi, r12
	lea	rdx, 12[rsp]
	lea	rsi, .LC2[rip]
	call	of_find_property@PLT
	mov	r12, rax
	test	rax, rax
	je	.L31
	mov	esi, DWORD PTR 12[rsp]
	mov	eax, esi
	shr	eax, 3
	mov	DWORD PTR 12[rsp], eax
	je	.L10
	test	al, 1
	je	.L11
.L10:
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L29:
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	shr	esi, 4
	mov	ecx, DWORD PTR GFP_KERNEL[rip]
	mov	rdi, rbp
	mov	edx, 16
	mov	DWORD PTR 4[rbx], esi
	call	devm_kcalloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L25
	mov	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR 12[rsp], 0
	test	eax, eax
	je	.L13
	xor	esi, esi
	lea	r13, 16[rsp]
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L14:
	mov	eax, DWORD PTR 12[rsp]
	mov	rdx, QWORD PTR 16[rsp]
	mov	rdi, r12
	sal	rax, 4
	mov	QWORD PTR 8[rbp+rax], rdx
	mov	rdx, r13
	call	of_prop_next_u32@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L26
	mov	eax, DWORD PTR 12[rsp]
	mov	rcx, QWORD PTR 16[rsp]
	mov	rdx, rax
	sal	rax, 4
	add	edx, 1
	mov	QWORD PTR 0[rbp+rax], rcx
	mov	DWORD PTR 12[rsp], edx
	cmp	edx, DWORD PTR 4[rbx]
	jnb	.L13
.L16:
	mov	rdx, r13
	mov	rdi, r12
	call	of_prop_next_u32@PLT
	mov	rsi, rax
	test	rax, rax
	jne	.L14
.L26:
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
	jmp	.L1
.L13:
	mov	QWORD PTR 8[rbx], rbp
	xor	eax, eax
	jmp	.L1
.L31:
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
	jmp	.L1
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	gpio_fan_get_of_data, .-gpio_fan_get_of_data
	.comm	GPIOD_IN,4,4
	.comm	GPIOD_ASIS,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,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_gpio-fan.c_gpio_fan_get_of_data.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"alarm\000"
	.align	2
.LC1:
	.ascii	"DT properties empty / missing\000"
	.align	2
.LC2:
	.ascii	"gpio-fan,speed-map\000"
	.align	2
.LC3:
	.ascii	"gpio-fan,speed-map DT property missing\000"
	.align	2
.LC4:
	.ascii	"gpio-fan,speed-map contains zero/odd number of entr"
	.ascii	"ies\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gpio_fan_get_of_data, %function
gpio_fan_get_of_data:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L37
	ldr	r7, [r0, #20]
	ldr	r2, [r3]
	ldr	r3, .L37+4
	sub	sp, sp, #20
	mov	r5, r0
	ldr	r1, .L37+8
	mov	r0, r7
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r9, [r7]
	bl	devm_gpiod_get_optional
	str	r0, [r5, #16]
	bl	IS_ERR
	subs	r6, r0, #0
	bne	.L33
	mov	r1, r6
	mov	r0, r7
	bl	gpiod_count
	cmp	r0, #0
	str	r0, [r5]
	bne	.L4
	ldr	r3, [r5, #16]
	cmp	r3, #0
	beq	.L34
.L1:
	ldr	r3, .L37+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L35
	mov	r0, r6
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	ldr	r10, .L37+12
	mov	r1, r0
	mov	r2, #4
	mov	r0, r7
	ldr	r3, [r10]
	bl	devm_kcalloc
	subs	r8, r0, #0
	beq	.L31
	ldr	r3, [r5]
	str	r6, [sp, #4]
	cmp	r3, #0
	beq	.L6
	mov	r4, r6
	ldr	fp, .L37+16
	b	.L8
.L7:
	ldr	r4, [sp, #4]
	ldr	r3, [r5]
	add	r4, r4, #1
	cmp	r4, r3
	str	r4, [sp, #4]
	bcs	.L6
.L8:
	mov	r2, r4
	mov	r1, #0
	ldr	r3, [fp]
	mov	r0, r7
	bl	devm_gpiod_get_index
	ldr	r3, [sp, #4]
	str	r0, [r8, r4, lsl #2]
	ldr	r0, [r8, r3, lsl #2]
	bl	IS_ERR
	cmp	r0, #0
	beq	.L7
	ldr	r3, [sp, #4]
	ldr	r0, [r8, r3, lsl #2]
	bl	PTR_ERR
	mov	r6, r0
	b	.L1
.L33:
	ldr	r0, [r5, #16]
	bl	PTR_ERR
	mov	r6, r0
	b	.L1
.L6:
	mov	r0, r9
	ldr	r1, .L37+20
	str	r8, [r5, #12]
	add	r2, sp, #4
	bl	of_find_property
	subs	r4, r0, #0
	beq	.L36
	ldr	r3, [sp, #4]
	lsr	r1, r3, #2
	cmp	r1, #0
	str	r1, [sp, #4]
	beq	.L10
	ands	r8, r1, #1
	beq	.L11
.L10:
	mov	r0, r7
	ldr	r1, .L37+24
	bl	dev_err
	ldr	r3, .L37+28
	ldr	r6, [r3]
	rsb	r6, r6, #0
	b	.L1
.L34:
	mov	r0, r7
	ldr	r1, .L37+32
	bl	dev_err
	ldr	r3, .L37+28
	ldr	r6, [r3]
	rsb	r6, r6, #0
	b	.L1
.L31:
	ldr	r3, .L37+36
	ldr	r6, [r3]
	rsb	r6, r6, #0
	b	.L1
.L11:
	lsr	r1, r3, #3
	mov	r0, r7
	mov	r2, #8
	ldr	r3, [r10]
	str	r1, [r5, #4]
	bl	devm_kcalloc
	subs	r7, r0, #0
	beq	.L31
	ldr	r3, [r5, #4]
	str	r8, [sp, #4]
	cmp	r3, #0
	beq	.L13
	mov	r1, r8
	b	.L16
.L14:
	ldr	r3, [sp, #4]
	ldr	r2, [sp, #8]
	add	r3, r7, r3, lsl #3
	str	r2, [r3, #4]
	mov	r0, r4
	add	r2, sp, #8
	bl	of_prop_next_u32
	subs	r1, r0, #0
	beq	.L30
	ldr	r2, [sp, #4]
	ldr	ip, [r5, #4]
	add	r3, r2, #1
	ldr	r0, [sp, #8]
	cmp	r3, ip
	str	r0, [r7, r2, lsl #3]
	str	r3, [sp, #4]
	bcs	.L13
.L16:
	mov	r0, r4
	add	r2, sp, #8
	bl	of_prop_next_u32
	subs	r1, r0, #0
	bne	.L14
.L30:
	ldr	r3, .L37+28
	ldr	r6, [r3]
	rsb	r6, r6, #0
	b	.L1
.L13:
	str	r7, [r5, #8]
	b	.L1
.L36:
	mov	r0, r7
	ldr	r1, .L37+40
	bl	dev_err
	ldr	r3, .L37+28
	ldr	r6, [r3]
	rsb	r6, r6, #0
	b	.L1
.L35:
	bl	__stack_chk_fail
.L38:
	.align	2
.L37:
	.word	GPIOD_IN
	.word	.LC5
	.word	.LC0
	.word	GFP_KERNEL
	.word	GPIOD_ASIS
	.word	.LC2
	.word	.LC4
	.word	ENODEV
	.word	.LC1
	.word	ENOMEM
	.word	.LC3
	.size	gpio_fan_get_of_data, .-gpio_fan_get_of_data
	.comm	GPIOD_IN,4,4
	.comm	GPIOD_ASIS,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
