	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ppp_register_compressor        ## -- Begin function ppp_register_compressor
	.p2align	4, 0x90
_ppp_register_compressor:               ## @ppp_register_compressor
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_compressor_list_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	_EEXIST@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movl	(%r14), %edi
	callq	_find_comp_entry
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kmalloc
	movl	%r15d, %ebx
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r14, 8(%rax)
	movq	_compressor_list@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	callq	_list_add
	xorl	%ebx, %ebx
LBB0_3:
	movq	_compressor_list_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_compressor_list_lock,4,2       ## @compressor_list_lock
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_compressor_list,4,2            ## @compressor_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ppp_register_compressor        ; -- Begin function ppp_register_compressor
	.p2align	2
_ppp_register_compressor:               ; @ppp_register_compressor
	.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
Lloh0:
	adrp	x0, _compressor_list_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _compressor_list_lock@GOTPAGEOFF]
	bl	_spin_lock
Lloh2:
	adrp	x8, _EEXIST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	ldr	w0, [x19]
	bl	_find_comp_entry
	cbz	x0, LBB0_2
LBB0_1:
	neg	w19, w20
	b	LBB0_4
LBB0_2:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
Lloh8:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kmalloc
	cbz	x0, LBB0_1
; %bb.3:
	str	x19, [x0, #8]
Lloh11:
	adrp	x1, _compressor_list@GOTPAGE
Lloh12:
	ldr	x1, [x1, _compressor_list@GOTPAGEOFF]
	bl	_list_add
	mov	w19, #0
LBB0_4:
Lloh13:
	adrp	x0, _compressor_list_lock@GOTPAGE
Lloh14:
	ldr	x0, [x0, _compressor_list_lock@GOTPAGEOFF]
	bl	_spin_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_compressor_list_lock,4,2       ; @compressor_list_lock
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_compressor_list,4,2            ; @compressor_list
.subsections_via_symbols
