	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rocker_switchdev_event
_rocker_switchdev_event:                ## @rocker_switchdev_event
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdx, %rdi
	callq	_switchdev_notifier_info_to_dev
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_rocker_port_dev_check
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	_SWITCHDEV_PORT_ATTR_SET@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	jne	LBB0_2
## %bb.11:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rocker_switchdev_port_attr_set_event ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_NOTIFY_BAD@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_4:
	leaq	8(%r12), %rdi
	movq	_rocker_switchdev_event_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_INIT_WORK
	movq	%r15, 24(%r12)
	movq	%r13, (%r12)
	andq	$-2, %r13
	cmpq	$128, %r13
	jne	LBB0_8
## %bb.5:
	movq	%r12, %r13
	addq	$16, %r13
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, 16(%r12)
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	callq	_kfree
	movq	_NOTIFY_BAD@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	%r12, %rdi
	callq	_kfree
	jmp	LBB0_9
LBB0_7:
	movq	(%r13), %rdi
	movl	(%r14), %esi
	callq	_ether_addr_copy
	movq	%rbx, %rdi
	callq	_dev_hold
	movq	(%r15), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_queue_work
LBB0_9:
	movq	_NOTIFY_DONE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NOTIFY_DONE,4,2                ## @NOTIFY_DONE
	.comm	_SWITCHDEV_PORT_ATTR_SET,8,3    ## @SWITCHDEV_PORT_ATTR_SET
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_NOTIFY_BAD,4,2                 ## @NOTIFY_BAD
	.comm	_rocker_switchdev_event_work,4,2 ## @rocker_switchdev_event_work
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_rocker_switchdev_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rocker_switchdev_event
_rocker_switchdev_event:                ; @rocker_switchdev_event
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x24, x1
	mov	x0, x2
	bl	_switchdev_notifier_info_to_dev
	mov	x19, x0
	bl	_rocker_port_dev_check
	cbz	w0, LBB0_10
; %bb.1:
Lloh0:
	adrp	x8, _SWITCHDEV_PORT_ATTR_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SWITCHDEV_PORT_ATTR_SET@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x24
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_rocker_switchdev_port_attr_set_event
LBB0_3:
	mov	x0, x19
	bl	_netdev_priv
	mov	x21, x0
Lloh3:
	adrp	x25, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x25, [x25, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	w0, #32
	bl	_kzalloc
	mov	x23, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _NOTIFY_BAD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NOTIFY_BAD@GOTPAGEOFF]
	b	LBB0_11
LBB0_5:
	add	x22, x23, #8
Lloh7:
	adrp	x8, _rocker_switchdev_event_work@GOTPAGE
Lloh8:
	ldr	x8, [x8, _rocker_switchdev_event_work@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_INIT_WORK
	str	x21, [x23, #24]
	str	x24, [x23]
	and	x8, x24, #0xfffffffffffffffe
	cmp	x8, #128
	b.ne	LBB0_8
; %bb.6:
	add	x24, x23, #16
	mov	x0, x24
	mov	x1, x20
	mov	w2, #8
	bl	_memcpy
Lloh10:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	w1, [x25]
	bl	_kzalloc
	str	x0, [x23, #16]
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	w0, LBB0_9
; %bb.7:
	mov	x0, x23
	bl	_kfree
	b	LBB0_4
LBB0_8:
	mov	x0, x23
	bl	_kfree
	b	LBB0_10
LBB0_9:
	ldr	x0, [x24]
	ldr	w1, [x20]
	bl	_ether_addr_copy
	mov	x0, x19
	bl	_dev_hold
	ldr	x8, [x21]
	ldr	w0, [x8]
	mov	x1, x22
	bl	_queue_work
LBB0_10:
Lloh13:
	adrp	x8, _NOTIFY_DONE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NOTIFY_DONE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_NOTIFY_DONE,4,2                ; @NOTIFY_DONE
	.comm	_SWITCHDEV_PORT_ATTR_SET,8,3    ; @SWITCHDEV_PORT_ATTR_SET
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_NOTIFY_BAD,4,2                 ; @NOTIFY_BAD
	.comm	_rocker_switchdev_event_work,4,2 ; @rocker_switchdev_event_work
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_rocker_switchdev_event
.subsections_via_symbols
