	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_vsi_add_rem_eth_mac
_ice_vsi_add_rem_eth_mac:               ## @ice_vsi_add_rem_eth_mac
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	16(%rdi), %r12
	movq	_tmp_add_list@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LIST_HEAD
	movq	(%r12), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$28, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movq	_ICE_SW_LKUP_ETHERTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_ICE_DROP_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_ICE_FLTR_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_ICE_SRC_ID_VSI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	8(%r15), %eax
	movl	%eax, 8(%rbx)
	movl	4(%r15), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_INIT_LIST_HEAD
	movq	_tmp_add_list@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_list_add
	leaq	8(%r12), %rdi
	movq	_tmp_add_list@GOTPCREL(%rip), %rsi
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.2:
	callq	_ice_add_eth_mac
	testl	%eax, %eax
	je	LBB0_6
LBB0_5:
	movq	(%r12), %rdi
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %ecx
	callq	_dev_err
LBB0_6:
	movq	(%r12), %rdi
	movq	_tmp_add_list@GOTPCREL(%rip), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ice_free_fltr_list             ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	callq	_ice_remove_eth_mac
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_tmp_add_list,4,2               ## @tmp_add_list
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ICE_SW_LKUP_ETHERTYPE,4,2      ## @ICE_SW_LKUP_ETHERTYPE
	.comm	_ICE_DROP_PACKET,4,2            ## @ICE_DROP_PACKET
	.comm	_ICE_FLTR_TX,4,2                ## @ICE_FLTR_TX
	.comm	_ICE_SRC_ID_VSI,4,2             ## @ICE_SRC_ID_VSI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failure Adding or Removing Ethertype on VSI %i error: %d\n"

	.no_dead_strip	_ice_vsi_add_rem_eth_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_vsi_add_rem_eth_mac
_ice_vsi_add_rem_eth_mac:               ; @ice_vsi_add_rem_eth_mac
	.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	x20, x1
	mov	x19, x0
	ldr	x22, [x0, #16]
Lloh0:
	adrp	x8, _tmp_add_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tmp_add_list@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_LIST_HEAD
	ldr	x0, [x22]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #28
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
Lloh6:
	adrp	x8, _ICE_SW_LKUP_ETHERTYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ICE_SW_LKUP_ETHERTYPE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ICE_DROP_PACKET@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ICE_DROP_PACKET@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #20]
Lloh12:
	adrp	x8, _ICE_FLTR_TX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ICE_FLTR_TX@GOTPAGEOFF]
Lloh14:
	adrp	x9, _ICE_SRC_ID_VSI@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ICE_SRC_ID_VSI@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #12]
	ldur	d0, [x19, #4]
	stur	d0, [x0, #4]
	bl	_INIT_LIST_HEAD
Lloh18:
	adrp	x1, _tmp_add_list@GOTPAGE
Lloh19:
	ldr	x1, [x1, _tmp_add_list@GOTPAGEOFF]
	mov	x0, x21
	bl	_list_add
	add	x0, x22, #8
Lloh20:
	adrp	x1, _tmp_add_list@GOTPAGE
Lloh21:
	ldr	x1, [x1, _tmp_add_list@GOTPAGEOFF]
	cbz	w20, LBB0_6
; %bb.2:
	bl	_ice_add_eth_mac
	mov	x3, x0
	cbz	w0, LBB0_4
LBB0_3:
	ldr	x0, [x22]
	ldr	w2, [x19]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_4:
	ldr	x0, [x22]
Lloh24:
	adrp	x1, _tmp_add_list@GOTPAGE
Lloh25:
	ldr	x1, [x1, _tmp_add_list@GOTPAGEOFF]
	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
	b	_ice_free_fltr_list
LBB0_5:
	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
LBB0_6:
	bl	_ice_remove_eth_mac
	mov	x3, x0
	cbnz	w0, LBB0_3
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_tmp_add_list,4,2               ; @tmp_add_list
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ICE_SW_LKUP_ETHERTYPE,4,2      ; @ICE_SW_LKUP_ETHERTYPE
	.comm	_ICE_DROP_PACKET,4,2            ; @ICE_DROP_PACKET
	.comm	_ICE_FLTR_TX,4,2                ; @ICE_FLTR_TX
	.comm	_ICE_SRC_ID_VSI,4,2             ; @ICE_SRC_ID_VSI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failure Adding or Removing Ethertype on VSI %i error: %d\n"

	.no_dead_strip	_ice_vsi_add_rem_eth_mac
.subsections_via_symbols
