	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bttv_get_pcidev                ## -- Begin function bttv_get_pcidev
	.p2align	4, 0x90
_bttv_get_pcidev:                       ## @bttv_get_pcidev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_bttv_num@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jbe	LBB0_4
## %bb.1:
	movq	_bttvs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %ecx
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	(%rax), %rax
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bttv_num,4,2                   ## @bttv_num
	.comm	_bttvs,8,3                      ## @bttvs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bttv_get_pcidev                ; -- Begin function bttv_get_pcidev
	.p2align	2
_bttv_get_pcidev:                       ; @bttv_get_pcidev
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _bttv_num@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bttv_num@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ls	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _bttvs@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bttvs@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x8, [x8, w0, uxtw #3]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x0, [x8]
	ret
LBB0_3:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_bttv_num,4,2                   ; @bttv_num
	.comm	_bttvs,8,3                      ; @bttvs
.subsections_via_symbols
