	.file	"extr_lj_opt_sink.c_lj_opt_sink.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	lj_opt_sink
	.type	lj_opt_sink, @function
lj_opt_sink:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR [rdi]
	mov	eax, DWORD PTR JIT_F_OPT_SINK[rip]
	or	eax, DWORD PTR JIT_F_OPT_FWD[rip]
	or	eax, DWORD PTR JIT_F_OPT_DCE[rip]
	or	eax, DWORD PTR JIT_F_OPT_CSE[rip]
	or	eax, DWORD PTR JIT_F_OPT_FOLD[rip]
	and	edx, eax
	cmp	edx, eax
	je	.L11
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rdx, QWORD PTR IR_TNEW[rip]
	mov	rbp, rdi
	mov	rax, QWORD PTR 32[rdi]
	cmp	QWORD PTR [rax+rdx*8], 0
	jne	.L3
	mov	rdx, QWORD PTR IR_TDUP[rip]
	cmp	QWORD PTR [rax+rdx*8], 0
	jne	.L3
	cmp	QWORD PTR LJ_HASFFI[rip], 0
	je	.L1
	mov	rdx, QWORD PTR IR_CNEW[rip]
	cmp	QWORD PTR [rax+rdx*8], 0
	jne	.L3
	mov	rdx, QWORD PTR IR_CNEWI[rip]
	cmp	QWORD PTR [rax+rdx*8], 0
	je	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	QWORD PTR 8[rbp], 0
	je	.L12
.L4:
	mov	rdi, rbp
	call	sink_mark_ins@PLT
	cmp	QWORD PTR 8[rbp], 0
	jne	.L13
.L5:
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	sink_sweep_ins@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, rbp
	call	sink_remark_phi@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L12:
	movsx	rdx, DWORD PTR 16[rbp]
	mov	rax, QWORD PTR 24[rbp]
	mov	rdi, rbp
	lea	rsi, -4[rax+rdx*4]
	call	sink_mark_snap@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L1:
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	lj_opt_sink, .-lj_opt_sink
	.comm	LJ_HASFFI,8,8
	.comm	JIT_F_OPT_SINK,4,4
	.comm	JIT_F_OPT_FWD,4,4
	.comm	JIT_F_OPT_FOLD,4,4
	.comm	JIT_F_OPT_DCE,4,4
	.comm	JIT_F_OPT_CSE,4,4
	.comm	IR_TNEW,8,8
	.comm	IR_TDUP,8,8
	.comm	IR_CNEWI,8,8
	.comm	IR_CNEW,8,8
	.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_opt_sink.c_lj_opt_sink.c"
	.text
	.align	2
	.global	lj_opt_sink
	.syntax unified
	.arm
	.fpu softvfp
	.type	lj_opt_sink, %function
lj_opt_sink:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r2, .L19
	ldr	r3, .L19+4
	ldr	r1, .L19+8
	ldr	ip, [r2]
	ldr	r3, [r3]
	ldr	r2, .L19+12
	ldr	r0, [r1]
	ldr	r1, .L19+16
	ldr	r2, [r2]
	orr	r3, r3, ip
	ldr	r1, [r1]
	orr	r3, r3, r0
	orr	r3, r3, r2
	ldr	r2, [r4]
	orr	r3, r3, r1
	bics	r3, r3, r2
	popne	{r4, pc}
	ldr	r2, .L19+20
	ldr	r3, [r4, #16]
	ldr	r2, [r2]
	ldr	r2, [r3, r2, lsl #2]
	cmp	r2, #0
	bne	.L3
	ldr	r2, .L19+24
	ldr	r2, [r2]
	ldr	r2, [r3, r2, lsl #2]
	cmp	r2, #0
	bne	.L3
	ldr	r2, .L19+28
	ldr	r2, [r2]
	cmp	r2, #0
	popeq	{r4, pc}
	ldr	r2, .L19+32
	ldr	r2, [r2]
	ldr	r2, [r3, r2, lsl #2]
	cmp	r2, #0
	bne	.L3
	ldr	r2, .L19+36
	ldr	r2, [r2]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	popeq	{r4, pc}
.L3:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L17
.L4:
	mov	r0, r4
	bl	sink_mark_ins
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L18
.L5:
	mov	r0, r4
	pop	{r4, lr}
	b	sink_sweep_ins
.L18:
	mov	r0, r4
	bl	sink_remark_phi
	b	.L5
.L17:
	ldr	r3, [r4, #8]
	ldr	r1, [r4, #12]
	sub	r3, r3, #-1073741823
	mov	r0, r4
	add	r1, r1, r3, lsl #2
	bl	sink_mark_snap
	b	.L4
.L20:
	.align	2
.L19:
	.word	JIT_F_OPT_FWD
	.word	JIT_F_OPT_SINK
	.word	JIT_F_OPT_DCE
	.word	JIT_F_OPT_CSE
	.word	JIT_F_OPT_FOLD
	.word	IR_TNEW
	.word	IR_TDUP
	.word	LJ_HASFFI
	.word	IR_CNEW
	.word	IR_CNEWI
	.size	lj_opt_sink, .-lj_opt_sink
	.comm	LJ_HASFFI,4,4
	.comm	JIT_F_OPT_SINK,4,4
	.comm	JIT_F_OPT_FWD,4,4
	.comm	JIT_F_OPT_FOLD,4,4
	.comm	JIT_F_OPT_DCE,4,4
	.comm	JIT_F_OPT_CSE,4,4
	.comm	IR_TNEW,4,4
	.comm	IR_TDUP,4,4
	.comm	IR_CNEWI,4,4
	.comm	IR_CNEW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
