	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function vg_client_state_alloc
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_vg_client_state_alloc
	.p2align	4, 0x90
_vg_client_state_alloc:                 ## @vg_client_state_alloc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movl	$184, %edi
	callq	_khrn_platform_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_vg_client_shared_state_acquire
	movq	%r14, 176(%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 160(%r15)
	movq	_VG_MATRIX_PATH_USER_TO_SURFACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 152(%r15)
	movq	144(%r15), %rdi
	callq	_ARR_COUNT
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	$4, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	144(%r15), %rdi
	addq	%rbx, %rdi
	callq	_vg_mat3x3_set_identity
	movq	144(%r15), %rax
	leaq	(%rax,%rbx), %rdi
	addq	$-4, %rdi
	callq	_vg_mat3x3_set_identity
	incq	%r14
	movq	144(%r15), %rdi
	callq	_ARR_COUNT
	addq	$8, %rbx
	cmpq	%rax, %r14
	jne	LBB0_4
LBB0_5:
	movq	_VG_EVEN_ODD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 136(%r15)
	movl	$1065353216, (%r15)             ## imm = 0x3F800000
	movq	_VG_CAP_BUTT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 132(%r15)
	movq	_VG_JOIN_MITER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 128(%r15)
	movl	$1082130432, 4(%r15)            ## imm = 0x40800000
	movq	$0, 120(%r15)
	movq	$0, 8(%r15)
	movq	_VG_IMAGE_QUALITY_FASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 116(%r15)
	movq	_VG_DRAW_IMAGE_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%r15)
	movl	$0, 16(%r15)
	movq	$0, 104(%r15)
	movq	_VG_RENDERING_QUALITY_BETTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%r15)
	movq	_VG_INVALID_HANDLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 88(%r15)
	movq	%rax, 80(%r15)
	movq	24(%r15), %rax
	xorps	%xmm1, %xmm1
	movups	%xmm1, (%rax)
	movq	32(%r15), %rax
	movups	%xmm1, (%rax)
	movl	$0, 40(%r15)
	movq	48(%r15), %rax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1.0E+0,1.0E+0,1.0E+0,1.0E+0]
	movups	%xmm0, (%rax)
	movups	%xmm1, 16(%rax)
	movq	_VG_BLEND_SRC_OVER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%r15)
	movq	$0, 56(%r15)
	movl	$0, 64(%r15)
	movq	_VG_RED@GOTPCREL(%rip), %rax
	movq	_VG_GREEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_VG_BLUE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_VG_ALPHA@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 68(%r15)
	movq	_VG_PIXEL_LAYOUT_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r15)
	jmp	LBB0_6
LBB0_1:
	xorl	%r15d, %r15d
LBB0_6:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VG_CLIENT_STATE_T"

	.comm	_VG_MATRIX_PATH_USER_TO_SURFACE,4,2 ## @VG_MATRIX_PATH_USER_TO_SURFACE
	.comm	_VG_EVEN_ODD,4,2                ## @VG_EVEN_ODD
	.comm	_VG_CAP_BUTT,4,2                ## @VG_CAP_BUTT
	.comm	_VG_JOIN_MITER,4,2              ## @VG_JOIN_MITER
	.comm	_VG_IMAGE_QUALITY_FASTER,4,2    ## @VG_IMAGE_QUALITY_FASTER
	.comm	_VG_DRAW_IMAGE_NORMAL,4,2       ## @VG_DRAW_IMAGE_NORMAL
	.comm	_VG_RENDERING_QUALITY_BETTER,4,2 ## @VG_RENDERING_QUALITY_BETTER
	.comm	_VG_INVALID_HANDLE,8,3          ## @VG_INVALID_HANDLE
	.comm	_VG_BLEND_SRC_OVER,4,2          ## @VG_BLEND_SRC_OVER
	.comm	_VG_RED,4,2                     ## @VG_RED
	.comm	_VG_GREEN,4,2                   ## @VG_GREEN
	.comm	_VG_BLUE,4,2                    ## @VG_BLUE
	.comm	_VG_ALPHA,4,2                   ## @VG_ALPHA
	.comm	_VG_PIXEL_LAYOUT_UNKNOWN,4,2    ## @VG_PIXEL_LAYOUT_UNKNOWN
.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 vg_client_state_alloc
lCPI0_0:
	.long	0x3f800000                      ; float 1
	.long	0x40800000                      ; float 4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_vg_client_state_alloc
	.p2align	2
