	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resource_needs_reload
_resource_needs_reload:                 ## @resource_needs_reload
	.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, %r14
	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(%r14), %esi
	callq	_strcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_PJDLOG_ASSERT
	movl	60(%rbx), %edi
	movl	60(%r14), %esi
	callq	_strcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_PJDLOG_ASSERT
	movq	(%rbx), %rax
	movq	_HAST_ROLE_PRIMARY@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.1:
	movl	56(%rbx), %edi
	movl	56(%r14), %esi
	callq	_strcmp
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_9
## %bb.2:
	movl	52(%rbx), %edi
	movl	52(%r14), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.3:
	movq	8(%rbx), %rax
	cmpq	8(%r14), %rax
	jne	LBB0_9
## %bb.4:
	movq	16(%rbx), %rax
	cmpq	16(%r14), %rax
	jne	LBB0_9
## %bb.5:
	movq	24(%rbx), %rax
	cmpq	24(%r14), %rax
	jne	LBB0_9
## %bb.6:
	movq	32(%rbx), %rax
	cmpq	32(%r14), %rax
	jne	LBB0_9
## %bb.7:
	movl	48(%rbx), %edi
	movl	48(%r14), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	40(%rbx), %rax
	xorl	%r15d, %r15d
	cmpq	40(%r14), %rax
	setne	%r15b
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HAST_ROLE_PRIMARY,8,3          ## @HAST_ROLE_PRIMARY
	.no_dead_strip	_resource_needs_reload
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resource_needs_reload
_resource_needs_reload:                 ; @resource_needs_reload
	.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
	cmp	x0, #0
	cset	w0, eq
	bl	_PJDLOG_ASSERT
	ldr	w0, [x20, #60]
	ldr	w1, [x19, #60]
	bl	_strcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_PJDLOG_ASSERT
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _HAST_ROLE_PRIMARY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HAST_ROLE_PRIMARY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.1:
	ldr	w0, [x20, #56]
	ldr	w1, [x19, #56]
	bl	_strcmp
	cbnz	x0, LBB0_8
; %bb.2:
	ldr	w0, [x20, #52]
	ldr	w1, [x19, #52]
	bl	_strcmp
	cbnz	x0, LBB0_8
; %bb.3:
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.4:
	ldr	x8, [x20, #16]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
	ldr	x8, [x20, #24]
	ldr	x9, [x19, #24]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x20, #32]
	ldr	x9, [x19, #32]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldr	w0, [x20, #48]
	ldr	w1, [x19, #48]
	bl	_strcmp
	cbz	x0, LBB0_11
LBB0_8:
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	x8, [x20, #40]
	ldr	x9, [x19, #40]
	cmp	x8, x9
	cset	w0, ne
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HAST_ROLE_PRIMARY,8,3          ; @HAST_ROLE_PRIMARY
	.no_dead_strip	_resource_needs_reload
.subsections_via_symbols
