	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function push_2_buffer
_push_2_buffer:                         ## @push_2_buffer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r15d
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	_inst_buf_index@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	callq	_update_buffer
	movl	%eax, %edi
	callq	_FAIL_IF
	movq	(%rbx), %rax
LBB0_2:
	movq	_tilegx_opcodes@GOTPCREL(%rip), %rcx
	leaq	(,%r13,8), %rbx
	addq	(%rcx), %rbx
	movq	_inst_buf@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	leaq	(%rax,%rax,2), %rax
	shlq	$4, %rax
	movq	%rbx, 40(%rcx,%rax)
	movq	%rbx, %rdi
	callq	_get_any_valid_pipe
	movq	(%r12), %rdx
	movq	_inst_buf_index@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	leaq	(%rcx,%rcx,2), %rsi
	shlq	$4, %rsi
	movl	%eax, 32(%rdx,%rsi)
	movq	(%rdx,%rsi), %rax
	movl	%r14d, (%rax)
	movl	%r15d, 4(%rax)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%rdx,%rsi)
	addq	$-128, %r13
	cmpq	$13, %r13
	ja	LBB0_8
## %bb.3:
	movl	$4080, %eax                     ## imm = 0xFF0
	btq	%r13, %rax
	jae	LBB0_4
## %bb.7:
	movl	$1, %eax
	movl	$1, %edi
	movl	%r15d, %ecx
	shlq	%cl, %rdi
	movq	%rdi, 16(%rdx,%rsi)
	movl	%r14d, %ecx
	shlq	%cl, %rax
	movq	(%r12), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	shlq	$4, %rcx
	movq	%rax, 24(%rdx,%rcx)
	jmp	LBB0_9
LBB0_4:
	movl	$15, %eax
	btq	%r13, %rax
	jae	LBB0_5
## %bb.6:
	movl	$1, %eax
	movl	%r15d, %ecx
	shlq	%cl, %rax
	btsq	%r14, %rax
	movq	%rax, 16(%rdx,%rsi)
	movq	(%r12), %rax
	leaq	(%rax,%rax,2), %rax
	shlq	$4, %rax
	movq	$0, 24(%rdx,%rax)
	jmp	LBB0_9
LBB0_5:
	movl	$1, %eax
	movl	%r14d, %ecx
	shlq	%cl, %rax
	movq	%rax, 16(%rdx,%rsi)
	jmp	LBB0_9
LBB0_8:
	movq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_printf
	xorl	%eax, %eax
	callq	_SLJIT_UNREACHABLE
LBB0_9:
	incq	(%r12)
	movq	_SLJIT_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_inst_buf_index,8,3             ## @inst_buf_index
	.comm	_TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE,8,3 ## @TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE
	.comm	_tilegx_opcodes,8,3             ## @tilegx_opcodes
	.comm	_inst_buf,8,3                   ## @inst_buf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unrecoginzed opc: %s\n"

	.comm	_SLJIT_SUCCESS,4,2              ## @SLJIT_SUCCESS
	.no_dead_strip	_push_2_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function push_2_buffer
_push_2_buffer:                         ; @push_2_buffer
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x4
	mov	x20, x3
	mov	x19, x2
	mov	x22, x1
Lloh0:
	adrp	x24, _inst_buf_index@GOTPAGE
Lloh1:
	ldr	x24, [x24, _inst_buf_index@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh2:
	adrp	x9, _TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	bl	_update_buffer
	bl	_FAIL_IF
	ldr	x8, [x24]
LBB0_2:
Lloh5:
	adrp	x9, _tilegx_opcodes@GOTPAGE
Lloh6:
	ldr	x9, [x9, _tilegx_opcodes@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x23, x9, x22, lsl #3
Lloh8:
	adrp	x25, _inst_buf@GOTPAGE
Lloh9:
	ldr	x25, [x25, _inst_buf@GOTPAGEOFF]
	ldr	x9, [x25]
	mov	w26, #48
	madd	x8, x8, x26, x9
	str	x23, [x8, #40]
	mov	x0, x23
	bl	_get_any_valid_pipe
	ldr	x8, [x25]
	ldr	x9, [x24]
	madd	x10, x9, x26, x8
	str	w0, [x10, #32]
	ldr	x11, [x10]
	stp	w19, w20, [x11]
	str	w21, [x10, #8]
	sub	x10, x22, #128
	cmp	x10, #13
	b.hi	LBB0_8
; %bb.3:
	mov	w11, #1
	lsl	x11, x11, x10
	tst	x11, #0xff0
	b.eq	LBB0_5
; %bb.4:
	mov	w10, #1
	lsl	x11, x10, x20
	mov	w12, #48
	madd	x9, x9, x12, x8
	str	x11, [x9, #16]
	lsl	x9, x10, x19
	ldr	x10, [x24]
	madd	x8, x10, x12, x8
	str	x9, [x8, #24]
	b	LBB0_9
LBB0_5:
	mov	w11, #1
	lsl	x10, x11, x10
	tst	x10, #0xf
	b.eq	LBB0_7
; %bb.6:
	mov	w10, #1
	lsl	x11, x10, x19
	lsl	x10, x10, x20
	orr	x10, x10, x11
	mov	w11, #48
	madd	x9, x9, x11, x8
	str	x10, [x9, #16]
	ldr	x9, [x24]
	madd	x8, x9, x11, x8
	str	xzr, [x8, #24]
	b	LBB0_9
LBB0_7:
	mov	w10, #1
	lsl	x10, x10, x19
	mov	w11, #48
	madd	x8, x9, x11, x8
	str	x10, [x8, #16]
	b	LBB0_9
LBB0_8:
	ldr	x1, [x23]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	bl	_SLJIT_UNREACHABLE
LBB0_9:
	ldr	x8, [x24]
	add	x8, x8, #1
	str	x8, [x24]
Lloh12:
	adrp	x8, _SLJIT_SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SLJIT_SUCCESS@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_inst_buf_index,8,3             ; @inst_buf_index
	.comm	_TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE,8,3 ; @TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE
	.comm	_tilegx_opcodes,8,3             ; @tilegx_opcodes
	.comm	_inst_buf,8,3                   ; @inst_buf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unrecoginzed opc: %s\n"

	.comm	_SLJIT_SUCCESS,4,2              ; @SLJIT_SUCCESS
	.no_dead_strip	_push_2_buffer
.subsections_via_symbols
