	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function em28xx_vbi_supported
_em28xx_vbi_supported:                  ## @em28xx_vbi_supported
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_disable_vbi@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	$1, (%rcx)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rdi)
	je	LBB0_2
LBB0_3:
	popq	%rbp
	retq
LBB0_2:
	movq	(%rdi), %rax
	movq	_CHIP_ID_EM2860@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_CHIP_ID_EM2883@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_disable_vbi,4,2                ## @disable_vbi
	.comm	_CHIP_ID_EM2860,8,3             ## @CHIP_ID_EM2860
	.comm	_CHIP_ID_EM2883,8,3             ## @CHIP_ID_EM2883
	.no_dead_strip	_em28xx_vbi_supported
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function em28xx_vbi_supported
_em28xx_vbi_supported:                  ; @em28xx_vbi_supported
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _disable_vbi@GOTPAGE
Lloh1:
	ldr	x8, [x8, _disable_vbi@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _CHIP_ID_EM2860@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CHIP_ID_EM2860@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh6:
	adrp	x9, _CHIP_ID_EM2883@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CHIP_ID_EM2883@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_disable_vbi,4,2                ; @disable_vbi
	.comm	_CHIP_ID_EM2860,8,3             ; @CHIP_ID_EM2860
	.comm	_CHIP_ID_EM2883,8,3             ; @CHIP_ID_EM2883
	.no_dead_strip	_em28xx_vbi_supported
.subsections_via_symbols
