	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xennet_make_frags
_xennet_make_frags:                     ## @xennet_make_frags
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	(%r14), %rbx
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_skb_shinfo
	movl	(%rax), %r13d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_offset_in_page
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_skb_headlen
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	subl	%r12d, %edx
	subl	%edx, %eax
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	jbe	LBB0_1
## %bb.2:
	leaq	40(%r15), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%edx, (%rsi)
	movq	_NETTXF_more_data@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 12(%rsi)
	leaq	24(%r15), %r12
	movl	%edx, %ecx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	addq	%rcx, %r13
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	32(%r15), %rsi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_get_id_from_freelist
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_skb_get
	movq	32(%r15), %rcx
	movl	%ebx, %edx
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rax, (%rcx,%rdx,8)
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	1(%rsi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_RING_GET_REQUEST
	movl	%ebx, 4(%rax)
	movq	%rax, %rbx
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_gnttab_claim_grant_reference
	movq	%rax, %r14
	movl	%r14d, %edi
	shrl	$15, %edi
	andl	$1, %edi
	callq	_BUG_ON
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_virt_to_mfn
	movq	16(%r15), %rcx
	movl	(%rcx), %esi
	movq	_GNTMAP_readonly@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_gnttab_grant_foreign_access_ref
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	8(%r15), %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	%r14, (%rax,%rcx,8)
	movq	%r14, 16(%rbx)
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	$0, 8(%rbx)
	movl	%esi, (%rbx)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %esi
	movq	%r15, %rdx
	jbe	LBB0_3
## %bb.6:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, (%rbx)
	movq	_NETTXF_more_data@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rbx)
	subl	%eax, %esi
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%eax, %eax
	addq	%rax, %r15
	movq	32(%rdx), %rsi
	movq	%rdx, %r12
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_id_from_freelist
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_skb_get
	movq	32(%r12), %rcx
	movl	%ebx, %r14d
	movq	%rax, (%rcx,%r14,8)
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	leaq	1(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_RING_GET_REQUEST
	movq	%rax, %r13
	movl	%ebx, 4(%rax)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_gnttab_claim_grant_reference
	movq	%rax, %rbx
	movl	%ebx, %edi
	shrl	$15, %edi
	andl	$1, %edi
	callq	_BUG_ON
	movq	%r15, %rdi
	callq	_virt_to_mfn
	movq	16(%r12), %rcx
	movl	(%rcx), %esi
	movq	_GNTMAP_readonly@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_gnttab_grant_foreign_access_ref
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, %rdx
	movq	8(%r12), %rax
	movq	%rbx, (%rax,%r14,8)
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%rbx, 16(%r13)
	movq	%r13, %rbx
	movq	$0, 8(%r13)
	movl	%esi, (%r13)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	cmpl	%eax, %esi
	ja	LBB0_7
	jmp	LBB0_4
LBB0_1:
	movq	%r15, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_3:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
LBB0_4:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	testl	%eax, %eax
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	jle	LBB0_5
## %bb.8:
	leaq	40(%rdx), %rsi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rsi
	addq	$24, %rsi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	leaq	(%rax,%rax,2), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	-104(%rbp), %r14                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%rcx, %r15
	callq	_skb_shinfo
	movq	8(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_NETTXF_more_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%rbx)
	movq	32(%r14), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_id_from_freelist
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_skb_get
	movq	32(%r14), %rcx
	movl	%ebx, %edx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, (%rcx,%rdx,8)
	leaq	1(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_RING_GET_REQUEST
	movq	%rax, %r15
	movl	%ebx, 4(%rax)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_gnttab_claim_grant_reference
	movq	%rax, %rbx
	movl	%ebx, %edi
	shrl	$15, %edi
	andl	$1, %edi
	callq	_BUG_ON
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	8(%r13,%r12), %edi
	callq	_page_to_pfn
	movl	%eax, %edi
	callq	_pfn_to_mfn
	movq	16(%r14), %rcx
	movl	(%rcx), %esi
	movq	_GNTMAP_readonly@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_gnttab_grant_foreign_access_ref
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	8(%r14), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, (%rax,%rcx,8)
	movq	%rbx, 16(%r15)
	movq	%r15, %rbx
	movq	%r13, %rcx
	movl	(%r13,%r12), %eax
	movl	%eax, 8(%r15)
	movl	4(%r13,%r12), %eax
	movl	%eax, (%r15)
	movl	$0, 12(%r15)
	addq	$12, %r12
	movq	%rsi, %rcx
	cmpq	%r12, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_9
	jmp	LBB0_10
LBB0_5:
	movq	%rcx, %rsi
LBB0_10:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rsi, (%rax)
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_NETTXF_more_data,4,2           ## @NETTXF_more_data
	.comm	_GNTMAP_readonly,4,2            ## @GNTMAP_readonly
	.no_dead_strip	_xennet_make_frags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xennet_make_frags
_xennet_make_frags:                     ; @xennet_make_frags
	.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	x21, x2
	mov	x20, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	x25, [x20]
	ldr	x22, [x0]
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w24, [x0]
	mov	x0, x25
	bl	_offset_in_page
	mov	x23, x0
	mov	x0, x20
	bl	_skb_headlen
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, w23
	subs	w28, w0, w8
Lloh3:
	adrp	x23, _NETTXF_more_data@GOTPAGE
Lloh4:
	ldr	x23, [x23, _NETTXF_more_data@GOTPAGEOFF]
Lloh5:
	adrp	x27, _GNTMAP_readonly@GOTPAGE
Lloh6:
	ldr	x27, [x27, _GNTMAP_readonly@GOTPAGEOFF]
	stp	x20, x24, [sp]                  ; 16-byte Folded Spill
	b.ls	LBB0_5
; %bb.1:
	add	x0, x19, #40
	add	x26, x19, #24
	ldr	w9, [x21, #12]
	str	w8, [x21]
	ldr	w10, [x23]
	orr	w9, w9, w10
	str	w9, [x21, #12]
	add	x25, x25, w8, uxtw
	ldr	x1, [x19, #32]
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	bl	_get_id_from_freelist
	mov	x27, x0
	mov	x0, x20
	mov	x20, x26
	bl	_skb_get
	ldr	x8, [x19, #32]
	mov	w9, w27
	lsl	x24, x9, #3
	str	x0, [x8, x24]
	add	x26, x22, #1
	mov	x0, x19
	mov	x1, x22
	bl	_RING_GET_REQUEST
	mov	x21, x0
	str	w27, [x0, #4]
Lloh7:
	adrp	x27, _GNTMAP_readonly@GOTPAGE
Lloh8:
	ldr	x27, [x27, _GNTMAP_readonly@GOTPAGEOFF]
	mov	x0, x20
	bl	_gnttab_claim_grant_reference
	mov	x22, x0
	ubfx	w0, w22, #15, #1
	bl	_BUG_ON
	mov	x0, x25
	bl	_virt_to_mfn
	mov	x2, x0
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	ldr	w3, [x27]
	mov	x0, x22
	bl	_gnttab_grant_foreign_access_ref
	ldr	x8, [x19, #8]
	str	x22, [x8, x24]
	stp	xzr, x22, [x21, #8]
	str	w28, [x21]
Lloh9:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w28, w8
	b.ls	LBB0_4
; %bb.2:
	str	x20, [sp, #24]                  ; 8-byte Folded Spill
	ldr	x20, [sp]                       ; 8-byte Folded Reload
	ldr	x24, [sp, #16]                  ; 8-byte Folded Reload
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	w8, [x21]
	ldr	w9, [x23]
	str	w9, [x21, #12]
	sub	w28, w28, w8
	add	x25, x25, w8, uxtw
	ldr	x1, [x19, #32]
	mov	x0, x24
	bl	_get_id_from_freelist
	mov	x27, x0
	mov	x0, x20
	bl	_skb_get
	ldr	x8, [x19, #32]
	mov	w9, w27
	lsl	x23, x9, #3
	str	x0, [x8, x23]
	add	x22, x26, #1
	mov	x0, x19
	mov	x1, x26
	bl	_RING_GET_REQUEST
	mov	x21, x0
	str	w27, [x0, #4]
Lloh12:
	adrp	x27, _GNTMAP_readonly@GOTPAGE
Lloh13:
	ldr	x27, [x27, _GNTMAP_readonly@GOTPAGEOFF]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_gnttab_claim_grant_reference
	mov	x26, x0
	ubfx	w0, w26, #15, #1
	bl	_BUG_ON
	mov	x0, x25
	bl	_virt_to_mfn
	mov	x2, x0
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	ldr	w3, [x27]
	mov	x0, x26
	bl	_gnttab_grant_foreign_access_ref
	ldr	x8, [x19, #8]
	str	x26, [x8, x23]
Lloh14:
	adrp	x23, _NETTXF_more_data@GOTPAGE
Lloh15:
	ldr	x23, [x23, _NETTXF_more_data@GOTPAGEOFF]
	stp	xzr, x26, [x21, #8]
	str	w28, [x21]
Lloh16:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	mov	x26, x22
	cmp	w28, w8
	b.hi	LBB0_3
	b	LBB0_5
LBB0_4:
	mov	x22, x26
LBB0_5:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x26, #0
	add	x10, x19, #40
	add	x9, x19, #24
	stp	x9, x10, [sp, #16]              ; 16-byte Folded Spill
	add	x8, x8, x8, lsl #1
	lsl	x8, x8, #2
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x24, [sp]                       ; 8-byte Folded Reload
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_skb_shinfo
	ldr	x20, [x0, #8]
	ldr	w8, [x23]
	ldr	w9, [x21, #12]
	orr	w8, w9, w8
	str	w8, [x21, #12]
	ldr	x1, [x19, #32]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_get_id_from_freelist
	mov	x25, x0
	mov	x0, x24
	bl	_skb_get
	ldr	x8, [x19, #32]
	mov	w9, w25
	lsl	x23, x9, #3
	str	x0, [x8, x23]
	add	x28, x22, #1
	mov	x0, x19
	mov	x1, x22
	bl	_RING_GET_REQUEST
	mov	x21, x0
	str	w25, [x0, #4]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_gnttab_claim_grant_reference
	mov	x22, x0
	ubfx	w0, w22, #15, #1
	bl	_BUG_ON
	add	x20, x20, x26
	ldr	w0, [x20, #8]
	bl	_page_to_pfn
	bl	_pfn_to_mfn
	mov	x2, x0
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	ldr	w3, [x27]
	mov	x0, x22
	bl	_gnttab_grant_foreign_access_ref
	ldr	x8, [x19, #8]
	str	x22, [x8, x23]
Lloh19:
	adrp	x23, _NETTXF_more_data@GOTPAGE
Lloh20:
	ldr	x23, [x23, _NETTXF_more_data@GOTPAGEOFF]
	str	x22, [x21, #16]
	ldp	w8, w9, [x20]
	str	w9, [x21]
	stp	w8, wzr, [x21, #8]
	add	x26, x26, #12
	mov	x22, x28
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x8, x26
	b.ne	LBB0_7
	b	LBB0_9
LBB0_8:
	mov	x28, x22
LBB0_9:
	str	x28, [x19]
	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
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_NETTXF_more_data,4,2           ; @NETTXF_more_data
	.comm	_GNTMAP_readonly,4,2            ; @GNTMAP_readonly
	.no_dead_strip	_xennet_make_frags
.subsections_via_symbols
