	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ResourceArrayGetAny
_ResourceArrayGetAny:                   ## @ResourceArrayGetAny
	.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
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_RESARRAY_IS_ARRAY
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	$0, 8(%rbx)
	movq	24(%rbx), %rax
	movq	(%rax), %rdi
LBB0_7:
	movq	%rdi, (%r14)
	movl	$1, %eax
	jmp	LBB0_8
LBB0_1:
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	decq	%rax
	movq	32(%rbx), %rdx
	movq	8(%rbx), %rsi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	andq	%rax, %rsi
	movq	%rsi, 8(%rbx)
	movq	(%rcx,%rsi,8), %rdi
	cmpq	%rdx, %rdi
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rsi
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ResourceArrayGetAny
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ResourceArrayGetAny
_ResourceArrayGetAny:                   ; @ResourceArrayGetAny
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	bl	_RESARRAY_IS_ARRAY
	cbz	x0, LBB0_6
; %bb.2:
	str	xzr, [x20, #8]
	ldr	x8, [x20, #24]
	ldr	x12, [x8]
LBB0_3:
	str	x12, [x19]
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldp	x11, x8, [x20, #8]
	sub	x8, x8, #1
	ldp	x9, x10, [x20, #24]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	and	x11, x11, x8
	str	x11, [x20, #8]
	ldr	x12, [x9, x11, lsl #3]
	cmp	x12, x10
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x11, x11, #1
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ResourceArrayGetAny
.subsections_via_symbols
