	.file	"extr_ib_device.c_ib_modify_port.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ib_modify_port
	.type	ib_modify_port, @function
ib_modify_port:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR [rdi], 0
	je	.L10
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	rdma_start_port@PLT
	cmp	rax, r12
	jle	.L4
.L5:
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rdi, rbp
	call	rdma_end_port@PLT
	cmp	rax, r12
	jl	.L5
	mov	rax, QWORD PTR 0[rbp]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rcx, r13
	mov	edx, r14d
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 8
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR ENOSYS[rip]
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	ib_modify_port, .-ib_modify_port
	.comm	ENOSYS,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_ib_device.c_ib_modify_port.c"
	.text
	.align	2
	.global	ib_modify_port
	.syntax unified
	.arm
	.fpu softvfp
	.type	ib_modify_port, %function
ib_modify_port:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, [r0]
	cmp	ip, #0
	beq	.L10
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r4, r0
	mov	r6, r2
	mov	r7, r3
	bl	rdma_start_port
	cmp	r0, r5
	ble	.L4
.L5:
	ldr	r3, .L11
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	mov	r0, r4
	bl	rdma_end_port
	cmp	r0, r5
	blt	.L5
	ldr	lr, [r4]
	mov	r3, r7
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	mov	ip, lr
	pop	{r4, r5, r6, r7, r8, lr}
	bx	ip
.L10:
	ldr	r3, .L11+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L12:
	.align	2
.L11:
	.word	EINVAL
	.word	ENOSYS
	.size	ib_modify_port, .-ib_modify_port
	.comm	ENOSYS,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
