	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_copy_nic_desc
_be_copy_nic_desc:                      ## @be_copy_nic_desc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	28(%rsi), %edi
	callq	_le16_to_cpu
	movq	%rax, 56(%r14)
	movl	24(%rbx), %edi
	callq	_le16_to_cpu
	movq	%rax, 48(%r14)
	movl	20(%rbx), %edi
	callq	_le16_to_cpu
	movq	%rax, 40(%r14)
	movl	16(%rbx), %edi
	callq	_le16_to_cpu
	movq	%rax, 32(%r14)
	movl	12(%rbx), %edi
	callq	_le16_to_cpu
	movq	%rax, (%r14)
	movl	8(%rbx), %edi
	callq	_le16_to_cpu
	movq	%rax, 8(%r14)
	movl	4(%rbx), %edi
	callq	_le16_to_cpu
	movq	%rax, 24(%r14)
	movl	(%rbx), %edi
	callq	_le32_to_cpu
	movq	_BE_IF_CAP_FLAGS_WANT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, 16(%r14)
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	8(%r14), %rax
	jne	LBB0_3
## %bb.2:
	decq	%rax
	movq	%rax, (%r14)
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BE_IF_CAP_FLAGS_WANT,4,2       ## @BE_IF_CAP_FLAGS_WANT
	.no_dead_strip	_be_copy_nic_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_copy_nic_desc
_be_copy_nic_desc:                      ; @be_copy_nic_desc
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #28]
	bl	_le16_to_cpu
	str	x0, [x19, #56]
	ldr	w0, [x20, #24]
	bl	_le16_to_cpu
	str	x0, [x19, #48]
	ldr	w0, [x20, #20]
	bl	_le16_to_cpu
	str	x0, [x19, #40]
	ldr	w0, [x20, #16]
	bl	_le16_to_cpu
	str	x0, [x19, #32]
	ldr	w0, [x20, #12]
	bl	_le16_to_cpu
	str	x0, [x19]
	ldr	w0, [x20, #8]
	bl	_le16_to_cpu
	str	x0, [x19, #8]
	ldr	w0, [x20, #4]
	bl	_le16_to_cpu
	str	x0, [x19, #24]
	ldr	w0, [x20]
	bl	_le32_to_cpu
Lloh0:
	adrp	x8, _BE_IF_CAP_FLAGS_WANT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BE_IF_CAP_FLAGS_WANT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
	str	w8, [x19, #16]
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	sub	x8, x8, #1
	str	x8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BE_IF_CAP_FLAGS_WANT,4,2       ; @BE_IF_CAP_FLAGS_WANT
	.no_dead_strip	_be_copy_nic_desc
.subsections_via_symbols
