	.file	"extr_lpcode.c_codecapture.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	codecapture, @function
codecapture:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	sib1@PLT
	mov	edi, eax
	call	fixedlen@PLT
	test	eax, eax
	js	.L2
	cmp	DWORD PTR MAXOFF[rip], eax
	mov	ebx, eax
	jge	.L6
.L2:
	mov	edx, DWORD PTR 4[rbp]
	mov	ecx, DWORD PTR 0[rbp]
	xor	r8d, r8d
	mov	rdi, r12
	mov	esi, DWORD PTR IOpenCapture[rip]
	call	addinstcap@PLT
	mov	rdi, rbp
	call	sib1@PLT
	mov	r8, r14
	mov	ecx, r13d
	xor	edx, edx
	mov	esi, eax
	mov	rdi, r12
	call	codegen@PLT
	mov	edx, DWORD PTR Cclose[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	esi, DWORD PTR ICloseCapture[rip]
.L4:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	addinstcap@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, rbp
	call	sib1@PLT
	mov	edi, eax
	call	hascaptures@PLT
	test	eax, eax
	jne	.L2
	mov	rdi, rbp
	call	sib1@PLT
	mov	r8, r14
	mov	ecx, r13d
	xor	edx, edx
	mov	esi, eax
	mov	rdi, r12
	call	codegen@PLT
	mov	edx, DWORD PTR 4[rbp]
	mov	ecx, DWORD PTR 0[rbp]
	mov	r8d, ebx
	mov	esi, DWORD PTR IFullCapture[rip]
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	codecapture, .-codecapture
	.comm	MAXOFF,4,4
	.comm	IOpenCapture,4,4
	.comm	IFullCapture,4,4
	.comm	ICloseCapture,4,4
	.comm	Cclose,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_lpcode.c_codecapture.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	codecapture, %function
codecapture:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r5, r0
	sub	sp, sp, #12
	mov	r0, r1
	mov	r4, r1
	mov	r8, r2
	mov	r7, r3
	bl	sib1
	bl	fixedlen
	subs	r6, r0, #0
	blt	.L2
	ldr	r3, .L7
	ldr	r3, [r3]
	cmp	r3, r6
	bge	.L6
.L2:
	mov	r6, #0
	ldr	r3, .L7+4
	str	r6, [sp]
	ldr	r1, [r3]
	ldr	r2, [r4, #4]
	ldr	r3, [r4]
	mov	r0, r5
	bl	addinstcap
	mov	r0, r4
	bl	sib1
	mov	r3, r8
	mov	r1, r0
	mov	r2, r6
	mov	r0, r5
	str	r7, [sp]
	bl	codegen
	ldr	r2, .L7+8
	ldr	r1, .L7+12
	str	r6, [sp]
	mov	r3, r6
	mov	r0, r5
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	addinstcap
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L6:
	mov	r0, r4
	bl	sib1
	bl	hascaptures
	subs	r9, r0, #0
	bne	.L2
	mov	r0, r4
	bl	sib1
	mov	r3, r8
	mov	r1, r0
	mov	r2, r9
	mov	r0, r5
	str	r7, [sp]
	bl	codegen
	ldr	r3, .L7+16
	str	r6, [sp]
	ldr	r1, [r3]
	mov	r0, r5
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	bl	addinstcap
	b	.L1
.L8:
	.align	2
.L7:
	.word	MAXOFF
	.word	IOpenCapture
	.word	Cclose
	.word	ICloseCapture
	.word	IFullCapture
	.size	codecapture, .-codecapture
	.comm	MAXOFF,4,4
	.comm	IOpenCapture,4,4
	.comm	IFullCapture,4,4
	.comm	ICloseCapture,4,4
	.comm	Cclose,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
