	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bit_table                      ## -- Begin function bit_table
	.p2align	4, 0x90
_bit_table:                             ## @bit_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	callq	_nouveau_drm
	movq	(%rax), %rcx
	movq	_NVBIOS_BIT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_1
## %bb.2:
	movq	8(%rax), %rcx
	movslq	16(%rax), %rdx
	movq	80(%rcx,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	leaq	(%rcx,%rdx,8), %rbx
	addq	$96, %rbx
	addl	$9, %edx
	movslq	%edx, %rdx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r12, (%rbx)
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rcx,%rdx,8), %rsi
	leaq	(%rbx,%rsi,8), %rbx
	decq	%rax
	jne	LBB0_4
LBB0_7:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r12, 32(%r14)
	movq	8(%rbx), %rax
	movq	%rax, 24(%r14)
	movq	16(%rbx), %rdi
	callq	_ROM16
	movq	%rax, 16(%r14)
	movq	32(%rbx), %rdi
	callq	_ROM16
	movq	%rax, 8(%r14)
	movq	32(%rbx), %rsi
	movq	%r15, %rdi
	callq	_ROMPTR
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_NVBIOS_BIT,8,3                 ## @NVBIOS_BIT
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bit_table                      ; -- Begin function bit_table
	.p2align	2
_bit_table:                             ; @bit_table
	.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, x2
	mov	x21, x1
	mov	x20, x0
	bl	_nouveau_drm
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NVBIOS_BIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NVBIOS_BIT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	ldr	x8, [x0, #8]
	ldrsw	x10, [x0, #16]
	add	x9, x8, x10, lsl #3
	ldr	x9, [x9, #80]
	cbz	x9, LBB0_5
; %bb.2:
	add	w11, w10, #12
	add	x22, x8, w11, sxtw #3
	add	x10, x10, #9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x22]
	cmp	x11, x21
	b.eq	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x8, x10, lsl #3]
	add	x22, x22, x11, lsl #3
	subs	x9, x9, #1
	b.ne	LBB0_3
LBB0_5:
Lloh3:
	adrp	x8, _ENOENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
	ret
LBB0_9:
	str	x21, [x19, #32]
	ldr	x8, [x22, #8]
	str	x8, [x19, #24]
	ldr	x0, [x22, #16]
	bl	_ROM16
	str	x0, [x19, #16]
	ldr	x0, [x22, #32]
	bl	_ROM16
	str	x0, [x19, #8]
	ldr	x1, [x22, #32]
	mov	x0, x20
	bl	_ROMPTR
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_NVBIOS_BIT,8,3                 ; @NVBIOS_BIT
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
