	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_is_vsi_uplink_mode_veb    ## -- Begin function i40e_is_vsi_uplink_mode_veb
	.p2align	4, 0x90
_i40e_is_vsi_uplink_mode_veb:           ## @i40e_is_vsi_uplink_mode_veb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_I40E_MAX_VEB@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	jae	LBB0_4
## %bb.1:
	movq	8(%rdi), %rax
	movq	8(%rax), %rdx
	movq	(%rdx,%rcx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.3:
	movq	_BRIDGE_MODE_VEPA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	testl	%edx, (%rcx)
	sete	%al
LBB0_4:
	popq	%rbp
	retq
LBB0_2:
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_MAX_VEB,8,3               ## @I40E_MAX_VEB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"There is no veb associated with the bridge\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_BRIDGE_MODE_VEPA,4,2           ## @BRIDGE_MODE_VEPA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_is_vsi_uplink_mode_veb    ; -- Begin function i40e_is_vsi_uplink_mode_veb
	.p2align	2
_i40e_is_vsi_uplink_mode_veb:           ; @i40e_is_vsi_uplink_mode_veb
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _I40E_MAX_VEB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40E_MAX_VEB@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hs	LBB0_3
; %bb.1:
	ldr	x9, [x0, #8]
	ldr	x10, [x9, #8]
	ldr	x8, [x10, x8, lsl #3]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BRIDGE_MODE_VEPA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BRIDGE_MODE_VEPA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x0, [x9]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
Lloh8:
	adrp	x8, _ENOENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_MAX_VEB,8,3               ; @I40E_MAX_VEB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"There is no veb associated with the bridge\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_BRIDGE_MODE_VEPA,4,2           ; @BRIDGE_MODE_VEPA
.subsections_via_symbols
