	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hpsb_packet_success            ## -- Begin function hpsb_packet_success
	.p2align	4, 0x90
_hpsb_packet_success:                   ## @hpsb_packet_success
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rdi), %esi
	leal	-133(%rsi), %eax
	cmpl	$13, %eax
	ja	LBB0_13
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_3:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_4:
	movq	_EACCES@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_5:
	movq	8(%rdi), %rax
	movl	4(%rax), %esi
	shrl	$12, %esi
	andl	$15, %esi
	movl	20(%rdi), %edx
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_12
LBB0_6:
	movl	16(%rdi), %edx
	movq	_TCODE_WRITEB@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	je	LBB0_2
## %bb.7:
	movq	_TCODE_LOCK_REQUEST@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	je	LBB0_2
## %bb.8:
	movl	20(%rdi), %esi
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_12
LBB0_9:
	movl	16(%rdi), %edx
	movq	_TCODE_WRITEQ@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	(%rax), %edx
	je	LBB0_18
## %bb.10:
	movq	_TCODE_WRITEB@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	je	LBB0_18
## %bb.11:
	movl	20(%rdi), %esi
	leaq	L_.str.1(%rip), %rdi
LBB0_12:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_HPSB_ERR
	jmp	LBB0_14
LBB0_13:
	movl	16(%rdi), %ecx
	movl	20(%rdi), %edx
	leaq	L_.str.3(%rip), %rdi
	xorl	%ebx, %ebx
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_HPSB_ERR
LBB0_14:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_16:
	xorl	%ebx, %ebx
LBB0_17:
	subl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_15
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_EREMOTEIO,4,2                  ## @EREMOTEIO
	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"received reserved rcode %d from node %d"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_TCODE_WRITEQ,4,2               ## @TCODE_WRITEQ
	.comm	_TCODE_WRITEB,4,2               ## @TCODE_WRITEB
L_.str.1:                               ## @.str.1
	.asciz	"impossible ack_complete from node %d (tcode %d)"

	.comm	_TCODE_LOCK_REQUEST,4,2         ## @TCODE_LOCK_REQUEST
L_.str.2:                               ## @.str.2
	.asciz	"impossible ack_data_error from node %d (tcode %d)"

L_.str.3:                               ## @.str.3
	.asciz	"got invalid ack %d from node %d (tcode %d)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hpsb_packet_success            ; -- Begin function hpsb_packet_success
	.p2align	2
_hpsb_packet_success:                   ; @hpsb_packet_success
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w1, [x0]
	sub	w8, w1, #133
	cmp	w8, #13
	b.hi	LBB0_7
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _EBUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_14
LBB0_3:
Lloh4:
	adrp	x8, _EACCES@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
	b	LBB0_14
LBB0_4:
	ldr	x8, [x0, #8]
	ldr	w8, [x8, #4]
	ubfx	w1, w8, #12, #4
	ldr	w2, [x0, #20]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_12
LBB0_5:
	ldr	w2, [x0, #16]
Lloh8:
	adrp	x8, _TCODE_WRITEQ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TCODE_WRITEQ@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _TCODE_WRITEB@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TCODE_WRITEB@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w2, w8
	ccmp	w2, w9, #4, ne
	b.ne	LBB0_11
; %bb.6:
	mov	w0, #0
	b	LBB0_15
LBB0_7:
	ldp	w8, w2, [x0, #16]
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_8:
	ldr	w2, [x0, #16]
Lloh16:
	adrp	x8, _TCODE_WRITEB@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TCODE_WRITEB@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _TCODE_LOCK_REQUEST@GOTPAGE
Lloh20:
	ldr	x9, [x9, _TCODE_LOCK_REQUEST@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	cmp	w2, w8
	ccmp	w2, w9, #4, ne
	b.eq	LBB0_13
; %bb.9:
	ldr	w1, [x0, #20]
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_10:
Lloh24:
	adrp	x8, _EINVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
	ldr	w1, [x0, #20]
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_12:
	bl	_HPSB_ERR
LBB0_13:
Lloh28:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_EREMOTEIO,4,2                  ; @EREMOTEIO
	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"received reserved rcode %d from node %d"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_TCODE_WRITEQ,4,2               ; @TCODE_WRITEQ
	.comm	_TCODE_WRITEB,4,2               ; @TCODE_WRITEB
l_.str.1:                               ; @.str.1
	.asciz	"impossible ack_complete from node %d (tcode %d)"

	.comm	_TCODE_LOCK_REQUEST,4,2         ; @TCODE_LOCK_REQUEST
l_.str.2:                               ; @.str.2
	.asciz	"impossible ack_data_error from node %d (tcode %d)"

l_.str.3:                               ; @.str.3
	.asciz	"got invalid ack %d from node %d (tcode %d)"

.subsections_via_symbols
