	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen7_blt_get_cmd_length_mask
_gen7_blt_get_cmd_length_mask:          ## @gen7_blt_get_cmd_length_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_INSTR_CLIENT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movq	%rdi, %rdx
	sarq	%cl, %rdx
	movq	_INSTR_MI_CLIENT@GOTPCREL(%rip), %rcx
	movl	$63, %eax
	cmpq	(%rcx), %rdx
	je	LBB0_3
## %bb.1:
	movq	_INSTR_BC_CLIENT@GOTPCREL(%rip), %rcx
	movl	$255, %eax
	cmpq	(%rcx), %rdx
	je	LBB0_3
## %bb.2:
	movq	%rdi, %rsi
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
	xorl	%eax, %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INSTR_CLIENT_SHIFT,8,3         ## @INSTR_CLIENT_SHIFT
	.comm	_INSTR_MI_CLIENT,8,3            ## @INSTR_MI_CLIENT
	.comm	_INSTR_BC_CLIENT,8,3            ## @INSTR_BC_CLIENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CMD: Abnormal blt cmd length! 0x%08X\n"

	.no_dead_strip	_gen7_blt_get_cmd_length_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen7_blt_get_cmd_length_mask
_gen7_blt_get_cmd_length_mask:          ; @gen7_blt_get_cmd_length_mask
	.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	x8, _INSTR_CLIENT_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INSTR_CLIENT_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	asr	x8, x0, x8
Lloh3:
	adrp	x9, _INSTR_MI_CLIENT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INSTR_MI_CLIENT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #63
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x9, _INSTR_BC_CLIENT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _INSTR_BC_CLIENT@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #255
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x1, x0
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_INSTR_CLIENT_SHIFT,8,3         ; @INSTR_CLIENT_SHIFT
	.comm	_INSTR_MI_CLIENT,8,3            ; @INSTR_MI_CLIENT
	.comm	_INSTR_BC_CLIENT,8,3            ; @INSTR_BC_CLIENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CMD: Abnormal blt cmd length! 0x%08X\n"

	.no_dead_strip	_gen7_blt_get_cmd_length_mask
.subsections_via_symbols
