	.file	"extr_tegra124_xusbpadctl.c_process_lane.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"name"
.LC1:
	.string	"Cannot read lane name.\n"
.LC2:
	.string	"Unknown lane: %s\n"
.LC3:
	.string	"nvidia,function"
.LC4:
	.string	"Cannot read lane function.\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC5:
	.string	"Unknown function %s for lane %s\n"
	.align 8
.LC6:
	.string	"Cannot configure lane: %s: %d\n"
	.section	.rodata.str1.1
.LC7:
	.string	"Cannot create phy\n"
	.text
	.p2align 4
	.type	process_lane, @function
process_lane:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	lea	rsi, .LC0[rip]
	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
	mov	edi, r12d
	sub	rsp, 48
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	rdx, rsp
	mov	QWORD PTR [rsp], 0
	mov	QWORD PTR 8[rsp], 0
	call	OF_getprop_alloc@PLT
	test	eax, eax
	jle	.L20
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, rbx
	call	search_lane@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L21
	lea	rdx, 8[rsp]
	lea	rsi, .LC3[rip]
	mov	edi, r12d
	call	OF_getprop_alloc@PLT
	test	eax, eax
	jle	.L22
	mov	rdx, QWORD PTR 8[rsp]
	mov	rsi, rbp
	mov	rdi, rbx
	call	search_mux@PLT
	mov	DWORD PTR 16[rbp], eax
	cmp	eax, -1
	je	.L23
	mov	rsi, rbp
	mov	rdi, rbx
	call	config_lane@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L24
	movsx	rax, DWORD PTR 0[r13]
	mov	rdx, QWORD PTR 8[r13]
	mov	QWORD PTR 8[rbp], r13
	mov	esi, 16
	mov	DWORD PTR 0[rbp], 1
	lea	ecx, 1[rax]
	mov	DWORD PTR 0[r13], ecx
	lea	r13, 16[rsp]
	mov	QWORD PTR [rdx+rax*8], rbp
	mov	rdi, r13
	call	bzero@PLT
	mov	edi, DWORD PTR [rbx]
	mov	rdx, r13
	mov	DWORD PTR 16[rsp], r12d
	movsx	rax, DWORD PTR lanes_tbl[rip]
	lea	rsi, xusbpadctl_phynode_class[rip]
	lea	rax, [rax+rax*2]
	sal	rax, 3
	sub	rbp, rax
	mov	QWORD PTR 24[rsp], rbp
	call	phynode_create@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L25
	call	phynode_register@PLT
	test	rax, rax
	je	.L26
.L5:
	mov	rdi, QWORD PTR [rsp]
	test	rdi, rdi
	je	.L10
	call	OF_prop_free@PLT
.L10:
	mov	rdi, QWORD PTR 8[rsp]
	test	rdi, rdi
	je	.L1
	call	OF_prop_free@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	device_printf@PLT
	mov	r14d, DWORD PTR ENXIO[rip]
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L27
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r14d
	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
