	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_eiface_mediastatus
_ng_eiface_mediastatus:                 ## @ng_eiface_mediastatus
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	(%rdi), %rax
	movq	8(%rax), %rcx
	movl	(%rcx), %ecx
	movq	_IFM_ETHER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_IFM_AUTO@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	orl	%edx, %edi
	movl	(%rax), %eax
	cmpl	%edi, %ecx
	jne	LBB0_3
## %bb.1:
	movq	_IFM_ACTIVE@GOTPCREL(%rip), %rdi
	testl	%eax, (%rdi)
	je	LBB0_3
## %bb.2:
	movq	_IFM_1000_T@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_IFM_FDX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%edx, %ecx
LBB0_3:
	movl	%ecx, (%rsi)
	movl	%eax, 4(%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFM_ETHER,4,2                  ## @IFM_ETHER
	.comm	_IFM_AUTO,4,2                   ## @IFM_AUTO
	.comm	_IFM_ACTIVE,4,2                 ## @IFM_ACTIVE
	.comm	_IFM_1000_T,4,2                 ## @IFM_1000_T
	.comm	_IFM_FDX,4,2                    ## @IFM_FDX
	.no_dead_strip	_ng_eiface_mediastatus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_eiface_mediastatus
_ng_eiface_mediastatus:                 ; @ng_eiface_mediastatus
	.cfi_startproc
; %bb.0:
	ldrsw	x8, [x0]
	ldr	x9, [x8, #8]
	ldr	w9, [x9]
Lloh0:
	adrp	x10, _IFM_ETHER@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IFM_ETHER@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _IFM_AUTO@GOTPAGE
Lloh4:
	ldr	x11, [x11, _IFM_AUTO@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	orr	w11, w11, w10
	ldr	w8, [x8]
	cmp	w9, w11
	b.ne	LBB0_3
; %bb.1:
Lloh6:
	adrp	x11, _IFM_ACTIVE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _IFM_ACTIVE@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	tst	w11, w8
	b.eq	LBB0_3
; %bb.2:
Lloh9:
	adrp	x9, _IFM_1000_T@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IFM_1000_T@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w9, w9, w10
Lloh12:
	adrp	x10, _IFM_FDX@GOTPAGE
Lloh13:
	ldr	x10, [x10, _IFM_FDX@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w9, w10
LBB0_3:
	stp	w9, w8, [x1]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IFM_ETHER,4,2                  ; @IFM_ETHER
	.comm	_IFM_AUTO,4,2                   ; @IFM_AUTO
	.comm	_IFM_ACTIVE,4,2                 ; @IFM_ACTIVE
	.comm	_IFM_1000_T,4,2                 ; @IFM_1000_T
	.comm	_IFM_FDX,4,2                    ; @IFM_FDX
	.no_dead_strip	_ng_eiface_mediastatus
.subsections_via_symbols
