	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdl2_poke_set_texture_frame
_sdl2_poke_set_texture_frame:           ## @sdl2_poke_set_texture_frame
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%eax, %eax
	testl	%edx, %edx
	setne	%al
	leal	(%rax,%rax), %r9d
	addl	$2, %r9d
	imull	%ecx, %r9d
	movl	$1, %esi
	callq	_sdl_refresh_input_size
	movl	(%rbx), %ecx
	movl	4(%rbx), %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_SDL_UpdateTexture              ## TAILCALL
LBB0_1:
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sdl2_poke_set_texture_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdl2_poke_set_texture_frame
_sdl2_poke_set_texture_frame:           ; @sdl2_poke_set_texture_frame
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_2
; %bb.1:
	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
	mov	w8, #4
	mov	w9, #2
	cmp	w2, #0
	csel	w8, w9, w8, eq
	mul	w5, w8, w3
	mov	w1, #1
	bl	_sdl_refresh_input_size
	ldp	w3, w0, [x20]
	mov	x1, #0
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SDL_UpdateTexture
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sdl2_poke_set_texture_frame
.subsections_via_symbols
