	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gk104_aux_mask                 ## -- Begin function gk104_aux_mask
	.p2align	4, 0x90
_gk104_aux_mask:                        ## @gk104_aux_mask
	.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
	movl	%ecx, %r15d
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	(%rdi), %r14
	movq	%r14, %rdi
	movl	$56424, %esi                    ## imm = 0xDC68
	callq	_nvkm_rd32
	testb	$1, %bl
	jne	LBB0_1
## %bb.4:
	testb	$2, %bl
	jne	LBB0_5
LBB0_8:
	testb	$4, %bl
	jne	LBB0_9
LBB0_12:
	testb	$8, %bl
	jne	LBB0_13
LBB0_16:
	testb	$16, %bl
	jne	LBB0_17
LBB0_20:
	testb	$32, %bl
	jne	LBB0_21
LBB0_24:
	testb	$64, %bl
	jne	LBB0_25
LBB0_28:
	testb	$-128, %bl
	jne	LBB0_29
	jmp	LBB0_32
LBB0_1:
	testb	$1, %r15b
	jne	LBB0_3
## %bb.2:
	movl	%r12d, %ecx
	notl	%ecx
	andl	%ecx, %eax
	testb	$2, %bl
	je	LBB0_8
	jmp	LBB0_5
LBB0_3:
	orl	%r12d, %eax
	testb	$2, %bl
	je	LBB0_8
LBB0_5:
	movl	%r12d, %ecx
	shll	$4, %ecx
	testb	$2, %r15b
	jne	LBB0_6
## %bb.7:
	notl	%ecx
	andl	%ecx, %eax
	testb	$4, %bl
	je	LBB0_12
	jmp	LBB0_9
LBB0_6:
	orl	%ecx, %eax
	testb	$4, %bl
	je	LBB0_12
LBB0_9:
	movl	%r12d, %ecx
	shll	$8, %ecx
	testb	$4, %r15b
	jne	LBB0_10
## %bb.11:
	notl	%ecx
	andl	%ecx, %eax
	testb	$8, %bl
	je	LBB0_16
	jmp	LBB0_13
LBB0_10:
	orl	%ecx, %eax
	testb	$8, %bl
	je	LBB0_16
LBB0_13:
	movl	%r12d, %ecx
	shll	$12, %ecx
	testb	$8, %r15b
	jne	LBB0_14
## %bb.15:
	notl	%ecx
	andl	%ecx, %eax
	testb	$16, %bl
	je	LBB0_20
	jmp	LBB0_17
LBB0_14:
	orl	%ecx, %eax
	testb	$16, %bl
	je	LBB0_20
LBB0_17:
	movl	%r12d, %ecx
	shll	$16, %ecx
	testb	$16, %r15b
	jne	LBB0_18
## %bb.19:
	notl	%ecx
	andl	%ecx, %eax
	testb	$32, %bl
	je	LBB0_24
	jmp	LBB0_21
LBB0_18:
	orl	%ecx, %eax
	testb	$32, %bl
	je	LBB0_24
LBB0_21:
	movl	%r12d, %ecx
	shll	$20, %ecx
	testb	$32, %r15b
	jne	LBB0_22
## %bb.23:
	notl	%ecx
	andl	%ecx, %eax
	testb	$64, %bl
	je	LBB0_28
	jmp	LBB0_25
LBB0_22:
	orl	%ecx, %eax
	testb	$64, %bl
	je	LBB0_28
LBB0_25:
	movl	%r12d, %ecx
	shll	$24, %ecx
	testb	$64, %r15b
	jne	LBB0_26
## %bb.27:
	notl	%ecx
	andl	%ecx, %eax
	testb	$-128, %bl
	jne	LBB0_29
	jmp	LBB0_32
LBB0_26:
	orl	%ecx, %eax
	testb	$-128, %bl
	je	LBB0_32
LBB0_29:
	shll	$28, %r12d
	testb	$-128, %r15b
	jne	LBB0_30
## %bb.31:
	notl	%r12d
	andl	%r12d, %eax
	jmp	LBB0_32
LBB0_30:
	orl	%r12d, %eax
LBB0_32:
	movq	%r14, %rdi
	movl	$56424, %esi                    ## imm = 0xDC68
	movl	%eax, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvkm_wr32                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gk104_aux_mask                 ; -- Begin function gk104_aux_mask
	.p2align	2
_gk104_aux_mask:                        ; @gk104_aux_mask
	.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	x21, x3
	mov	x20, x2
	mov	x22, x1
	ldr	x19, [x0]
	mov	x0, x19
	mov	w1, #56424
	bl	_nvkm_rd32
	tbz	w20, #0, LBB0_2
; %bb.1:
	orr	w8, w0, w22
	bic	w9, w0, w22
	tst	w21, #0x1
	csel	w0, w8, w9, ne
LBB0_2:
	lsl	w8, w22, #4
	bic	w9, w0, w8
	orr	w8, w8, w0
	tst	w21, #0x2
	csel	w8, w9, w8, eq
	tst	w20, #0x2
	csel	w8, w0, w8, eq
	lsl	w9, w22, #8
	bic	w10, w8, w9
	orr	w9, w9, w8
	tst	w21, #0x4
	csel	w9, w10, w9, eq
	tst	w20, #0x4
	csel	w8, w8, w9, eq
	lsl	w9, w22, #12
	bic	w10, w8, w9
	orr	w9, w9, w8
	tst	w21, #0x8
	csel	w9, w10, w9, eq
	tst	w20, #0x8
	csel	w8, w8, w9, eq
	lsl	w9, w22, #16
	bic	w10, w8, w9
	orr	w9, w9, w8
	tst	w21, #0x10
	csel	w9, w10, w9, eq
	tst	w20, #0x10
	csel	w8, w8, w9, eq
	lsl	w9, w22, #20
	bic	w10, w8, w9
	orr	w9, w9, w8
	tst	w21, #0x20
	csel	w9, w10, w9, eq
	tst	w20, #0x20
	csel	w8, w8, w9, eq
	lsl	w9, w22, #24
	bic	w10, w8, w9
	orr	w9, w9, w8
	tst	w21, #0x40
	csel	w9, w10, w9, eq
	tst	w20, #0x40
	csel	w8, w8, w9, eq
	lsl	w9, w22, #28
	bic	w10, w8, w9
	orr	w9, w9, w8
	tst	w21, #0x80
	csel	w9, w10, w9, eq
	tst	w20, #0x80
	csel	w2, w8, w9, eq
	mov	x0, x19
	mov	w1, #56424
	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	_nvkm_wr32
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
