	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ethport_can_be_up
_ethport_can_be_up:                     ## @ethport_can_be_up
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	(%rax), %rdx
	movq	_BNA_ENET_T_REGULAR@GOTPCREL(%rip), %rsi
	movl	(%rdi), %eax
	movq	_BNA_ETHPORT_F_ADMIN_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpq	(%rsi), %rdx
	jne	LBB0_4
## %bb.1:
	testl	%eax, %ecx
	je	LBB0_10
## %bb.2:
	movq	_BNA_ETHPORT_F_RX_STARTED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.3:
	movq	_BNA_ETHPORT_F_PORT_ENABLED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	setne	%al
	jmp	LBB0_11
LBB0_4:
	testl	%eax, %ecx
	je	LBB0_10
## %bb.5:
	movq	_BNA_ETHPORT_F_RX_STARTED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.6:
	movq	_BNA_ETHPORT_F_PORT_ENABLED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	sete	%al
	jmp	LBB0_11
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	movzbl	%al, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNA_ENET_T_REGULAR,8,3         ## @BNA_ENET_T_REGULAR
	.comm	_BNA_ETHPORT_F_ADMIN_UP,4,2     ## @BNA_ETHPORT_F_ADMIN_UP
	.comm	_BNA_ETHPORT_F_RX_STARTED,4,2   ## @BNA_ETHPORT_F_RX_STARTED
	.comm	_BNA_ETHPORT_F_PORT_ENABLED,4,2 ## @BNA_ETHPORT_F_PORT_ENABLED
	.no_dead_strip	_ethport_can_be_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ethport_can_be_up
_ethport_can_be_up:                     ; @ethport_can_be_up
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	x10, [x8]
Lloh0:
	adrp	x8, _BNA_ENET_T_REGULAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNA_ENET_T_REGULAR@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x8]
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _BNA_ETHPORT_F_ADMIN_UP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BNA_ETHPORT_F_ADMIN_UP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w9, w9, w8
	cmp	x10, x11
	b.ne	LBB0_4
; %bb.1:
	cbz	w9, LBB0_7
; %bb.2:
Lloh6:
	adrp	x9, _BNA_ETHPORT_F_RX_STARTED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BNA_ETHPORT_F_RX_STARTED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.3:
Lloh9:
	adrp	x9, _BNA_ETHPORT_F_PORT_ENABLED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BNA_ETHPORT_F_PORT_ENABLED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	ret
LBB0_4:
	cbz	w9, LBB0_7
; %bb.5:
Lloh12:
	adrp	x9, _BNA_ETHPORT_F_RX_STARTED@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BNA_ETHPORT_F_RX_STARTED@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh15:
	adrp	x9, _BNA_ETHPORT_F_PORT_ENABLED@GOTPAGE
Lloh16:
	ldr	x9, [x9, _BNA_ETHPORT_F_PORT_ENABLED@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	ret
LBB0_7:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_BNA_ENET_T_REGULAR,8,3         ; @BNA_ENET_T_REGULAR
	.comm	_BNA_ETHPORT_F_ADMIN_UP,4,2     ; @BNA_ETHPORT_F_ADMIN_UP
	.comm	_BNA_ETHPORT_F_RX_STARTED,4,2   ; @BNA_ETHPORT_F_RX_STARTED
	.comm	_BNA_ETHPORT_F_PORT_ENABLED,4,2 ; @BNA_ETHPORT_F_PORT_ENABLED
	.no_dead_strip	_ethport_can_be_up
.subsections_via_symbols
