	.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, -56(%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_2
## %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
	cmpl	(%rcx), %eax
	jne	LBB0_8
LBB0_2:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	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), %rbx
	cmpl	(%rbx), %eax
	jne	LBB0_8
## %bb.3:
	cmpl	$0, 4(%r15)
	je	LBB0_5
## %bb.4:
	movl	12(%r15), %edi
	movq	_UVH_IPI_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_uv_global_gru_mmr_address
	movq	%rax, %r12
	movq	(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	4(%r15), %esi
	movl	8(%r15), %edi
	movq	_dest_Fixed@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_uv_hub_ipi_value
	movq	%rax, (%r14)
	movq	%r14, %rdi
	callq	_gru_get_tri
	movq	_IAA_REGISTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IMA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_gru_vstore_phys
	movq	%r13, %rdi
	callq	_gru_wait
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%r14)
	cmpl	(%rbx), %eax
	jne	LBB0_8
LBB0_5:
	movq	_MQE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_MQE_UNEXPECTED_CB_ERR@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	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,4,2                   ## @CBS_IDLE
	.comm	_MQE_UNEXPECTED_CB_ERR,4,2      ## @MQE_UNEXPECTED_CB_ERR
	.comm	_MQE_OK,4,2                     ## @MQE_OK
	.comm	_UVH_IPI_INT,4,2                ## @UVH_IPI_INT
	.comm	_dest_Fixed,4,2                 ## @dest_Fixed
	.comm	_IAA_REGISTER,4,2               ## @IAA_REGISTER
	.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	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, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldrsw	x23, [x1]
	bl	_gru_get_amo_value_head
	lsl	w8, w0, #6
Lloh0:
	adrp	x26, _XTYPE_CL@GOTPAGE
Lloh1:
	ldr	x26, [x26, _XTYPE_CL@GOTPAGEOFF]
	add	x23, x23, w8, sxtw
Lloh2:
	adrp	x25, _IMA@GOTPAGE
Lloh3:
	ldr	x25, [x25, _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, [x26]
	ldr	w6, [x25]
	mov	x0, x20
	mov	x1, x23
	mov	w2, #0
	mov	w4, #2
	mov	w5, #1
	bl	_gru_vset
	mov	x0, x20
	bl	_gru_wait
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_5
LBB0_2:
	mov	x0, x19
	bl	_gru_get_tri
	mov	x2, x0
	ldr	w3, [x26]
	ldr	w6, [x25]
	mov	x0, x20
	mov	x1, x23
	mov	x4, x22
	mov	w5, #1
	bl	_gru_vstore
	mov	x0, x20
	bl	_gru_wait
	ldr	w8, [x24]
Lloh6:
	adrp	x23, _MQE_UNEXPECTED_CB_ERR@GOTPAGE
Lloh7:
	ldr	x23, [x23, _MQE_UNEXPECTED_CB_ERR@GOTPAGEOFF]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.3:
	ldr	w8, [x21, #4]
Lloh8:
	adrp	x26, _MQE_OK@GOTPAGE
Lloh9:
	ldr	x26, [x26, _MQE_OK@GOTPAGEOFF]
	cbz	w8, LBB0_6
; %bb.4:
	ldr	w0, [x21, #12]
Lloh10:
	adrp	x8, _UVH_IPI_INT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UVH_IPI_INT@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_uv_global_gru_mmr_address
	mov	x22, x0
	ldr	x27, [x19]
	ldp	w1, w0, [x21, #4]
Lloh13:
	adrp	x8, _dest_Fixed@GOTPAGE
Lloh14:
	ldr	x8, [x8, _dest_Fixed@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	bl	_uv_hub_ipi_value
	str	x0, [x19]
	mov	x0, x19
	bl	_gru_get_tri
	mov	x2, x0
Lloh16:
	adrp	x8, _IAA_REGISTER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IAA_REGISTER@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	ldr	w4, [x25]
	mov	x0, x20
	mov	x1, x22
	bl	_gru_vstore_phys
	mov	x0, x20
	bl	_gru_wait
	str	x27, [x19]
	ldr	w8, [x24]
	cmp	w0, w8
	csel	x23, x26, x23, eq
	b	LBB0_7
LBB0_5:
Lloh19:
	adrp	x23, _MQE_UNEXPECTED_CB_ERR@GOTPAGE
Lloh20:
	ldr	x23, [x23, _MQE_UNEXPECTED_CB_ERR@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	mov	x23, x26
LBB0_7:
	ldr	w0, [x23]
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_XTYPE_CL,4,2                   ; @XTYPE_CL
	.comm	_IMA,4,2                        ; @IMA
	.comm	_CBS_IDLE,4,2                   ; @CBS_IDLE
	.comm	_MQE_UNEXPECTED_CB_ERR,4,2      ; @MQE_UNEXPECTED_CB_ERR
	.comm	_MQE_OK,4,2                     ; @MQE_OK
	.comm	_UVH_IPI_INT,4,2                ; @UVH_IPI_INT
	.comm	_dest_Fixed,4,2                 ; @dest_Fixed
	.comm	_IAA_REGISTER,4,2               ; @IAA_REGISTER
	.no_dead_strip	_send_message_put_nacked
.subsections_via_symbols
