	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_v10_0_check_fw_write_wait
_gfx_v10_0_check_fw_write_wait:         ## @gfx_v10_0_check_fw_write_wait
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$0, 4(%rdi)
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_8
## %bb.1:
	cmpl	$70, 8(%rdi)
	jl	LBB0_8
## %bb.2:
	cmpl	$27, 12(%rdi)
	jl	LBB0_8
## %bb.3:
	cmpl	$104, 16(%rdi)
	jl	LBB0_8
## %bb.4:
	cmpl	$27, 20(%rdi)
	jl	LBB0_8
## %bb.5:
	cmpl	$91, 24(%rdi)
	jl	LBB0_8
## %bb.6:
	cmpl	$27, 28(%rdi)
	jl	LBB0_8
## %bb.7:
	movl	$1, 4(%rdi)
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_DRM_WARN_ONCE                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Warning: check cp_fw_version and update it to realize \t\t\t      GRBM requires 1-cycle delay in cp firmware\n"

	.no_dead_strip	_gfx_v10_0_check_fw_write_wait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfx_v10_0_check_fw_write_wait
_gfx_v10_0_check_fw_write_wait:         ; @gfx_v10_0_check_fw_write_wait
	.cfi_startproc
; %bb.0:
	str	wzr, [x0, #4]
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_8
; %bb.1:
	ldr	w8, [x0, #8]
	cmp	w8, #70
	b.lt	LBB0_8
; %bb.2:
	ldr	w8, [x0, #12]
	cmp	w8, #27
	b.lt	LBB0_8
; %bb.3:
	ldr	w8, [x0, #16]
	cmp	w8, #104
	b.lt	LBB0_8
; %bb.4:
	ldr	w8, [x0, #20]
	cmp	w8, #27
	b.lt	LBB0_8
; %bb.5:
	ldr	w8, [x0, #24]
	cmp	w8, #91
	b.lt	LBB0_8
; %bb.6:
	ldr	w8, [x0, #28]
	cmp	w8, #27
	b.lt	LBB0_8
; %bb.7:
	mov	w8, #1
	str	w8, [x0, #4]
	ret
LBB0_8:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	_DRM_WARN_ONCE
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Warning: check cp_fw_version and update it to realize \t\t\t      GRBM requires 1-cycle delay in cp firmware\n"

	.no_dead_strip	_gfx_v10_0_check_fw_write_wait
.subsections_via_symbols
