	.file	"extr_tegra_rt5677.c_tegra_rt5677_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"nvidia,hp-det-gpios"
.LC1:
	.string	"nvidia,mic-present-gpios"
.LC2:
	.string	"nvidia,hp-en-gpios"
.LC3:
	.string	"hp_en"
.LC4:
	.string	"cannot get hp_en gpio\n"
.LC5:
	.string	"nvidia,dmic-clk-en-gpios"
.LC6:
	.string	"dmic_clk_en"
.LC7:
	.string	"cannot get dmic_clk_en gpio\n"
.LC8:
	.string	"nvidia,model"
.LC9:
	.string	"nvidia,audio-routing"
.LC10:
	.string	"nvidia,audio-codec"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC11:
	.string	"Property 'nvidia,audio-codec' missing or invalid\n"
	.section	.rodata.str1.1
.LC12:
	.string	"nvidia,i2s-controller"
	.section	.rodata.str1.8
	.align 8
.LC13:
	.string	"Property 'nvidia,i2s-controller' missing or invalid\n"
	.align 8
.LC14:
	.string	"snd_soc_register_card failed (%d)\n"
	.text
	.p2align 4
	.type	tegra_rt5677_probe, @function
tegra_rt5677_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, 20
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	rbp, QWORD PTR [rdi]
	call	devm_kzalloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	test	rax, rax
	je	.L1
	mov	rsi, rax
	lea	rdi, snd_soc_tegra_rt5677[rip]
	mov	rbx, rax
	mov	QWORD PTR snd_soc_tegra_rt5677[rip], r13
	call	snd_soc_card_set_drvdata@PLT
	xor	edx, edx
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	of_get_named_gpio@PLT
	mov	r12d, DWORD PTR EPROBE_DEFER[rip]
	mov	DWORD PTR [rbx], eax
	neg	r12d
	cmp	eax, r12d
	je	.L1
	xor	edx, edx
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	of_get_named_gpio@PLT
	mov	r12d, DWORD PTR EPROBE_DEFER[rip]
	mov	DWORD PTR 4[rbx], eax
	neg	r12d
	cmp	eax, r12d
	je	.L1
	xor	edx, edx
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	of_get_named_gpio@PLT
	mov	r12d, DWORD PTR EPROBE_DEFER[rip]
	mov	DWORD PTR 8[rbx], eax
	neg	r12d
	cmp	eax, r12d
	je	.L1
	mov	edi, eax
	call	gpio_is_valid@PLT
	test	rax, rax
	je	.L4
	mov	esi, DWORD PTR 8[rbx]
	mov	edx, DWORD PTR GPIOF_OUT_INIT_LOW[rip]
	lea	rcx, .LC3[rip]
	mov	rdi, r13
	call	devm_gpio_request_one@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L27
.L4:
	xor	edx, edx
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	call	of_get_named_gpio@PLT
	mov	r12d, DWORD PTR EPROBE_DEFER[rip]
	mov	DWORD PTR 12[rbx], eax
	neg	r12d
	cmp	eax, r12d
	je	.L1
	mov	edi, eax
	call	gpio_is_valid@PLT
	test	rax, rax
	je	.L5
	mov	esi, DWORD PTR 12[rbx]
	mov	edx, DWORD PTR GPIOF_OUT_INIT_HIGH[rip]
	lea	rcx, .LC6[rip]
	mov	rdi, r13
	call	devm_gpio_request_one@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L28
