	.file	"extr_disp.c_nv50_dac_create.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"dac-%04x-%04x"
	.text
	.p2align 4
	.type	nv50_dac_create, @function
nv50_dac_create:
.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
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	edi, DWORD PTR [rdi]
	mov	rbx, rsi
	call	nouveau_drm@PLT
	mov	rdi, rax
	call	nvxx_i2c@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 16
	mov	r13d, DWORD PTR DRM_MODE_ENCODER_DAC[rip]
	mov	r14, rax
	call	kzalloc@PLT
	test	rax, rax
	je	.L10
	mov	QWORD PTR 8[rax], rbx
	mov	esi, DWORD PTR 12[rbx]
	mov	rdi, r14
	mov	rbp, rax
	call	nvkm_i2c_bus_find@PLT
	test	rax, rax
	je	.L4
	mov	QWORD PTR 0[rbp], rax
.L4:
	mov	rdi, rbp
	call	to_drm_encoder@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	r9d, DWORD PTR 4[rbx]
	mov	ecx, r13d
	mov	rbp, rax
	mov	eax, DWORD PTR 8[rbx]
	mov	edi, DWORD PTR [r12]
	lea	rdx, nv50_dac_func[rip]
	mov	QWORD PTR 0[rbp], 0
	lea	r8, .LC0[rip]
	mov	rsi, rbp
	mov	DWORD PTR 8[rbp], eax
	mov	eax, DWORD PTR [rbx]
	push	rax
	.cfi_def_cfa_offset 64
	call	drm_encoder_init@PLT
	mov	rdi, rbp
	lea	rsi, nv50_dac_help[rip]
	call	drm_encoder_helper_add@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	drm_connector_attach_encoder@PLT
	pop	rax
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rdx
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_remember_state
	.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
.L10:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	nv50_dac_create, .-nv50_dac_create
	.comm	nv50_dac_help,4,4
	.comm	nv50_dac_func,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	DRM_MODE_ENCODER_DAC,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_disp.c_nv50_dac_create.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"dac-%04x-%04x\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nv50_dac_create, %function
nv50_dac_create:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	sub	sp, sp, #16
	ldr	r0, [r0]
	mov	r4, r1
	bl	nouveau_drm
	bl	nvxx_i2c
	ldr	r1, .L11
	ldr	r2, .L11+4
	mov	r7, r0
	ldr	r1, [r1]
	mov	r0, #8
	ldr	r8, [r2]
	bl	kzalloc
	subs	r5, r0, #0
	beq	.L10
	ldr	r1, [r4, #12]
	str	r4, [r5, #4]
	mov	r0, r7
	bl	nvkm_i2c_bus_find
	cmp	r0, #0
	strne	r0, [r5]
	mov	r0, r5
	bl	to_drm_encoder
	mov	r7, #0
	mov	r5, r0
	ldr	ip, [r4]
	ldr	r1, [r4, #8]
	ldr	r0, [r4, #4]
	ldr	r2, .L11+8
	str	r1, [r5, #4]
	str	r7, [r5]
	stmib	sp, {r0, ip}
	str	r2, [sp]
	mov	r3, r8
	ldr	r2, .L11+12
	mov	r1, r5
	ldr	r0, [r6]
	bl	drm_encoder_init
	mov	r0, r5
	ldr	r1, .L11+16
	bl	drm_encoder_helper_add
	mov	r1, r5
	mov	r0, r6
	bl	drm_connector_attach_encoder
	mov	r0, r7
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r3, .L11+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	GFP_KERNEL
	.word	DRM_MODE_ENCODER_DAC
	.word	.LC0
	.word	nv50_dac_func
	.word	nv50_dac_help
	.word	ENOMEM
	.size	nv50_dac_create, .-nv50_dac_create
	.comm	nv50_dac_help,4,4
	.comm	nv50_dac_func,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	DRM_MODE_ENCODER_DAC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
