	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ether1394_header_cache
_ether1394_header_cache:                ## @ether1394_header_cache
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %r13
	movq	16(%rsi), %r15
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_ETH1394_HLEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	movq	_ETH_P_802_3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rax, %rcx
	movl	$-1, %eax
	cmpq	%rcx, %r13
	je	LBB0_2
## %bb.1:
	shlq	$2, %r12
	subq	%r12, %r15
	movq	%r13, 72(%r15)
	movl	64(%r15), %edi
	movl	(%r14), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	callq	_memcpy
	movq	_ETH1394_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH1394_HLEN,4,2               ## @ETH1394_HLEN
	.comm	_ETH_P_802_3,4,2                ## @ETH_P_802_3
	.no_dead_strip	_ether1394_header_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ether1394_header_cache
_ether1394_header_cache:                ; @ether1394_header_cache
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x1]
	ldr	x22, [x0, #8]
	ldr	x24, [x1, #16]
Lloh0:
	adrp	x21, _ETH1394_HLEN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ETH1394_HLEN@GOTPAGEOFF]
	ldrsw	x25, [x21]
Lloh2:
	adrp	x8, _ETH_P_802_3@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETH_P_802_3@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_htons
	cmp	x23, x0
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_3
LBB0_2:
	sub	x8, x24, x25, lsl #2
	str	x23, [x8, #72]
	ldr	w0, [x8, #64]
	ldr	w1, [x20]
	ldr	w2, [x22]
	bl	_memcpy
	mov	w0, #0
	ldr	w8, [x21]
	str	w8, [x19, #8]
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH1394_HLEN,4,2               ; @ETH1394_HLEN
	.comm	_ETH_P_802_3,4,2                ; @ETH_P_802_3
	.no_dead_strip	_ether1394_header_cache
.subsections_via_symbols