.L5:
	lea	rsi, .LC8[rip]
	lea	rdi, snd_soc_tegra_rt5677[rip]
	call	snd_soc_of_parse_card_name@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L29
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L29:
	.cfi_restore_state
	lea	rsi, .LC9[rip]
	lea	rdi, snd_soc_tegra_rt5677[rip]
	call	snd_soc_of_parse_audio_routing@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	r12, QWORD PTR tegra_rt5677_dai[rip]
	xor	edx, edx
	lea	rsi, .LC10[rip]
	mov	rdi, rbp
	call	of_parse_phandle@PLT
	mov	QWORD PTR [r12], rax
	mov	rax, QWORD PTR tegra_rt5677_dai[rip]
	cmp	QWORD PTR [rax], 0
	je	.L30
	mov	r12, QWORD PTR tegra_rt5677_dai[rip+16]
	xor	edx, edx
	lea	rsi, .LC12[rip]
	mov	rdi, rbp
	call	of_parse_phandle@PLT
	mov	QWORD PTR [r12], rax
	mov	rax, QWORD PTR tegra_rt5677_dai[rip+16]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L31
	mov	rdx, QWORD PTR tegra_rt5677_dai[rip+8]
	lea	rbp, 16[rbx]
	mov	rsi, r13
	mov	rdi, rbp
	mov	QWORD PTR [rdx], rax
	call	tegra_asoc_utils_init@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L9
	lea	rdi, snd_soc_tegra_rt5677[rip]
	call	snd_soc_register_card@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L1
	mov	edx, eax
	mov	rdi, r13
	lea	rsi, .LC14[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	rdi, rbp
	call	tegra_asoc_utils_fini@PLT
.L9:
	mov	rax, QWORD PTR tegra_rt5677_dai[rip+16]
	mov	rdi, QWORD PTR [rax]
	call	of_node_put@PLT
	mov	rax, QWORD PTR tegra_rt5677_dai[rip+16]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR tegra_rt5677_dai[rip+8]
	mov	QWORD PTR [rax], 0
.L8:
	mov	rax, QWORD PTR tegra_rt5677_dai[rip]
	mov	rdi, QWORD PTR [rax]
	call	of_node_put@PLT
	mov	rax, QWORD PTR tegra_rt5677_dai[rip]
	mov	QWORD PTR [rax], 0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L28:
	mov	rdi, QWORD PTR snd_soc_tegra_rt5677[rip]
	lea	rsi, .LC7[rip]
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rdi, QWORD PTR snd_soc_tegra_rt5677[rip]
	lea	rsi, .LC4[rip]
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
.L30:
	lea	rsi, .LC11[rip]
	mov	rdi, r13
	xor	eax, eax
	call	dev_err@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
.L31:
	lea	rsi, .LC13[rip]
	mov	rdi, r13
	call	dev_err@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	tegra_rt5677_probe, .-tegra_rt5677_probe
	.comm	tegra_rt5677_dai,24,16
	.comm	snd_soc_tegra_rt5677,8,8
	.comm	GPIOF_OUT_INIT_LOW,4,4
	.comm	GPIOF_OUT_INIT_HIGH,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EPROBE_DEFER,4,4
	.comm	ENOMEM,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_tegra_rt5677.c_tegra_rt5677_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"nvidia,hp-det-gpios\000"
	.align	2
.LC1:
	.ascii	"nvidia,mic-present-gpios\000"
	.align	2
.LC2:
	.ascii	"nvidia,hp-en-gpios\000"
	.align	2
.LC3:
	.ascii	"hp_en\000"
	.align	2
.LC4:
	.ascii	"cannot get hp_en gpio\012\000"
	.align	2
.LC5:
	.ascii	"nvidia,dmic-clk-en-gpios\000"
	.align	2
.LC6:
	.ascii	"dmic_clk_en\000"
	.align	2
.LC7:
	.ascii	"cannot get dmic_clk_en gpio\012\000"
	.align	2
.LC8:
	.ascii	"nvidia,model\000"
	.align	2
.LC9:
	.ascii	"nvidia,audio-routing\000"
	.align	2
.LC10:
	.ascii	"nvidia,audio-codec\000"
	.align	2
.LC11:
	.ascii	"Property 'nvidia,audio-codec' missing or invalid\012"
	.ascii	"\000"
	.align	2
.LC12:
	.ascii	"nvidia,i2s-controller\000"
	.align	2
.LC13:
	.ascii	"Property 'nvidia,i2s-controller' missing or invalid"
	.ascii	"\012\000"
	.align	2
.LC14:
	.ascii	"snd_soc_register_card failed (%d)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tegra_rt5677_probe, %function
tegra_rt5677_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L33
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r1, #20
	ldr	r2, [r3]
	mov	r6, r0
	ldr	r7, [r0]
	bl	devm_kzalloc
	subs	r5, r0, #0
	beq	.L27
	ldr	r9, .L33+4
	mov	r1, r5
	mov	r0, r9
	str	r6, [r9]
	bl	snd_soc_card_set_drvdata
	mov	r2, #0
	mov	r0, r7
	ldr	r1, .L33+8
	bl	of_get_named_gpio
	ldr	r8, .L33+12
	str	r0, [r5]
	ldr	r4, [r8]
	cmn	r0, r4
	rsb	r4, r4, #0
	beq	.L1
	mov	r2, #0
	mov	r0, r7
	ldr	r1, .L33+16
	bl	of_get_named_gpio
	ldr	r4, [r8]
	str	r0, [r5, #4]
	cmn	r0, r4
	rsb	r4, r4, #0
	beq	.L1
	mov	r2, #0
	mov	r0, r7
	ldr	r1, .L33+20
	bl	of_get_named_gpio
	ldr	r4, [r8]
	str	r0, [r5, #8]
	cmn	r0, r4
	rsb	r4, r4, #0
	beq	.L1
	bl	gpio_is_valid
	cmp	r0, #0
	beq	.L4
	ldr	r2, .L33+24
	mov	r0, r6
	ldr	r3, .L33+28
	ldr	r2, [r2]
	ldr	r1, [r5, #8]
	bl	devm_gpio_request_one
	subs	r4, r0, #0
	bne	.L28
.L4:
	mov	r2, #0
	mov	r0, r7
	ldr	r1, .L33+32
	bl	of_get_named_gpio
	ldr	r4, [r8]
	str	r0, [r5, #12]
	cmn	r0, r4
	rsb	r4, r4, #0
	beq	.L1
	bl	gpio_is_valid
	cmp	r0, #0
	beq	.L5
	ldr	r2, .L33+36
	mov	r0, r6
	ldr	r3, .L33+40
	ldr	r2, [r2]
	ldr	r1, [r5, #12]
	bl	devm_gpio_request_one
	subs	r4, r0, #0
	bne	.L29
.L5:
	ldr	r1, .L33+44
	ldr	r0, .L33+4
	bl	snd_soc_of_parse_card_name
	subs	r4, r0, #0
	beq	.L30
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L27:
	ldr	r3, .L33+48
	ldr	r0, [r3]
	rsb	r4, r0, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L30:
	ldr	r1, .L33+52
	ldr	r0, .L33+4
	bl	snd_soc_of_parse_audio_routing
	subs	r4, r0, #0
	bne	.L1
	ldr	r8, .L33+56
	mov	r2, r4
	mov	r0, r7
	ldr	r1, .L33+60
	ldr	r9, [r8]
	bl	of_parse_phandle
	ldr	r3, [r8]
	str	r0, [r9]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L31
	mov	r2, r4
	mov	r0, r7
	ldr	r1, .L33+64
	ldr	r4, [r8, #8]
	bl	of_parse_phandle
	ldr	r3, [r8, #8]
	str	r0, [r4]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L32
	ldr	r2, [r8, #4]
	add	r5, r5, #16
	mov	r0, r5
	mov	r1, r6
	str	r3, [r2]
	bl	tegra_asoc_utils_init
	subs	r4, r0, #0
	bne	.L9
	ldr	r0, .L33+4
	bl	snd_soc_register_card
	subs	r4, r0, #0
	beq	.L1
	mov	r0, r6
	mov	r2, r4
	ldr	r1, .L33+68
	bl	dev_err
	mov	r0, r5
	bl	tegra_asoc_utils_fini
.L9:
	ldr	r3, [r8, #8]
	ldr	r0, [r3]
	bl	of_node_put
	mov	r3, #0
	ldr	r1, [r8, #8]
	ldr	r2, [r8, #4]
	str	r3, [r1]
	str	r3, [r2]
.L8:
	ldr	r3, [r8]
	ldr	r0, [r3]
	bl	of_node_put
	mov	r2, #0
	ldr	r3, [r8]
	str	r2, [r3]
	b	.L1
.L29:
	ldr	r0, [r9]
	ldr	r1, .L33+72
	bl	dev_err
	b	.L1
.L28:
	ldr	r0, [r9]
	ldr	r1, .L33+76
	bl	dev_err
	b	.L1
.L31:
	mov	r0, r6
	ldr	r1, .L33+80
	bl	dev_err
	ldr	r3, .L33+84
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L32:
	mov	r0, r6
	ldr	r1, .L33+88
	bl	dev_err
	ldr	r3, .L33+84
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L8
.L34:
	.align	2
.L33:
	.word	GFP_KERNEL
	.word	snd_soc_tegra_rt5677
	.word	.LC0
	.word	EPROBE_DEFER
	.word	.LC1
	.word	.LC2
	.word	GPIOF_OUT_INIT_LOW
	.word	.LC3
	.word	.LC5
	.word	GPIOF_OUT_INIT_HIGH
	.word	.LC6
	.word	.LC8
	.word	ENOMEM
	.word	.LC9
	.word	tegra_rt5677_dai
	.word	.LC10
	.word	.LC12
	.word	.LC14
	.word	.LC7
	.word	.LC4
	.word	.LC11
	.word	EINVAL
	.word	.LC13
	.size	tegra_rt5677_probe, .-tegra_rt5677_probe
	.comm	tegra_rt5677_dai,12,4
	.comm	snd_soc_tegra_rt5677,4,4
	.comm	GPIOF_OUT_INIT_LOW,4,4
	.comm	GPIOF_OUT_INIT_HIGH,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EPROBE_DEFER,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
