	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_prm_split_node              ## -- Begin function dl_prm_split_node
	.p2align	4, 0x90
_dl_prm_split_node:                     ## @dl_prm_split_node
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.2:
	movl	(%r13), %ebx
	addl	%ecx, %ebx
	movl	4(%r13), %eax
	cmpl	%eax, %ebx
	jne	LBB0_5
## %bb.3:
	movq	%r13, (%r12)
	movq	$0, (%r15)
	jmp	LBB0_4
LBB0_1:
	movq	$0, (%r12)
	movq	%r13, (%r15)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.6:
	cmpl	%eax, %ebx
	jge	LBB0_7
## %bb.8:
	movq	%r8, %r14
	xorl	%eax, %eax
	callq	_dl_alloc_prm
	movq	%rax, (%r15)
	movl	%ebx, (%rax)
	movl	4(%r13), %ecx
	movl	%ecx, 4(%rax)
	xorl	%eax, %eax
	callq	_rand
	movq	(%r15), %rcx
	movl	%eax, 12(%rcx)
	movl	4(%rcx), %eax
	subl	(%rcx), %eax
	movl	%eax, 8(%rcx)
	movq	%r13, (%r12)
	movl	%ebx, 4(%r13)
	subl	(%r13), %ebx
	movl	%ebx, 8(%r13)
	movq	(%r15), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dl_prm_rev_add                 ## TAILCALL
LBB0_7:
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_prm_split_node              ; -- Begin function dl_prm_split_node
	.p2align	2
_dl_prm_split_node:                     ; @dl_prm_split_node
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
	cbz	w3, LBB0_3
; %bb.1:
	ldp	w9, w8, [x21]
	add	w23, w9, w3
	cmp	w23, w8
	b.ne	LBB0_5
; %bb.2:
	str	x21, [x22]
	str	xzr, [x19]
	b	LBB0_4
LBB0_3:
	str	xzr, [x22]
	str	x21, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	cmp	w3, #1
	b.lt	LBB0_8
; %bb.6:
	cmp	w23, w8
	b.ge	LBB0_8
; %bb.7:
	mov	x20, x4
	bl	_dl_alloc_prm
	str	x0, [x19]
	ldr	w8, [x21, #4]
	stp	w23, w8, [x0]
	bl	_rand
	ldr	x8, [x19]
	ldp	w10, w9, [x8]
	sub	w9, w9, w10
	stp	w9, w0, [x8, #8]
	str	x21, [x22]
	ldr	w8, [x21]
	sub	w8, w23, w8
	stp	w23, w8, [x21, #4]
	ldr	x1, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_dl_prm_rev_add
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_assert
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
