	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfrm6_tunnel_spi_fini
_xfrm6_tunnel_spi_fini:                 ## @xfrm6_tunnel_spi_fini
	.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
	movq	_XFRM6_TUNNEL_SPI_BYADDR_HSIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_4
## %bb.1:
	xorl	%r12d, %r12d
	movq	_xfrm6_tunnel_spi_byaddr@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	%r12, %rdi
	callq	_hlist_empty
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_4:
	movq	_XFRM6_TUNNEL_SPI_BYSPI_HSIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_8
## %bb.5:
	xorl	%r12d, %r12d
	movq	_xfrm6_tunnel_spi_byspi@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	%r12, %rdi
	callq	_hlist_empty
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_7
LBB0_8:
	movq	_xfrm6_tunnel_spi_kmem@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_kmem_cache_destroy
	movq	$0, (%rbx)
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XFRM6_TUNNEL_SPI_BYADDR_HSIZE,4,2 ## @XFRM6_TUNNEL_SPI_BYADDR_HSIZE
	.comm	_xfrm6_tunnel_spi_byaddr,8,3    ## @xfrm6_tunnel_spi_byaddr
	.comm	_XFRM6_TUNNEL_SPI_BYSPI_HSIZE,4,2 ## @XFRM6_TUNNEL_SPI_BYSPI_HSIZE
	.comm	_xfrm6_tunnel_spi_byspi,8,3     ## @xfrm6_tunnel_spi_byspi
	.comm	_xfrm6_tunnel_spi_kmem,8,3      ## @xfrm6_tunnel_spi_kmem
	.no_dead_strip	_xfrm6_tunnel_spi_fini
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xfrm6_tunnel_spi_fini
_xfrm6_tunnel_spi_fini:                 ; @xfrm6_tunnel_spi_fini
	.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
Lloh0:
	adrp	x19, _XFRM6_TUNNEL_SPI_BYADDR_HSIZE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _XFRM6_TUNNEL_SPI_BYADDR_HSIZE@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x20, #0
	mov	x21, #0
Lloh2:
	adrp	x22, _xfrm6_tunnel_spi_byaddr@GOTPAGE
Lloh3:
	ldr	x22, [x22, _xfrm6_tunnel_spi_byaddr@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	add	x0, x8, x20
	bl	_hlist_empty
	cbz	w0, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #4
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_4:
Lloh4:
	adrp	x19, _XFRM6_TUNNEL_SPI_BYSPI_HSIZE@GOTPAGE
Lloh5:
	ldr	x19, [x19, _XFRM6_TUNNEL_SPI_BYSPI_HSIZE@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x20, #0
	mov	x21, #0
Lloh6:
	adrp	x22, _xfrm6_tunnel_spi_byspi@GOTPAGE
Lloh7:
	ldr	x22, [x22, _xfrm6_tunnel_spi_byspi@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	add	x0, x8, x20
	bl	_hlist_empty
	cbz	w0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #4
	cmp	x21, x8
	b.lt	LBB0_6
LBB0_8:
Lloh8:
	adrp	x19, _xfrm6_tunnel_spi_kmem@GOTPAGE
Lloh9:
	ldr	x19, [x19, _xfrm6_tunnel_spi_kmem@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_kmem_cache_destroy
	str	xzr, [x19]
LBB0_9:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_XFRM6_TUNNEL_SPI_BYADDR_HSIZE,4,2 ; @XFRM6_TUNNEL_SPI_BYADDR_HSIZE
	.comm	_xfrm6_tunnel_spi_byaddr,8,3    ; @xfrm6_tunnel_spi_byaddr
	.comm	_XFRM6_TUNNEL_SPI_BYSPI_HSIZE,4,2 ; @XFRM6_TUNNEL_SPI_BYSPI_HSIZE
	.comm	_xfrm6_tunnel_spi_byspi,8,3     ; @xfrm6_tunnel_spi_byspi
	.comm	_xfrm6_tunnel_spi_kmem,8,3      ; @xfrm6_tunnel_spi_kmem
	.no_dead_strip	_xfrm6_tunnel_spi_fini
.subsections_via_symbols
