	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_header
_build_header:                          ## @build_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, %r15
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	_ARC_HDR_SIZE@GOTPCREL(%rip), %rax
	movq	_RFC1051_HDR_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	addl	(%rax), %ebx
	movl	%ebx, %esi
	callq	_skb_push
	cmpl	$128, %r12d
	je	LBB0_1
## %bb.2:
	movzwl	%r12w, %ecx
	cmpl	$129, %ecx
	jne	LBB0_8
## %bb.3:
	movq	_ARC_P_ARP_RFC1051@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_1:
	movq	_ARC_P_IP_RFC1051@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	8(%r14), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rcx
	movq	_IFF_NOARP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%edx, (%r14)
	je	LBB0_6
## %bb.5:
	movq	$0, (%rax)
	jmp	LBB0_7
LBB0_8:
	movq	_D_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ecx, %edx
	callq	_BUGMSG
	incl	20(%r14)
	incl	16(%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_6:
	movq	%r15, (%rax)
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARC_HDR_SIZE,4,2               ## @ARC_HDR_SIZE
	.comm	_RFC1051_HDR_SIZE,4,2           ## @RFC1051_HDR_SIZE
	.comm	_ARC_P_IP_RFC1051,4,2           ## @ARC_P_IP_RFC1051
	.comm	_ARC_P_ARP_RFC1051,4,2          ## @ARC_P_ARP_RFC1051
	.comm	_D_NORMAL,4,2                   ## @D_NORMAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RFC1051: I don't understand protocol %d (%Xh)\n"

	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.comm	_IFF_NOARP,4,2                  ## @IFF_NOARP
	.no_dead_strip	_build_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_header
_build_header:                          ; @build_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	x21, x3
	mov	x22, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _ARC_HDR_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARC_HDR_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _RFC1051_HDR_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RFC1051_HDR_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w19, w9, w8
	mov	x1, x19
	bl	_skb_push
	cmp	w22, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w22, #129
	b.ne	LBB0_6
; %bb.2:
Lloh6:
	adrp	x8, _ARC_P_ARP_RFC1051@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ARC_P_ARP_RFC1051@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _ARC_P_IP_RFC1051@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARC_P_IP_RFC1051@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	str	w8, [x0, #8]
	ldr	w8, [x20]
Lloh10:
	adrp	x9, _IFF_LOOPBACK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IFF_LOOPBACK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _IFF_NOARP@GOTPAGE
Lloh14:
	ldr	x10, [x10, _IFF_NOARP@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_7
; %bb.5:
	str	xzr, [x0]
	b	LBB0_8
LBB0_6:
Lloh16:
	adrp	x8, _D_NORMAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _D_NORMAL@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	mov	x3, x22
	bl	_BUGMSG
	mov	w19, #0
	ldr	d0, [x20, #16]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x20, #16]
	b	LBB0_8
LBB0_7:
	str	x21, [x0]
LBB0_8:
	mov	x0, x19
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ARC_HDR_SIZE,4,2               ; @ARC_HDR_SIZE
	.comm	_RFC1051_HDR_SIZE,4,2           ; @RFC1051_HDR_SIZE
	.comm	_ARC_P_IP_RFC1051,4,2           ; @ARC_P_IP_RFC1051
	.comm	_ARC_P_ARP_RFC1051,4,2          ; @ARC_P_ARP_RFC1051
	.comm	_D_NORMAL,4,2                   ; @D_NORMAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RFC1051: I don't understand protocol %d (%Xh)\n"

	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.comm	_IFF_NOARP,4,2                  ; @IFF_NOARP
	.no_dead_strip	_build_header
.subsections_via_symbols