.L22:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC4[rip]
	xor	eax, eax
	call	device_printf@PLT
	mov	r14d, DWORD PTR ENXIO[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdx, QWORD PTR [rsp]
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	device_printf@PLT
	mov	r14d, DWORD PTR ENXIO[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rdx, QWORD PTR [rsp]
	mov	edi, DWORD PTR [rbx]
	mov	ecx, eax
	lea	rsi, .LC6[rip]
	xor	eax, eax
	call	device_printf@PLT
	mov	r14d, DWORD PTR ENXIO[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rcx, QWORD PTR [rsp]
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC5[rip]
	xor	eax, eax
	mov	rdx, QWORD PTR 8[rsp]
	call	device_printf@PLT
	mov	r14d, DWORD PTR ENXIO[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L25:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC7[rip]
	xor	eax, eax
	call	device_printf@PLT
	mov	r14d, DWORD PTR ENXIO[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L26:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC7[rip]
	call	device_printf@PLT
	mov	r14d, DWORD PTR ENXIO[rip]
	jmp	.L1
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	process_lane, .-process_lane
	.comm	xusbpadctl_phynode_class,4,4
	.comm	lanes_tbl,4,4
	.comm	ENXIO,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_tegra124_xusbpadctl.c_process_lane.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"name\000"
	.align	2
.LC1:
	.ascii	"Cannot read lane name.\012\000"
	.align	2
.LC2:
	.ascii	"Unknown lane: %s\012\000"
	.align	2
.LC3:
	.ascii	"nvidia,function\000"
	.align	2
.LC4:
	.ascii	"Cannot read lane function.\012\000"
	.align	2
.LC5:
	.ascii	"Unknown function %s for lane %s\012\000"
	.align	2
.LC6:
	.ascii	"Cannot configure lane: %s: %d\012\000"
	.align	2
.LC7:
	.ascii	"Cannot create phy\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_lane, %function
process_lane:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	ip, .L28
	sub	sp, sp, #24
	mov	r6, r1
	mov	r4, r0
	mov	r7, r2
	mov	r0, r1
	add	r2, sp, #4
	ldr	r1, .L28+4
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	bl	OF_getprop_alloc
	cmp	r0, #0
	ble	.L20
	mov	r0, r4
	ldr	r1, [sp, #4]
	bl	search_lane
	subs	r5, r0, #0
	beq	.L21
	mov	r0, r6
	ldr	r1, .L28+8
	add	r2, sp, #8
	bl	OF_getprop_alloc
	cmp	r0, #0
	ble	.L22
	mov	r1, r5
	mov	r0, r4
	ldr	r2, [sp, #8]
	bl	search_mux
	cmn	r0, #1
	str	r0, [r5, #8]
	beq	.L23
	mov	r1, r5
	mov	r0, r4
	bl	config_lane
	subs	r8, r0, #0
	bne	.L24
	mov	r1, #1
	ldr	r3, [r7]
	ldr	r2, [r7, #4]
	stm	r5, {r1, r7}
	add	r1, r3, r1
	str	r1, [r7]
	add	r0, sp, #12
	str	r5, [r2, r3, lsl #2]
	mov	r1, #8
	bl	bzero
	ldr	r3, .L28+12
	ldr	r1, .L28+16
	ldr	r0, [r3]
	add	r2, sp, #12
	add	r0, r0, r0, lsl #1
	sub	r5, r5, r0, lsl #2
	ldr	r0, [r4]
	str	r6, [sp, #12]
	str	r5, [sp, #16]
	bl	phynode_create
	cmp	r0, #0
	beq	.L25
	bl	phynode_register
	cmp	r0, #0
	beq	.L26
.L5:
	ldr	r0, [sp, #4]
	cmp	r0, #0
	beq	.L10
	bl	OF_prop_free
.L10:
	ldr	r0, [sp, #8]
	cmp	r0, #0
	beq	.L1
	bl	OF_prop_free
	b	.L1
.L20:
	ldr	r0, [r4]
	ldr	r1, .L28+20
	bl	device_printf
	ldr	r3, .L28+24
	ldr	r8, [r3]
.L1:
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	mov	r0, r8
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L22:
	ldr	r0, [r4]
	ldr	r1, .L28+28
	bl	device_printf
	ldr	r3, .L28+24
	ldr	r8, [r3]
	b	.L5
.L21:
	ldr	r0, [r4]
	ldr	r2, [sp, #4]
	ldr	r1, .L28+32
	bl	device_printf
	ldr	r3, .L28+24
	ldr	r8, [r3]
	b	.L5
.L24:
	mov	r3, r8
	ldr	r0, [r4]
	ldr	r2, [sp, #4]
	ldr	r1, .L28+36
	bl	device_printf
	ldr	r3, .L28+24
	ldr	r8, [r3]
	b	.L5
.L23:
	ldr	r3, [sp, #4]
	ldr	r0, [r4]
	ldr	r2, [sp, #8]
	ldr	r1, .L28+40
	bl	device_printf
	ldr	r3, .L28+24
	ldr	r8, [r3]
	b	.L5
.L25:
	ldr	r0, [r4]
	ldr	r1, .L28+44
	bl	device_printf
	ldr	r3, .L28+24
	ldr	r8, [r3]
	b	.L5
.L26:
	ldr	r0, [r4]
	ldr	r1, .L28+44
	bl	device_printf
	ldr	r3, .L28+24
	ldr	r8, [r3]
	b	.L1
.L27:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	.LC8
	.word	.LC0
	.word	.LC3
	.word	lanes_tbl
	.word	xusbpadctl_phynode_class
	.word	.LC1
	.word	ENXIO
	.word	.LC4
	.word	.LC2
	.word	.LC6
	.word	.LC5
	.word	.LC7
	.size	process_lane, .-process_lane
	.comm	xusbpadctl_phynode_class,4,4
	.comm	lanes_tbl,4,4
	.comm	ENXIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
