	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pfkey_promisc
_pfkey_promisc:                         ## @pfkey_promisc
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_pfkey_sk
	cmpl	$4, 4(%rbx)
	jne	LBB0_4
## %bb.1:
	movl	(%rbx), %ecx
	movq	$0, 8(%rbx)
	cmpl	$2, %ecx
	jae	LBB0_2
## %bb.3:
	movl	%ecx, (%rax)
LBB0_4:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_skb_clone
	movl	%eax, %r14d
	movl	(%rbx), %r12d
	movq	_BROADCAST_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r15, %rdi
	callq	_sock_net
	xorl	%ebx, %ebx
	movl	%r14d, %edi
	movl	%r12d, %esi
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_pfkey_broadcast
	jmp	LBB0_5
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_BROADCAST_ALL,4,2              ## @BROADCAST_ALL
	.no_dead_strip	_pfkey_promisc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pfkey_promisc
_pfkey_promisc:                         ; @pfkey_promisc
	.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, x2
	mov	x20, x1
	mov	x19, x0
	bl	_pfkey_sk
	ldr	w8, [x21, #4]
	cmp	w8, #4
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x21]
	str	xzr, [x21, #8]
	cmp	w8, #2
	b.hs	LBB0_4
; %bb.2:
	str	w8, [x0]
LBB0_3:
Lloh0:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_skb_clone
	mov	x20, x0
	ldr	w21, [x21]
Lloh2:
	adrp	x8, _BROADCAST_ALL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BROADCAST_ALL@GOTPAGEOFF]
Lloh4:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_sock_net
	mov	x4, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, #0
	bl	_pfkey_broadcast
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_BROADCAST_ALL,4,2              ; @BROADCAST_ALL
	.no_dead_strip	_pfkey_promisc
.subsections_via_symbols
