	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ether1394_header
_ether1394_header:                      ## @ether1394_header
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	_ETH1394_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_skb_push
	movq	%rax, %rbx
	movl	%r12d, %edi
	callq	_htons
	movl	%eax, 4(%rbx)
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rax
	movq	_IFF_NOARP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, (%r15)
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	movl	8(%r15), %edx
	xorl	%esi, %esi
	callq	_memset
	movl	4(%r15), %eax
	jmp	LBB0_5
LBB0_2:
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %edi
	movl	8(%r15), %edx
	movq	%r14, %rsi
	callq	_memcpy
	movl	4(%r15), %eax
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	subl	4(%r15), %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH1394_HLEN,4,2               ## @ETH1394_HLEN
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.comm	_IFF_NOARP,4,2                  ## @IFF_NOARP
	.no_dead_strip	_ether1394_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ether1394_header
_ether1394_header:                      ; @ether1394_header
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
Lloh0:
	adrp	x8, _ETH1394_HLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH1394_HLEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_skb_push
	mov	x21, x0
	mov	x0, x22
	bl	_htons
	str	w0, [x21, #4]
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _IFF_LOOPBACK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_LOOPBACK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _IFF_NOARP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IFF_NOARP@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x21]
	ldr	w2, [x19, #8]
	mov	w1, #0
	bl	_memset
	ldr	w0, [x19, #4]
	b	LBB0_5
LBB0_2:
	cbz	x20, LBB0_4
; %bb.3:
	ldr	w0, [x21]
	ldr	w2, [x19, #8]
	mov	x1, x20
	bl	_memcpy
	ldr	w0, [x19, #4]
	b	LBB0_5
LBB0_4:
	ldr	w8, [x19, #4]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH1394_HLEN,4,2               ; @ETH1394_HLEN
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.comm	_IFF_NOARP,4,2                  ; @IFF_NOARP
	.no_dead_strip	_ether1394_header
.subsections_via_symbols
