	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function push_0_buffer
_push_0_buffer:                         ## @push_0_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	_inst_buf_index@GOTPCREL(%rip), %r15
	movq	(%r15), %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	(%r15), %rax
LBB0_2:
	movq	_tilegx_opcodes@GOTPCREL(%rip), %rcx
	shlq	$2, %rbx
	addq	(%rcx), %rbx
	movq	_inst_buf@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	leaq	(%rax,%rax,4), %rax
	movq	%rbx, 32(%rcx,%rax,8)
	movq	%rbx, %rdi
	callq	_get_any_valid_pipe
	movq	(%r12), %rcx
	movq	(%r15), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	movl	%eax, 24(%rcx,%rdx,8)
	movq	$0, 16(%rcx,%rdx,8)
	movq	(%r15), %rax
	leaq	(%rax,%rax,4), %rax
	movq	$0, 8(%rcx,%rax,8)
	movq	(%r15), %rax
	leaq	(%rax,%rax,4), %rdx
	movl	%r14d, (%rcx,%rdx,8)
	incq	%rax
	movq	%rax, (%r15)
	movq	_SLJIT_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	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
	.comm	_SLJIT_SUCCESS,4,2              ## @SLJIT_SUCCESS
	.no_dead_strip	_push_0_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function push_0_buffer
_push_0_buffer:                         ; @push_0_buffer
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x21, _inst_buf_index@GOTPAGE
Lloh1:
	ldr	x21, [x21, _inst_buf_index@GOTPAGEOFF]
	ldr	x8, [x21]
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, [x21]
LBB0_2:
Lloh5:
	adrp	x9, _tilegx_opcodes@GOTPAGE
Lloh6:
	ldr	x9, [x9, _tilegx_opcodes@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x0, x9, x20, lsl #2
Lloh8:
	adrp	x20, _inst_buf@GOTPAGE
Lloh9:
	ldr	x20, [x20, _inst_buf@GOTPAGEOFF]
	ldr	x9, [x20]
	mov	w22, #40
	madd	x8, x8, x22, x9
	str	x0, [x8, #32]
	bl	_get_any_valid_pipe
	ldr	x8, [x20]
	ldr	x9, [x21]
	madd	x9, x9, x22, x8
	str	w0, [x9, #24]
	str	xzr, [x9, #16]
	ldr	x9, [x21]
	madd	x9, x9, x22, x8
	str	xzr, [x9, #8]
	ldr	x9, [x21]
	mul	x10, x9, x22
	str	w19, [x8, x10]
	add	x8, x9, #1
	str	x8, [x21]
Lloh10:
	adrp	x8, _SLJIT_SUCCESS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SLJIT_SUCCESS@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.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
	.comm	_SLJIT_SUCCESS,4,2              ; @SLJIT_SUCCESS
	.no_dead_strip	_push_0_buffer
.subsections_via_symbols
