	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bna_ethport_fail
_bna_ethport_fail:                      ## @bna_ethport_fail
	.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
	movq	%rdi, %rbx
	movq	_BNA_ETHPORT_F_PORT_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%rdi)
	movq	_BNA_LINK_DOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	%rcx, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rcx, (%rbx)
	movq	8(%rbx), %rcx
	movl	(%rcx), %edi
	movq	(%rax), %rsi
	callq	*16(%rbx)
LBB0_2:
	movq	_ETHPORT_E_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_bfa_fsm_send_event             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNA_ETHPORT_F_PORT_ENABLED,4,2 ## @BNA_ETHPORT_F_PORT_ENABLED
	.comm	_BNA_LINK_DOWN,8,3              ## @BNA_LINK_DOWN
	.comm	_ETHPORT_E_FAIL,4,2             ## @ETHPORT_E_FAIL
	.no_dead_strip	_bna_ethport_fail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bna_ethport_fail
_bna_ethport_fail:                      ; @bna_ethport_fail
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _BNA_ETHPORT_F_PORT_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNA_ETHPORT_F_PORT_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0, #24]
	orr	w8, w9, w8
	str	w8, [x0, #24]
	ldr	x10, [x0]
Lloh3:
	adrp	x8, _BNA_LINK_DOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNA_LINK_DOWN@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	x10, x9
	b.eq	LBB0_2
; %bb.1:
	str	x9, [x19]
	ldp	x10, x9, [x19, #8]
	ldr	w0, [x10]
	ldr	x1, [x8]
	blr	x9
LBB0_2:
Lloh5:
	adrp	x8, _ETHPORT_E_FAIL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETHPORT_E_FAIL@GOTPAGEOFF]
Lloh7:
	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	_bfa_fsm_send_event
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_BNA_ETHPORT_F_PORT_ENABLED,4,2 ; @BNA_ETHPORT_F_PORT_ENABLED
	.comm	_BNA_LINK_DOWN,8,3              ; @BNA_LINK_DOWN
	.comm	_ETHPORT_E_FAIL,4,2             ; @ETHPORT_E_FAIL
	.no_dead_strip	_bna_ethport_fail
.subsections_via_symbols
