	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_message_put_nacked
_send_message_put_nacked:               ## @send_message_put_nacked
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r13
	movslq	(%rsi), %r14
	callq	_gru_get_amo_value_head
	shll	$6, %eax
	movslq	%eax, %rbx
	addq	%r14, %rbx
	cmpl	$2, %r12d
	jne	LBB0_3
## %bb.1:
	movq	_XTYPE_CL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IMA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movl	$2, %r8d
	movl	$1, %r9d
	callq	_gru_vset
	movq	%r13, %rdi
	callq	_gru_wait
	movq	_CBS_IDLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
LBB0_3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_gru_get_tri
	movq	_XTYPE_CL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IMA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, (%rsp)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movl	%r12d, %r8d
	movl	$1, %r9d
	callq	_gru_vstore
	movq	%r13, %rdi
	callq	_gru_wait
	movq	_CBS_IDLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.4:
	cmpl	$0, 4(%r15)
	je	LBB0_9
## %bb.5:
	movl	$-200, %ebx
	movq	_MQIE_AGAIN@GOTPCREL(%rip), %r12
	movq	_MQE_CONGESTION@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_send_noop_message
	cmpl	(%r12), %eax
	sete	%dl
	cmpl	(%r14), %eax
	sete	%cl
	orb	%dl, %cl
	cmpb	$1, %cl
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leal	1(%rbx), %edx
	testl	%ebx, %ebx
	movl	%edx, %ebx
	jne	LBB0_6
LBB0_8:
	testb	%cl, %cl
	je	LBB0_11
LBB0_9:
	movq	_MQE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	movq	_MQE_UNEXPECTED_CB_ERR@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XTYPE_CL,4,2                   ## @XTYPE_CL
	.comm	_IMA,4,2                        ## @IMA
	.comm	_CBS_IDLE,8,3                   ## @CBS_IDLE
	.comm	_MQE_UNEXPECTED_CB_ERR,4,2      ## @MQE_UNEXPECTED_CB_ERR
	.comm	_MQE_OK,4,2                     ## @MQE_OK
	.comm	_MQIE_AGAIN,4,2                 ## @MQIE_AGAIN
	.comm	_MQE_CONGESTION,4,2             ## @MQE_CONGESTION
	.no_dead_strip	_send_message_put_nacked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_message_put_nacked
_send_message_put_nacked:               ; @send_message_put_nacked
	.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	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldrsw	x23, [x1]
	bl	_gru_get_amo_value_head
	lsl	w8, w0, #6
Lloh0:
	adrp	x25, _XTYPE_CL@GOTPAGE
Lloh1:
	ldr	x25, [x25, _XTYPE_CL@GOTPAGEOFF]
	add	x23, x23, w8, sxtw
Lloh2:
	adrp	x26, _IMA@GOTPAGE
Lloh3:
	ldr	x26, [x26, _IMA@GOTPAGEOFF]
Lloh4:
	adrp	x24, _CBS_IDLE@GOTPAGE
Lloh5:
	ldr	x24, [x24, _CBS_IDLE@GOTPAGEOFF]
	cmp	w22, #2
	b.ne	LBB0_2
; %bb.1:
	ldr	w3, [x25]
	ldr	w6, [x26]
	mov	x0, x21
	mov	x1, x23
	mov	w2, #0
	mov	w4, #2
	mov	w5, #1
	bl	_gru_vset
	mov	x0, x21
	bl	_gru_wait
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_7
LBB0_2:
	mov	x0, x19
	bl	_gru_get_tri
	mov	x2, x0
	ldr	w3, [x25]
	ldr	w6, [x26]
	mov	x0, x21
	mov	x1, x23
	mov	x4, x22
	mov	w5, #1
	bl	_gru_vstore
	mov	x0, x21
	bl	_gru_wait
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.3:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_10
; %bb.4:
	mov	w22, #-200
Lloh6:
	adrp	x23, _MQIE_AGAIN@GOTPAGE
Lloh7:
	ldr	x23, [x23, _MQIE_AGAIN@GOTPAGEOFF]
Lloh8:
	adrp	x24, _MQE_CONGESTION@GOTPAGE
Lloh9:
	ldr	x24, [x24, _MQE_CONGESTION@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_send_noop_message
	ldr	w8, [x23]
	cmp	w0, w8
	ldr	w8, [x24]
	ccmp	w0, w8, #4, ne
	cset	w8, eq
	cmp	w8, #1
	ccmp	w22, #0, #4, eq
	add	w22, w22, #1
	b.ne	LBB0_5
; %bb.6:
Lloh10:
	adrp	x9, _MQE_OK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MQE_OK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w0, w9, w0, ne
	b	LBB0_9
LBB0_7:
Lloh13:
	adrp	x8, _MQE_UNEXPECTED_CB_ERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MQE_UNEXPECTED_CB_ERR@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
LBB0_9:
	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
LBB0_10:
Lloh15:
	adrp	x8, _MQE_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MQE_OK@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_XTYPE_CL,4,2                   ; @XTYPE_CL
	.comm	_IMA,4,2                        ; @IMA
	.comm	_CBS_IDLE,8,3                   ; @CBS_IDLE
	.comm	_MQE_UNEXPECTED_CB_ERR,4,2      ; @MQE_UNEXPECTED_CB_ERR
	.comm	_MQE_OK,4,2                     ; @MQE_OK
	.comm	_MQIE_AGAIN,4,2                 ; @MQIE_AGAIN
	.comm	_MQE_CONGESTION,4,2             ; @MQE_CONGESTION
	.no_dead_strip	_send_message_put_nacked
.subsections_via_symbols
