	.file	"extr_tcpci.c_tcpci_probe.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tcpci_probe, @function
tcpci_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, 8
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], 0
	call	devm_kzalloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	test	rax, rax
	je	.L1
	mov	rdi, rbp
	lea	rsi, tcpci_regmap_config[rip]
	mov	rbx, rax
	call	devm_regmap_init_i2c@PLT
	mov	DWORD PTR 4[rbx], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L10
	mov	rsi, rbx
	mov	rdi, rbp
	call	i2c_set_clientdata@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR TCPC_ALERT_MASK[rip]
	lea	rdx, 4[rsp]
	mov	ecx, 4
	call	regmap_raw_write@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	rdi, rbp
	lea	rsi, 4[rbx]
	call	tcpci_register_port@PLT
	mov	DWORD PTR [rbx], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L11
	mov	rdi, rbp
	call	dev_name@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	esi, DWORD PTR 4[rbp]
	xor	edx, edx
	push	rbx
	.cfi_def_cfa_offset 64
	mov	ecx, DWORD PTR _tcpci_irq[rip]
	mov	r9d, eax
	mov	rdi, rbp
	mov	r8d, DWORD PTR IRQF_ONESHOT[rip]
	or	r8d, DWORD PTR IRQF_TRIGGER_LOW[rip]
	call	devm_request_threaded_irq@PLT
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 56
	pop	rdx
	.cfi_def_cfa_offset 48
	test	r12d, r12d
	js	.L12
	xor	r12d, r12d
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rbx]
	call	PTR_ERR@PLT
	mov	r12d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, DWORD PTR [rbx]
	call	PTR_ERR@PLT
	mov	r12d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, DWORD PTR [rbx]
	call	tcpci_unregister_port@PLT
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tcpci_probe, .-tcpci_probe
	.comm	tcpci_regmap_config,4,4
	.comm	_tcpci_irq,4,4
	.comm	TCPC_ALERT_MASK,4,4
	.comm	IRQF_TRIGGER_LOW,4,4
	.comm	IRQF_ONESHOT,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_tcpci.c_tcpci_probe.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tcpci_probe, %function
tcpci_probe:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r2, .L13
	ldr	ip, .L13+4
	sub	sp, sp, #28
	mov	r1, #8
	ldr	r2, [r2]
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	mov	r6, r0
	str	r3, [sp, #16]
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L9
	ldr	r1, .L13+8
	mov	r0, r6
	bl	devm_regmap_init_i2c
	str	r0, [r4, #4]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L10
	mov	r1, r4
	mov	r0, r6
	bl	i2c_set_clientdata
	ldr	r2, .L13+12
	mov	r3, #4
	ldr	r1, [r2]
	ldr	r0, [r4, #4]
	add	r2, sp, #16
	bl	regmap_raw_write
	subs	r5, r0, #0
	blt	.L1
	add	r1, r4, #4
	mov	r0, r6
	bl	tcpci_register_port
	str	r0, [r4]
	bl	IS_ERR
	subs	r5, r0, #0
	bne	.L11
	ldr	r2, .L13+16
	ldr	r3, .L13+20
	ldr	r7, [r2]
	ldr	r2, [r3]
	ldr	r3, .L13+24
	mov	r0, r6
	ldr	r8, [r6, #4]
	orr	r7, r7, r2
	ldr	r9, [r3]
	bl	dev_name
	mov	r3, r9
	stmib	sp, {r0, r4}
	mov	r1, r8
	mov	r0, r6
	mov	r2, r5
	str	r7, [sp]
	bl	devm_request_threaded_irq
	subs	r6, r0, #0
	bge	.L1
	ldr	r0, [r4]
	bl	tcpci_unregister_port
	mov	r5, r6
	b	.L1
.L10:
	ldr	r0, [r4, #4]
	bl	PTR_ERR
	mov	r5, r0
.L1:
	ldr	r3, .L13+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	ldr	r3, .L13+28
	ldr	r0, [r3]
	rsb	r5, r0, #0
	b	.L1
.L11:
	ldr	r0, [r4]
	bl	PTR_ERR
	mov	r5, r0
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	GFP_KERNEL
	.word	.LC0
	.word	tcpci_regmap_config
	.word	TCPC_ALERT_MASK
	.word	IRQF_ONESHOT
	.word	IRQF_TRIGGER_LOW
	.word	_tcpci_irq
	.word	ENOMEM
	.size	tcpci_probe, .-tcpci_probe
	.comm	tcpci_regmap_config,4,4
	.comm	_tcpci_irq,4,4
	.comm	TCPC_ALERT_MASK,4,4
	.comm	IRQF_TRIGGER_LOW,4,4
	.comm	IRQF_ONESHOT,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
