	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pri_detector_init              ## -- Begin function pri_detector_init
	.p2align	4, 0x90
_pri_detector_init:                     ## @pri_detector_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_pri_detector_exit@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_pri_detector_add_pulse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_pri_detector_reset@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	leaq	20(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_INIT_LIST_HEAD
	movl	4(%r14), %eax
	movl	(%r14), %ecx
	imull	%eax, %ecx
	imull	8(%r14), %ecx
	movl	%ecx, (%rbx)
	addl	%eax, %eax
	movl	%eax, 4(%rbx)
	movq	%r14, 8(%rbx)
	xorl	%eax, %eax
	callq	_pool_register_ref
LBB0_2:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_pri_detector_exit,4,2          ## @pri_detector_exit
	.comm	_pri_detector_add_pulse,4,2     ## @pri_detector_add_pulse
	.comm	_pri_detector_reset,4,2         ## @pri_detector_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pri_detector_init              ; -- Begin function pri_detector_init
	.p2align	2
_pri_detector_init:                     ; @pri_detector_init
	.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	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _pri_detector_exit@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pri_detector_exit@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #32]
Lloh6:
	adrp	x8, _pri_detector_add_pulse@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pri_detector_add_pulse@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _pri_detector_reset@GOTPAGE
Lloh10:
	ldr	x9, [x9, _pri_detector_reset@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #24]
	add	x0, x20, #20
	bl	_INIT_LIST_HEAD
	add	x0, x20, #16
	bl	_INIT_LIST_HEAD
	ldp	w8, w9, [x19]
	mul	w8, w9, w8
	ldr	w10, [x19, #8]
	mul	w8, w8, w10
	lsl	w9, w9, #1
	stp	w8, w9, [x20]
	str	x19, [x20, #8]
	bl	_pool_register_ref
LBB0_2:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_pri_detector_exit,4,2          ; @pri_detector_exit
	.comm	_pri_detector_add_pulse,4,2     ; @pri_detector_add_pulse
	.comm	_pri_detector_reset,4,2         ; @pri_detector_reset
.subsections_via_symbols
