	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resource_needs_restart
_resource_needs_restart:                ## @resource_needs_restart
	.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	%rsi, %r15
	movq	%rdi, %rbx
	movl	68(%rdi), %edi
	movl	68(%rsi), %esi
	callq	_strcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_PJDLOG_ASSERT
	movl	64(%rbx), %edi
	movl	64(%r15), %esi
	callq	_strcmp
	movl	$1, %r14d
	testq	%rax, %rax
	jne	LBB0_13
## %bb.1:
	movl	60(%rbx), %edi
	movl	60(%r15), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.2:
	movq	(%rbx), %rax
	movq	_HAST_ROLE_INIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_HAST_ROLE_SECONDARY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
LBB0_12:
	xorl	%r14d, %r14d
	jmp	LBB0_13
LBB0_4:
	movl	56(%rbx), %edi
	movl	56(%r15), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.5:
	movl	52(%rbx), %edi
	movl	52(%r15), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.6:
	movq	8(%rbx), %rax
	cmpq	8(%r15), %rax
	jne	LBB0_13
## %bb.7:
	movq	16(%rbx), %rax
	cmpq	16(%r15), %rax
	jne	LBB0_13
## %bb.8:
	movq	24(%rbx), %rax
	cmpq	24(%r15), %rax
	jne	LBB0_13
## %bb.9:
	movq	32(%rbx), %rax
	cmpq	32(%r15), %rax
	jne	LBB0_13
## %bb.10:
	movl	48(%rbx), %edi
	movl	48(%r15), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.11:
	movq	40(%rbx), %rax
	cmpq	40(%r15), %rax
	je	LBB0_12
LBB0_13:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HAST_ROLE_INIT,8,3             ## @HAST_ROLE_INIT
	.comm	_HAST_ROLE_SECONDARY,8,3        ## @HAST_ROLE_SECONDARY
	.no_dead_strip	_resource_needs_restart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resource_needs_restart
_resource_needs_restart:                ; @resource_needs_restart
	.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, x1
	mov	x20, x0
	ldr	w0, [x0, #68]
	ldr	w1, [x1, #68]
	bl	_strcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_PJDLOG_ASSERT
	ldr	w0, [x20, #64]
	ldr	w1, [x19, #64]
	bl	_strcmp
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x20, #60]
	ldr	w1, [x19, #60]
	bl	_strcmp
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _HAST_ROLE_INIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HAST_ROLE_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _HAST_ROLE_SECONDARY@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HAST_ROLE_SECONDARY@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_13
; %bb.5:
	ldr	w0, [x20, #56]
	ldr	w1, [x19, #56]
	bl	_strcmp
	cbnz	x0, LBB0_2
; %bb.6:
	ldr	w0, [x20, #52]
	ldr	w1, [x19, #52]
	bl	_strcmp
	cbnz	x0, LBB0_2
; %bb.7:
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.8:
	ldr	x8, [x20, #16]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.9:
	ldr	x8, [x20, #24]
	ldr	x9, [x19, #24]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.10:
	ldr	x8, [x20, #32]
	ldr	x9, [x19, #32]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.11:
	ldr	w0, [x20, #48]
	ldr	w1, [x19, #48]
	bl	_strcmp
	cbnz	x0, LBB0_2
; %bb.12:
	ldr	x8, [x20, #40]
	ldr	x9, [x19, #40]
	cmp	x8, x9
	b.ne	LBB0_2
LBB0_13:
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HAST_ROLE_INIT,8,3             ; @HAST_ROLE_INIT
	.comm	_HAST_ROLE_SECONDARY,8,3        ; @HAST_ROLE_SECONDARY
	.no_dead_strip	_resource_needs_restart
.subsections_via_symbols
