	.file	"extr_ap_bus.c_ap_send.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ap_send
	.type	ap_send, @function
ap_send:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	xor	r8d, r8d
	call	__ap_send@PLT
	cmp	eax, 130
	je	.L2
	jg	.L3
	cmp	eax, 128
	je	.L2
	cmp	eax, 129
	jne	.L5
	mov	r8d, DWORD PTR EINVAL[rip]
	neg	r8d
.L1:
	mov	eax, r8d
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	xor	r8d, r8d
	cmp	eax, 131
	je	.L1
.L5:
	mov	r8d, DWORD PTR ENODEV[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	r8d
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r8d, DWORD PTR EBUSY[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	neg	r8d
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	ap_send, .-ap_send
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	EBUSY,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_ap_bus.c_ap_send.c"
	.text
	.align	2
	.global	ap_send
	.syntax unified
	.arm
	.fpu softvfp
	.type	ap_send, %function
ap_send:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	str	lr, [sp, #-4]!
	mov	lr, #0
	sub	sp, sp, #20
	ldr	ip, [sp, #24]
	ldr	r1, [sp, #28]
	str	lr, [sp, #8]
	str	ip, [sp]
	str	r1, [sp, #4]
	bl	__ap_send
	sub	r0, r0, #128
	cmp	r0, #3
	ldrls	pc, [pc, r0, asl #2]
	b	.L2
.L4:
	.word	.L5
	.word	.L6
	.word	.L5
	.word	.L7
.L5:
	ldr	r3, .L10
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	add	sp, sp, #20
	@ sp needed
	ldr	pc, [sp], #4
.L7:
	mov	r0, #0
	add	sp, sp, #20
	@ sp needed
	ldr	pc, [sp], #4
.L6:
	ldr	r3, .L10+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #20
	@ sp needed
	ldr	pc, [sp], #4
.L2:
	ldr	r3, .L10+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L11:
	.align	2
.L10:
	.word	EBUSY
	.word	EINVAL
	.word	ENODEV
	.size	ap_send, .-ap_send
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
