	.file	"extr_ib_ucm.c_ib_ucm_event_process.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ib_ucm_event_process, @function
ib_ucm_event_process:
.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
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR [rdi]
	add	eax, -128
	cmp	eax, 10
	ja	.L2
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L14-.L4
	.long	.L13-.L4
	.long	.L12-.L4
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rsi, QWORD PTR IB_CM_DREP_PRIVATE_DATA_SIZE[rip]
	mov	eax, DWORD PTR 16[rdi]
	xor	r13d, r13d
	mov	QWORD PTR 72[rbx], rsi
	mov	DWORD PTR 12[rbx], eax
	.p2align 4,,10
	.p2align 3
.L16:
	test	rsi, rsi
	jne	.L32
.L17:
	mov	rsi, QWORD PTR 64[rbx]
	xor	r12d, r12d
	test	rsi, rsi
	jne	.L33
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	eax, DWORD PTR 64[rdi]
	mov	r13, QWORD PTR 48[rdi]
	mov	DWORD PTR 28[rsi], eax
	mov	rsi, QWORD PTR IB_CM_APR_PRIVATE_DATA_SIZE[rip]
	mov	rax, QWORD PTR 56[rdi]
	mov	QWORD PTR 72[rbx], rsi
	mov	QWORD PTR 64[rbx], rax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L14:
	mov	eax, DWORD PTR 44[rdi]
	xor	r13d, r13d
	mov	DWORD PTR 24[rsi], eax
	mov	eax, DWORD PTR 40[rdi]
	mov	DWORD PTR 20[rsi], eax
	mov	rsi, QWORD PTR IB_CM_SIDR_REQ_PRIVATE_DATA_SIZE[rip]
	mov	QWORD PTR 72[rbx], rsi
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L13:
	lea	rsi, 24[rdi]
	lea	rdi, 16[rbx]
	call	ib_ucm_event_sidr_rep_get@PLT
	mov	rsi, QWORD PTR IB_CM_SIDR_REP_PRIVATE_DATA_SIZE[rip]
	mov	rax, QWORD PTR 32[rbp]
	mov	r13, QWORD PTR 24[rbp]
	mov	QWORD PTR 72[rbx], rsi
	mov	QWORD PTR 64[rbx], rax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rsi, QWORD PTR IB_CM_RTU_PRIVATE_DATA_SIZE[rip]
	mov	eax, DWORD PTR 16[rdi]
	xor	r13d, r13d
	mov	QWORD PTR 72[rbx], rsi
	mov	DWORD PTR 12[rbx], eax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rsi, 112[rdi]
	lea	rdi, 48[rbx]
	call	ib_ucm_event_req_get@PLT
	mov	rsi, QWORD PTR IB_CM_REQ_PRIVATE_DATA_SIZE[rip]
	mov	edx, DWORD PTR 112[rbp]
	mov	eax, DWORD PTR IB_UCM_PRES_PRIMARY[rip]
	mov	QWORD PTR 72[rbx], rsi
	test	edx, edx
	je	.L30
	or	eax, DWORD PTR IB_UCM_PRES_ALTERNATE[rip]
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rsi, 108[rdi]
	lea	rdi, 44[rbx]
	xor	r13d, r13d
	call	ib_ucm_event_rep_get@PLT
	mov	rsi, QWORD PTR IB_CM_REP_PRIVATE_DATA_SIZE[rip]
	mov	QWORD PTR 72[rbx], rsi
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR 96[rdi]
	mov	r13, QWORD PTR 80[rdi]
	mov	DWORD PTR 36[rsi], eax
	mov	rsi, QWORD PTR IB_CM_REJ_PRIVATE_DATA_SIZE[rip]
	mov	rax, QWORD PTR 88[rdi]
	mov	QWORD PTR 72[rbx], rsi
	mov	QWORD PTR 64[rbx], rax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, DWORD PTR 104[rdi]
	xor	r13d, r13d
	mov	DWORD PTR 40[rsi], eax
	mov	rsi, QWORD PTR IB_CM_MRA_PRIVATE_DATA_SIZE[rip]
	mov	QWORD PTR 72[rbx], rsi
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, DWORD PTR 72[rdi]
	lea	rdi, 32[rbx]
	call	ib_copy_path_rec_to_user@PLT
	mov	rsi, QWORD PTR IB_CM_LAP_PRIVATE_DATA_SIZE[rip]
	mov	eax, DWORD PTR IB_UCM_PRES_ALTERNATE[rip]
	mov	QWORD PTR 72[rbx], rsi
.L30:
	mov	DWORD PTR 8[rbx], eax
	xor	r13d, r13d
	test	rsi, rsi
	je	.L17
	.p2align 4,,10
	.p2align 3
