	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r128_emit_tex1
_r128_emit_tex1:                        ## @r128_emit_tex1
	.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), %rax
	movq	(%rax), %r15
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG
	movq	_R128_MAX_TEXTURE_LEVELS@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	addl	$5, %edi
	callq	_BEGIN_RING
	movq	_R128_SEC_TEX_CNTL_C@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	incl	%esi
	callq	_CCE_PACKET0
	movl	%eax, %edi
	callq	_OUT_RING
	movl	44(%r15), %edi
	callq	_OUT_RING
	movl	40(%r15), %edi
	callq	_OUT_RING
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_OUT_RING
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_R128_SEC_TEXTURE_BORDER_COLOR_C@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_CCE_PACKET0
	movl	%eax, %edi
	callq	_OUT_RING
	movl	24(%r15), %edi
	callq	_OUT_RING
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ADVANCE_RING                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RING_LOCALS,4,2                ## @RING_LOCALS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_R128_MAX_TEXTURE_LEVELS,4,2    ## @R128_MAX_TEXTURE_LEVELS
	.comm	_R128_SEC_TEX_CNTL_C,4,2        ## @R128_SEC_TEX_CNTL_C
	.comm	_R128_SEC_TEXTURE_BORDER_COLOR_C,4,2 ## @R128_SEC_TEXTURE_BORDER_COLOR_C
	.no_dead_strip	_r128_emit_tex1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r128_emit_tex1
_r128_emit_tex1:                        ; @r128_emit_tex1
	.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
	ldr	x8, [x0]
	ldr	x19, [x8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG
Lloh2:
	adrp	x20, _R128_MAX_TEXTURE_LEVELS@GOTPAGE
Lloh3:
	ldr	x20, [x20, _R128_MAX_TEXTURE_LEVELS@GOTPAGEOFF]
	ldr	w8, [x20]
	add	w0, w8, #5
	bl	_BEGIN_RING
Lloh4:
	adrp	x8, _R128_SEC_TEX_CNTL_C@GOTPAGE
Lloh5:
	ldr	x8, [x8, _R128_SEC_TEX_CNTL_C@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	w8, [x20]
	add	w1, w8, #1
	bl	_CCE_PACKET0
	bl	_OUT_RING
	ldr	w0, [x19, #44]
	bl	_OUT_RING
	ldr	w0, [x19, #40]
	bl	_OUT_RING
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	ldr	w0, [x8, x21, lsl #2]
	bl	_OUT_RING
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
Lloh7:
	adrp	x8, _R128_SEC_TEXTURE_BORDER_COLOR_C@GOTPAGE
Lloh8:
	ldr	x8, [x8, _R128_SEC_TEXTURE_BORDER_COLOR_C@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_CCE_PACKET0
	bl	_OUT_RING
	ldr	w0, [x19, #24]
	bl	_OUT_RING
	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
	b	_ADVANCE_RING
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_RING_LOCALS,4,2                ; @RING_LOCALS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_R128_MAX_TEXTURE_LEVELS,4,2    ; @R128_MAX_TEXTURE_LEVELS
	.comm	_R128_SEC_TEX_CNTL_C,4,2        ; @R128_SEC_TEX_CNTL_C
	.comm	_R128_SEC_TEXTURE_BORDER_COLOR_C,4,2 ; @R128_SEC_TEXTURE_BORDER_COLOR_C
	.no_dead_strip	_r128_emit_tex1
.subsections_via_symbols
