	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function push_jr_buffer
_push_jr_buffer:                        ## @push_jr_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	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_inst_buf_index@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	_TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_update_buffer
	movl	%eax, %edi
	callq	_FAIL_IF
	movq	(%r13), %rax
LBB0_2:
	movq	_tilegx_opcodes@GOTPCREL(%rip), %rcx
	shlq	$2, %rbx
	addq	(%rcx), %rbx
	movq	_inst_buf@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	leaq	(%rax,%rax,2), %rax
	shlq	$4, %rax
	movq	%rbx, 40(%rcx,%rax)
	movq	%rbx, %rdi
	callq	_get_any_valid_pipe
	movq	(%r14), %rdx
	movq	(%r13), %rcx
	leaq	(%rcx,%rcx,2), %rsi
	shlq	$4, %rsi
	movl	%eax, 32(%rdx,%rsi)
	movq	(%rdx,%rsi), %rax
	movl	$1, %edi
	movl	%r12d, %ecx
	shlq	%cl, %rdi
	movl	%r12d, (%rax)
	movq	%rdi, 8(%rdx,%rsi)
	movq	(%r13), %rax
	leaq	(%rax,%rax,2), %rax
	shlq	$4, %rax
	movq	$0, 24(%rdx,%rax)
	movq	(%r13), %rax
	leaq	(%rax,%rax,2), %rcx
	shlq	$4, %rcx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, 16(%rdx,%rcx)
	incq	%rax
	movq	%rax, (%r13)
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_flush_buffer                   ## TAILCALL
	.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
	.no_dead_strip	_push_jr_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function push_jr_buffer
_push_jr_buffer:                        ; @push_jr_buffer
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _inst_buf_index@GOTPAGE
Lloh1:
	ldr	x23, [x23, _inst_buf_index@GOTPAGEOFF]
	ldr	x8, [x23]
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:
	mov	x0, x19
	bl	_update_buffer
	bl	_FAIL_IF
	ldr	x8, [x23]
LBB0_2:
Lloh5:
	adrp	x9, _tilegx_opcodes@GOTPAGE
Lloh6:
	ldr	x9, [x9, _tilegx_opcodes@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x0, x9, x22, lsl #2
Lloh8:
	adrp	x22, _inst_buf@GOTPAGE
Lloh9:
	ldr	x22, [x22, _inst_buf@GOTPAGEOFF]
	ldr	x9, [x22]
	mov	w24, #48
	madd	x8, x8, x24, x9
	str	x0, [x8, #40]
	bl	_get_any_valid_pipe
	ldr	x8, [x22]
	ldr	x9, [x23]
	madd	x9, x9, x24, x8
	str	w0, [x9, #32]
	ldr	x10, [x9]
	str	w21, [x10]
	mov	w10, #1
	lsl	x10, x10, x21
	str	x10, [x9, #8]
	ldr	x9, [x23]
	madd	x9, x9, x24, x8
	str	xzr, [x9, #24]
	ldr	x9, [x23]
	madd	x8, x9, x24, x8
	str	w20, [x8, #16]
	add	x8, x9, #1
	str	x8, [x23]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_flush_buffer
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.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
	.no_dead_strip	_push_jr_buffer
.subsections_via_symbols