.L32:
	mov	rdi, QWORD PTR 8[rbp]
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	call	kmemdup@PLT
	mov	QWORD PTR [rbx], rax
	test	rax, rax
	je	.L18
	mov	rsi, QWORD PTR 64[rbx]
	mov	eax, DWORD PTR IB_UCM_PRES_DATA[rip]
	xor	r12d, r12d
	or	DWORD PTR 8[rbx], eax
	test	rsi, rsi
	je	.L1
.L33:
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	rdi, r13
	call	kmemdup@PLT
	mov	QWORD PTR 56[rbx], rax
	test	rax, rax
	je	.L34
	mov	eax, DWORD PTR IB_UCM_PRES_INFO[rip]
	or	DWORD PTR 8[rbx], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rsi, QWORD PTR IB_CM_DREQ_PRIVATE_DATA_SIZE[rip]
	mov	eax, DWORD PTR 16[rdi]
	xor	r13d, r13d
	mov	QWORD PTR 72[rbx], rsi
	mov	DWORD PTR 12[rbx], eax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L34:
	mov	rdi, QWORD PTR [rbx]
	call	kfree@PLT
.L18:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
.L2:
	mov	eax, DWORD PTR 16[rdi]
	xor	r13d, r13d
	mov	DWORD PTR 12[rsi], eax
	mov	rsi, QWORD PTR 72[rsi]
	jmp	.L16
	.cfi_endproc
