	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function head_stuck
_head_stuck:                            ## @head_stuck
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	%rsi, (%rdi)
	jne	LBB0_1
## %bb.2:
	callq	_subunits_stuck
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:
	movq	_ENGINE_ACTIVE_SUBUNITS@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	addq	$8, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_ENGINE_ACTIVE_HEAD@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_ENGINE_DEAD@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENGINE_ACTIVE_HEAD,4,2         ## @ENGINE_ACTIVE_HEAD
	.comm	_ENGINE_ACTIVE_SUBUNITS,4,2     ## @ENGINE_ACTIVE_SUBUNITS
	.comm	_ENGINE_DEAD,4,2                ## @ENGINE_DEAD
	.no_dead_strip	_head_stuck
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function head_stuck
_head_stuck:                            ; @head_stuck
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	cmp	x8, x1
	b.ne	LBB0_2
; %bb.1:
	bl	_subunits_stuck
Lloh0:
	adrp	x8, _ENGINE_DEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENGINE_DEAD@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ENGINE_ACTIVE_SUBUNITS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ENGINE_ACTIVE_SUBUNITS@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	b	LBB0_3
LBB0_2:
	add	x0, x0, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh4:
	adrp	x8, _ENGINE_ACTIVE_HEAD@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENGINE_ACTIVE_HEAD@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENGINE_ACTIVE_HEAD,4,2         ; @ENGINE_ACTIVE_HEAD
	.comm	_ENGINE_ACTIVE_SUBUNITS,4,2     ; @ENGINE_ACTIVE_SUBUNITS
	.comm	_ENGINE_DEAD,4,2                ; @ENGINE_DEAD
	.no_dead_strip	_head_stuck
.subsections_via_symbols
