	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___xfrm_state_delete            ## -- Begin function __xfrm_state_delete
	.p2align	4, 0x90
___xfrm_state_delete:                   ## @__xfrm_state_delete
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_xs_net
	movq	%rax, %r14
	movq	_XFRM_STATE_DEAD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, 24(%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_ESRCH@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_2:
	movq	%rax, 24(%rbx)
	movq	_xfrm_state_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	leaq	32(%rbx), %rdi
	callq	_list_del
	leaq	20(%rbx), %rdi
	callq	_hlist_del
	leaq	16(%rbx), %rdi
	callq	_hlist_del
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_hlist_del
LBB0_4:
	decl	(%r14)
	movq	_xfrm_state_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	movq	%rbx, %rdi
	callq	_xfrm_state_put
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ESRCH,4,2                      ## @ESRCH
	.comm	_XFRM_STATE_DEAD,8,3            ## @XFRM_STATE_DEAD
	.comm	_xfrm_state_lock,4,2            ## @xfrm_state_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___xfrm_state_delete            ; -- Begin function __xfrm_state_delete
	.p2align	2
___xfrm_state_delete:                   ; @__xfrm_state_delete
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_xs_net
	ldr	x9, [x19, #24]
Lloh0:
	adrp	x8, _XFRM_STATE_DEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XFRM_STATE_DEAD@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ESRCH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_2:
	mov	x20, x0
	str	x8, [x19, #24]
Lloh6:
	adrp	x0, _xfrm_state_lock@GOTPAGE
Lloh7:
	ldr	x0, [x0, _xfrm_state_lock@GOTPAGEOFF]
	bl	_spin_lock
	add	x0, x19, #32
	bl	_list_del
	add	x0, x19, #20
	bl	_hlist_del
	add	x0, x19, #16
	bl	_hlist_del
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_hlist_del
LBB0_4:
	ldr	w8, [x20]
	sub	w8, w8, #1
	str	w8, [x20]
Lloh8:
	adrp	x0, _xfrm_state_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, _xfrm_state_lock@GOTPAGEOFF]
	bl	_spin_unlock
	mov	x0, x19
	bl	_xfrm_state_put
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ESRCH,4,2                      ; @ESRCH
	.comm	_XFRM_STATE_DEAD,8,3            ; @XFRM_STATE_DEAD
	.comm	_xfrm_state_lock,4,2            ; @xfrm_state_lock
.subsections_via_symbols
