	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt1_stop_polling
_pt1_stop_polling:                      ## @pt1_stop_polling
	.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
	callq	_mutex_lock
	movq	_PT1_NR_ADAPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	jle	LBB0_9
## %bb.1:
	movq	16(%r14), %rcx
	leaq	-1(%rsi), %rdx
	movl	%esi, %r8d
	andl	$3, %r8d
	cmpq	$3, %rdx
	jae	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	xorl	%edx, %edx
	jmp	LBB0_5
LBB0_3:
	andl	$-4, %esi
	xorl	%edi, %edi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdi,8), %rbx
	movq	8(%rcx,%rdi,8), %rax
	addl	(%rbx), %edx
	addl	(%rax), %edx
	movq	16(%rcx,%rdi,8), %rax
	addl	(%rax), %edx
	movq	24(%rcx,%rdi,8), %rax
	addl	(%rax), %edx
	addq	$4, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_4
LBB0_5:
	testq	%r8, %r8
	je	LBB0_8
## %bb.6:
	leaq	(%rcx,%rdi,8), %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rax
	addl	(%rax), %edx
	incq	%rsi
	cmpq	%rsi, %r8
	jne	LBB0_7
LBB0_8:
	testl	%edx, %edx
	jne	LBB0_11
LBB0_9:
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_kthread_stop
	movq	$0, 8(%r14)
LBB0_11:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PT1_NR_ADAPS,4,2               ## @PT1_NR_ADAPS
	.no_dead_strip	_pt1_stop_polling
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt1_stop_polling
_pt1_stop_polling:                      ; @pt1_stop_polling
	.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
	bl	_mutex_lock
Lloh0:
	adrp	x8, _PT1_NR_ADAPS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PT1_NR_ADAPS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	ldr	x9, [x19, #16]
	cmp	w8, #4
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	mov	w11, #0
	b	LBB0_6
LBB0_3:
	mov	w13, #0
	mov	w14, #0
	mov	w12, #0
	mov	w11, #0
	and	x10, x8, #0xfffffffc
	add	x15, x9, #16
	mov	x16, x10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x17, x0, [x15, #-16]
	ldp	x1, x2, [x15], #32
	ldr	w17, [x17]
	ldr	w0, [x0]
	ldr	w1, [x1]
	add	w13, w13, w17
	add	w14, w14, w0
	ldr	w17, [x2]
	add	w12, w12, w1
	add	w11, w11, w17
	subs	x16, x16, #4
	b.ne	LBB0_4
; %bb.5:
	add	w13, w14, w13
	add	w12, w12, w13
	add	w11, w11, w12
	cmp	x10, x8
	b.eq	LBB0_8
LBB0_6:
	add	x9, x9, x10, lsl #3
	sub	x8, x8, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #8
	ldr	w10, [x10]
	add	w11, w11, w10
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	cbnz	w11, LBB0_11
LBB0_9:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_kthread_stop
	str	xzr, [x19, #8]
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PT1_NR_ADAPS,4,2               ; @PT1_NR_ADAPS
	.no_dead_strip	_pt1_stop_polling
.subsections_via_symbols
