	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sock_alloc_send_pskb           ## -- Begin function sock_alloc_send_pskb
	.p2align	4, 0x90
_sock_alloc_send_pskb:                  ## @sock_alloc_send_pskb
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movl	(%rdi), %ebx
	movq	___GFP_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	andl	%ebx, %r13d
	je	LBB0_2
## %bb.1:
	movq	___GFP_REPEAT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_2:
	movq	%r15, %rdi
	movl	%ecx, %esi
	callq	_sock_sndtimeo
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_sock_error
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_25
## %bb.3:
	orl	%ebx, %r13d
	leaq	24(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_SEND_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx), %rbx
	decq	%rbx
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shrq	%cl, %rbx
	movq	_MAX_SKB_FRAGS@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jl	LBB0_22
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_atomic_read
	cmpq	8(%r15), %rax
	jl	LBB0_8
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_SOCK_ASYNC_NOSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r15), %rsi
	callq	_set_bit
	movq	_SOCK_NOSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r15), %rsi
	callq	_set_bit
	testq	%r14, %r14
	je	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_signal_pending
	testq	%rax, %rax
	jne	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_sock_wait_for_wmem
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_sock_error
	testl	%eax, %eax
	je	LBB0_4
## %bb.18:
	movl	%eax, %r12d
	jmp	LBB0_25
LBB0_5:
	movq	_EPIPE@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_22:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_8:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_20
## %bb.10:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	%rax, (%rdi)
	callq	_skb_shinfo
	movl	%ebx, (%rax)
	testl	%ebx, %ebx
	jle	LBB0_20
## %bb.11:
	movl	%ebx, %ebx
	movl	$16, %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	xorl	%esi, %esi
	callq	_alloc_pages
	testq	%rax, %rax
	je	LBB0_13
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rax, %r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	movq	8(%rax), %rax
	movq	%r12, (%rax,%r14)
	movq	$0, -8(%rax,%r14)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rcx, %rdx
	cmovbq	%rdx, %rcx
	movl	%ecx, -16(%rax,%r14)
	movslq	(%rsi), %rax
	subq	%rax, %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	incq	%r13
	addq	$24, %r14
	cmpq	%r13, %rbx
	jne	LBB0_12
LBB0_20:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_skb_set_owner_w
	jmp	LBB0_26
LBB0_23:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_21:
	movq	%r14, %rdi
	callq	_sock_intr_errno
	movl	%eax, %r12d
	jmp	LBB0_25
LBB0_14:
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
LBB0_24:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_25:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax)
	xorl	%ebx, %ebx
LBB0_26:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	%r13d, (%rax)
	movq	%rbx, %rdi
	callq	_kfree_skb
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	___GFP_WAIT,4,2                 ## @__GFP_WAIT
	.comm	___GFP_REPEAT,4,2               ## @__GFP_REPEAT
	.comm	_EPIPE,4,2                      ## @EPIPE
	.comm	_SEND_SHUTDOWN,4,2              ## @SEND_SHUTDOWN
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.comm	_MAX_SKB_FRAGS,4,2              ## @MAX_SKB_FRAGS
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_SOCK_ASYNC_NOSPACE,4,2         ## @SOCK_ASYNC_NOSPACE
	.comm	_SOCK_NOSPACE,4,2               ## @SOCK_NOSPACE
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_current,4,2                    ## @current
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sock_alloc_send_pskb           ; -- Begin function sock_alloc_send_pskb
	.p2align	2
_sock_alloc_send_pskb:                  ; @sock_alloc_send_pskb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x27, x4
	mov	x21, x2
	mov	x24, x1
	mov	x20, x0
	ldr	w19, [x0]
Lloh0:
	adrp	x8, ___GFP_WAIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___GFP_WAIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, ___GFP_REPEAT@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___GFP_REPEAT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w19
	csel	w22, wzr, w9, eq
	mov	x1, x3
	bl	_sock_sndtimeo
	mov	x23, x0
	mov	x0, x20
	bl	_sock_error
	mov	x26, x0
	cbnz	w0, LBB0_22
