	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enetc_msg_handle_rxmsg         ## -- Begin function enetc_msg_handle_rxmsg
	.p2align	4, 0x90
_enetc_msg_handle_rxmsg:                ## @enetc_msg_handle_rxmsg
	.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	%rdx, %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movslq	%esi, %rdx
	movq	(%rax), %r8
	movq	_ENETC_MSG_CMD_STATUS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	(%rcx,%rdx,8), %rax
	movl	(%rax), %edx
	cmpl	$128, %edx
	jne	LBB0_2
## %bb.1:
	callq	_enetc_msg_pf_set_vf_primary_mac_addr
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r8, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENETC_MSG_CMD_STATUS_OK,4,2    ## @ENETC_MSG_CMD_STATUS_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"command not supported (cmd_type: 0x%x)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enetc_msg_handle_rxmsg         ; -- Begin function enetc_msg_handle_rxmsg
	.p2align	2
_enetc_msg_handle_rxmsg:                ; @enetc_msg_handle_rxmsg
	.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, x2
	ldp	x8, x9, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x10, _ENETC_MSG_CMD_STATUS_OK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ENETC_MSG_CMD_STATUS_OK@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	str	w10, [x2]
	ldr	x9, [x9, w1, sxtw #3]
	ldr	w2, [x9]
	cmp	w2, #128
	b.ne	LBB0_2
; %bb.1:
	bl	_enetc_msg_pf_set_vf_primary_mac_addr
	str	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_err
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENETC_MSG_CMD_STATUS_OK,4,2    ; @ENETC_MSG_CMD_STATUS_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"command not supported (cmd_type: 0x%x)\n"

.subsections_via_symbols
