	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_resource_section
_get_resource_section:                  ## @get_resource_section
	.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
	movq	$0, -32(%rbp)
	callq	_get_nt_header
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_get_section_header
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %r15
	cmpq	$0, -32(%rbp)
	je	LBB0_8
## %bb.3:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %edi
	movq	%r14, %rsi
	movl	$6, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movq	-32(%rbp), %rcx
	cmpq	%rcx, %rbx
	jb	LBB0_4
	jmp	LBB0_10
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_8:
	xorl	%ecx, %ecx
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_9:
	movq	-32(%rbp), %rcx
LBB0_10:
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
	leaq	(%r15,%rbx,4), %rcx
	cmovneq	%rcx, %rax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".rsrc"

	.no_dead_strip	_get_resource_section
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_resource_section
_get_resource_section:                  ; @get_resource_section
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	str	xzr, [sp, #8]
	bl	_get_nt_header
	cbz	x0, LBB0_9
; %bb.1:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_get_section_header
	cbz	x0, LBB0_9
; %bb.2:
	mov	x19, x0
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_6
; %bb.3:
	mov	x21, #0
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, x21, lsl #2]
	mov	x1, x20
	mov	w2, #6
	bl	_memcmp
	cbz	w0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldr	x8, [sp, #8]
	cmp	x21, x8
	b.lo	LBB0_4
	b	LBB0_8
LBB0_6:
	mov	x21, #0
	b	LBB0_8
LBB0_7:
	ldr	x8, [sp, #8]
LBB0_8:
	add	x9, x19, x21, lsl #2
	cmp	x21, x8
	csel	x0, xzr, x9, eq
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".rsrc"

	.no_dead_strip	_get_resource_section
.subsections_via_symbols
