	.file	"extr_messenger.c_ceph_msg_data_advance.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ceph_msg_data_advance, @function
ceph_msg_data_advance:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	cmp	QWORD PTR [rdi], rsi
	mov	rbx, rdi
	setb	dil
	movzx	edi, dil
	call	BUG_ON@PLT
	mov	rax, QWORD PTR 16[rbx]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 129
	je	.L2
	cmp	eax, 131
	je	.L3
	cmp	eax, 128
	je	.L17
	xor	eax, eax
	call	BUG@PLT
.L6:
	mov	rdx, QWORD PTR 32[rbx]
	sub	rdx, rbp
	cmp	QWORD PTR [rbx], 0
	mov	QWORD PTR 32[rbx], rdx
	jne	.L7
	test	rdx, rdx
	jne	.L18
.L7:
	mov	DWORD PTR 8[rbx], r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, rbx
	call	ceph_msg_data_pages_advance@PLT
	mov	r12d, eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rsi, rbp
	mov	rdi, rbx
	call	ceph_msg_data_bvecs_advance@PLT
	mov	r12d, eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rsi, rbp
	mov	rdi, rbx
	call	ceph_msg_data_pagelist_advance@PLT
	mov	r12d, eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	mov	eax, DWORD PTR 24[rbx]
	xor	edi, edi
	mov	r12d, 1
	test	eax, eax
	sete	dil
	call	WARN_ON@PLT
	add	QWORD PTR 16[rbx], 4
	mov	rdi, rbx
	call	__ceph_msg_data_cursor_init@PLT
	mov	DWORD PTR 8[rbx], r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ceph_msg_data_advance, .-ceph_msg_data_advance
	.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_messenger.c_ceph_msg_data_advance.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ceph_msg_data_advance, %function
ceph_msg_data_advance:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r0]
	mov	r5, r1
	cmp	r0, r1
	movcs	r0, #0
	movcc	r0, #1
	bl	BUG_ON
	ldr	r3, [r4, #8]
	ldr	r3, [r3]
	cmp	r3, #129
	beq	.L2
	cmp	r3, #131
	beq	.L3
	cmp	r3, #128
	beq	.L14
	bl	BUG
.L6:
	ldr	r1, [r4, #16]
	ldr	r2, [r4]
	sub	r5, r1, r5
	subs	r3, r5, #0
	movne	r3, #1
	cmp	r2, #0
	movne	r3, #0
	cmp	r3, #0
	str	r5, [r4, #16]
	bne	.L15
	str	r6, [r4, #4]
	pop	{r4, r5, r6, pc}
.L2:
	mov	r1, r5
	mov	r0, r4
	bl	ceph_msg_data_pagelist_advance
	mov	r6, r0
	b	.L6
.L14:
	mov	r1, r5
	mov	r0, r4
	bl	ceph_msg_data_pages_advance
	mov	r6, r0
	b	.L6
.L3:
	mov	r1, r5
	mov	r0, r4
	bl	ceph_msg_data_bvecs_advance
	mov	r6, r0
	b	.L6
.L15:
	ldr	r0, [r4, #12]
	mov	r6, #1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON
	ldr	r3, [r4, #8]
	mov	r0, r4
	add	r3, r3, #4
	str	r3, [r4, #8]
	bl	__ceph_msg_data_cursor_init
	str	r6, [r4, #4]
	pop	{r4, r5, r6, pc}
	.size	ceph_msg_data_advance, .-ceph_msg_data_advance
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
