	.file	"extr_sas_host_smp.c_sas_host_smp_write_gpio.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sas_host_smp_write_gpio, @function
sas_host_smp_write_gpio:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r9
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, r8d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR [rdi]
	mov	edi, DWORD PTR [rax]
	call	to_sas_internal@PLT
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L7
	mov	r8, r15
	mov	ecx, r14d
	mov	edx, r13d
	mov	esi, r12d
	mov	rdi, rbp
	call	rax
	test	eax, eax
	js	.L8
	mov	edx, DWORD PTR SMP_RESP_FUNC_ACC[rip]
	mov	DWORD PTR 8[rbx], edx
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR SMP_RESP_FUNC_FAILED[rip]
	mov	DWORD PTR 8[rbx], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	eax, DWORD PTR SMP_RESP_FUNC_UNK[rip]
	mov	DWORD PTR 8[rbx], eax
	add	rsp, 8
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sas_host_smp_write_gpio, .-sas_host_smp_write_gpio
	.comm	SMP_RESP_FUNC_UNK,4,4
	.comm	SMP_RESP_FUNC_FAILED,4,4
	.comm	SMP_RESP_FUNC_ACC,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_sas_host_smp.c_sas_host_smp_write_gpio.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sas_host_smp_write_gpio, %function
sas_host_smp_write_gpio:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r0, [r0]
	sub	sp, sp, #8
	ldr	r0, [r0]
	mov	r8, r3
	mov	r6, r1
	mov	r7, r2
	bl	to_sas_internal
	ldr	r3, [r0]
	ldr	r4, [r3]
	cmp	r4, #0
	beq	.L7
	ldr	r3, [sp, #36]
	mov	r2, r8
	str	r3, [sp]
	mov	r1, r7
	ldr	r3, [sp, #32]
	mov	r0, r5
	blx	r4
	cmp	r0, #0
	movlt	r0, #0
	ldrlt	r3, .L8
	ldrge	r3, .L8+4
	ldr	r3, [r3]
	str	r3, [r6, #8]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, r4
	ldr	r3, .L8+8
	ldr	r3, [r3]
	str	r3, [r6, #8]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	SMP_RESP_FUNC_FAILED
	.word	SMP_RESP_FUNC_ACC
	.word	SMP_RESP_FUNC_UNK
	.size	sas_host_smp_write_gpio, .-sas_host_smp_write_gpio
	.comm	SMP_RESP_FUNC_UNK,4,4
	.comm	SMP_RESP_FUNC_FAILED,4,4
	.comm	SMP_RESP_FUNC_ACC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
