	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbevf_ipsec_del_sa
_ixgbevf_ipsec_del_sa:                  ## @ixgbevf_ipsec_del_sa
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_netdev_priv
	movq	(%rax), %r15
	movq	_XFRM_OFFLOAD_INBOUND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	8(%rbx), %rcx
	testl	%edx, (%rbx)
	je	LBB0_5
## %bb.1:
	movq	_IXGBE_IPSEC_BASE_RX_INDEX@GOTPCREL(%rip), %rsi
	movq	%rcx, %rdx
	subq	(%rsi), %rdx
	movq	24(%r15), %rsi
	leaq	(%rdx,%rdx,2), %rdi
	cmpl	$0, 4(%rsi,%rdi,4)
	je	LBB0_2
## %bb.4:
	shlq	$2, %rdx
	leaq	(%rdx,%rdx,2), %rbx
	movl	(%rsi,%rbx), %esi
	movq	%rax, %rdi
	callq	_ixgbevf_ipsec_del_pf_sa
	movq	24(%r15), %rax
	leaq	(%rax,%rbx), %rdi
	addq	$8, %rdi
	callq	_hash_del_rcu
	addq	24(%r15), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	decl	16(%r15)
	jmp	LBB0_8
LBB0_5:
	movq	_IXGBE_IPSEC_BASE_TX_INDEX@GOTPCREL(%rip), %rsi
	movq	%rcx, %rdx
	subq	(%rsi), %rdx
	movq	8(%r15), %rsi
	leaq	(%rdx,%rdx,2), %rdi
	cmpl	$0, 4(%rsi,%rdi,4)
	je	LBB0_6
## %bb.7:
	shlq	$2, %rdx
	leaq	(%rdx,%rdx,2), %rbx
	movl	(%rsi,%rbx), %esi
	movq	%rax, %rdi
	callq	_ixgbevf_ipsec_del_pf_sa
	addq	8(%r15), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	decl	(%r15)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_err                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XFRM_OFFLOAD_INBOUND,4,2       ## @XFRM_OFFLOAD_INBOUND
	.comm	_IXGBE_IPSEC_BASE_RX_INDEX,8,3  ## @IXGBE_IPSEC_BASE_RX_INDEX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid Rx SA selected sa_idx=%d offload_handle=%lu\n"

	.comm	_IXGBE_IPSEC_BASE_TX_INDEX,8,3  ## @IXGBE_IPSEC_BASE_TX_INDEX
L_.str.1:                               ## @.str.1
	.asciz	"Invalid Tx SA selected sa_idx=%d offload_handle=%lu\n"

	.no_dead_strip	_ixgbevf_ipsec_del_sa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbevf_ipsec_del_sa
_ixgbevf_ipsec_del_sa:                  ; @ixgbevf_ipsec_del_sa
	.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, x0
	ldr	x19, [x0, #16]
	mov	x0, x19
	bl	_netdev_priv
	ldr	x21, [x0]
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _XFRM_OFFLOAD_INBOUND@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XFRM_OFFLOAD_INBOUND@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	x3, [x20, #8]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _IXGBE_IPSEC_BASE_RX_INDEX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IXGBE_IPSEC_BASE_RX_INDEX@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	sub	x2, x3, x8
	ldr	x8, [x21, #24]
	mov	w9, #12
	madd	x9, x2, x9, x8
	ldr	w9, [x9, #4]
	cbz	w9, LBB0_6
; %bb.2:
	add	x9, x2, x2, lsl #1
	lsl	x19, x9, #2
	ldr	w1, [x8, x19]
	bl	_ixgbevf_ipsec_del_pf_sa
	ldr	x8, [x21, #24]
	add	x8, x8, x19
	add	x0, x8, #8
	bl	_hash_del_rcu
	ldr	x8, [x21, #24]
	add	x0, x8, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w8, [x21, #16]
	sub	w8, w8, #1
	str	w8, [x21, #16]
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _IXGBE_IPSEC_BASE_TX_INDEX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IXGBE_IPSEC_BASE_TX_INDEX@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	sub	x2, x3, x8
	ldr	x8, [x21, #8]
	mov	w9, #12
	madd	x9, x2, x9, x8
	ldr	w9, [x9, #4]
	cbz	w9, LBB0_7
; %bb.4:
	add	x9, x2, x2, lsl #1
	lsl	x19, x9, #2
	ldr	w1, [x8, x19]
	bl	_ixgbevf_ipsec_del_pf_sa
	ldr	x8, [x21, #8]
	add	x0, x8, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w8, [x21]
	sub	w8, w8, #1
	str	w8, [x21]
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:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x19
	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	_netdev_err
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_XFRM_OFFLOAD_INBOUND,4,2       ; @XFRM_OFFLOAD_INBOUND
	.comm	_IXGBE_IPSEC_BASE_RX_INDEX,8,3  ; @IXGBE_IPSEC_BASE_RX_INDEX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid Rx SA selected sa_idx=%d offload_handle=%lu\n"

	.comm	_IXGBE_IPSEC_BASE_TX_INDEX,8,3  ; @IXGBE_IPSEC_BASE_TX_INDEX
l_.str.1:                               ; @.str.1
	.asciz	"Invalid Tx SA selected sa_idx=%d offload_handle=%lu\n"

	.no_dead_strip	_ixgbevf_ipsec_del_sa
.subsections_via_symbols
