	.file	"extr_p9_sbe.c_p9_sbe_occ_send_cmd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	p9_sbe_occ_send_cmd, @function
p9_sbe_occ_send_cmd:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	to_p9_sbe_occ@PLT
	mov	r8, rsp
	mov	rcx, rbx
	mov	edx, 8
	mov	edi, DWORD PTR [rax]
	mov	rsi, rbp
	mov	QWORD PTR [rsp], 4
	call	fsi_occ_submit@PLT
	test	eax, eax
	js	.L1
	mov	eax, DWORD PTR [rbx]
	add	eax, -128
	cmp	eax, 12
	ja	.L3
	lea	rdx, .L5[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L9-.L5
	.long	.L4-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.long	.L4-.L5
	.long	.L4-.L5
	.long	.L4-.L5
	.long	.L4-.L5
	.long	.L6-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
	.p2align 4,,10
	.p2align 3
.L9:
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, DWORD PTR EREMOTEIO[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR ETIMEDOUT[rip]
	neg	eax
	jmp	.L1
.L3:
	mov	eax, DWORD PTR EPROTO[rip]
	neg	eax
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	p9_sbe_occ_send_cmd, .-p9_sbe_occ_send_cmd
	.comm	ETIMEDOUT,4,4
	.comm	EREMOTEIO,4,4
	.comm	EPROTO,4,4
	.comm	EINVAL,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_p9_sbe.c_p9_sbe_occ_send_cmd.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	p9_sbe_occ_send_cmd, %function
p9_sbe_occ_send_cmd:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L13
	sub	sp, sp, #20
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r4, r0
	bl	to_p9_sbe_occ
	mov	ip, #4
	add	r2, sp, #8
	ldr	r0, [r0]
	mov	r1, r5
	str	r2, [sp]
	mov	r3, r4
	mov	r2, #8
	str	ip, [sp, #8]
	bl	fsi_occ_submit
	cmp	r0, #0
	blt	.L1
	ldr	r3, [r4]
	sub	r3, r3, #128
	cmp	r3, #12
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L9
	.word	.L4
	.word	.L6
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L6
	.word	.L7
	.word	.L6
	.word	.L6
	.word	.L4
.L9:
	mov	r0, #0
.L1:
	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, pc}
.L4:
	ldr	r3, .L13+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L6:
	ldr	r3, .L13+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L7:
	ldr	r3, .L13+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L12:
	bl	__stack_chk_fail
.L3:
	ldr	r3, .L13+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	EREMOTEIO
	.word	EINVAL
	.word	ETIMEDOUT
	.word	EPROTO
	.size	p9_sbe_occ_send_cmd, .-p9_sbe_occ_send_cmd
	.comm	ETIMEDOUT,4,4
	.comm	EREMOTEIO,4,4
	.comm	EPROTO,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
