	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xshm_gfx_frame
_xshm_gfx_frame:                        ## @xshm_gfx_frame
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.1:
	movl	%r9d, %r13d
	movq	%rsi, %r12
	movl	%ecx, %eax
	shlq	$2, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r14), %rdi
	imulq	%rbx, %rdi
	shlq	$2, %rdi
	addq	24(%r14), %rdi
	movl	%r15d, %eax
	leaq	(%r12,%rax,4), %rsi
	movl	%r13d, %edx
	callq	_memcpy
	addl	%r13d, %r15d
	addq	$4, %rbx
	cmpq	%rbx, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_2
LBB0_3:
	movl	(%r14), %r10d
	movl	4(%r14), %edi
	movl	20(%r14), %esi
	movl	16(%r14), %edx
	movl	12(%r14), %ecx
	movl	8(%r14), %ebx
	movq	_False@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	pushq	$0
	pushq	$0
	callq	_XShmPutImage
	addq	$48, %rsp
	movl	4(%r14), %edi
	callq	_XFlush
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_False,4,2                      ## @False
	.no_dead_strip	_xshm_gfx_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xshm_gfx_frame
_xshm_gfx_frame:                        ; @xshm_gfx_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	cbz	w3, LBB0_3
; %bb.1:
	mov	x20, x5
	mov	x21, x1
	mov	x22, #0
	mov	w23, #0
	mov	w8, w3
	lsl	x24, x8, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19]
	mul	x9, x22, x9
	add	x0, x8, x9, lsl #2
	add	x1, x21, w23, uxtw #2
	mov	x2, x20
	bl	_memcpy
	add	w23, w23, w20
	add	x22, x22, #4
	cmp	x24, x22
	b.ne	LBB0_2
LBB0_3:
	ldp	w2, w1, [x19, #16]
	ldp	w8, w0, [x19]
	ldp	w9, w3, [x19, #8]
Lloh0:
	adrp	x10, _False@GOTPAGE
Lloh1:
	ldr	x10, [x10, _False@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	stp	w9, w10, [sp, #4]
	str	w8, [sp]
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_XShmPutImage
	ldr	w0, [x19, #4]
	bl	_XFlush
	mov	w0, #1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_False,4,2                      ; @False
	.no_dead_strip	_xshm_gfx_frame
.subsections_via_symbols
