	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_get_eeprom_len
_be_get_eeprom_len:                     ## @be_get_eeprom_len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_MAX_PRIVILEGES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_check_privilege
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_lancer_chip
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rbx, %rdi
	callq	_be_physfn
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_LANCER_VPD_PF_FILE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_7:
	movq	_BE_READ_SEEPROM_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	movq	_LANCER_VPD_VF_FILE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_lancer_cmd_get_file_len        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PRIVILEGES,4,2             ## @MAX_PRIVILEGES
	.comm	_LANCER_VPD_PF_FILE,4,2         ## @LANCER_VPD_PF_FILE
	.comm	_LANCER_VPD_VF_FILE,4,2         ## @LANCER_VPD_VF_FILE
	.comm	_BE_READ_SEEPROM_LEN,4,2        ## @BE_READ_SEEPROM_LEN
	.no_dead_strip	_be_get_eeprom_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_get_eeprom_len
_be_get_eeprom_len:                     ; @be_get_eeprom_len
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _MAX_PRIVILEGES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_PRIVILEGES@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_check_privilege
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_lancer_chip
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_be_physfn
	cbz	x0, LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _LANCER_VPD_PF_FILE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LANCER_VPD_PF_FILE@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh5:
	adrp	x8, _BE_READ_SEEPROM_LEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BE_READ_SEEPROM_LEN@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh8:
	adrp	x8, _LANCER_VPD_VF_FILE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LANCER_VPD_VF_FILE@GOTPAGEOFF]
LBB0_7:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_lancer_cmd_get_file_len
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PRIVILEGES,4,2             ; @MAX_PRIVILEGES
	.comm	_LANCER_VPD_PF_FILE,4,2         ; @LANCER_VPD_PF_FILE
	.comm	_LANCER_VPD_VF_FILE,4,2         ; @LANCER_VPD_VF_FILE
	.comm	_BE_READ_SEEPROM_LEN,4,2        ; @BE_READ_SEEPROM_LEN
	.no_dead_strip	_be_get_eeprom_len
.subsections_via_symbols
