	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fwnet_pd_new
_fwnet_pd_new:                          ## @fwnet_pd_new
	.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
	movl	%r9d, %r12d
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	16(%rbp), %r14d
	leaq	28(%rax), %rdi
	callq	_INIT_LIST_HEAD
	movq	%rbx, %rdi
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%r12d, %esi
	movl	%r14d, %edx
	callq	_fwnet_frag_new
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r14
	movl	%r15d, 24(%rbx)
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, (%rbx)
	movq	%r13, %rdi
	callq	_LL_RESERVED_SPACE
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r12), %edi
	callq	_dev_alloc_skb
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_LL_RESERVED_SPACE
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_skb_reserve
	movq	16(%rbx), %rdi
	movl	%r12d, %esi
	callq	_skb_put
	movl	%eax, 4(%rbx)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	addl	%eax, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	16(%rbp), %edx
	callq	_memcpy
	movq	%rbx, %rdi
	addq	$8, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_list_add_tail
	jmp	LBB0_7
LBB0_4:
	movq	%r14, %rdi
	callq	_kfree
LBB0_5:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_fwnet_pd_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fwnet_pd_new
_fwnet_pd_new:                          ; @fwnet_pd_new
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x6
	mov	x23, x5
	mov	x22, x4
	mov	x24, x3
	mov	x26, x2
	mov	x20, x1
	mov	x25, x0
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kmalloc
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
	add	x0, x19, #28
	bl	_INIT_LIST_HEAD
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	bl	_fwnet_frag_new
	cbz	x0, LBB0_5
; %bb.2:
	mov	x27, x0
	str	w26, [x19, #24]
	str	w24, [x19]
	mov	x0, x25
	bl	_LL_RESERVED_SPACE
	add	w0, w0, w24
	bl	_dev_alloc_skb
	str	x0, [x19, #16]
	cbz	x0, LBB0_4
; %bb.3:
	mov	x26, x0
	mov	x0, x25
	bl	_LL_RESERVED_SPACE
	mov	x1, x0
	mov	x0, x26
	bl	_skb_reserve
	ldr	x0, [x19, #16]
	mov	x1, x24
	bl	_skb_put
	str	w0, [x19, #4]
	add	w0, w0, w23
	mov	x1, x22
	mov	x2, x21
	bl	_memcpy
	add	x0, x19, #8
	mov	x1, x20
	bl	_list_add_tail
	b	LBB0_6
LBB0_4:
	mov	x0, x27
	bl	_kfree
LBB0_5:
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_fwnet_pd_new
.subsections_via_symbols
