	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dev_add_pack                   ## -- Begin function dev_add_pack
	.p2align	4, 0x90
_dev_add_pack:                          ## @dev_add_pack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_ptype_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_bh
	movq	(%rbx), %r14
	movq	_ETH_P_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r14
	jne	LBB0_2
## %bb.1:
	addq	$8, %rbx
	movq	_ptype_all@GOTPCREL(%rip), %rsi
	jmp	LBB0_3
LBB0_2:
	movq	(%rbx), %rdi
	callq	_ntohs
	movq	_PTYPE_HASH_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movslq	%eax, %rsi
	addq	$8, %rbx
	movq	_ptype_base@GOTPCREL(%rip), %rax
	shlq	$2, %rsi
	addq	(%rax), %rsi
LBB0_3:
	movq	%rbx, %rdi
	callq	_list_add_rcu
	movq	_ptype_lock@GOTPCREL(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ptype_lock,4,2                 ## @ptype_lock
	.comm	_ETH_P_ALL,4,2                  ## @ETH_P_ALL
	.comm	_ptype_all,4,2                  ## @ptype_all
	.comm	_PTYPE_HASH_MASK,4,2            ## @PTYPE_HASH_MASK
	.comm	_ptype_base,8,3                 ## @ptype_base
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dev_add_pack                   ; -- Begin function dev_add_pack
	.p2align	2
_dev_add_pack:                          ; @dev_add_pack
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, _ptype_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _ptype_lock@GOTPAGEOFF]
	bl	_spin_lock_bh
	ldr	x20, [x19]
Lloh2:
	adrp	x8, _ETH_P_ALL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETH_P_ALL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_htons
	cmp	x20, x0
	b.ne	LBB0_2
; %bb.1:
	add	x0, x19, #8
Lloh5:
	adrp	x1, _ptype_all@GOTPAGE
Lloh6:
	ldr	x1, [x1, _ptype_all@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	ldr	x0, [x19], #8
	bl	_ntohs
Lloh7:
	adrp	x8, _PTYPE_HASH_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PTYPE_HASH_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh10:
	adrp	x9, _ptype_base@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ptype_base@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	add	x1, x9, w8, sxtw #2
	mov	x0, x19
LBB0_3:
	bl	_list_add_rcu
Lloh13:
	adrp	x0, _ptype_lock@GOTPAGE
Lloh14:
	ldr	x0, [x0, _ptype_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_bh
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ptype_lock,4,2                 ; @ptype_lock
	.comm	_ETH_P_ALL,4,2                  ; @ETH_P_ALL
	.comm	_ptype_all,4,2                  ; @ptype_all
	.comm	_PTYPE_HASH_MASK,4,2            ; @PTYPE_HASH_MASK
	.comm	_ptype_base,8,3                 ; @ptype_base
.subsections_via_symbols
