	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sk_stream_alloc_skb            ## -- Begin function sk_stream_alloc_skb
	.p2align	4, 0x90
_sk_stream_alloc_skb:                   ## @sk_stream_alloc_skb
	.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
	movl	%edx, %r15d
	movq	%rdi, %r14
	movl	%esi, %edi
	movl	$4, %esi
	callq	_ALIGN
	movl	%eax, %ebx
	movq	_SOCK_SKB_POOL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sock_flag
	movslq	%ebx, %r12
	movq	(%r14), %rcx
	movq	8(%rcx), %rdi
	addq	%r12, %rdi
	movl	%r15d, %esi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	callq	_alloc_pool_skb_fclone
	jmp	LBB0_3
LBB0_2:
	callq	_alloc_skb_fclone
LBB0_3:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_sk_wmem_schedule
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_skb_tailroom
	subq	%r12, %rax
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_skb_reserve
	jmp	LBB0_9
LBB0_7:
	movq	(%r14), %rax
	movq	%r14, %rdi
	callq	*(%rax)
	movq	%r14, %rdi
	callq	_sk_stream_moderate_sndbuf
	jmp	LBB0_8
LBB0_6:
	movq	%rbx, %rdi
	callq	___kfree_skb
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_SKB_POOL,4,2              ## @SOCK_SKB_POOL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sk_stream_alloc_skb            ; -- Begin function sk_stream_alloc_skb
	.p2align	2
_sk_stream_alloc_skb:                   ; @sk_stream_alloc_skb
	.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	x20, x2
	mov	x19, x0
	mov	x0, x1
	mov	w1, #4
	bl	_ALIGN
	mov	x21, x0
Lloh0:
	adrp	x8, _SOCK_SKB_POOL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOCK_SKB_POOL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sock_flag
	mov	x8, x0
	sxtw	x21, w21
	ldr	x9, [x19]
	ldr	x9, [x9, #8]
	add	x0, x9, x21
	mov	x1, x20
	cbz	x8, LBB0_4
; %bb.1:
	bl	_alloc_pool_skb_fclone
	mov	x20, x0
	cbz	x0, LBB0_5
LBB0_2:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_sk_wmem_schedule
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_skb_tailroom
	sub	x1, x0, x21
	mov	x0, x20
	bl	_skb_reserve
	b	LBB0_7
LBB0_4:
	bl	_alloc_skb_fclone
	mov	x20, x0
	cbnz	x0, LBB0_2
LBB0_5:
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	mov	x0, x19
	bl	_sk_stream_moderate_sndbuf
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	bl	___kfree_skb
	mov	x20, #0
LBB0_7:
	mov	x0, x20
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_SKB_POOL,4,2              ; @SOCK_SKB_POOL
.subsections_via_symbols
