	.file	"extr_rtc-rx6110.c_rx6110_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"SPI settings: bits_per_word: %d, max_speed_hz: %d, mode: %xh\n"
	.align 8
.LC1:
	.string	"driving device in an unsupported mode"
	.align 8
.LC2:
	.string	"regmap init failed for rtc rx6110\n"
	.text
	.p2align 4
	.type	rx6110_probe, @function
rx6110_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, 12[rdi]
	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
	mov	edx, DWORD PTR [rdi]
	mov	ecx, DWORD PTR 4[rdi]
	mov	r8d, DWORD PTR 8[rdi]
	test	edx, -9
	jne	.L2
	cmp	ecx, 2000000
	jle	.L10
.L2:
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	xor	eax, eax
	call	dev_warn@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	xor	eax, eax
	call	dev_warn@PLT
.L3:
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 16
	mov	rdi, r12
	call	devm_kzalloc@PLT
	mov	rbx, rax
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	test	rbx, rbx
	je	.L1
	mov	rdi, rbp
	lea	rsi, regmap_spi_config[rip]
	call	devm_regmap_init_spi@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L11
	mov	rsi, rbx
	mov	rdi, rbp
	call	spi_set_drvdata@PLT
	mov	ecx, DWORD PTR THIS_MODULE[rip]
	mov	rdi, r12
	mov	esi, DWORD PTR RX6110_DRIVER_NAME[rip]
	lea	rdx, rx6110_rtc_ops[rip]
	call	devm_rtc_device_register@PLT
	mov	QWORD PTR [rbx], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L12
	mov	rdi, rbx
	call	rx6110_init@PLT
	test	eax, eax
	jne	.L1
	mov	rdx, QWORD PTR [rbx]
	mov	DWORD PTR [rdx], 1
.L1:
	pop	rbx
	.cfi_remember_state
	.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	eax, DWORD PTR SPI_CS_HIGH[rip]
	or	eax, DWORD PTR SPI_CPOL[rip]
	or	eax, DWORD PTR SPI_CPHA[rip]
	cmp	eax, r8d
	jne	.L2
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, r12
	lea	rsi, .LC2[rip]
	call	dev_err@PLT
	mov	rdi, QWORD PTR 8[rbx]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	rx6110_probe, .-rx6110_probe
	.comm	rx6110_rtc_ops,4,4
	.comm	regmap_spi_config,4,4
	.comm	THIS_MODULE,4,4
	.comm	SPI_CS_HIGH,4,4
	.comm	SPI_CPOL,4,4
	.comm	SPI_CPHA,4,4
	.comm	RX6110_DRIVER_NAME,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_rtc-rx6110.c_rx6110_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"SPI settings: bits_per_word: %d, max_speed_hz: %d, "
	.ascii	"mode: %xh\012\000"
	.align	2
.LC1:
	.ascii	"driving device in an unsupported mode\000"
	.align	2
.LC2:
	.ascii	"regmap init failed for rtc rx6110\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rx6110_probe, %function
rx6110_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldm	r0, {r2, r3}
	bics	r1, r2, #8
	mov	r4, r0
	ldr	r1, [r0, #8]
	sub	sp, sp, #8
	add	r6, r0, #12
	bne	.L2
	ldr	r0, .L15
	cmp	r3, r0
	ble	.L11
.L2:
	str	r1, [sp]
	mov	r0, r6
	ldr	r1, .L15+4
	bl	dev_warn
	mov	r0, r6
	ldr	r1, .L15+8
	bl	dev_warn
.L3:
	ldr	r3, .L15+12
	mov	r1, #8
	mov	r0, r6
	ldr	r2, [r3]
	bl	devm_kzalloc
	subs	r5, r0, #0
	beq	.L12
	ldr	r1, .L15+16
	mov	r0, r4
	bl	devm_regmap_init_spi
	str	r0, [r5, #4]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L13
	mov	r1, r5
	mov	r0, r4
	bl	spi_set_drvdata
	ldr	r2, .L15+20
	ldr	r3, .L15+24
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, .L15+28
	mov	r0, r6
	bl	devm_rtc_device_register
	str	r0, [r5]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L14
	mov	r0, r5
	bl	rx6110_init
	cmp	r0, #0
	moveq	r2, #1
	ldreq	r3, [r5]
	streq	r2, [r3]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L11:
	ldr	r0, .L15+32
	ldr	lr, .L15+36
	ldr	ip, .L15+40
	ldr	r0, [r0]
	ldr	lr, [lr]
	ldr	ip, [ip]
	orr	r0, r0, lr
	orr	r0, r0, ip
	cmp	r0, r1
	bne	.L2
	b	.L3
.L13:
	mov	r0, r6
	ldr	r1, .L15+44
	bl	dev_err
	ldr	r0, [r5, #4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L12:
	ldr	r3, .L15+48
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L14:
	ldr	r0, [r5]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L16:
	.align	2
.L15:
	.word	2000000
	.word	.LC0
	.word	.LC1
	.word	GFP_KERNEL
	.word	regmap_spi_config
	.word	RX6110_DRIVER_NAME
	.word	THIS_MODULE
	.word	rx6110_rtc_ops
	.word	SPI_CS_HIGH
	.word	SPI_CPOL
	.word	SPI_CPHA
	.word	.LC2
	.word	ENOMEM
	.size	rx6110_probe, .-rx6110_probe
	.comm	rx6110_rtc_ops,4,4
	.comm	regmap_spi_config,4,4
	.comm	THIS_MODULE,4,4
	.comm	SPI_CS_HIGH,4,4
	.comm	SPI_CPOL,4,4
	.comm	SPI_CPHA,4,4
	.comm	RX6110_DRIVER_NAME,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
