	.file	"extr_scic_sds_phy.c_scic_sds_phy_starting_substate_await_iaf_uf_event_handler.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	scic_sds_phy_starting_substate_await_iaf_uf_event_handler, @function
scic_sds_phy_starting_substate_await_iaf_uf_event_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, DWORD PTR SCI_SUCCESS[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	mov	edi, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	call	scu_get_event_code@PLT
	cmp	eax, 129
	je	.L2
	jg	.L3
	cmp	eax, 128
	jne	.L5
	mov	rdi, r12
	call	scic_sds_phy_start_sata_link_training@PLT
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	sub	eax, 130
	cmp	eax, 2
	ja	.L5
	mov	rdi, r12
	call	scic_sds_phy_restart_starting_state@PLT
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, r12
	call	scic_sds_phy_start_sas_link_training@PLT
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, r12
	call	sci_base_object_get_logger@PLT
	mov	edi, ebp
	call	SCIC_LOG_WARNING@PLT
	mov	r13d, DWORD PTR SCI_FAILURE[rip]
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	mov	eax, r13d
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	scic_sds_phy_starting_substate_await_iaf_uf_event_handler, .-scic_sds_phy_starting_substate_await_iaf_uf_event_handler
	.comm	SCI_SUCCESS,4,4
	.comm	SCI_FAILURE,4,4
	.comm	SCIC_LOG_OBJECT_RECEIVED_EVENTS,4,4
	.comm	SCIC_LOG_OBJECT_PHY,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_phy.c_scic_sds_phy_starting_substate_await_iaf_uf_event_handler.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	scic_sds_phy_starting_substate_await_iaf_uf_event_handler, %function
scic_sds_phy_starting_substate_await_iaf_uf_event_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r0, r1
	mov	r4, r1
	ldr	r6, [r3]
	bl	scu_get_event_code
	cmp	r0, #129
	beq	.L2
	bgt	.L3
	cmp	r0, #128
	bne	.L5
	mov	r0, r5
	bl	scic_sds_phy_start_sata_link_training
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L3:
	sub	r3, r0, #130
	cmp	r3, #2
	bhi	.L5
	mov	r0, r5
	bl	scic_sds_phy_restart_starting_state
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L2:
	mov	r0, r5
	bl	scic_sds_phy_start_sas_link_training
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L5:
	mov	r0, r5
	bl	sci_base_object_get_logger
	mov	r0, r4
	bl	SCIC_LOG_WARNING
	ldr	r3, .L11+4
	ldr	r6, [r3]
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	SCI_SUCCESS
	.word	SCI_FAILURE
	.size	scic_sds_phy_starting_substate_await_iaf_uf_event_handler, .-scic_sds_phy_starting_substate_await_iaf_uf_event_handler
	.comm	SCI_SUCCESS,4,4
	.comm	SCI_FAILURE,4,4
	.comm	SCIC_LOG_OBJECT_RECEIVED_EVENTS,4,4
	.comm	SCIC_LOG_OBJECT_PHY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
