	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pfkey_broadcast_one
_pfkey_broadcast_one:                   ## @pfkey_broadcast_one
	.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, %rbx
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	movq	%rcx, %rdi
	callq	_sock_hold
	cmpq	$0, (%r14)
	jne	LBB0_5
## %bb.1:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	leaq	4(%r13), %r12
	movq	%r12, %rdi
	callq	_atomic_read
	cmpq	$1, %rax
	jne	LBB0_2
## %bb.3:
	movq	%r13, (%r14)
	movq	%r12, %rdi
	callq	_atomic_inc
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_7
LBB0_2:
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_skb_clone
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_7
LBB0_5:
	leaq	20(%rbx), %rdi
	callq	_atomic_read
	cmpq	(%rbx), %rax
	jg	LBB0_7
## %bb.6:
	movq	(%r14), %rdi
	callq	_skb_orphan
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	callq	_skb_set_owner_r
	leaq	16(%rbx), %rdi
	movq	(%r14), %rsi
	callq	_skb_queue_tail
	movq	(%r14), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*8(%rbx)
	movq	$0, (%r14)
	xorl	%r15d, %r15d
LBB0_7:
	movq	%rbx, %rdi
	callq	_sock_put
	movl	%r15d, %eax
	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
	.no_dead_strip	_pfkey_broadcast_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pfkey_broadcast_one
_pfkey_broadcast_one:                   ; @pfkey_broadcast_one
	.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	x20, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	mov	x0, x3
	bl	_sock_hold
	ldr	x8, [x20]
	cbnz	x8, LBB0_4
; %bb.1:
	add	x24, x23, #4
	mov	x0, x24
	bl	_atomic_read
	cmp	x0, #1
	b.ne	LBB0_3
; %bb.2:
	str	x23, [x20]
	mov	x0, x24
	bl	_atomic_inc
	ldr	x0, [x20]
	cbnz	x0, LBB0_4
	b	LBB0_6
LBB0_3:
	mov	x0, x23
	mov	x1, x22
	bl	_skb_clone
	str	x0, [x20]
	cbz	x0, LBB0_6
LBB0_4:
	add	x0, x19, #20
	bl	_atomic_read
	ldr	x8, [x19]
	cmp	x0, x8
	b.gt	LBB0_6
; %bb.5:
	ldr	x0, [x20]
	bl	_skb_orphan
	ldr	x0, [x20]
	mov	x1, x19
	bl	_skb_set_owner_r
	add	x0, x19, #16
	ldr	x1, [x20]
	bl	_skb_queue_tail
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	mov	w21, #0
	str	xzr, [x20]
LBB0_6:
	mov	x0, x19
	bl	_sock_put
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_pfkey_broadcast_one
.subsections_via_symbols
