	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_auto
_draw_auto:                             ## @draw_auto
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG
	movl	$10, %edi
	callq	_BEGIN_RING
	movq	_R600_IT_SET_CONFIG_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_CP_PACKET3
	movl	%eax, %edi
	callq	_OUT_RING
	movq	_R600_VGT_PRIMITIVE_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_R600_SET_CONFIG_REG_OFFSET@GOTPCREL(%rip), %rax
	subl	(%rax), %edi
	sarl	$2, %edi
	callq	_OUT_RING
	movq	_DI_PT_RECTLIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_OUT_RING
	movq	_R600_IT_INDEX_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_CP_PACKET3
	movl	%eax, %edi
	callq	_OUT_RING
	movq	_DI_INDEX_SIZE_16_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_OUT_RING
	movq	_R600_IT_NUM_INSTANCES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_CP_PACKET3
	movl	%eax, %edi
	callq	_OUT_RING
	movl	$1, %edi
	callq	_OUT_RING
	movq	_R600_IT_DRAW_INDEX_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_CP_PACKET3
	movl	%eax, %edi
	callq	_OUT_RING
	movl	$3, %edi
	callq	_OUT_RING
	movq	_DI_SRC_SEL_AUTO_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_OUT_RING
	xorl	%eax, %eax
	callq	_ADVANCE_RING
	xorl	%eax, %eax
	popq	%rbp
	jmp	_COMMIT_RING                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RING_LOCALS,4,2                ## @RING_LOCALS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_R600_IT_SET_CONFIG_REG,4,2     ## @R600_IT_SET_CONFIG_REG
	.comm	_R600_VGT_PRIMITIVE_TYPE,4,2    ## @R600_VGT_PRIMITIVE_TYPE
	.comm	_R600_SET_CONFIG_REG_OFFSET,4,2 ## @R600_SET_CONFIG_REG_OFFSET
	.comm	_DI_PT_RECTLIST,4,2             ## @DI_PT_RECTLIST
	.comm	_R600_IT_INDEX_TYPE,4,2         ## @R600_IT_INDEX_TYPE
	.comm	_DI_INDEX_SIZE_16_BIT,4,2       ## @DI_INDEX_SIZE_16_BIT
	.comm	_R600_IT_NUM_INSTANCES,4,2      ## @R600_IT_NUM_INSTANCES
	.comm	_R600_IT_DRAW_INDEX_AUTO,4,2    ## @R600_IT_DRAW_INDEX_AUTO
	.comm	_DI_SRC_SEL_AUTO_INDEX,4,2      ## @DI_SRC_SEL_AUTO_INDEX
	.no_dead_strip	_draw_auto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_auto
_draw_auto:                             ; @draw_auto
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG
	mov	w0, #10
	bl	_BEGIN_RING
Lloh2:
	adrp	x8, _R600_IT_SET_CONFIG_REG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _R600_IT_SET_CONFIG_REG@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_CP_PACKET3
	bl	_OUT_RING
Lloh5:
	adrp	x8, _R600_VGT_PRIMITIVE_TYPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _R600_VGT_PRIMITIVE_TYPE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _R600_SET_CONFIG_REG_OFFSET@GOTPAGE
Lloh9:
	ldr	x9, [x9, _R600_SET_CONFIG_REG_OFFSET@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	sub	w8, w8, w9
	asr	w0, w8, #2
	bl	_OUT_RING
Lloh11:
	adrp	x8, _DI_PT_RECTLIST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DI_PT_RECTLIST@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_OUT_RING
Lloh14:
	adrp	x8, _R600_IT_INDEX_TYPE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _R600_IT_INDEX_TYPE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_CP_PACKET3
	bl	_OUT_RING
Lloh17:
	adrp	x8, _DI_INDEX_SIZE_16_BIT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DI_INDEX_SIZE_16_BIT@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_OUT_RING
Lloh20:
	adrp	x8, _R600_IT_NUM_INSTANCES@GOTPAGE
Lloh21:
	ldr	x8, [x8, _R600_IT_NUM_INSTANCES@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_CP_PACKET3
	bl	_OUT_RING
	mov	w0, #1
	bl	_OUT_RING
Lloh23:
	adrp	x8, _R600_IT_DRAW_INDEX_AUTO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _R600_IT_DRAW_INDEX_AUTO@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_CP_PACKET3
	bl	_OUT_RING
	mov	w0, #3
	bl	_OUT_RING
Lloh26:
	adrp	x8, _DI_SRC_SEL_AUTO_INDEX@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DI_SRC_SEL_AUTO_INDEX@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_OUT_RING
	bl	_ADVANCE_RING
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_COMMIT_RING
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RING_LOCALS,4,2                ; @RING_LOCALS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_R600_IT_SET_CONFIG_REG,4,2     ; @R600_IT_SET_CONFIG_REG
	.comm	_R600_VGT_PRIMITIVE_TYPE,4,2    ; @R600_VGT_PRIMITIVE_TYPE
	.comm	_R600_SET_CONFIG_REG_OFFSET,4,2 ; @R600_SET_CONFIG_REG_OFFSET
	.comm	_DI_PT_RECTLIST,4,2             ; @DI_PT_RECTLIST
	.comm	_R600_IT_INDEX_TYPE,4,2         ; @R600_IT_INDEX_TYPE
	.comm	_DI_INDEX_SIZE_16_BIT,4,2       ; @DI_INDEX_SIZE_16_BIT
	.comm	_R600_IT_NUM_INSTANCES,4,2      ; @R600_IT_NUM_INSTANCES
	.comm	_R600_IT_DRAW_INDEX_AUTO,4,2    ; @R600_IT_DRAW_INDEX_AUTO
	.comm	_DI_SRC_SEL_AUTO_INDEX,4,2      ; @DI_SRC_SEL_AUTO_INDEX
	.no_dead_strip	_draw_auto
.subsections_via_symbols
