	.file	"extr_iicsmb.c_iicsmb_pcall.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	iicsmb_pcall, @function
iicsmb_pcall:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, r8
	sub	rsp, 72
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	lea	r13, 53[rsp]
	mov	eax, DWORD PTR IIC_M_WR[rip]
	mov	DWORD PTR [rsp], esi
	or	eax, DWORD PTR IIC_M_NOSTOP[rip]
	mov	rdi, r13
	mov	BYTE PTR 53[rsp], dl
	cdqe
	mov	WORD PTR 54[rsp], cx
	mov	QWORD PTR 8[rsp], rax
	call	nitems@PLT
	mov	DWORD PTR 24[rsp], ebp
	lea	rbp, 51[rsp]
	mov	DWORD PTR 16[rsp], eax
	movsx	rax, DWORD PTR IIC_M_RD[rip]
	mov	rdi, rbp
	mov	DWORD PTR 20[rsp], r13d
	mov	QWORD PTR 32[rsp], rax
	call	nitems@PLT
	mov	edi, r12d
	mov	rsi, rsp
	mov	DWORD PTR 44[rsp], ebp
	mov	DWORD PTR 40[rsp], eax
	call	TRANSFER_MSGS@PLT
	mov	edi, eax
	test	eax, eax
	jne	.L2
	movsx	eax, BYTE PTR 52[rsp]
	sal	eax, 8
	mov	edx, eax
	movsx	ax, BYTE PTR 51[rsp]
	or	eax, edx
	mov	WORD PTR [rbx], ax
.L2:
	call	iic2smb_error@PLT
	mov	rbx, QWORD PTR 56[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L6
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	iicsmb_pcall, .-iicsmb_pcall
	.comm	IIC_M_WR,4,4
	.comm	IIC_M_RD,4,4
	.comm	IIC_M_NOSTOP,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_iicsmb.c_iicsmb_pcall.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iicsmb_pcall, %function
iicsmb_pcall:
	@ args = 4, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r1
	mov	r5, r0
	ldr	r1, .L7
	ldr	r0, .L7+4
	sub	sp, sp, #52
	ldr	r0, [r0]
	strb	r3, [sp, #41]
	ldr	r1, [r1]
	asr	r3, r3, #8
	strb	r3, [sp, #42]
	add	r6, sp, #40
	ldr	r3, .L7+8
	orr	r1, r1, r0
	str	r4, [sp, #4]
	strb	r2, [sp, #40]
	mov	r0, r6
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	ldr	r7, [sp, #72]
	str	r1, [sp, #8]
	bl	nitems
	mov	r2, r0
	ldr	r3, .L7+12
	str	r4, [sp, #20]
	ldr	r3, [r3]
	add	r4, sp, #36
	mov	r0, r4
	str	r2, [sp, #12]
	str	r3, [sp, #24]
	str	r6, [sp, #16]
	bl	nitems
	mov	r3, r0
	add	r1, sp, #4
	mov	r0, r5
	str	r3, [sp, #28]
	str	r4, [sp, #32]
	bl	TRANSFER_MSGS
	cmp	r0, #0
	ldrbeq	r3, [sp, #36]	@ zero_extendqisi2
	ldrbeq	r2, [sp, #37]	@ zero_extendqisi2
	orreq	r3, r3, r2, lsl #8
	strheq	r3, [r7]	@ movhi
	bl	iic2smb_error
	ldr	r3, .L7+8
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	IIC_M_WR
	.word	IIC_M_NOSTOP
	.word	.LC0
	.word	IIC_M_RD
	.size	iicsmb_pcall, .-iicsmb_pcall
	.comm	IIC_M_WR,4,4
	.comm	IIC_M_RD,4,4
	.comm	IIC_M_NOSTOP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
