	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_gr_zbc_init              ## -- Begin function gf100_gr_zbc_init
	.p2align	4, 0x90
_gf100_gr_zbc_init:                     ## @gf100_gr_zbc_init
	.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
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	l___const.gf100_gr_zbc_init.one+16(%rip), %xmm1
	movaps	%xmm1, -96(%rbp)
	movaps	l___const.gf100_gr_zbc_init.one(%rip), %xmm1
	movaps	%xmm1, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movaps	l___const.gf100_gr_zbc_init.f32_1+16(%rip), %xmm0
	movaps	%xmm0, -160(%rbp)
	movaps	l___const.gf100_gr_zbc_init.f32_1(%rip), %xmm0
	movaps	%xmm0, -176(%rbp)
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	(%rcx), %r13
	movl	(%r13), %r14d
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movl	%r14d, %ebx
	movl	%r14d, %r12d
	jmp	LBB0_4
LBB0_2:
	leaq	-64(%rbp), %rcx
	leaq	-80(%rbp), %rdx
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_gf100_gr_zbc_color_get
	leaq	-96(%rbp), %rcx
	leaq	-112(%rbp), %rdx
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_gf100_gr_zbc_color_get
	leal	2(%r14), %r12d
	leaq	-128(%rbp), %rcx
	leaq	-144(%rbp), %rdx
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_gf100_gr_zbc_color_get
	leaq	-160(%rbp), %rcx
	leaq	-176(%rbp), %rdx
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_gf100_gr_zbc_color_get
	leal	4(%r14), %ebx
	movq	%r15, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_gf100_gr_zbc_depth_get
	movq	%r15, %rdi
	movl	$1, %esi
	movl	$1065353216, %edx               ## imm = 0x3F800000
	movl	$1065353216, %ecx               ## imm = 0x3F800000
	callq	_gf100_gr_zbc_depth_get
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	24(%rax), %r8
	testq	%r8, %r8
	je	LBB0_4
## %bb.3:
	addl	$3, %r14d
	movq	%r15, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	*%r8
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%r15, %rdi
	movl	$1, %esi
	movl	$1, %edx
	movl	$1, %ecx
	callq	*24(%rax)
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%r15, %rdi
	movl	$1, %esi
	movl	$255, %edx
	movl	$255, %ecx
	callq	*24(%rax)
LBB0_4:
	movl	4(%r13), %eax
	cmpl	%eax, %ebx
	jg	LBB0_5
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	*16(%rax)
	leal	1(%rbx), %ecx
	movl	4(%r13), %eax
	cmpl	%eax, %ebx
	movl	%ecx, %ebx
	jl	LBB0_14
LBB0_5:
	cmpl	%eax, %r12d
	jg	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	*8(%rax)
	leal	1(%r12), %ecx
	movl	4(%r13), %eax
	cmpl	%eax, %r12d
	movl	%ecx, %r12d
	jl	LBB0_6
LBB0_7:
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.8:
	cmpl	%eax, %r14d
	jg	LBB0_12
## %bb.9:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	*%rcx
	cmpl	4(%r13), %r14d
	jge	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	incl	%r14d
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	*(%rax)
	cmpl	4(%r13), %r14d
	jl	LBB0_10
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.13:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.gf100_gr_zbc_init.one
l___const.gf100_gr_zbc_init.one:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff

	.p2align	4                               ## @__const.gf100_gr_zbc_init.f32_1
l___const.gf100_gr_zbc_init.f32_1:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_gr_zbc_init              ; -- Begin function gf100_gr_zbc_init
	.p2align	2
_gf100_gr_zbc_init:                     ; @gf100_gr_zbc_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	movi.2d	v0, #0000000000000000
Lloh3:
	adrp	x8, l___const.gf100_gr_zbc_init.one@PAGE
