	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function put_resource
_put_resource:                          ## @put_resource
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $esi killed $esi def $rsi
	testl	%esi, %esi
	je	LBB0_6
## %bb.1:
	testb	$1, %sil
	jne	LBB0_3
## %bb.2:
	movl	%esi, %r8d
	cmpl	$1, %esi
	jne	LBB0_5
	jmp	LBB0_6
LBB0_3:
	movl	%edx, %r8d
	movl	%edx, %ecx
	andb	$7, %cl
	movl	$-2, %eax
	roll	%cl, %eax
	shrl	$3, %r8d
	andl	%eax, (%rdi,%r8,4)
	incl	%edx
	leal	-1(%rsi), %r8d
	cmpl	$1, %esi
	je	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, %esi
	movl	%edx, %ecx
	andb	$7, %cl
	movl	$-2, %eax
	roll	%cl, %eax
	shrl	$3, %esi
	andl	%eax, (%rdi,%rsi,4)
	leal	1(%rdx), %ecx
	movl	%ecx, %eax
	andb	$7, %cl
	movl	$-2, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	roll	%cl, %esi
	shrl	$3, %eax
	andl	%esi, (%rdi,%rax,4)
	addl	$2, %edx
	addl	$-2, %r8d
	jne	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_put_resource
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function put_resource
_put_resource:                          ; @put_resource
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_3
; %bb.1:
	mov	w8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w9, w2, #3
	and	w10, w2, #0x7
	lsl	x9, x9, #2
	ldr	w11, [x0, x9]
	lsl	w10, w8, w10
	bic	w10, w11, w10
	str	w10, [x0, x9]
	add	w2, w2, #1
	subs	w1, w1, #1
	b.ne	LBB0_2
LBB0_3:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_put_resource
.subsections_via_symbols
