	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sp_descriptor
_sp_descriptor:                         ## @sp_descriptor
	.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
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_PJDLOG_ASSERT
	movq	(%rbx), %rax
	movq	_SP_CTX_MAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_PJDLOG_ASSERT
	movl	8(%rbx), %eax
	andl	$-2, %eax
	xorl	%edi, %edi
	cmpl	$128, %eax
	sete	%dil
	callq	_PJDLOG_ASSERT
	movl	8(%rbx), %esi
	cmpl	$128, %esi
	je	LBB0_3
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_4
## %bb.2:
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	notl	%edi
	shrl	$31, %edi
	callq	_PJDLOG_ASSERT
	movq	16(%rbx), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_3:
	movq	16(%rbx), %rax
	movl	4(%rax), %edi
	notl	%edi
	shrl	$31, %edi
	callq	_PJDLOG_ASSERT
	movq	16(%rbx), %rax
	movl	4(%rax), %eax
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_PJDLOG_ABORT
                                        ## implicit-def: $eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SP_CTX_MAGIC,8,3               ## @SP_CTX_MAGIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid socket side (%d)."

	.no_dead_strip	_sp_descriptor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sp_descriptor
_sp_descriptor:                         ; @sp_descriptor
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_PJDLOG_ASSERT
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _SP_CTX_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SP_CTX_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_PJDLOG_ASSERT
	ldr	w8, [x19, #8]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	cset	w0, eq
	bl	_PJDLOG_ASSERT
	ldr	w1, [x19, #8]
	cmp	w1, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	mvn	w8, w8
	lsr	w0, w8, #31
	bl	_PJDLOG_ASSERT
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	b	LBB0_5
LBB0_3:
	ldr	x8, [x19, #16]
	ldr	w8, [x8, #4]
	mvn	w8, w8
	lsr	w0, w8, #31
	bl	_PJDLOG_ASSERT
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #4]
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_PJDLOG_ABORT
                                        ; implicit-def: $w0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SP_CTX_MAGIC,8,3               ; @SP_CTX_MAGIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid socket side (%d)."

	.no_dead_strip	_sp_descriptor
.subsections_via_symbols