_vg_client_state_alloc:                 ; @vg_client_state_alloc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #184
	bl	_khrn_platform_malloc
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_vg_client_shared_state_acquire
	stp	xzr, x20, [x19, #168]
	str	xzr, [x19, #160]
Lloh2:
	adrp	x8, _VG_MATRIX_PATH_USER_TO_SURFACE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VG_MATRIX_PATH_USER_TO_SURFACE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #152]
	ldr	x0, [x19, #144]
	bl	_ARR_COUNT
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, #0
	mov	w21, #4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #144]
	add	x0, x8, x21
	bl	_vg_mat3x3_set_identity
	ldr	x8, [x19, #144]
	add	x8, x8, x21
	sub	x0, x8, #4
	bl	_vg_mat3x3_set_identity
	add	x20, x20, #1
	ldr	x0, [x19, #144]
	bl	_ARR_COUNT
	add	x21, x21, #8
	cmp	x20, x0
	b.ne	LBB0_3
LBB0_4:
Lloh5:
	adrp	x8, _VG_EVEN_ODD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VG_EVEN_ODD@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #136]
Lloh8:
	adrp	x8, _VG_CAP_BUTT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VG_CAP_BUTT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _VG_JOIN_MITER@GOTPAGE
Lloh12:
	ldr	x9, [x9, _VG_JOIN_MITER@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #128]
Lloh14:
	adrp	x8, lCPI0_0@PAGE
Lloh15:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	str	xzr, [x19, #120]
	str	wzr, [x19, #8]
Lloh16:
	adrp	x8, _VG_IMAGE_QUALITY_FASTER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VG_IMAGE_QUALITY_FASTER@GOTPAGEOFF]
Lloh18:
	adrp	x9, _VG_DRAW_IMAGE_NORMAL@GOTPAGE
Lloh19:
	ldr	x9, [x9, _VG_DRAW_IMAGE_NORMAL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #112]
	movi.2d	v0, #0000000000000000
	stur	d0, [x19, #12]
	str	xzr, [x19, #104]
Lloh22:
	adrp	x8, _VG_RENDERING_QUALITY_BETTER@GOTPAGE
Lloh23:
	ldr	x8, [x8, _VG_RENDERING_QUALITY_BETTER@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _VG_INVALID_HANDLE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _VG_INVALID_HANDLE@GOTPAGEOFF]
	str	w8, [x19, #96]
Lloh27:
	ldr	x8, [x9]
	stp	x8, x8, [x19, #80]
	ldr	x8, [x19, #24]
	stp	xzr, xzr, [x8]
	ldr	x8, [x19, #32]
	stp	xzr, xzr, [x8]
	str	wzr, [x19, #40]
	ldr	x8, [x19, #48]
	fmov.4s	v1, #1.00000000
	str	q1, [x8]
	stp	xzr, xzr, [x8, #16]
Lloh28:
	adrp	x8, _VG_RED@GOTPAGE
Lloh29:
	ldr	x8, [x8, _VG_RED@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _VG_GREEN@GOTPAGE
Lloh32:
	ldr	x9, [x9, _VG_GREEN@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
Lloh34:
	adrp	x10, _VG_BLUE@GOTPAGE
Lloh35:
	ldr	x10, [x10, _VG_BLUE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh36:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh37:
	adrp	x9, _VG_ALPHA@GOTPAGE
Lloh38:
	ldr	x9, [x9, _VG_ALPHA@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh40:
	adrp	x9, _VG_BLEND_SRC_OVER@GOTPAGE
Lloh41:
	ldr	x9, [x9, _VG_BLEND_SRC_OVER@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	str	d0, [x19, #56]
	stp	wzr, w8, [x19, #64]
Lloh43:
	adrp	x8, _VG_PIXEL_LAYOUT_UNKNOWN@GOTPAGE
Lloh44:
	ldr	x8, [x8, _VG_PIXEL_LAYOUT_UNKNOWN@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	stp	w8, w9, [x19, #72]
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh20
	.loh AdrpAdrp	Lloh14, Lloh16
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VG_CLIENT_STATE_T"

	.comm	_VG_MATRIX_PATH_USER_TO_SURFACE,4,2 ; @VG_MATRIX_PATH_USER_TO_SURFACE
	.comm	_VG_EVEN_ODD,4,2                ; @VG_EVEN_ODD
	.comm	_VG_CAP_BUTT,4,2                ; @VG_CAP_BUTT
	.comm	_VG_JOIN_MITER,4,2              ; @VG_JOIN_MITER
	.comm	_VG_IMAGE_QUALITY_FASTER,4,2    ; @VG_IMAGE_QUALITY_FASTER
	.comm	_VG_DRAW_IMAGE_NORMAL,4,2       ; @VG_DRAW_IMAGE_NORMAL
	.comm	_VG_RENDERING_QUALITY_BETTER,4,2 ; @VG_RENDERING_QUALITY_BETTER
	.comm	_VG_INVALID_HANDLE,8,3          ; @VG_INVALID_HANDLE
	.comm	_VG_BLEND_SRC_OVER,4,2          ; @VG_BLEND_SRC_OVER
	.comm	_VG_RED,4,2                     ; @VG_RED
	.comm	_VG_GREEN,4,2                   ; @VG_GREEN
	.comm	_VG_BLUE,4,2                    ; @VG_BLUE
	.comm	_VG_ALPHA,4,2                   ; @VG_ALPHA
	.comm	_VG_PIXEL_LAYOUT_UNKNOWN,4,2    ; @VG_PIXEL_LAYOUT_UNKNOWN
.subsections_via_symbols
