	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_get_module_info
_be_get_module_info:                    ## @be_get_module_info
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_PAGE_DATA_LEN@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_MAX_PRIVILEGES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_check_privilege
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_TR_PAGE_A0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_be_cmd_read_port_transceiver_data
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movq	_SFP_PLUS_SFF_8472_COMP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%r15,%rcx,4)
	je	LBB0_4
## %bb.5:
	movq	_ETH_MODULE_SFF_8472@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%r14)
	movl	(%r12), %ecx
	addl	%ecx, %ecx
	jmp	LBB0_6
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_4:
	movq	_ETH_MODULE_SFF_8079@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%r14)
	movl	(%r12), %ecx
LBB0_6:
	movl	%ecx, (%r14)
LBB0_7:
	movl	%eax, %edi
	callq	_be_cmd_status
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_DATA_LEN,4,2              ## @PAGE_DATA_LEN
	.comm	_MAX_PRIVILEGES,4,2             ## @MAX_PRIVILEGES
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_TR_PAGE_A0,4,2                 ## @TR_PAGE_A0
	.comm	_SFP_PLUS_SFF_8472_COMP,8,3     ## @SFP_PLUS_SFF_8472_COMP
	.comm	_ETH_MODULE_SFF_8079,4,2        ## @ETH_MODULE_SFF_8079
	.comm	_ETH_MODULE_SFF_8472,4,2        ## @ETH_MODULE_SFF_8472
	.no_dead_strip	_be_get_module_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_get_module_info
_be_get_module_info:                    ; @be_get_module_info
	.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
	sub	sp, sp, #16
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	bl	_netdev_priv
	mov	x21, x0
Lloh3:
	adrp	x22, _PAGE_DATA_LEN@GOTPAGE
Lloh4:
	ldr	x22, [x22, _PAGE_DATA_LEN@GOTPAGEOFF]
	ldr	w8, [x22]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh7:
	adrp	x8, _MAX_PRIVILEGES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAX_PRIVILEGES@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_check_privilege
	cbz	w0, LBB0_4
; %bb.1:
Lloh10:
	adrp	x8, _TR_PAGE_A0@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TR_PAGE_A0@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x20
	bl	_be_cmd_read_port_transceiver_data
	cbnz	w0, LBB0_7
; %bb.2:
Lloh13:
	adrp	x8, _SFP_PLUS_SFF_8472_COMP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SFP_PLUS_SFF_8472_COMP@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	cbz	w8, LBB0_5
; %bb.3:
Lloh16:
	adrp	x8, _ETH_MODULE_SFF_8472@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ETH_MODULE_SFF_8472@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	ldr	w8, [x22]
	lsl	w8, w8, #1
	b	LBB0_6
LBB0_4:
Lloh19:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_5:
Lloh22:
	adrp	x8, _ETH_MODULE_SFF_8079@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ETH_MODULE_SFF_8079@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	ldr	w8, [x22]
LBB0_6:
	str	w8, [x19]
LBB0_7:
	bl	_be_cmd_status
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	sub	sp, x29, #32
	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_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_DATA_LEN,4,2              ; @PAGE_DATA_LEN
	.comm	_MAX_PRIVILEGES,4,2             ; @MAX_PRIVILEGES
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_TR_PAGE_A0,4,2                 ; @TR_PAGE_A0
	.comm	_SFP_PLUS_SFF_8472_COMP,8,3     ; @SFP_PLUS_SFF_8472_COMP
	.comm	_ETH_MODULE_SFF_8079,4,2        ; @ETH_MODULE_SFF_8079
	.comm	_ETH_MODULE_SFF_8472,4,2        ; @ETH_MODULE_SFF_8472
	.no_dead_strip	_be_get_module_info
.subsections_via_symbols
