	.file	"extr_lj_ffrecord.c_lj_ffrecord_select_mode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	lj_ffrecord_select_mode
	.type	lj_ffrecord_select_mode, @function
lj_ffrecord_select_mode:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	mov	edi, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	tref_isstr@PLT
	test	rax, rax
	je	.L2
	mov	rdi, rbp
	call	strVdata@PLT
	cmp	BYTE PTR [rax], 35
	je	.L10
.L2:
	mov	rsi, rbp
	mov	rdi, r13
	call	argv2int@PLT
	mov	r12, rax
	test	rax, rax
	je	.L11
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, 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
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, DWORD PTR LJ_TRERR_BADTYPE[rip]
	mov	rdi, r13
	call	lj_trace_err@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, 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
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	call	strV@PLT
	cmp	DWORD PTR [rax], 1
	je	.L12
	xor	esi, esi
	mov	rdi, r13
	call	lj_ir_kint@PLT
	mov	esi, DWORD PTR IRT_P32[rip]
	mov	edi, DWORD PTR IR_STRREF[rip]
	mov	r14d, eax
	call	IRT@PLT
	mov	edx, r14d
	mov	esi, r12d
	mov	edi, eax
	call	emitir@PLT
	mov	esi, DWORD PTR IRT_U8[rip]
	mov	edi, DWORD PTR IR_XLOAD[rip]
	mov	r12d, DWORD PTR IRXLOAD_READONLY[rip]
	mov	ebp, eax
	call	IRT@PLT
	mov	esi, ebp
	mov	edx, r12d
	mov	edi, eax
	call	emitir@PLT
	mov	esi, 35
	mov	rdi, r13
	mov	ebp, eax
	call	lj_ir_kint@PLT
	mov	esi, DWORD PTR IRT_INT[rip]
	mov	edi, DWORD PTR IR_EQ[rip]
	mov	r12d, eax
	call	IRTG@PLT
	mov	edx, r12d
	mov	esi, ebp
	xor	r12d, r12d
	mov	edi, eax
	call	emitir@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, rbp
	call	strV@PLT
	mov	rdi, r13
	mov	rsi, rax
	call	lj_ir_kstr@PLT
	mov	esi, DWORD PTR IRT_STR[rip]
	mov	edi, DWORD PTR IR_EQ[rip]
	mov	r13d, eax
	call	IRTG@PLT
	mov	esi, r12d
	mov	edx, r13d
	xor	r12d, r12d
	mov	edi, eax
	call	emitir@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	lj_ffrecord_select_mode, .-lj_ffrecord_select_mode
	.comm	LJ_TRERR_BADTYPE,4,4
	.comm	IR_XLOAD,4,4
	.comm	IR_STRREF,4,4
	.comm	IR_EQ,4,4
	.comm	IRXLOAD_READONLY,4,4
	.comm	IRT_U8,4,4
	.comm	IRT_STR,4,4
	.comm	IRT_P32,4,4
	.comm	IRT_INT,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_lj_ffrecord.c_lj_ffrecord_select_mode.c"
	.text
	.align	2
	.global	lj_ffrecord_select_mode
	.syntax unified
	.arm
	.fpu softvfp
	.type	lj_ffrecord_select_mode, %function
lj_ffrecord_select_mode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r0, r1
	mov	r6, r1
	mov	r4, r2
	bl	tref_isstr
	cmp	r0, #0
	beq	.L2
	mov	r0, r4
	bl	strVdata
	ldrb	r7, [r0]	@ zero_extendqisi2
	cmp	r7, #35
	beq	.L11
.L2:
	mov	r1, r4
	mov	r0, r5
	bl	argv2int
	subs	r4, r0, #0
	beq	.L12
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	ldr	r3, .L14
	mov	r0, r5
	ldr	r1, [r3]
	bl	lj_trace_err
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	mov	r0, r4
	bl	strV
	ldr	r3, [r0]
	cmp	r3, #1
	beq	.L13
	ldr	r3, .L14+4
	ldr	r2, .L14+8
	ldr	r0, [r3]
	ldr	r1, [r2]
	bl	IRT
	mov	r1, #0
	mov	r4, r0
	mov	r0, r5
	bl	lj_ir_kint
	mov	r1, r6
	mov	r2, r0
	mov	r0, r4
	bl	emitir
	mov	r4, r0
	ldr	r2, .L14+12
	ldr	r3, .L14+16
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	IRT
	ldr	r3, .L14+20
	mov	r1, r4
	ldr	r2, [r3]
	bl	emitir
	ldr	r2, .L14+24
	ldr	r3, .L14+28
	ldr	r1, [r2]
	mov	r6, r0
	ldr	r0, [r3]
	bl	IRTG
	mov	r1, r7
	mov	r4, r0
	mov	r0, r5
	bl	lj_ir_kint
.L9:
	mov	r2, r0
	mov	r0, r4
	mov	r4, #0
	mov	r1, r6
	bl	emitir
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	ldr	r2, .L14+32
	ldr	r3, .L14+28
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	IRTG
	mov	r3, r0
	mov	r0, r4
	mov	r4, r3
	bl	strV
	mov	r1, r0
	mov	r0, r5
	bl	lj_ir_kstr
	b	.L9
.L15:
	.align	2
.L14:
	.word	LJ_TRERR_BADTYPE
	.word	IR_STRREF
	.word	IRT_P32
	.word	IRT_U8
	.word	IR_XLOAD
	.word	IRXLOAD_READONLY
	.word	IRT_INT
	.word	IR_EQ
	.word	IRT_STR
	.size	lj_ffrecord_select_mode, .-lj_ffrecord_select_mode
	.comm	LJ_TRERR_BADTYPE,4,4
	.comm	IR_XLOAD,4,4
	.comm	IR_STRREF,4,4
	.comm	IR_EQ,4,4
	.comm	IRXLOAD_READONLY,4,4
	.comm	IRT_U8,4,4
	.comm	IRT_STR,4,4
	.comm	IRT_P32,4,4
	.comm	IRT_INT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
