	.file	"extr_gpiolib-of.c_of_find_spi_cs_gpio.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"fsl,spi"
.LC1:
	.string	"aeroflexgaisler,spictrl"
.LC2:
	.string	"cs"
	.text
	.p2align 4
	.type	of_find_spi_cs_gpio, @function
of_find_spi_cs_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	r14d, edx
	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
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	r15, QWORD PTR [rdi]
	mov	edi, DWORD PTR CONFIG_SPI_MASTER[rip]
	call	IS_ENABLED@PLT
	test	eax, eax
	je	.L5
	lea	rsi, .LC0[rip]
	mov	rdi, r15
	call	of_device_is_compatible@PLT
	test	eax, eax
	je	.L9
.L3:
	test	r12, r12
	je	.L5
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	call	strcmp@PLT
	test	rax, rax
	je	.L10
.L5:
	mov	edi, DWORD PTR ENOENT[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	neg	edi
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rcx, r13
	mov	edx, r14d
	mov	rdi, rbp
	xor	esi, esi
	pop	rbp
	.cfi_remember_state
	.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
	jmp	of_find_gpio@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
	mov	rdi, r15
	call	of_device_is_compatible@PLT
	test	eax, eax
	jne	.L3
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	of_find_spi_cs_gpio, .-of_find_spi_cs_gpio
	.comm	ENOENT,4,4
	.comm	CONFIG_SPI_MASTER,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-of.c_of_find_spi_cs_gpio.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"fsl,spi\000"
	.align	2
.LC1:
	.ascii	"aeroflexgaisler,spictrl\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	of_find_spi_cs_gpio, %function
of_find_spi_cs_gpio:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r0, .L15
	mov	r4, r1
	ldr	r0, [r0]
	mov	r7, r2
	mov	r6, r3
	ldr	r8, [r5]
	bl	IS_ENABLED
	cmp	r0, #0
	beq	.L4
	mov	r0, r8
	ldr	r1, .L15+4
	bl	of_device_is_compatible
	cmp	r0, #0
	beq	.L13
.L3:
	cmp	r4, #0
	beq	.L4
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #99
	beq	.L14
.L4:
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L15+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L14:
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L4
	ldrb	r1, [r4, #2]	@ zero_extendqisi2
	cmp	r1, #0
	bne	.L4
	mov	r3, r6
	mov	r2, r7
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	of_find_gpio
.L13:
	mov	r0, r8
	ldr	r1, .L15+12
	bl	of_device_is_compatible
	cmp	r0, #0
	bne	.L3
	b	.L4
.L16:
	.align	2
.L15:
	.word	CONFIG_SPI_MASTER
	.word	.LC0
	.word	ENOENT
	.word	.LC1
	.size	of_find_spi_cs_gpio, .-of_find_spi_cs_gpio
	.comm	ENOENT,4,4
	.comm	CONFIG_SPI_MASTER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
