	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_sp
_dump_sp:                               ## @dump_sp
	.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
	movq	%rcx, %r13
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r12
	leaq	16(%rcx), %r14
	movq	%r14, %rdi
	callq	_pfkey_can_dump
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%r15d, %ebx
	movq	%r12, %rdi
	callq	_pfkey_xfrm_policy2msg_prep
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_3:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_pfkey_xfrm_policy2msg
	testl	%eax, %eax
	js	LBB0_7
## %bb.4:
	movq	(%r15), %rax
	movl	12(%r13), %ecx
	movl	%ecx, 24(%rax)
	movq	_SADB_X_SPDDUMP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rax)
	movq	_SADB_SATYPE_UNSPEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	$0, 8(%rax)
	incl	%ebx
	movl	%ebx, (%rax)
	movl	8(%r13), %ecx
	movl	%ecx, 4(%rax)
	movq	(%r13), %r12
	testq	%r12, %r12
	je	LBB0_6
## %bb.5:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_BROADCAST_ONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_sock_net
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movq	%r14, %rcx
	movl	%eax, %r8d
	callq	_pfkey_broadcast
LBB0_6:
	movq	%r15, (%r13)
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_SADB_X_SPDDUMP,4,2             ## @SADB_X_SPDDUMP
	.comm	_SADB_SATYPE_UNSPEC,4,2         ## @SADB_SATYPE_UNSPEC
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_BROADCAST_ONE,4,2              ## @BROADCAST_ONE
	.no_dead_strip	_dump_sp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_sp
_dump_sp:                               ; @dump_sp
	.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	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	add	x20, x3, #16
	mov	x0, x20
	bl	_pfkey_can_dump
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x24
	bl	_pfkey_xfrm_policy2msg_prep
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x21
	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	_PTR_ERR
LBB0_3:
Lloh0:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_4:
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	bl	_pfkey_xfrm_policy2msg
	tbnz	w0, #31, LBB0_8
; %bb.5:
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _SADB_X_SPDDUMP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SADB_X_SPDDUMP@GOTPAGEOFF]
	ldp	w11, w10, [x19, #8]
	str	w10, [x8, #24]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _SADB_SATYPE_UNSPEC@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SADB_SATYPE_UNSPEC@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	stp	w10, w9, [x8, #16]
	str	xzr, [x8, #8]
	add	w9, w22, #1
	stp	w9, w11, [x8]
	ldr	x22, [x19]
	cbz	x22, LBB0_7
; %bb.6:
Lloh9:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x8]
Lloh12:
	adrp	x8, _BROADCAST_ONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BROADCAST_ONE@GOTPAGEOFF]
Lloh14:
	ldr	w24, [x8]
	mov	x0, x20
	bl	_sock_net
	mov	x4, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	mov	x3, x20
	bl	_pfkey_broadcast
LBB0_7:
	mov	w0, #0
	str	x21, [x19]
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_SADB_X_SPDDUMP,4,2             ; @SADB_X_SPDDUMP
	.comm	_SADB_SATYPE_UNSPEC,4,2         ; @SADB_SATYPE_UNSPEC
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_BROADCAST_ONE,4,2              ; @BROADCAST_ONE
	.no_dead_strip	_dump_sp
.subsections_via_symbols
