	.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, %r14
	movq	%rsi, %r12
	movq	_ARC_HDR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r15d, %esi
	callq	_skb_push
	movq	%rax, %rbx
	movq	_D_PROTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rbx), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_BUGMSG
	movq	8(%r12), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rax
	movq	_IFF_NOARP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	xorl	%eax, %eax
	andl	(%r12), %ecx
	cmoveq	%r14, %rax
	movq	%rax, (%rbx)
	movl	%r15d, %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	_D_PROTO,4,2                    ## @D_PROTO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Preparing header for cap packet %x.\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	x19, x3
	mov	x20, x1
Lloh0:
	adrp	x8, _ARC_HDR_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARC_HDR_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x1, x21
	bl	_skb_push
	mov	x22, x0
Lloh3:
	adrp	x8, _D_PROTO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _D_PROTO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x8, [x22, #16]
	ldr	w2, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BUGMSG
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	str	w8, [x22, #8]
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _IFF_LOOPBACK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IFF_LOOPBACK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _IFF_NOARP@GOTPAGE
Lloh12:
	ldr	x10, [x10, _IFF_NOARP@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	csel	x8, x19, xzr, eq
	str	x8, [x22]
	mov	x0, x21
	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	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARC_HDR_SIZE,4,2               ; @ARC_HDR_SIZE
	.comm	_D_PROTO,4,2                    ; @D_PROTO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Preparing header for cap packet %x.\n"

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