	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function push_3_buffer
_push_3_buffer:                         ## @push_3_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	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	_inst_buf_index@GOTPCREL(%rip), %r14
	movq	(%r14), %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	(%r14), %rax
LBB0_2:
	movq	_tilegx_opcodes@GOTPCREL(%rip), %rcx
	leaq	(,%rbx,8), %r14
	addq	(%rcx), %r14
	movq	_inst_buf@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	leaq	(%rax,%rax,2), %rax
	shlq	$4, %rax
	movq	%r14, 40(%rcx,%rax)
	movq	%r14, %rdi
	callq	_get_any_valid_pipe
	movq	(%r13), %rdx
	movq	_inst_buf_index@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	leaq	(%rcx,%rcx,2), %rsi
	shlq	$4, %rsi
	movl	%eax, 32(%rdx,%rsi)
	movq	(%rdx,%rsi), %rax
	movl	%r15d, (%rax)
	movl	%r12d, 4(%rax)
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 8(%rax)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%rdx,%rsi)
	addq	$-128, %rbx
	cmpq	$24, %rbx
	ja	LBB0_10
## %bb.3:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rdi
	addq	%rax, %rdi
	jmpq	*%rdi
LBB0_6:
	movl	$1, %eax
	movl	$1, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %rdi
	btsq	%r12, %rdi
	jmp	LBB0_8
LBB0_7:
	movl	$1, %eax
	movl	$1, %edi
	movl	%r12d, %ecx
	shlq	%cl, %rdi
LBB0_8:
	movq	%rdi, 16(%rdx,%rsi)
	movl	%r15d, %ecx
	shlq	%cl, %rax
LBB0_9:
	movq	(%r13), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	shlq	$4, %rcx
	movq	%rax, 24(%rdx,%rcx)
LBB0_11:
	incq	(%r13)
	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
LBB0_10:
	movq	(%r14), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_printf
	xorl	%eax, %eax
	callq	_SLJIT_UNREACHABLE
	jmp	LBB0_11
LBB0_4:
	movl	$1, %eax
	movl	%r15d, %ecx
	shlq	%cl, %rax
	movl	$1, %edi
	movl	%r12d, %ecx
	shlq	%cl, %rdi
	btsq	%r15, %rdi
	movq	%rdi, 16(%rdx,%rsi)
	jmp	LBB0_9
LBB0_5:
	movl	$1, %eax
	movl	%r12d, %ecx
	shlq	%cl, %rax
	movq	%rax, 16(%rdx,%rsi)
	btsq	%r15, %rax
	jmp	LBB0_9
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_6
	.end_data_region
                                        ## -- 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_3_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function push_3_buffer
_push_3_buffer:                         ; @push_3_buffer
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x5
	mov	x21, x4
	mov	x20, x3
	mov	x19, x2
	mov	x23, x1
Lloh0:
	adrp	x25, _inst_buf_index@GOTPAGE
Lloh1:
	ldr	x25, [x25, _inst_buf_index@GOTPAGEOFF]
	ldr	x8, [x25]
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, [x25]
LBB0_2:
Lloh5:
	adrp	x9, _tilegx_opcodes@GOTPAGE
Lloh6:
	ldr	x9, [x9, _tilegx_opcodes@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x24, x9, x23, lsl #3
Lloh8:
	adrp	x26, _inst_buf@GOTPAGE
Lloh9:
	ldr	x26, [x26, _inst_buf@GOTPAGEOFF]
	ldr	x9, [x26]
	mov	w27, #48
	madd	x8, x8, x27, x9
	str	x24, [x8, #40]
	mov	x0, x24
	bl	_get_any_valid_pipe
	ldr	x8, [x26]
	ldr	x9, [x25]
	madd	x10, x9, x27, x8
	str	w0, [x10, #32]
	ldr	x11, [x10]
	stp	w19, w20, [x11]
	str	w21, [x11, #8]
	str	w22, [x10, #8]
	sub	x10, x23, #128
	cmp	x10, #24
	b.hi	LBB0_9
; %bb.3:
Lloh10:
	adrp	x11, lJTI0_0@PAGE
Lloh11:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_4
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_4:
	mov	w10, #1
	lsl	x11, x10, x20
	lsl	x12, x10, x21
	orr	x11, x12, x11
	b	LBB0_6
LBB0_5:
	mov	w10, #1
	lsl	x11, x10, x20
LBB0_6:
	mov	w12, #48
	madd	x9, x9, x12, x8
	str	x11, [x9, #16]
	lsl	x9, x10, x19
LBB0_7:
	ldr	x10, [x25]
	madd	x8, x10, x12, x8
	str	x9, [x8, #24]
LBB0_8:
	ldr	x8, [x25]
	add	x8, x8, #1
	str	x8, [x25]
Lloh12:
	adrp	x8, _SLJIT_SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SLJIT_SUCCESS@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	x1, [x24]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	bl	_SLJIT_UNREACHABLE
	b	LBB0_8
LBB0_10:
	mov	w10, #1
	lsl	x11, x10, x19
	lsl	x10, x10, x20
	orr	x10, x10, x11
	mov	w12, #48
	madd	x9, x9, x12, x8
	str	x10, [x9, #16]
	ldr	x9, [x25]
	madd	x8, x9, x12, x8
	str	x11, [x8, #24]
	b	LBB0_8
LBB0_11:
	mov	w10, #1
	lsl	x11, x10, x20
	mov	w12, #48
	madd	x9, x9, x12, x8
	str	x11, [x9, #16]
	lsl	x9, x10, x19
	orr	x9, x11, x9
	b	LBB0_7
	.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
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
                                        ; -- 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_3_buffer
.subsections_via_symbols
