	.file	"extr_sdio.c_ssb_sdio_write8.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%04X:%04X < %02x, error %d\n"
	.text
	.p2align 4
	.type	ssb_sdio_write8, @function
ssb_sdio_write8:
.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
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rbx, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], 0
	mov	edi, DWORD PTR 4[rbx]
	call	sdio_claim_host@PLT
	mov	rdi, rbx
	mov	rsi, rbp
	call	ssb_sdio_switch_core@PLT
	mov	edi, eax
	call	unlikely@PLT
	test	rax, rax
	je	.L11
.L3:
	mov	edi, DWORD PTR 4[rbx]
	call	sdio_release_host@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.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
.L11:
	.cfi_restore_state
	movzx	esi, WORD PTR [rbx]
	mov	edi, DWORD PTR 4[rbx]
	lea	rcx, 4[rsp]
	or	r13d, esi
	and	r13d, DWORD PTR SBSDIO_SB_OFT_ADDR_MASK[rip]
	mov	esi, r12d
	mov	edx, r13d
	call	sdio_writeb@PLT
	mov	ebp, DWORD PTR 4[rsp]
	test	ebp, ebp
	je	.L3
	mov	r14d, DWORD PTR [rbx]
	mov	rdi, rbx
	call	ssb_sdio_dev@PLT
	mov	r9d, ebp
	mov	r8d, r12d
	mov	ecx, r13d
	sar	r14d, 16
	mov	edi, eax
	lea	rsi, .LC0[rip]
	mov	edx, r14d
	call	dev_dbg@PLT
	jmp	.L3
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ssb_sdio_write8, .-ssb_sdio_write8
	.comm	SBSDIO_SB_OFT_ADDR_MASK,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_ssb_sdio_write8.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%04X:%04X < %02x, error %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssb_sdio_write8, %function
ssb_sdio_write8:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r3, #0
	mov	r5, r0
	ldr	r4, [r0]
	mov	r6, r2
	ldr	r2, .L13
	sub	sp, sp, #20
	ldr	r0, [r4, #4]
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	mov	r7, r1
	str	r3, [sp, #8]
	bl	sdio_claim_host
	mov	r1, r5
	mov	r0, r4
	bl	ssb_sdio_switch_core
	bl	unlikely
	cmp	r0, #0
	beq	.L11
.L3:
	ldr	r0, [r4, #4]
	bl	sdio_release_host
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	ldr	r3, .L13+4
	ldrh	r5, [r4]
	ldr	r2, [r3]
	orr	r1, r5, r7
	and	r5, r1, r2
	add	r3, sp, #8
	mov	r2, r5
	mov	r1, r6
	ldr	r0, [r4, #4]
	bl	sdio_writeb
	ldr	r3, [sp, #8]
	cmp	r3, #0
	beq	.L3
	mov	r0, r4
	bl	ssb_sdio_dev
	ldr	r1, [sp, #8]
	ldrsh	r2, [r4, #2]
	mov	r3, r5
	str	r1, [sp, #4]
	str	r6, [sp]
	ldr	r1, .L13+8
	bl	dev_dbg
	b	.L3
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	SBSDIO_SB_OFT_ADDR_MASK
	.word	.LC0
	.size	ssb_sdio_write8, .-ssb_sdio_write8
	.comm	SBSDIO_SB_OFT_ADDR_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