; %bb.1:
	stp	x24, x27, [sp, #16]             ; 16-byte Folded Spill
	orr	w8, w22, w19
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	add	x25, x20, #24
Lloh6:
	adrp	x28, _SEND_SHUTDOWN@GOTPAGE
Lloh7:
	ldr	x28, [x28, _SEND_SHUTDOWN@GOTPAGEOFF]
Lloh8:
	adrp	x24, _PAGE_SHIFT@GOTPAGE
Lloh9:
	ldr	x24, [x24, _PAGE_SHIFT@GOTPAGEOFF]
Lloh10:
	adrp	x19, _MAX_SKB_FRAGS@GOTPAGE
Lloh11:
	ldr	x19, [x19, _MAX_SKB_FRAGS@GOTPAGEOFF]
Lloh12:
	adrp	x22, _SOCK_ASYNC_NOSPACE@GOTPAGE
Lloh13:
	ldr	x22, [x22, _SOCK_ASYNC_NOSPACE@GOTPAGEOFF]
Lloh14:
	adrp	x27, _SOCK_NOSPACE@GOTPAGE
Lloh15:
	ldr	x27, [x27, _SOCK_NOSPACE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, #4]
	ldr	w9, [x28]
	tst	w9, w8
	b.ne	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh16:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh18:
	ldrsw	x8, [x8]
	add	x8, x8, x21
	sub	x8, x8, #1
	ldr	x9, [x24]
	lsr	x26, x8, x9
	ldr	w8, [x19]
	cmp	w8, w26
	b.lt	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x25
	bl	_atomic_read
	ldr	x8, [x20, #8]
	cmp	x0, x8
	b.lt	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x22]
	ldr	x1, [x20, #16]
	bl	_set_bit
	ldr	w0, [x27]
	ldr	x1, [x20, #16]
	bl	_set_bit
	cbz	x23, LBB0_17
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh19:
	adrp	x8, _current@GOTPAGE
Lloh20:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_signal_pending
	cbnz	x0, LBB0_19
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_sock_wait_for_wmem
	mov	x23, x0
	mov	x0, x20
	bl	_sock_error
	cbz	w0, LBB0_2
	b	LBB0_20
LBB0_8:
Lloh22:
	adrp	x8, _EPIPE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
	b	LBB0_18
LBB0_9:
Lloh24:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
	b	LBB0_18
LBB0_10:
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_alloc_skb
	ldr	x27, [sp, #24]                  ; 8-byte Folded Reload
	cbz	x0, LBB0_24
; %bb.11:
	mov	x22, x0
	cbz	x21, LBB0_16
; %bb.12:
	ldr	x8, [x22]
	add	x8, x8, x21
	str	x8, [x22]
	mov	x0, x22
	bl	_skb_shinfo
	str	w26, [x0]
	cmp	w26, #1
	b.lt	LBB0_16
; %bb.13:
	mov	x24, #0
	mov	w19, #0
	and	x8, x26, #0xffffffff
	add	x8, x8, w26, uxtw #1
	lsl	x25, x8, #3
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	w1, #0
	bl	_alloc_pages
	cbz	x0, LBB0_25
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x23, x0
	mov	x0, x22
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x8, x8, x24
	stp	xzr, x23, [x8, #8]
Lloh26:
	adrp	x10, _PAGE_SIZE@GOTPAGE
Lloh27:
	ldr	x10, [x10, _PAGE_SIZE@GOTPAGEOFF]
	ldrsw	x9, [x10]
	cmp	x21, x9
	csel	x9, x21, x9, lo
	str	w9, [x8]
	ldrsw	x8, [x10]
	sub	x21, x21, x8
	add	w19, w19, #1
	add	x24, x24, #24
	cmp	x25, x24
	b.ne	LBB0_14
LBB0_16:
	mov	x0, x22
	mov	x1, x20
	bl	_skb_set_owner_w
	b	LBB0_23
LBB0_17:
Lloh28:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
	neg	w26, w8
	b	LBB0_21
LBB0_19:
	mov	x0, x23
	bl	_sock_intr_errno
LBB0_20:
	mov	x26, x0
LBB0_21:
	ldr	x27, [sp, #24]                  ; 8-byte Folded Reload
LBB0_22:
	mov	x22, #0
	str	w26, [x27]
LBB0_23:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_24:
Lloh30:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	neg	w26, w8
	b	LBB0_22
LBB0_25:
Lloh33:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	neg	w26, w8
	mov	x0, x22
	bl	_skb_shinfo
	str	w19, [x0]
	mov	x0, x22
	bl	_kfree_skb
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	___GFP_WAIT,4,2                 ; @__GFP_WAIT
	.comm	___GFP_REPEAT,4,2               ; @__GFP_REPEAT
	.comm	_EPIPE,4,2                      ; @EPIPE
	.comm	_SEND_SHUTDOWN,4,2              ; @SEND_SHUTDOWN
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.comm	_MAX_SKB_FRAGS,4,2              ; @MAX_SKB_FRAGS
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_SOCK_ASYNC_NOSPACE,4,2         ; @SOCK_ASYNC_NOSPACE
	.comm	_SOCK_NOSPACE,4,2               ; @SOCK_NOSPACE
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_current,4,2                    ; @current
.subsections_via_symbols
