	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function split_block
_split_block:                           ## @split_block
	.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
	movq	%rcx, %r14
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	cmpl	%esi, (%rdi)
	jge	LBB0_3
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movl	%r12d, (%rax)
	movl	(%rbx), %ecx
	subl	%r12d, %ecx
	addl	4(%rbx), %ecx
	movl	%ecx, 4(%rax)
	movq	$0, 8(%rax)
	movq	16(%rbx), %rdx
	movq	%rdx, 16(%rax)
	movq	%rbx, 24(%rax)
	movq	16(%rbx), %rdx
	movq	%rax, 24(%rdx)
	movq	%rax, 16(%rbx)
	subl	%ecx, 4(%rbx)
	movq	%rax, %rbx
LBB0_3:
	cmpl	%r15d, 4(%rbx)
	jle	LBB0_6
## %bb.4:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	addl	%r15d, %r12d
	movl	%r12d, (%rax)
	movl	4(%rbx), %ecx
	subl	%r15d, %ecx
	movl	%ecx, 4(%rax)
	movq	$0, 8(%rax)
	movq	16(%rbx), %rcx
	movq	%rcx, 16(%rax)
	movq	%rbx, 24(%rax)
	movq	16(%rbx), %rcx
	movq	%rax, 24(%rcx)
	movq	%rax, 16(%rbx)
	movl	%r15d, 4(%rbx)
LBB0_6:
	movq	%r14, 8(%rbx)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_split_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function split_block
_split_block:                           ; @split_block
	.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	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, w1
	b.ge	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kmalloc
	cbz	x0, LBB0_6
; %bb.2:
	str	w22, [x0]
	ldp	w9, w8, [x20]
	sub	w9, w9, w22
	add	w8, w9, w8
	str	w8, [x0, #4]
	ldr	x9, [x20, #16]
	stp	xzr, x9, [x0, #8]
	str	x20, [x0, #24]
	ldr	x9, [x20, #16]
	str	x0, [x9, #24]
	str	x0, [x20, #16]
	ldr	w9, [x20, #4]
	sub	w8, w9, w8
	str	w8, [x20, #4]
	mov	x20, x0
LBB0_3:
	ldr	w8, [x20, #4]
	cmp	w8, w21
	b.le	LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kmalloc
	cbz	x0, LBB0_6
; %bb.5:
	add	w8, w21, w22
	ldr	w9, [x20, #4]
	sub	w9, w9, w21
	stp	w8, w9, [x0]
	ldr	x8, [x20, #16]
	stp	xzr, x8, [x0, #8]
	str	x20, [x0, #24]
	ldr	x8, [x20, #16]
	str	x0, [x8, #24]
	str	x0, [x20, #16]
	str	w21, [x20, #4]
LBB0_6:
	str	x19, [x20, #8]
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_split_block
.subsections_via_symbols
