	.file	"extr_csio_mb.c_csio_mb_hello.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	csio_mb_hello
	.type	csio_mb_hello, @function
csio_mb_hello:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r10, rdi
	mov	r14d, ecx
	mov	rdi, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, r8d
	mov	rcx, r10
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, r9d
	mov	r9d, 1
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbp, QWORD PTR [rsi]
	mov	r8, QWORD PTR 48[rsp]
	mov	rsi, rbp
	call	CSIO_INIT_MBP@PLT
	mov	edi, DWORD PTR FW_HELLO_CMD[rip]
	call	FW_CMD_OP_V@PLT
	mov	edi, DWORD PTR FW_CMD_REQUEST_F[rip]
	or	edi, DWORD PTR FW_CMD_WRITE_F[rip]
	or	edi, eax
	call	htonl@PLT
	mov	edi, 1
	mov	QWORD PTR 16[rbp], rax
	call	FW_CMD_LEN16_V@PLT
	mov	edi, eax
	call	htonl@PLT
	xor	edi, edi
	cmp	DWORD PTR CSIO_MASTER_CANT[rip], r12d
	mov	QWORD PTR 8[rbp], rax
	sete	dil
	call	FW_HELLO_CMD_MASTERDIS_V@PLT
	xor	edi, edi
	cmp	DWORD PTR CSIO_MASTER_MUST[rip], r12d
	sete	dil
	mov	ebx, eax
	call	FW_HELLO_CMD_MASTERFORCE_V@PLT
	or	ebx, eax
	cmp	DWORD PTR CSIO_MASTER_MUST[rip], r12d
	je	.L2
	mov	r14d, DWORD PTR FW_HELLO_CMD_MBMASTER_M[rip]
.L2:
	mov	edi, r14d
	call	FW_HELLO_CMD_MBMASTER_V@PLT
	mov	edi, r13d
	mov	r14d, eax
	call	FW_HELLO_CMD_MBASYNCNOT_V@PLT
	mov	edi, DWORD PTR fw_hello_cmd_stage_os[rip]
	mov	r12d, eax
	call	FW_HELLO_CMD_STAGE_V@PLT
	or	ebx, DWORD PTR FW_HELLO_CMD_CLEARINIT_F[rip]
	mov	edi, ebx
	or	edi, r14d
	or	edi, r12d
	or	edi, eax
	call	htonl@PLT
	mov	QWORD PTR 0[rbp], rax
	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
	.cfi_endproc
.LFE0:
	.size	csio_mb_hello, .-csio_mb_hello
	.comm	fw_hello_cmd_stage_os,4,4
	.comm	FW_HELLO_CMD_MBMASTER_M,4,4
	.comm	FW_HELLO_CMD_CLEARINIT_F,4,4
	.comm	FW_HELLO_CMD,4,4
	.comm	FW_CMD_WRITE_F,4,4
	.comm	FW_CMD_REQUEST_F,4,4
	.comm	CSIO_MASTER_MUST,4,4
	.comm	CSIO_MASTER_CANT,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_csio_mb.c_csio_mb_hello.c"
	.text
	.align	2
	.global	csio_mb_hello
	.syntax unified
	.arm
	.fpu softvfp
	.type	csio_mb_hello, %function
csio_mb_hello:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	lr, #1
	sub	sp, sp, #8
	ldr	ip, [sp, #40]
	ldr	r5, [r1]
	mov	r6, r3
	stm	sp, {ip, lr}
	mov	r3, r0
	mov	r0, r1
	mov	r1, r5
	ldr	r7, [sp, #36]
	bl	CSIO_INIT_MBP
	ldr	r3, .L5
	ldr	r8, .L5+4
	ldr	r0, [r3]
	bl	FW_CMD_OP_V
	ldr	r3, .L5+8
	ldr	r2, .L5+12
	ldr	r3, [r3]
	ldr	r2, [r2]
	orr	r3, r3, r2
	orr	r0, r3, r0
	bl	htonl
	mov	r3, r0
	mov	r0, #0
	str	r3, [r5, #8]
	bl	FW_CMD_LEN16_V
	bl	htonl
	ldr	r3, .L5+16
	str	r0, [r5, #4]
	ldr	r0, [r3]
	sub	r0, r0, r7
	clz	r0, r0
	lsr	r0, r0, #5
	bl	FW_HELLO_CMD_MASTERDIS_V
	ldr	r3, [r8]
	mov	r4, r0
	sub	r0, r3, r7
	clz	r0, r0
	lsr	r0, r0, #5
	bl	FW_HELLO_CMD_MASTERFORCE_V
	ldr	r3, [r8]
	orr	r4, r4, r0
	cmp	r3, r7
	ldrne	r3, .L5+20
	ldrne	r6, [r3]
	mov	r0, r6
	bl	FW_HELLO_CMD_MBMASTER_V
	mov	r7, r0
	ldr	r0, [sp, #32]
	bl	FW_HELLO_CMD_MBASYNCNOT_V
	ldr	r3, .L5+24
	mov	r6, r0
	ldr	r0, [r3]
	bl	FW_HELLO_CMD_STAGE_V
	ldr	r3, .L5+28
	ldr	r3, [r3]
	orr	r4, r4, r3
	orr	r4, r4, r7
	orr	r4, r4, r6
	orr	r0, r4, r0
	bl	htonl
	str	r0, [r5]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	.align	2
.L5:
	.word	FW_HELLO_CMD
	.word	CSIO_MASTER_MUST
	.word	FW_CMD_REQUEST_F
	.word	FW_CMD_WRITE_F
	.word	CSIO_MASTER_CANT
	.word	FW_HELLO_CMD_MBMASTER_M
	.word	fw_hello_cmd_stage_os
	.word	FW_HELLO_CMD_CLEARINIT_F
	.size	csio_mb_hello, .-csio_mb_hello
	.comm	fw_hello_cmd_stage_os,4,4
	.comm	FW_HELLO_CMD_MBMASTER_M,4,4
	.comm	FW_HELLO_CMD_CLEARINIT_F,4,4
	.comm	FW_HELLO_CMD,4,4
	.comm	FW_CMD_WRITE_F,4,4
	.comm	FW_CMD_REQUEST_F,4,4
	.comm	CSIO_MASTER_MUST,4,4
	.comm	CSIO_MASTER_CANT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
