	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bna_ethport_cb_rx_started      ## -- Begin function bna_ethport_cb_rx_started
	.p2align	4, 0x90
_bna_ethport_cb_rx_started:             ## @bna_ethport_cb_rx_started
	.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
	movl	(%rdi), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%rdi)
	testl	%eax, %eax
	je	LBB0_1
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	_BNA_ETHPORT_F_RX_STARTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rdi)
	callq	_ethport_can_be_up
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_ETHPORT_E_UP@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_RX_STARTED,4,2   ## @BNA_ETHPORT_F_RX_STARTED
	.comm	_ETHPORT_E_UP,4,2               ## @ETHPORT_E_UP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bna_ethport_cb_rx_started      ; -- Begin function bna_ethport_cb_rx_started
	.p2align	2
_bna_ethport_cb_rx_started:             ; @bna_ethport_cb_rx_started
	.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
	ldr	w8, [x0]
	add	w9, w8, #1
	str	w9, [x0]
	cbz	w8, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
Lloh0:
	adrp	x8, _BNA_ETHPORT_F_RX_STARTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNA_ETHPORT_F_RX_STARTED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0, #4]
	orr	w8, w9, w8
	str	w8, [x0, #4]
	bl	_ethport_can_be_up
	cbz	x0, LBB0_1
; %bb.3:
Lloh3:
	adrp	x8, _ETHPORT_E_UP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETHPORT_E_UP@GOTPAGEOFF]
Lloh5:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BNA_ETHPORT_F_RX_STARTED,4,2   ; @BNA_ETHPORT_F_RX_STARTED
	.comm	_ETHPORT_E_UP,4,2               ; @ETHPORT_E_UP
.subsections_via_symbols