.LFE0:
	.size	ib_ucm_event_process, .-ib_ucm_event_process
	.comm	IB_UCM_PRES_PRIMARY,4,4
	.comm	IB_UCM_PRES_INFO,4,4
	.comm	IB_UCM_PRES_DATA,4,4
	.comm	IB_UCM_PRES_ALTERNATE,4,4
	.comm	IB_CM_SIDR_REQ_PRIVATE_DATA_SIZE,8,8
	.comm	IB_CM_SIDR_REP_PRIVATE_DATA_SIZE,8,8
	.comm	IB_CM_RTU_PRIVATE_DATA_SIZE,8,8
	.comm	IB_CM_REQ_PRIVATE_DATA_SIZE,8,8
	.comm	IB_CM_REP_PRIVATE_DATA_SIZE,8,8
	.comm	IB_CM_REJ_PRIVATE_DATA_SIZE,8,8
	.comm	IB_CM_MRA_PRIVATE_DATA_SIZE,8,8
	.comm	IB_CM_LAP_PRIVATE_DATA_SIZE,8,8
	.comm	IB_CM_DREQ_PRIVATE_DATA_SIZE,8,8
	.comm	IB_CM_DREP_PRIVATE_DATA_SIZE,8,8
	.comm	IB_CM_APR_PRIVATE_DATA_SIZE,8,8
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_ucm.c_ib_ucm_event_process.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ib_ucm_event_process, %function
ib_ucm_event_process:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, lr}
	sub	r3, r3, #128
	mov	r5, r0
	mov	r4, r1
	cmp	r3, #10
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	ldr	r3, .L39
	ldr	r2, [r0, #36]
	ldr	r1, [r3]
	ldr	r3, [r0, #32]
	ldr	r6, [r0, #28]
	str	r1, [r4, #56]
	str	r2, [r4, #24]
	str	r3, [r4, #52]
.L16:
	cmp	r1, #0
	bne	.L37
.L17:
	ldr	r0, [r4, #52]
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L39+4
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, r6
	bl	kmemdup
	cmp	r0, #0
	str	r0, [r4, #48]
	beq	.L38
	ldr	r2, .L39+8
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	mov	r0, #0
	orr	r3, r3, r2
	str	r3, [r4, #4]
	pop	{r4, r5, r6, pc}
.L14:
	ldr	r3, .L39+12
	ldr	r2, [r0, #24]
	ldr	r1, [r3]
	ldr	r3, [r0, #20]
	mov	r6, #0
	str	r2, [r4, #20]
	str	r1, [r4, #56]
	str	r3, [r4, #16]
	b	.L16
.L13:
	add	r1, r0, #12
	add	r0, r4, #12
	bl	ib_ucm_event_sidr_rep_get
	ldr	r2, .L39+16
	ldr	r3, [r5, #16]
	ldr	r1, [r2]
	ldr	r6, [r5, #12]
	str	r3, [r4, #52]
	str	r1, [r4, #56]
	b	.L16
.L12:
	ldr	r2, .L39+20
.L35:
	ldr	r1, [r2]
	ldr	r3, [r5, #8]
	cmp	r1, #0
	mov	r6, #0
	str	r3, [r4, #8]
	str	r1, [r4, #56]
	beq	.L17
.L37:
	ldr	r3, .L39+4
	ldr	r0, [r5, #4]
	ldr	r2, [r3]
	bl	kmemdup
	cmp	r0, #0
	str	r0, [r4]
	beq	.L18
	ldr	r2, .L39+24
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [r4, #4]
	b	.L17
.L11:
	add	r1, r0, #64
	add	r0, r4, #44
	bl	ib_ucm_event_req_get
	ldr	r3, .L39+28
	ldr	r2, [r5, #64]
	ldr	r1, [r3]
	ldr	r3, .L39+32
	cmp	r2, #0
	ldr	r3, [r3]
	str	r1, [r4, #56]
	ldrne	r2, .L39+36
	ldrne	r2, [r2]
	orrne	r3, r3, r2
	b	.L34
.L10:
	add	r1, r0, #60
	add	r0, r4, #40
	bl	ib_ucm_event_rep_get
	ldr	r3, .L39+40
	mov	r6, #0
	ldr	r1, [r3]
	str	r1, [r4, #56]
	b	.L16
.L8:
	ldr	r2, .L39+44
	ldr	r3, [r0, #56]
	ldr	r1, [r2]
	mov	r6, #0
	str	r3, [r4, #36]
	str	r1, [r4, #56]
	b	.L16
.L7:
	ldr	r1, [r0, #40]
	add	r0, r4, #28
	bl	ib_copy_path_rec_to_user
	ldr	r2, .L39+48
	ldr	r3, .L39+36
	ldr	r1, [r2]
	ldr	r3, [r3]
	str	r1, [r4, #56]
.L34:
	mov	r6, #0
	str	r3, [r4, #4]
	b	.L16
.L9:
	ldr	r3, .L39+52
	ldr	r2, [r0, #52]
	ldr	r1, [r3]
	ldr	r3, [r0, #48]
	ldr	r6, [r0, #44]
	str	r1, [r4, #56]
	str	r2, [r4, #32]
	str	r3, [r4, #52]
	b	.L16
.L6:
	ldr	r2, .L39+56
	b	.L35
.L5:
	ldr	r2, .L39+60
	b	.L35
.L38:
	ldr	r0, [r4]
	bl	kfree
.L18:
	ldr	r3, .L39+64
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, [r0, #8]
	ldr	r1, [r1, #56]
	mov	r6, #0
	str	r3, [r4, #8]
	b	.L16
.L40:
	.align	2
.L39:
	.word	IB_CM_APR_PRIVATE_DATA_SIZE
	.word	GFP_KERNEL
	.word	IB_UCM_PRES_INFO
	.word	IB_CM_SIDR_REQ_PRIVATE_DATA_SIZE
	.word	IB_CM_SIDR_REP_PRIVATE_DATA_SIZE
	.word	IB_CM_RTU_PRIVATE_DATA_SIZE
	.word	IB_UCM_PRES_DATA
	.word	IB_CM_REQ_PRIVATE_DATA_SIZE
	.word	IB_UCM_PRES_PRIMARY
	.word	IB_UCM_PRES_ALTERNATE
	.word	IB_CM_REP_PRIVATE_DATA_SIZE
	.word	IB_CM_MRA_PRIVATE_DATA_SIZE
	.word	IB_CM_LAP_PRIVATE_DATA_SIZE
	.word	IB_CM_REJ_PRIVATE_DATA_SIZE
	.word	IB_CM_DREQ_PRIVATE_DATA_SIZE
	.word	IB_CM_DREP_PRIVATE_DATA_SIZE
	.word	ENOMEM
	.size	ib_ucm_event_process, .-ib_ucm_event_process
	.comm	IB_UCM_PRES_PRIMARY,4,4
	.comm	IB_UCM_PRES_INFO,4,4
	.comm	IB_UCM_PRES_DATA,4,4
	.comm	IB_UCM_PRES_ALTERNATE,4,4
	.comm	IB_CM_SIDR_REQ_PRIVATE_DATA_SIZE,4,4
	.comm	IB_CM_SIDR_REP_PRIVATE_DATA_SIZE,4,4
	.comm	IB_CM_RTU_PRIVATE_DATA_SIZE,4,4
	.comm	IB_CM_REQ_PRIVATE_DATA_SIZE,4,4
	.comm	IB_CM_REP_PRIVATE_DATA_SIZE,4,4
	.comm	IB_CM_REJ_PRIVATE_DATA_SIZE,4,4
	.comm	IB_CM_MRA_PRIVATE_DATA_SIZE,4,4
	.comm	IB_CM_LAP_PRIVATE_DATA_SIZE,4,4
	.comm	IB_CM_DREQ_PRIVATE_DATA_SIZE,4,4
	.comm	IB_CM_DREP_PRIVATE_DATA_SIZE,4,4
	.comm	IB_CM_APR_PRIVATE_DATA_SIZE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
