	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i810EmitState
_i810EmitState:                         ## @i810EmitState
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movl	(%rbx), %r15d
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	callq	_DRM_DEBUG
	movq	_I810_UPLOAD_BUFFERS@GOTPCREL(%rip), %r12
	testl	%r15d, (%r12)
	je	LBB0_2
## %bb.1:
	movl	20(%rbx), %esi
	movq	%r14, %rdi
	callq	_i810EmitDestVerified
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, (%rbx)
LBB0_2:
	movq	_I810_UPLOAD_CTX@GOTPCREL(%rip), %r12
	testl	%r15d, (%r12)
	je	LBB0_4
## %bb.3:
	movl	16(%rbx), %esi
	movq	%r14, %rdi
	callq	_i810EmitContextVerified
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, (%rbx)
LBB0_4:
	movq	_I810_UPLOAD_TEX0@GOTPCREL(%rip), %r12
	testl	%r15d, (%r12)
	je	LBB0_6
## %bb.5:
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_i810EmitTexVerified
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, (%rbx)
LBB0_6:
	movq	_I810_UPLOAD_TEX1@GOTPCREL(%rip), %r12
	testl	%r15d, (%r12)
	je	LBB0_8
## %bb.7:
	movq	8(%rbx), %rax
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_i810EmitTexVerified
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, (%rbx)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%x\n"

	.comm	_I810_UPLOAD_BUFFERS,4,2        ## @I810_UPLOAD_BUFFERS
	.comm	_I810_UPLOAD_CTX,4,2            ## @I810_UPLOAD_CTX
	.comm	_I810_UPLOAD_TEX0,4,2           ## @I810_UPLOAD_TEX0
	.comm	_I810_UPLOAD_TEX1,4,2           ## @I810_UPLOAD_TEX1
	.no_dead_strip	_i810EmitState
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i810EmitState
_i810EmitState:                         ; @i810EmitState
	.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	x19, x0
	ldr	x8, [x0]
	ldr	x21, [x8]
	ldr	w20, [x21]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_DRM_DEBUG
Lloh2:
	adrp	x22, _I810_UPLOAD_BUFFERS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _I810_UPLOAD_BUFFERS@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x21, #20]
	mov	x0, x19
	bl	_i810EmitDestVerified
	ldr	w8, [x22]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
LBB0_2:
Lloh4:
	adrp	x22, _I810_UPLOAD_CTX@GOTPAGE
Lloh5:
	ldr	x22, [x22, _I810_UPLOAD_CTX@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	ldr	w1, [x21, #16]
	mov	x0, x19
	bl	_i810EmitContextVerified
	ldr	w8, [x22]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
LBB0_4:
Lloh6:
	adrp	x22, _I810_UPLOAD_TEX0@GOTPAGE
Lloh7:
	ldr	x22, [x22, _I810_UPLOAD_TEX0@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
	ldr	x8, [x21, #8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_i810EmitTexVerified
	ldr	w8, [x22]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
LBB0_6:
Lloh8:
	adrp	x22, _I810_UPLOAD_TEX1@GOTPAGE
Lloh9:
	ldr	x22, [x22, _I810_UPLOAD_TEX1@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
	ldr	x8, [x21, #8]
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_i810EmitTexVerified
	ldr	w8, [x22]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
LBB0_8:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%x\n"

	.comm	_I810_UPLOAD_BUFFERS,4,2        ; @I810_UPLOAD_BUFFERS
	.comm	_I810_UPLOAD_CTX,4,2            ; @I810_UPLOAD_CTX
	.comm	_I810_UPLOAD_TEX0,4,2           ; @I810_UPLOAD_TEX0
	.comm	_I810_UPLOAD_TEX1,4,2           ; @I810_UPLOAD_TEX1
	.no_dead_strip	_i810EmitState
.subsections_via_symbols
