	.file	"extr_scic_sds_port.c_scic_sds_port_ready_state_enter.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	scic_sds_port_ready_state_enter, @function
scic_sds_port_ready_state_enter:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR SCI_BASE_PORT_STATE_READY[rip]
	call	scic_sds_port_set_base_state_handlers@PLT
	mov	rax, QWORD PTR SCI_BASE_PORT_STATE_RESETTING[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L6
	mov	r12d, DWORD PTR SCIC_PORT_NOT_READY_NO_ACTIVE_PHYS[rip]
	mov	rdi, rbp
	call	scic_sds_port_get_controller@PLT
	mov	rsi, rbp
	mov	edi, eax
	mov	edx, r12d
	call	scic_cb_port_not_ready@PLT
.L3:
	mov	rdi, rbp
	call	scic_sds_port_post_dummy_remote_node@PLT
	mov	rdi, rbp
	call	scic_sds_port_get_ready_substate_machine@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	edi, eax
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	sci_base_state_machine_start@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	r12d, DWORD PTR SCI_SUCCESS[rip]
	mov	rdi, rbp
	call	scic_sds_port_get_controller@PLT
	mov	rsi, rbp
	mov	edi, eax
	mov	edx, r12d
	call	scic_cb_port_hard_reset_complete@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	scic_sds_port_ready_state_enter, .-scic_sds_port_ready_state_enter
	.comm	SCI_SUCCESS,4,4
	.comm	SCI_BASE_PORT_STATE_RESETTING,8,8
	.comm	SCI_BASE_PORT_STATE_READY,4,4
	.comm	SCIC_PORT_NOT_READY_NO_ACTIVE_PHYS,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_scic_sds_port.c_scic_sds_port_ready_state_enter.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	scic_sds_port_ready_state_enter, %function
scic_sds_port_ready_state_enter:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r3, .L7
	ldr	r1, [r3]
	bl	scic_sds_port_set_base_state_handlers
	ldr	r3, .L7+4
	ldr	r2, [r4]
	ldr	r3, [r3]
	mov	r0, r4
	cmp	r2, r3
	beq	.L6
	bl	scic_sds_port_get_controller
	ldr	r3, .L7+8
	mov	r1, r4
	ldr	r2, [r3]
	bl	scic_cb_port_not_ready
.L3:
	mov	r0, r4
	bl	scic_sds_port_post_dummy_remote_node
	mov	r0, r4
	bl	scic_sds_port_get_ready_substate_machine
	pop	{r4, lr}
	b	sci_base_state_machine_start
.L6:
	bl	scic_sds_port_get_controller
	ldr	r3, .L7+12
	mov	r1, r4
	ldr	r2, [r3]
	bl	scic_cb_port_hard_reset_complete
	b	.L3
.L8:
	.align	2
.L7:
	.word	SCI_BASE_PORT_STATE_READY
	.word	SCI_BASE_PORT_STATE_RESETTING
	.word	SCIC_PORT_NOT_READY_NO_ACTIVE_PHYS
	.word	SCI_SUCCESS
	.size	scic_sds_port_ready_state_enter, .-scic_sds_port_ready_state_enter
	.comm	SCI_SUCCESS,4,4
	.comm	SCI_BASE_PORT_STATE_RESETTING,4,4
	.comm	SCI_BASE_PORT_STATE_READY,4,4
	.comm	SCIC_PORT_NOT_READY_NO_ACTIVE_PHYS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
