	.file	"extr_sdio.c_gb_sdio_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"mmc-%s"
	.text
	.p2align 4
	.type	gb_sdio_probe, @function
gb_sdio_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rsi, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	edi, 56
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	mmc_alloc_host@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
	test	rax, rax
	je	.L1
	mov	r12, rax
	mov	rax, QWORD PTR 8[rbp]
	mov	r13d, DWORD PTR gb_sdio_request_handler[rip]
	mov	edi, DWORD PTR [rax]
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR 16[rbp]
	mov	edx, r13d
	mov	esi, eax
	call	gb_connection_create@PLT
	mov	rdi, rax
	mov	r14, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L12
	mov	rdi, r12
	call	mmc_priv@PLT
	mov	rdi, r14
	mov	QWORD PTR 32[rax], r12
	mov	rbx, rax
	mov	rsi, rax
	mov	DWORD PTR [rax], 1
	mov	QWORD PTR 48[rax], r14
	call	gb_connection_set_data@PLT
	mov	QWORD PTR 40[rbx], rbp
	mov	rsi, rbx
	mov	rdi, rbp
	call	gb_gbphy_set_data@PLT
	mov	rdi, r14
	call	gb_connection_enable_tx@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L6
	mov	rdi, rbx
	call	gb_sdio_get_caps@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L7
	lea	rax, gb_sdio_ops[rip]
	lea	rdi, 24[rbx]
	mov	QWORD PTR 24[r12], rax
	mov	rax, QWORD PTR 32[rbx]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR [r12], eax
	mov	eax, DWORD PTR 12[r12]
	imul	eax, DWORD PTR 4[r12]
	mov	DWORD PTR 8[r12], eax
	mov	DWORD PTR 16[r12], eax
	call	mutex_init@PLT
	lea	rdi, 20[rbx]
	call	spin_lock_init@PLT
	mov	rdi, rbp
	call	dev_name@PLT
	mov	edx, 1
	xor	esi, esi
	lea	rdi, .LC0[rip]
	mov	ecx, eax
	call	alloc_workqueue@PLT
	mov	DWORD PTR 4[rbx], eax
	test	eax, eax
	jne	.L8
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
.L7:
	mov	rdi, r14
	call	gb_connection_disable@PLT
.L6:
	mov	rdi, r14
	call	gb_connection_destroy@PLT
	mov	rdi, r12
	call	mmc_free_host@PLT
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L12:
	.cfi_restore_state
.L5:
	endbr64
	mov	rdi, r14
	call	PTR_ERR@PLT
	mov	rdi, r12
	mov	r13d, eax
	call	mmc_free_host@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L8:
	.cfi_restore_state
	mov	esi, DWORD PTR gb_sdio_mrq_work[rip]
	lea	rdi, 16[rbx]
	call	INIT_WORK@PLT
	mov	rdi, r14
	call	gb_connection_enable@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L13
.L9:
	mov	edi, DWORD PTR 4[rbx]
	call	destroy_workqueue@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, r12
	call	mmc_add_host@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L9
	mov	DWORD PTR [rbx], 0
	mov	rsi, QWORD PTR 8[rbx]
	mov	rdi, rbx
	call	_gb_sdio_process_events@PLT
	mov	QWORD PTR 8[rbx], 0
	mov	rdi, rbp
	mov	r13d, eax
	call	gbphy_runtime_put_autosuspend@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	gb_sdio_probe, .-gb_sdio_probe
	.comm	gb_sdio_request_handler,4,4
	.comm	gb_sdio_ops,4,4
	.comm	gb_sdio_mrq_work,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_sdio.c_gb_sdio_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"mmc-%s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gb_sdio_probe, %function
gb_sdio_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	mov	r0, #36
	mov	r1, r4
	bl	mmc_alloc_host
	subs	r5, r0, #0
	beq	.L12
	ldmib	r4, {r3, r6}
	ldr	r0, [r3]
	bl	le16_to_cpu
	ldr	r3, .L15
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, r6
	bl	gb_connection_create
	mov	r8, r0
	bl	IS_ERR
	subs	r9, r0, #0
	bne	.L13
	mov	r0, r5
	bl	mmc_priv
	mov	r10, #1
	mov	r7, r0
	mov	r0, r8
	mov	r1, r7
	str	r5, [r7, #24]
	str	r8, [r7, #32]
	str	r10, [r7]
	bl	gb_connection_set_data
	mov	r1, r7
	mov	r0, r4
	str	r4, [r7, #28]
	bl	gb_gbphy_set_data
	mov	r0, r8
	bl	gb_connection_enable_tx
	subs	r6, r0, #0
	bne	.L6
	mov	r0, r7
	bl	gb_sdio_get_caps
	subs	r6, r0, #0
	blt	.L7
	ldr	r1, [r5, #4]
	ldr	r3, [r5, #12]
	ldr	r2, [r7, #24]
	mul	r3, r1, r3
	ldr	r1, [r2, #4]
	ldr	r2, .L15+4
	str	r3, [r5, #8]
	str	r1, [r5]
	str	r3, [r5, #16]
	str	r2, [r5, #20]
	add	r0, r7, #20
	bl	mutex_init
	add	r0, r7, #16
	bl	spin_lock_init
	mov	r0, r4
	bl	dev_name
	mov	r2, r10
	mov	r3, r0
	mov	r1, r9
	ldr	r0, .L15+8
	bl	alloc_workqueue
	cmp	r0, #0
	str	r0, [r7, #4]
	bne	.L8
	ldr	r3, .L15+12
	ldr	r0, [r3]
	rsb	r6, r0, #0
.L7:
	mov	r0, r8
	bl	gb_connection_disable
.L6:
	mov	r0, r8
	bl	gb_connection_destroy
	b	.L5
.L13:
	mov	r0, r8
	bl	PTR_ERR
	mov	r6, r0
.L5:
	mov	r0, r5
	bl	mmc_free_host
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	ldr	r3, .L15+12
	ldr	r0, [r3]
	rsb	r6, r0, #0
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	ldr	r3, .L15+16
	add	r0, r7, #12
	ldr	r1, [r3]
	bl	INIT_WORK
	mov	r0, r8
	bl	gb_connection_enable
	subs	r6, r0, #0
	beq	.L14
.L9:
	ldr	r0, [r7, #4]
	bl	destroy_workqueue
	b	.L7
.L14:
	mov	r0, r5
	bl	mmc_add_host
	subs	r6, r0, #0
	blt	.L9
	mov	r0, r7
	ldr	r1, [r7, #8]
	str	r9, [r7]
	bl	_gb_sdio_process_events
	str	r9, [r7, #8]
	mov	r6, r0
	mov	r0, r4
	bl	gbphy_runtime_put_autosuspend
	b	.L1
.L16:
	.align	2
.L15:
	.word	gb_sdio_request_handler
	.word	gb_sdio_ops
	.word	.LC0
	.word	ENOMEM
	.word	gb_sdio_mrq_work
	.size	gb_sdio_probe, .-gb_sdio_probe
	.comm	gb_sdio_request_handler,4,4
	.comm	gb_sdio_ops,4,4
	.comm	gb_sdio_mrq_work,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
