	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_cfg_sw_lldp                ## -- Begin function ice_cfg_sw_lldp
	.p2align	4, 0x90
_ice_cfg_sw_lldp:                       ## @ice_cfg_sw_lldp
	.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
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	8(%rdi), %r13
	movq	_tmp_add_list@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LIST_HEAD
	movq	(%r13), %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)
	movl	4(%r12), %eax
	movl	%eax, 20(%rbx)
	movq	_ETH_P_LLDP@GOTPCREL(%rip), %rax
	testl	%r14d, %r14d
	movq	_ICE_SRC_ID_VSI@GOTPCREL(%rip), %rcx
	cmoveq	_ICE_SRC_ID_LPORT@GOTPCREL(%rip), %rcx
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	(%rcx), %eax
	movq	_ICE_FLTR_TX@GOTPCREL(%rip), %rcx
	cmoveq	_ICE_FLTR_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_ICE_DROP_PACKET@GOTPCREL(%rip), %rdx
	cmoveq	_ICE_FWD_TO_VSI@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 12(%rbx)
	movl	%ecx, 8(%rbx)
	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(%r13), %rdi
	movq	_tmp_add_list@GOTPCREL(%rip), %rsi
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.2:
	callq	_ice_add_eth_mac
	testl	%eax, %eax
	je	LBB0_6
LBB0_5:
	testl	%r15d, %r15d
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rcx, %rdx
	testl	%r14d, %r14d
	movq	(%r13), %rdi
	leaq	L_.str.4(%rip), %rsi
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rsi, %rcx
	movl	(%r12), %r8d
	leaq	L_.str(%rip), %rsi
	movl	%eax, %r9d
	callq	_dev_err
LBB0_6:
	movq	(%r13), %rdi
	movq	_tmp_add_list@GOTPCREL(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ice_free_fltr_list             ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	_ETH_P_LLDP,4,2                 ## @ETH_P_LLDP
	.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
	.comm	_ICE_FWD_TO_VSI,4,2             ## @ICE_FWD_TO_VSI
	.comm	_ICE_FLTR_RX,4,2                ## @ICE_FLTR_RX
	.comm	_ICE_SRC_ID_LPORT,4,2           ## @ICE_SRC_ID_LPORT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Fail %s %s LLDP rule on VSI %i error: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"adding"

L_.str.2:                               ## @.str.2
	.asciz	"removing"

L_.str.3:                               ## @.str.3
	.asciz	"TX"

L_.str.4:                               ## @.str.4
	.asciz	"RX"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_cfg_sw_lldp                ; -- Begin function ice_cfg_sw_lldp
	.p2align	2
_ice_cfg_sw_lldp:                       ; @ice_cfg_sw_lldp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x23, [x0, #8]
Lloh0:
	adrp	x8, _tmp_add_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tmp_add_list@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_LIST_HEAD
	ldr	x0, [x23]
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	x22, x0
Lloh6:
	adrp	x8, _ICE_SW_LKUP_ETHERTYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ICE_SW_LKUP_ETHERTYPE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x0, #24]
	ldr	w8, [x19, #4]
Lloh9:
	adrp	x9, _ETH_P_LLDP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ETH_P_LLDP@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
Lloh12:
	adrp	x8, _ICE_SRC_ID_LPORT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ICE_SRC_ID_LPORT@GOTPAGEOFF]
Lloh14:
	adrp	x9, _ICE_SRC_ID_VSI@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ICE_SRC_ID_VSI@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x8, x9, eq
Lloh16:
	adrp	x9, _ICE_FLTR_RX@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ICE_FLTR_RX@GOTPAGEOFF]
Lloh18:
	adrp	x10, _ICE_FLTR_TX@GOTPAGE
Lloh19:
	ldr	x10, [x10, _ICE_FLTR_TX@GOTPAGEOFF]
	ldr	w8, [x8]
	csel	x9, x9, x10, eq
Lloh20:
	adrp	x10, _ICE_FWD_TO_VSI@GOTPAGE
Lloh21:
	ldr	x10, [x10, _ICE_FWD_TO_VSI@GOTPAGEOFF]
Lloh22:
	adrp	x11, _ICE_DROP_PACKET@GOTPAGE
Lloh23:
	ldr	x11, [x11, _ICE_DROP_PACKET@GOTPAGEOFF]
	ldr	w9, [x9]
	csel	x10, x10, x11, eq
	ldr	w10, [x10]
	stp	w9, w10, [x0, #8]
	str	w8, [x0, #4]
	bl	_INIT_LIST_HEAD
Lloh24:
	adrp	x1, _tmp_add_list@GOTPAGE
Lloh25:
	ldr	x1, [x1, _tmp_add_list@GOTPAGEOFF]
	mov	x0, x22
	bl	_list_add
	add	x0, x23, #8
Lloh26:
	adrp	x1, _tmp_add_list@GOTPAGE
Lloh27:
	ldr	x1, [x1, _tmp_add_list@GOTPAGEOFF]
	cbz	w21, LBB0_6
; %bb.2:
	bl	_ice_add_eth_mac
	mov	x5, x0
	cbz	w0, LBB0_4
LBB0_3:
Lloh28:
	adrp	x8, l_.str.1@PAGE
Lloh29:
	add	x8, x8, l_.str.1@PAGEOFF
	ldr	x0, [x23]
Lloh30:
	adrp	x9, l_.str.2@PAGE
Lloh31:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w21, #0
Lloh32:
	adrp	x10, l_.str.3@PAGE
Lloh33:
	add	x10, x10, l_.str.3@PAGEOFF
	csel	x2, x9, x8, eq
Lloh34:
	adrp	x8, l_.str.4@PAGE
Lloh35:
	add	x8, x8, l_.str.4@PAGEOFF
	cmp	w20, #0
	csel	x3, x8, x10, eq
	ldr	w4, [x19]
Lloh36:
	adrp	x1, l_.str@PAGE
Lloh37:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_4:
	ldr	x0, [x23]
Lloh38:
	adrp	x1, _tmp_add_list@GOTPAGE
Lloh39:
	ldr	x1, [x1, _tmp_add_list@GOTPAGEOFF]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ice_free_fltr_list
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	_ice_remove_eth_mac
	mov	x5, x0
	cbnz	w0, LBB0_3
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh38, Lloh39
	.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	_ETH_P_LLDP,4,2                 ; @ETH_P_LLDP
	.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
	.comm	_ICE_FWD_TO_VSI,4,2             ; @ICE_FWD_TO_VSI
	.comm	_ICE_FLTR_RX,4,2                ; @ICE_FLTR_RX
	.comm	_ICE_SRC_ID_LPORT,4,2           ; @ICE_SRC_ID_LPORT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Fail %s %s LLDP rule on VSI %i error: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"adding"

l_.str.2:                               ; @.str.2
	.asciz	"removing"

l_.str.3:                               ; @.str.3
	.asciz	"TX"

l_.str.4:                               ; @.str.4
	.asciz	"RX"

.subsections_via_symbols
