	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arcnet_header
_arcnet_header:                         ## @arcnet_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movq	%r8, %rbx
	movq	%rcx, %r15
	movl	%edx, %r13d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_D_DURING@GOTPCREL(%rip), %rax
	movl	$-1, %ecx
	movl	$-1, %edx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edx
LBB0_2:
	movl	(%rax), %edi
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movl	(%r15), %ecx
LBB0_4:
	movzwl	%r13w, %r12d
	movl	%r14d, (%rsp)
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	xorl	%eax, %eax
	callq	_BUGMSG
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	testl	%edx, %edx
	je	LBB0_7
## %bb.5:
	cmpl	%r14d, %edx
	je	LBB0_7
## %bb.6:
	movq	_D_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_BUGMSG
LBB0_7:
	movq	_ETH_P_ARCNET@GOTPCREL(%rip), %rax
	cmpw	%r13w, (%rax)
	jne	LBB0_10
## %bb.8:
	movq	_arc_raw_proto@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_D_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_BUGMSG
	testq	%r15, %r15
	je	LBB0_17
## %bb.9:
	movl	(%r15), %r13d
	jmp	LBB0_17
LBB0_10:
	testq	%r15, %r15
	je	LBB0_11
## %bb.14:
	movslq	(%r15), %r13
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movslq	(%rax,%r13,4), %rdx
	movq	_arc_proto_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rdx,8), %rbx
	movq	_D_DURING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %ecx
	leaq	L_.str.4(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_BUGMSG
	cmpq	_arc_proto_null@GOTPCREL(%rip), %rbx
	jne	LBB0_17
## %bb.15:
	movq	_arc_bcast_proto@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_arc_proto_null@GOTPCREL(%rip), %rbx
	cmpq	%rbx, %rax
	je	LBB0_17
## %bb.16:
	movq	_D_DURING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_BUGMSG
	movq	(%r14), %rbx
LBB0_17:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	8(%rbx), %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	movl	%r13d, %ecx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_11:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_skb_push
	movw	%r13w, (%rax)
	movl	4(%rbx), %edx
	subl	8(%rbx), %edx
	cmpl	$2, %edx
	je	LBB0_13
## %bb.12:
	movq	_D_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_BUGMSG
LBB0_13:
	movl	$-2, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D_DURING,4,2                   ## @D_DURING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"create header from %d to %d; protocol %d (%Xh); size %u.\n"

	.comm	_D_NORMAL,4,2                   ## @D_NORMAL
L_.str.1:                               ## @.str.1
	.asciz	"arcnet_header: Yikes!  skb->len(%d) != len(%d)!\n"

	.comm	_ETH_P_ARCNET,2,1               ## @ETH_P_ARCNET
	.comm	_arc_raw_proto,8,3              ## @arc_raw_proto
	.comm	_D_DEBUG,4,2                    ## @D_DEBUG
L_.str.2:                               ## @.str.2
	.asciz	"arc_raw_proto used. proto='%c'\n"

L_.str.3:                               ## @.str.3
	.asciz	"arcnet_header: Yikes!  diff (%d) is not 2!\n"

	.comm	_arc_proto_map,8,3              ## @arc_proto_map
L_.str.4:                               ## @.str.4
	.asciz	"building header for %02Xh using protocol '%c'\n"

	.comm	_arc_proto_null,16,3            ## @arc_proto_null
	.comm	_arc_bcast_proto,8,3            ## @arc_bcast_proto
L_.str.5:                               ## @.str.5
	.asciz	"actually, let's use '%c' instead.\n"

	.no_dead_strip	_arcnet_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arcnet_header
_arcnet_header:                         ; @arcnet_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x24, x5
	mov	x25, x4
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x23, x0
Lloh0:
	adrp	x26, _D_DURING@GOTPAGE
Lloh1:
	ldr	x26, [x26, _D_DURING@GOTPAGEOFF]
	ldr	w0, [x26]
	cbz	x25, LBB0_3
; %bb.1:
	ldr	w2, [x25]
	cbz	x22, LBB0_4
LBB0_2:
	ldr	w8, [x22]
	b	LBB0_5
LBB0_3:
	mov	w2, #-1
	cbnz	x22, LBB0_2
LBB0_4:
	mov	w8, #-1
LBB0_5:
	mov	w9, w19
	stp	x9, x24, [sp, #16]
	stp	x8, x9, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BUGMSG
	ldr	w2, [x20]
	cbz	w2, LBB0_8
; %bb.6:
	cmp	w2, w24
	b.eq	LBB0_8
; %bb.7:
Lloh4:
	adrp	x8, _D_NORMAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _D_NORMAL@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	str	x24, [sp]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_BUGMSG
LBB0_8:
Lloh9:
	adrp	x8, _ETH_P_ARCNET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_P_ARCNET@GOTPAGEOFF]
	ldrh	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_11
; %bb.9:
Lloh11:
	adrp	x8, _arc_raw_proto@GOTPAGE
Lloh12:
	ldr	x8, [x8, _arc_raw_proto@GOTPAGEOFF]
Lloh13:
	ldr	x23, [x8]
Lloh14:
	adrp	x8, _D_DEBUG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _D_DEBUG@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	w2, [x23]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_BUGMSG
	cbz	x22, LBB0_19
; %bb.10:
	ldr	w22, [x22]
	b	LBB0_19
LBB0_11:
	cbz	x22, LBB0_15
; %bb.12:
	ldrsw	x22, [x22]
	ldr	x8, [x23]
	ldrsw	x2, [x8, x22, lsl #2]
Lloh19:
	adrp	x8, _arc_proto_map@GOTPAGE
Lloh20:
	ldr	x8, [x8, _arc_proto_map@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	x23, [x8, x2, lsl #3]
	ldr	w0, [x26]
	ldr	w8, [x23]
	str	x8, [sp]
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_BUGMSG
Lloh24:
	adrp	x8, _arc_proto_null@GOTPAGE
Lloh25:
	ldr	x8, [x8, _arc_proto_null@GOTPAGEOFF]
	cmp	x23, x8
	b.ne	LBB0_19
; %bb.13:
Lloh26:
	adrp	x23, _arc_bcast_proto@GOTPAGE
Lloh27:
	ldr	x23, [x23, _arc_bcast_proto@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x9, x8
	b.eq	LBB0_18
; %bb.14:
	ldr	w0, [x26]
	ldr	w2, [x9]
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_BUGMSG
	ldr	x23, [x23]
	b	LBB0_19
LBB0_15:
	mov	x0, x20
	mov	w1, #2
	bl	_skb_push
	strh	w19, [x0]
	ldp	w8, w9, [x20, #4]
	sub	w2, w8, w9
	cmp	w2, #2
	b.eq	LBB0_17
; %bb.16:
Lloh30:
	adrp	x8, _D_NORMAL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _D_NORMAL@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_BUGMSG
LBB0_17:
	mov	w0, #-2
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_18:
	mov	x23, x8
LBB0_19:
	ldr	x4, [x23, #8]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	x3, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	br	x4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_D_DURING,4,2                   ; @D_DURING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"create header from %d to %d; protocol %d (%Xh); size %u.\n"

	.comm	_D_NORMAL,4,2                   ; @D_NORMAL
l_.str.1:                               ; @.str.1
	.asciz	"arcnet_header: Yikes!  skb->len(%d) != len(%d)!\n"

	.comm	_ETH_P_ARCNET,2,1               ; @ETH_P_ARCNET
	.comm	_arc_raw_proto,8,3              ; @arc_raw_proto
	.comm	_D_DEBUG,4,2                    ; @D_DEBUG
l_.str.2:                               ; @.str.2
	.asciz	"arc_raw_proto used. proto='%c'\n"

l_.str.3:                               ; @.str.3
	.asciz	"arcnet_header: Yikes!  diff (%d) is not 2!\n"

	.comm	_arc_proto_map,8,3              ; @arc_proto_map
l_.str.4:                               ; @.str.4
	.asciz	"building header for %02Xh using protocol '%c'\n"

	.comm	_arc_proto_null,16,3            ; @arc_proto_null
	.comm	_arc_bcast_proto,8,3            ; @arc_bcast_proto
l_.str.5:                               ; @.str.5
	.asciz	"actually, let's use '%c' instead.\n"

	.no_dead_strip	_arcnet_header
.subsections_via_symbols
