	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_one_policy
_dump_one_policy:                       ## @dump_one_policy
	.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	%rcx, %rbx
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	8(%rcx), %r15
	movq	16(%rcx), %rdi
	callq	_NETLINK_CB
	movl	(%rbx), %r9d
	movl	4(%rbx), %edx
	movq	_XFRM_MSG_NEWPOLICY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$4, %r8d
	callq	_nlmsg_put
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_nlmsg_data
	movq	%r14, %rdi
	movq	%rax, %rsi
	movl	%r12d, %edx
	callq	_copy_to_user_policy
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_copy_to_user_tmpl
	testq	%rax, %rax
	js	LBB0_6
## %bb.2:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_copy_to_user_sec_ctx
	testq	%rax, %rax
	je	LBB0_3
LBB0_6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_nlmsg_cancel
LBB0_7:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	4(%r14), %edi
	movq	%r15, %rsi
	callq	_copy_to_user_policy_type
	testq	%rax, %rax
	js	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_xfrm_mark_put
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_nlmsg_end
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_XFRM_MSG_NEWPOLICY,4,2         ## @XFRM_MSG_NEWPOLICY
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	_dump_one_policy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_one_policy
_dump_one_policy:                       ; @dump_one_policy
	.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	x21, x3
	mov	x22, x1
	mov	x20, x0
	ldp	x19, x0, [x3, #8]
	bl	_NETLINK_CB
	mov	x1, x0
Lloh0:
	adrp	x8, _XFRM_MSG_NEWPOLICY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XFRM_MSG_NEWPOLICY@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	ldp	w5, w2, [x21]
	mov	x0, x19
	mov	w4, #4
	bl	_nlmsg_put
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	bl	_nlmsg_data
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	bl	_copy_to_user_policy
	mov	x0, x20
	mov	x1, x19
	bl	_copy_to_user_tmpl
	tbnz	x0, #63, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_copy_to_user_sec_ctx
	cbz	x0, LBB0_6
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	bl	_nlmsg_cancel
LBB0_4:
Lloh3:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
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:
	ldr	w0, [x20, #4]
	mov	x1, x19
	bl	_copy_to_user_policy_type
	tbnz	x0, #63, LBB0_3
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	bl	_xfrm_mark_put
	cbnz	x0, LBB0_3
; %bb.8:
	mov	x0, x19
	mov	x1, x21
	bl	_nlmsg_end
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_XFRM_MSG_NEWPOLICY,4,2         ; @XFRM_MSG_NEWPOLICY
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	_dump_one_policy
.subsections_via_symbols
