	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcb_table                      ## -- Begin function dcb_table
	.p2align	4, 0x90
_dcb_table:                             ## @dcb_table
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_NV_04@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_2
## %bb.1:
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rbx, %rdi
	movl	$54, %esi
	callq	_nvbios_rd16
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_nvbios_rd08
	movl	%eax, (%r14)
	cmpl	$66, %eax
	jl	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_nvkm_warn
	jmp	LBB0_17
LBB0_2:
	leaq	L_.str(%rip), %rsi
LBB0_16:
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_nvkm_warn
LBB0_17:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	cmpl	$48, %eax
	jl	LBB0_8
## %bb.6:
	leal	6(%r12), %esi
	movq	%rbx, %rdi
	callq	_nvbios_rd32
	cmpl	$1323089355, %eax               ## imm = 0x4EDCBDCB
	jne	LBB0_15
## %bb.7:
	leal	1(%r12), %esi
	movq	%rbx, %rdi
	callq	_nvbios_rd08
	movl	%eax, (%r13)
	leal	2(%r12), %esi
	movq	%rbx, %rdi
	callq	_nvbios_rd08
	movl	%eax, (%r15)
	movl	%r12d, %esi
	addl	$3, %esi
	movq	%rbx, %rdi
	callq	_nvbios_rd08
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	jmp	LBB0_17
LBB0_8:
	cmpl	$32, %eax
	jl	LBB0_11
## %bb.9:
	leal	4(%r12), %esi
	movq	%rbx, %rdi
	callq	_nvbios_rd32
	cmpl	$1323089355, %eax               ## imm = 0x4EDCBDCB
	jne	LBB0_15
## %bb.10:
	leal	2(%r12), %esi
	movq	%rbx, %rdi
	callq	_nvbios_rd16
                                        ## kill: def $eax killed $eax def $rax
	subl	%r12d, %eax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	movl	$8, (%r13)
	sarl	$3, %ecx
	movl	%ecx, (%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$8, (%rax)
	jmp	LBB0_17
LBB0_11:
	cmpl	$21, %eax
	jl	LBB0_14
## %bb.12:
	leal	-7(%r12), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	movl	$7, %ecx
	callq	_nvbios_memcmp
	testl	%eax, %eax
	je	LBB0_13
LBB0_15:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_16
LBB0_14:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_nvkm_debug
	xorl	%r12d, %r12d
	jmp	LBB0_17
LBB0_13:
	leal	2(%r12), %esi
	movq	%rbx, %rdi
	callq	_nvbios_rd16
	movl	$4, (%r13)
	subl	%r12d, %eax
	cltq
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
	movl	%eax, (%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$10, (%rax)
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_NV_04,8,3                      ## @NV_04
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DCB table not found\n"

L_.str.1:                               ## @.str.1
	.asciz	"DCB version 0x%02x unknown\n"

L_.str.2:                               ## @.str.2
	.asciz	"DEV_REC"

L_.str.3:                               ## @.str.3
	.asciz	"DCB contains no useful data\n"

L_.str.4:                               ## @.str.4
	.asciz	"DCB header validation failed\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcb_table                      ; -- Begin function dcb_table
	.p2align	2
_dcb_table:                             ; @dcb_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _NV_04@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NV_04@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_4
; %bb.1:
	mov	x19, x4
	mov	x21, x3
	mov	x23, x2
	mov	x24, x1
	mov	x0, x22
	mov	w1, #54
	bl	_nvbios_rd16
	cbz	w0, LBB0_4
; %bb.2:
	mov	x20, x0
	mov	x0, x22
	mov	x1, x20
	bl	_nvbios_rd08
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [x24]
	cmp	w0, #66
	b.lt	LBB0_8
; %bb.3:
	str	x0, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
LBB0_5:
	mov	x0, x22
	bl	_nvkm_warn
LBB0_6:
	mov	w20, #0
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	cmp	w0, #48
	b.lt	LBB0_11
; %bb.9:
	add	w1, w20, #6
	mov	x0, x22
	bl	_nvbios_rd32
	mov	w8, #48587
	movk	w8, #20188, lsl #16
	cmp	w0, w8
	b.ne	LBB0_16
; %bb.10:
	add	w1, w20, #1
	mov	x0, x22
	bl	_nvbios_rd08
	str	w0, [x23]
	add	w1, w20, #2
	mov	x0, x22
	bl	_nvbios_rd08
	str	w0, [x21]
	add	w1, w20, #3
	mov	x0, x22
	bl	_nvbios_rd08
	str	w0, [x19]
	b	LBB0_7
LBB0_11:
	cmp	w0, #32
	b.lt	LBB0_14
; %bb.12:
	add	w1, w20, #4
	mov	x0, x22
	bl	_nvbios_rd32
	mov	w8, #48587
	movk	w8, #20188, lsl #16
	cmp	w0, w8
	b.ne	LBB0_16
; %bb.13:
	add	w1, w20, #2
	mov	x0, x22
	bl	_nvbios_rd16
	mov	w8, #8
	str	w8, [x23]
	sub	w9, w0, w20
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #3
	str	w9, [x21]
	str	w8, [x19]
	b	LBB0_7
LBB0_14:
	cmp	w0, #21
	b.lt	LBB0_17
; %bb.15:
	sub	w1, w20, #7
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	w3, #7
	bl	_nvbios_memcmp
	cbz	w0, LBB0_18
LBB0_16:
Lloh9:
	adrp	x1, l_.str.4@PAGE
Lloh10:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_5
LBB0_17:
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_nvkm_debug
	b	LBB0_6
LBB0_18:
	add	w1, w20, #2
	mov	x0, x22
	bl	_nvbios_rd16
	mov	w8, #4
	str	w8, [x23]
	sub	w8, w0, w20
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w9
	str	w8, [x21]
	mov	w8, #10
	str	w8, [x19]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_NV_04,8,3                      ; @NV_04
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DCB table not found\n"

l_.str.1:                               ; @.str.1
	.asciz	"DCB version 0x%02x unknown\n"

l_.str.2:                               ; @.str.2
	.asciz	"DEV_REC"

l_.str.3:                               ; @.str.3
	.asciz	"DCB contains no useful data\n"

l_.str.4:                               ; @.str.4
	.asciz	"DCB header validation failed\n"

.subsections_via_symbols
