	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpng_set_buf_ptr               ## -- Begin function rpng_set_buf_ptr
	.p2align	4, 0x90
_rpng_set_buf_ptr:                      ## @rpng_set_buf_ptr
	.cfi_startproc
## %bb.0:
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, (%rdi)
	leaq	(%rsi,%rdx,4), %rax
	addq	$-4, %rax
	movq	%rax, 8(%rdi)
	movl	$1, %eax
	popq	%rbp
LBB0_3:
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpng_set_buf_ptr               ; -- Begin function rpng_set_buf_ptr
	.p2align	2
_rpng_set_buf_ptr:                      ; @rpng_set_buf_ptr
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #0
	cbz	x8, LBB0_3
; %bb.1:
	cbz	x2, LBB0_3
; %bb.2:
	add	x9, x1, x2, lsl #2
	sub	x9, x9, #4
	stp	x1, x9, [x8]
	mov	w0, #1
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
