	.file	"extr_gpiolib-acpi.c_acpi_gpiochip_parse_own_gpio.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"gpios"
.LC1:
	.string	"input"
.LC2:
	.string	"output-low"
.LC3:
	.string	"output-high"
.LC4:
	.string	"line-name"
	.text
	.p2align 4
	.type	acpi_gpiochip_parse_own_gpio, @function
acpi_gpiochip_parse_own_gpio:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	r15, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR GPIO_LOOKUP_FLAGS_DEFAULT[rip]
	mov	r12, rsp
	mov	rdi, r12
	mov	QWORD PTR [rcx], rax
	mov	DWORD PTR [r8], 0
	mov	QWORD PTR [rdx], 0
	call	ARRAY_SIZE@PLT
	mov	rdx, r12
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	mov	ecx, eax
	call	fwnode_property_read_u32_array@PLT
	test	eax, eax
	js	.L12
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, r15
	call	gpiochip_get_desc@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L1
	cmp	QWORD PTR 8[rsp], 0
	je	.L4
	mov	rax, QWORD PTR GPIO_ACTIVE_LOW[rip]
	or	QWORD PTR 0[r13], rax
.L4:
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	fwnode_property_present@PLT
	test	rax, rax
	je	.L5
	mov	eax, DWORD PTR GPIOD_IN[rip]
	or	DWORD PTR [rbx], eax
.L6:
	mov	rdx, r14
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	call	fwnode_property_read_string@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edi, eax
	call	ERR_PTR@PLT
	mov	r12, rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	fwnode_property_present@PLT
	test	rax, rax
	je	.L7
	mov	eax, DWORD PTR GPIOD_OUT_LOW[rip]
	or	DWORD PTR [rbx], eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	fwnode_property_present@PLT
	test	rax, rax
	je	.L8
	mov	eax, DWORD PTR GPIOD_OUT_HIGH[rip]
	or	DWORD PTR [rbx], eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edi, DWORD PTR EINVAL[rip]
	neg	edi
	call	ERR_PTR@PLT
	mov	r12, rax
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	acpi_gpiochip_parse_own_gpio, .-acpi_gpiochip_parse_own_gpio
	.comm	GPIO_LOOKUP_FLAGS_DEFAULT,8,8
	.comm	GPIO_ACTIVE_LOW,8,8
	.comm	GPIOD_OUT_LOW,4,4
	.comm	GPIOD_OUT_HIGH,4,4
	.comm	GPIOD_IN,4,4
	.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_gpiolib-acpi.c_acpi_gpiochip_parse_own_gpio.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"gpios\000"
	.align	2
.LC1:
	.ascii	"input\000"
	.align	2
.LC2:
	.ascii	"output-low\000"
	.align	2
.LC3:
	.ascii	"output-high\000"
	.align	2
.LC4:
	.ascii	"line-name\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_gpiochip_parse_own_gpio, %function
acpi_gpiochip_parse_own_gpio:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r3
	mov	r6, r2
	mov	r3, #0
	ldr	r2, .L18
	sub	sp, sp, #16
	ldr	r2, [r2]
	mov	r4, r1
	ldr	r8, [sp, #40]
	ldr	r1, .L18+4
	ldr	r7, [r0]
	ldr	r1, [r1]
	str	r1, [sp, #12]
	mov	r1,#0
	add	r0, sp, #4
	str	r2, [r5]
	str	r3, [r8]
	str	r3, [r6]
	bl	ARRAY_SIZE
	ldr	r1, .L18+8
	mov	r3, r0
	add	r2, sp, #4
	mov	r0, r4
	bl	fwnode_property_read_u32_array
	cmp	r0, #0
	blt	.L14
	mov	r0, r7
	ldr	r1, [sp, #4]
	bl	gpiochip_get_desc
	mov	r7, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L1
	ldr	r3, [sp, #8]
	mov	r0, r4
	cmp	r3, #0
	ldrne	r2, .L18+12
	ldrne	r3, [r5]
	ldrne	r2, [r2]
	ldr	r1, .L18+16
	orrne	r3, r3, r2
	strne	r3, [r5]
	bl	fwnode_property_present
	cmp	r0, #0
	beq	.L5
	ldr	r2, .L18+20
	ldr	r3, [r8]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [r8]
.L6:
	mov	r2, r6
	mov	r0, r4
	ldr	r1, .L18+24
	bl	fwnode_property_read_string
.L1:
	ldr	r3, .L18+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r7
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, r4
	ldr	r1, .L18+28
	bl	fwnode_property_present
	cmp	r0, #0
	bne	.L17
	ldr	r3, .L18+32
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L14:
	bl	ERR_PTR
	mov	r7, r0
	b	.L1
.L5:
	mov	r0, r4
	ldr	r1, .L18+36
	bl	fwnode_property_present
	cmp	r0, #0
	beq	.L7
	ldr	r2, .L18+40
	ldr	r3, [r8]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [r8]
	b	.L6
.L17:
	ldr	r2, .L18+44
	ldr	r3, [r8]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [r8]
	b	.L6
.L16:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	GPIO_LOOKUP_FLAGS_DEFAULT
	.word	.LC5
	.word	.LC0
	.word	GPIO_ACTIVE_LOW
	.word	.LC1
	.word	GPIOD_IN
	.word	.LC4
	.word	.LC3
	.word	EINVAL
	.word	.LC2
	.word	GPIOD_OUT_LOW
	.word	GPIOD_OUT_HIGH
	.size	acpi_gpiochip_parse_own_gpio, .-acpi_gpiochip_parse_own_gpio
	.comm	GPIO_LOOKUP_FLAGS_DEFAULT,4,4
	.comm	GPIO_ACTIVE_LOW,4,4
	.comm	GPIOD_OUT_LOW,4,4
	.comm	GPIOD_OUT_HIGH,4,4
	.comm	GPIOD_IN,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
