	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_gr_construct_xfer_tex
_nv50_gr_construct_xfer_tex:            ## @nv50_gr_construct_xfer_tex
	.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, %rbx
	movq	(%rdi), %r15
	movl	$2, %r14d
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	cmpl	$80, (%r15)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
LBB0_2:
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	xorl	%eax, %eax
	cmpl	$80, (%r15)
	sete	%al
	subl	%eax, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$712057992, %edx                ## imm = 0x2A712488
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1082507264, %edx               ## imm = 0x4085C000
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$64, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$65792, %edx                    ## imm = 0x10100
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$41943040, %edx                 ## imm = 0x2800000
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movl	(%r15), %edi
	cmpl	$80, %edi
	je	LBB0_5
## %bb.3:
	callq	_IS_NVAAF
	movl	$6, %esi
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
LBB0_5:
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movl	$1, %esi
LBB0_6:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xf_emit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nv50_gr_construct_xfer_tex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_gr_construct_xfer_tex
_nv50_gr_construct_xfer_tex:            ; @nv50_gr_construct_xfer_tex
	.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	x20, [x0]
	mov	w1, #2
	mov	w2, #0
	bl	_xf_emit
	ldr	w8, [x20]
	cmp	w8, #80
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
LBB0_2:
	mov	w21, #1
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	ldr	w8, [x20]
	cmp	w8, #80
	cinc	w1, w21, ne
	mov	x0, x19
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #9352
	movk	w2, #10865, lsl #16
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #49152
	movk	w2, #16517, lsl #16
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #64
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #256
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #256
	movk	w2, #1, lsl #16
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #41943040
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	ldr	w0, [x20]
	cmp	w0, #80
	b.eq	LBB0_6
; %bb.3:
	bl	_IS_NVAAF
	cbz	w0, LBB0_5
; %bb.4:
	mov	w20, #6
	b	LBB0_7
LBB0_5:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
LBB0_6:
	mov	w20, #1
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	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	_xf_emit
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nv50_gr_construct_xfer_tex
.subsections_via_symbols
