	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pixctx_reset
_pixctx_reset:                          ## @pixctx_reset
	.cfi_startproc
## %bb.0:
	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	%rdi, %r14
	cmpl	$0, 32(%rdi)
	je	LBB0_1
## %bb.4:
	movq	8(%r14), %rax
	movabsq	$8589934593, %rcx               ## imm = 0x200000001
	movq	%rcx, (%rax)
	movl	$4, 8(%rax)
	jmp	LBB0_5
LBB0_1:
	cmpl	$0, (%r14)
	jle	LBB0_5
## %bb.2:
	movq	8(%r14), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, (%rax,%rcx,4)
	incq	%rcx
	movslq	(%r14), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_3
LBB0_5:
	leaq	28(%r14), %rdi
	callq	_model_reset
	leaq	24(%r14), %rdi
	callq	_model_reset
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_model_reset
	movq	16(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	addq	$4, %rdi
	callq	_model_reset
	movq	16(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	addq	$8, %rdi
	callq	_model_reset
	movq	16(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	addq	$12, %rdi
	callq	_model_reset
	incq	%rbx
	cmpq	$15, %rbx
	jne	LBB0_6
## %bb.7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pixctx_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function pixctx_reset
lCPI0_0:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_pixctx_reset:                          ; @pixctx_reset
	.cfi_startproc
; %bb.0:
	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, x0
	ldr	w8, [x0, #32]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x8]
	mov	w9, #4
	str	w9, [x8, #8]
	b	LBB0_5
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x8, #0
	ldr	x9, [x19, #8]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	w8, [x9, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x10, [x19]
	cmp	x8, x10
	b.lt	LBB0_4
LBB0_5:
	add	x0, x19, #28
	bl	_model_reset
	add	x0, x19, #24
	bl	_model_reset
	mov	x20, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8, x20]
	bl	_model_reset
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x20]
	add	x0, x8, #4
	bl	_model_reset
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x20]
	add	x0, x8, #8
	bl	_model_reset
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x20]
	add	x0, x8, #12
	bl	_model_reset
	add	x20, x20, #8
	cmp	x20, #120
	b.ne	LBB0_6
; %bb.7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pixctx_reset
.subsections_via_symbols