Lloh4:
	add	x8, x8, l___const.gf100_gr_zbc_init.one@PAGEOFF
	stp	q0, q0, [sp, #96]
	ldp	q1, q2, [x8]
	stp	q1, q2, [sp, #64]
	stp	q0, q0, [sp, #32]
Lloh5:
	adrp	x8, l___const.gf100_gr_zbc_init.f32_1@PAGE
Lloh6:
	add	x8, x8, l___const.gf100_gr_zbc_init.f32_1@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp]
	ldp	x9, x8, [x0, #8]
	ldr	x23, [x8]
	ldr	w20, [x23]
	ldr	w8, [x9]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x22, x20
	mov	x21, x20
	b	LBB0_4
LBB0_2:
	add	x8, sp, #96
	add	x3, x8, #16
	add	x2, sp, #96
	mov	x0, x19
	mov	w1, #1
	bl	_gf100_gr_zbc_color_get
	add	x8, sp, #64
	add	x3, x8, #16
	add	x2, sp, #64
	mov	x0, x19
	mov	w1, #2
	bl	_gf100_gr_zbc_color_get
	add	w21, w20, #2
	add	x8, sp, #32
	add	x3, x8, #16
	add	x2, sp, #32
	mov	x0, x19
	mov	w1, #4
	bl	_gf100_gr_zbc_color_get
	mov	x8, sp
	add	x3, x8, #16
	mov	x2, sp
	mov	x0, x19
	mov	w1, #4
	bl	_gf100_gr_zbc_color_get
	add	w22, w20, #4
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	mov	w3, #0
	bl	_gf100_gr_zbc_depth_get
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1065353216
	mov	w3, #1065353216
	bl	_gf100_gr_zbc_depth_get
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_4
; %bb.3:
	add	w20, w20, #3
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	mov	w3, #0
	blr	x8
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8, #24]
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	mov	w3, #1
	blr	x8
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8, #24]
	mov	x0, x19
	mov	w1, #1
	mov	w2, #255
	mov	w3, #255
	blr	x8
LBB0_4:
	ldr	w8, [x23, #4]
	cmp	w22, w8
	b.gt	LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8, #16]
	mov	x0, x19
	mov	x1, x22
	blr	x8
	add	w9, w22, #1
	ldr	w8, [x23, #4]
	cmp	w22, w8
	mov	x22, x9
	b.lt	LBB0_5
LBB0_6:
	cmp	w21, w8
	b.gt	LBB0_8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	mov	x0, x19
	mov	x1, x21
	blr	x8
	add	w9, w21, #1
	ldr	w8, [x23, #4]
	cmp	w21, w8
	mov	x21, x9
	b.lt	LBB0_7
LBB0_8:
	ldr	x9, [x19]
	ldr	x9, [x9]
	ldr	x9, [x9]
	cmp	x9, #0
	ccmp	w20, w8, #0, ne
	b.le	LBB0_11
LBB0_9:
	ldur	x8, [x29, #-56]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.10:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	blr	x9
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23, #4]
	cmp	w20, w8
	b.ge	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	w20, w20, #1
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	b	LBB0_12
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.gf100_gr_zbc_init.one
l___const.gf100_gr_zbc_init.one:
	.long	1065353216                      ; 0x3f800000
	.long	1065353216                      ; 0x3f800000
	.long	1065353216                      ; 0x3f800000
	.long	1065353216                      ; 0x3f800000
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff

	.p2align	2                               ; @__const.gf100_gr_zbc_init.f32_1
l___const.gf100_gr_zbc_init.f32_1:
	.long	1065353216                      ; 0x3f800000
	.long	1065353216                      ; 0x3f800000
	.long	1065353216                      ; 0x3f800000
	.long	1065353216                      ; 0x3f800000
	.long	1065353216                      ; 0x3f800000
	.long	1065353216                      ; 0x3f800000
	.long	1065353216                      ; 0x3f800000
	.long	1065353216                      ; 0x3f800000

.subsections_via_symbols
