	.file	"extr_zx_hdmi.c_zx_hdmi_ddc_register.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"zx hdmi i2c"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"failed to add I2C adapter: %d\n"
	.text
	.p2align 4
	.type	zx_hdmi_ddc_register, @function
zx_hdmi_ddc_register:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 40
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	edi, DWORD PTR [rdi]
	call	devm_kzalloc@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
	test	rax, rax
	je	.L1
	mov	QWORD PTR 8[r12], rax
	lea	rdi, 32[rax]
	mov	rbp, rax
	call	mutex_init@PLT
	mov	eax, DWORD PTR THIS_MODULE[rip]
	mov	edi, DWORD PTR 0[rbp]
	lea	rdx, .LC0[rip]
	mov	esi, 4
	mov	DWORD PTR 24[rbp], eax
	mov	eax, DWORD PTR I2C_CLASS_DDC[rip]
	mov	DWORD PTR 20[rbp], eax
	mov	eax, DWORD PTR [r12]
	mov	DWORD PTR 16[rbp], eax
	lea	rax, zx_hdmi_algorithm[rip]
	mov	QWORD PTR 8[rbp], rax
	call	snprintf@PLT
	mov	rdi, rbp
	call	i2c_add_adapter@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L7
	mov	rsi, r12
	mov	rdi, rbp
	call	i2c_set_adapdata@PLT
.L1:
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.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
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR [r12]
	mov	edx, eax
	lea	rsi, .LC1[rip]
	call	DRM_DEV_ERROR@PLT
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	zx_hdmi_ddc_register, .-zx_hdmi_ddc_register
	.comm	zx_hdmi_algorithm,4,4
	.comm	THIS_MODULE,4,4
	.comm	I2C_CLASS_DDC,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_zx_hdmi.c_zx_hdmi_ddc_register.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"zx hdmi i2c\000"
	.align	2
.LC1:
	.ascii	"failed to add I2C adapter: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zx_hdmi_ddc_register, %function
zx_hdmi_ddc_register:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L9
	push	{r4, r5, r6, lr}
	mov	r1, #24
	mov	r6, r0
	ldr	r2, [r3]
	ldr	r0, [r0]
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L7
	str	r4, [r6, #4]
	add	r0, r4, #20
	bl	mutex_init
	ldr	r2, .L9+4
	ldr	r3, .L9+8
	ldr	r0, [r2]
	ldr	r1, [r3]
	ldr	r2, [r6]
	ldr	r3, .L9+12
	str	r0, [r4, #16]
	str	r1, [r4, #12]
	str	r2, [r4, #8]
	mov	r1, #4
	ldr	r2, .L9+16
	str	r3, [r4, #4]
	ldr	r0, [r4]
	bl	snprintf
	mov	r0, r4
	bl	i2c_add_adapter
	subs	r5, r0, #0
	bne	.L8
	mov	r1, r6
	mov	r0, r4
	bl	i2c_set_adapdata
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L8:
	mov	r2, r5
	ldr	r0, [r6]
	ldr	r1, .L9+20
	bl	DRM_DEV_ERROR
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r3, .L9+24
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	GFP_KERNEL
	.word	THIS_MODULE
	.word	I2C_CLASS_DDC
	.word	zx_hdmi_algorithm
	.word	.LC0
	.word	.LC1
	.word	ENOMEM
	.size	zx_hdmi_ddc_register, .-zx_hdmi_ddc_register
	.comm	zx_hdmi_algorithm,4,4
	.comm	THIS_MODULE,4,4
	.comm	I2C_CLASS_DDC,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
