	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_psn
_check_psn:                             ## @check_psn
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	4(%rsi), %edi
	movl	8(%rbx), %esi
	callq	_psn_compare
	movl	%eax, %r12d
	movl	12(%rbx), %edi
	callq	_to_rdev
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_qp_type
	movq	_RESPST_CHK_OP_SEQ@GOTPCREL(%rip), %rcx
	cmpl	$128, %eax
	je	LBB0_9
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_14
## %bb.2:
	testl	%r12d, %r12d
	jle	LBB0_5
## %bb.3:
	cmpl	$0, (%rbx)
	jne	LBB0_13
## %bb.4:
	movl	$1, (%rbx)
	movq	_RXE_CNT_OUT_OF_SEQ_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rxe_counter_inc
	movq	_RESPST_ERR_PSN_OUT_OF_SEQ@GOTPCREL(%rip), %rcx
	jmp	LBB0_14
LBB0_9:
	orl	4(%rbx), %r12d
	je	LBB0_14
## %bb.10:
	movq	_RXE_START_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_12
## %bb.11:
	movl	$0, 4(%rbx)
	jmp	LBB0_14
LBB0_5:
	js	LBB0_6
## %bb.7:
	cmpl	$0, (%rbx)
	je	LBB0_14
## %bb.8:
	movl	$0, (%rbx)
	jmp	LBB0_14
LBB0_12:
	movl	$1, 4(%rbx)
LBB0_13:
	movq	_RESPST_CLEANUP@GOTPCREL(%rip), %rcx
LBB0_14:
	movl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_RXE_CNT_DUP_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rxe_counter_inc
	movq	_RESPST_DUPLICATE_REQUEST@GOTPCREL(%rip), %rcx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_RESPST_CLEANUP,4,2             ## @RESPST_CLEANUP
	.comm	_RXE_CNT_OUT_OF_SEQ_REQ,4,2     ## @RXE_CNT_OUT_OF_SEQ_REQ
	.comm	_RESPST_ERR_PSN_OUT_OF_SEQ,4,2  ## @RESPST_ERR_PSN_OUT_OF_SEQ
	.comm	_RXE_CNT_DUP_REQ,4,2            ## @RXE_CNT_DUP_REQ
	.comm	_RESPST_DUPLICATE_REQUEST,4,2   ## @RESPST_DUPLICATE_REQUEST
	.comm	_RXE_START_MASK,4,2             ## @RXE_START_MASK
	.comm	_RESPST_CHK_OP_SEQ,4,2          ## @RESPST_CHK_OP_SEQ
	.no_dead_strip	_check_psn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_psn
_check_psn:                             ; @check_psn
	.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	x21, x1
	mov	x19, x0
	ldr	w0, [x1, #4]
	ldr	w1, [x19, #8]
	bl	_psn_compare
	mov	x22, x0
	ldr	w0, [x19, #12]
	bl	_to_rdev
	mov	x20, x0
	mov	x0, x19
	bl	_qp_type
	cmp	w0, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w0, #129
	b.ne	LBB0_11
; %bb.2:
	cmp	w22, #1
	b.lt	LBB0_8
; %bb.3:
	ldr	w8, [x19]
	cbnz	w8, LBB0_13
; %bb.4:
	mov	w8, #1
	str	w8, [x19]
Lloh0:
	adrp	x8, _RXE_CNT_OUT_OF_SEQ_REQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RXE_CNT_OUT_OF_SEQ_REQ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_rxe_counter_inc
Lloh3:
	adrp	x8, _RESPST_ERR_PSN_OUT_OF_SEQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RESPST_ERR_PSN_OUT_OF_SEQ@GOTPAGEOFF]
	b	LBB0_14
LBB0_5:
	ldr	w8, [x19, #4]
	orr	w8, w8, w22
	cbz	w8, LBB0_11
; %bb.6:
	ldr	w8, [x21]
Lloh5:
	adrp	x9, _RXE_START_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RXE_START_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.7:
	str	wzr, [x19, #4]
	b	LBB0_11
LBB0_8:
	tbnz	w22, #31, LBB0_15
; %bb.9:
	ldr	w8, [x19]
	cbz	w8, LBB0_11
; %bb.10:
	str	wzr, [x19]
LBB0_11:
Lloh8:
	adrp	x8, _RESPST_CHK_OP_SEQ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RESPST_CHK_OP_SEQ@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_13:
Lloh10:
	adrp	x8, _RESPST_CLEANUP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RESPST_CLEANUP@GOTPAGEOFF]
LBB0_14:
	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
LBB0_15:
Lloh12:
	adrp	x8, _RXE_CNT_DUP_REQ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RXE_CNT_DUP_REQ@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_rxe_counter_inc
Lloh15:
	adrp	x8, _RESPST_DUPLICATE_REQUEST@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RESPST_DUPLICATE_REQUEST@GOTPAGEOFF]
	b	LBB0_14
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RESPST_CLEANUP,4,2             ; @RESPST_CLEANUP
	.comm	_RXE_CNT_OUT_OF_SEQ_REQ,4,2     ; @RXE_CNT_OUT_OF_SEQ_REQ
	.comm	_RESPST_ERR_PSN_OUT_OF_SEQ,4,2  ; @RESPST_ERR_PSN_OUT_OF_SEQ
	.comm	_RXE_CNT_DUP_REQ,4,2            ; @RXE_CNT_DUP_REQ
	.comm	_RESPST_DUPLICATE_REQUEST,4,2   ; @RESPST_DUPLICATE_REQUEST
	.comm	_RXE_START_MASK,4,2             ; @RXE_START_MASK
	.comm	_RESPST_CHK_OP_SEQ,4,2          ; @RESPST_CHK_OP_SEQ
	.no_dead_strip	_check_psn
.subsections_via_symbols
