	.file	"extr_specialix.c_sx_start.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"sx_start"
	.text
	.p2align 4
	.type	sx_start, @function
sx_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	eax, eax
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR 8[rdi]
	call	func_enter@PLT
	mov	esi, DWORD PTR [rbx]
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	call	sx_paranoia_check@PLT
	test	rax, rax
	jne	.L5
	mov	rdi, rbp
	lea	r12, 4[rbp]
	call	port_Board@PLT
	xor	esi, esi
	mov	rdi, r12
	mov	r13, rax
	call	spin_lock_irqsave@PLT
	cmp	QWORD PTR 16[rbp], 0
	jne	.L7
.L3:
	xor	esi, esi
	mov	rdi, r12
	call	spin_unlock_irqrestore@PLT
.L5:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	func_exit@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	cmp	QWORD PTR 8[rbp], 0
	je	.L3
	mov	eax, DWORD PTR 0[rbp]
	mov	edx, DWORD PTR IER_TXRDY[rip]
	test	eax, edx
	jne	.L3
	or	eax, edx
	mov	rdi, r13
	mov	DWORD PTR 0[rbp], eax
	call	spin_lock@PLT
	mov	rdi, rbp
	call	port_No@PLT
	mov	esi, DWORD PTR CD186x_CAR[rip]
	mov	rdi, r13
	mov	edx, eax
	call	sx_out@PLT
	mov	edx, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR CD186x_IER[rip]
	mov	rdi, r13
	call	sx_out@PLT
	mov	rdi, r13
	call	spin_unlock@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	sx_start, .-sx_start
	.comm	IER_TXRDY,4,4
	.comm	CD186x_IER,4,4
	.comm	CD186x_CAR,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_specialix.c_sx_start.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sx_start\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sx_start, %function
sx_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r5, [r0, #4]
	bl	func_enter
	mov	r0, r5
	ldr	r1, [r4]
	ldr	r2, .L14
	bl	sx_paranoia_check
	cmp	r0, #0
	bne	.L11
	mov	r0, r5
	bl	port_Board
	add	r6, r5, #4
	mov	r4, r0
	mov	r1, #0
	mov	r0, r6
	bl	spin_lock_irqsave
	ldr	r3, [r5, #12]
	cmp	r3, #0
	bne	.L13
.L3:
	mov	r0, r6
	mov	r1, #0
	bl	spin_unlock_irqrestore
.L11:
	pop	{r4, r5, r6, r7, r8, lr}
	b	func_exit
.L13:
	ldr	r3, [r5, #8]
	cmp	r3, #0
	beq	.L3
	ldr	r2, .L14+4
	ldr	r3, [r5]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L3
	orr	r3, r3, r2
	str	r3, [r5]
	mov	r0, r4
	bl	spin_lock
	ldr	r3, .L14+8
	mov	r0, r5
	ldr	r7, [r3]
	bl	port_No
	mov	r1, r7
	mov	r2, r0
	mov	r0, r4
	bl	sx_out
	ldr	r3, .L14+12
	mov	r0, r4
	ldr	r2, [r5]
	ldr	r1, [r3]
	bl	sx_out
	mov	r0, r4
	bl	spin_unlock
	b	.L3
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	IER_TXRDY
	.word	CD186x_CAR
	.word	CD186x_IER
	.size	sx_start, .-sx_start
	.comm	IER_TXRDY,4,4
	.comm	CD186x_IER,4,4
	.comm	CD186x_CAR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
