	.file	"extr_bss_fd.c_fd_ctrl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fd_ctrl, @function
fd_ctrl:
.LFB0:
	.cfi_startproc
	endbr64
	add	esi, -128
	cmp	esi, 11
	ja	.L19
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdx
	lea	rdx, .L4[rip]
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	movsx	rax, DWORD PTR [rdx+rsi*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L6-.L4
	.long	.L9-.L4
	.long	.L13-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L13-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L22-.L4
	.long	.L22-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L8:
	mov	DWORD PTR 4[rdi], ebp
.L22:
	mov	eax, 1
.L1:
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	xor	ebp, ebp
.L9:
	mov	edi, DWORD PTR [rdi]
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	mov	rsi, rbp
	xor	edx, edx
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	UP_lseek@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR [rdi]
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	mov	edx, 1
	xor	esi, esi
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	UP_lseek@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	QWORD PTR 8[rsp], rcx
	mov	QWORD PTR [rsp], rdi
	call	fd_free@PLT
	mov	rcx, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR [rsp]
	mov	eax, DWORD PTR [rcx]
	mov	DWORD PTR 4[rdi], ebp
	mov	DWORD PTR 8[rdi], 1
	mov	DWORD PTR [rdi], eax
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	eax, DWORD PTR 8[rdi]
	test	eax, eax
	je	.L14
	movsx	rax, DWORD PTR [rdi]
	test	rcx, rcx
	je	.L1
	mov	DWORD PTR [rcx], eax
	movsx	rax, DWORD PTR [rdi]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	movsx	rax, DWORD PTR 4[rdi]
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_def_cfa_offset 8
	.cfi_restore 6
	xor	eax, eax
	ret
.L14:
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -16
	mov	rax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	fd_ctrl, .-fd_ctrl
	.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_bss_fd.c_fd_ctrl.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fd_ctrl, %function
fd_ctrl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	sub	ip, r1, #128
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r2
	mov	r6, r3
	cmp	ip, #11
	ldrls	pc, [pc, ip, asl #2]
	b	.L13
.L4:
	.word	.L11
	.word	.L10
	.word	.L6
	.word	.L9
	.word	.L13
	.word	.L8
	.word	.L7
	.word	.L13
	.word	.L6
	.word	.L5
	.word	.L19
	.word	.L19
.L8:
	str	r2, [r4, #4]
.L19:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L7:
	mov	r5, #0
.L9:
	mov	r1, r5
	ldr	r0, [r4]
	mov	r2, #0
	pop	{r4, r5, r6, lr}
	b	UP_lseek
.L6:
	mov	r2, #1
	pop	{r4, r5, r6, lr}
	mov	r1, #0
	ldr	r0, [r0]
	b	UP_lseek
.L5:
	ldr	r0, [r0, #4]
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r2, [r0, #8]
	cmp	r2, #0
	beq	.L14
	cmp	r3, #0
	ldr	r0, [r0]
	popeq	{r4, r5, r6, pc}
	str	r0, [r3]
	ldr	r0, [r4]
	pop	{r4, r5, r6, pc}
.L11:
	bl	fd_free
	mov	r1, #1
	ldr	r3, [r6]
	mov	r0, r1
	stm	r4, {r3, r5}
	str	r1, [r4, #8]
	pop	{r4, r5, r6, pc}
.L13:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L14:
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
	.size	fd_ctrl, .-fd_ctrl
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
