	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cgraph_clone_node              ## -- Begin function cgraph_clone_node
	.p2align	4, 0x90
_cgraph_clone_node:                     ## @cgraph_clone_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
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_cgraph_create_node
	movq	%rax, %rbx
	movl	72(%r14), %eax
	movl	%eax, 72(%rbx)
	movq	56(%r14), %rax
	movq	%rax, 56(%rbx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rax), %rcx
	movq	%rcx, 64(%rbx)
	movq	%rbx, (%rax)
LBB0_2:
	movl	48(%r14), %eax
	movl	%eax, 48(%rbx)
	movups	32(%r14), %xmm0
	movups	%xmm0, 32(%rbx)
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, (%rbx)
	movl	(%r14), %ecx
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.3:
	movq	_REG_BR_PROB_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	%esi, %eax
	cltd
	idivl	%ecx
	movl	%eax, %r13d
LBB0_4:
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.5:
	subl	%esi, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	cmovgl	%ecx, %eax
	movl	%eax, (%r14)
LBB0_6:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	24(%r14), %r14
	testq	%r14, %r14
	je	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	movl	%r15d, %r9d
	callq	_cgraph_clone_edge
	movq	8(%r14), %r14
	testq	%r14, %r14
	jne	LBB0_7
LBB0_9:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx), %rax
	movq	%rax, 16(%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rbx, 16(%rcx)
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rbx, 8(%rax)
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_BR_PROB_BASE,4,2           ## @REG_BR_PROB_BASE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cgraph_clone_node              ; -- Begin function cgraph_clone_node
	.p2align	2
_cgraph_clone_node:                     ; @cgraph_clone_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	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	bl	_cgraph_create_node
	mov	x19, x0
	ldr	w8, [x20, #72]
	str	w8, [x0, #72]
	ldr	x8, [x20, #56]
	str	x8, [x0, #56]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x9, [x8]
	str	x9, [x19, #64]
	str	x19, [x8]
LBB0_2:
	ldr	w8, [x20, #48]
	str	w8, [x19, #48]
	ldr	q0, [x20, #32]
	str	q0, [x19, #32]
	str	w23, [x19]
	ldr	w8, [x20]
	cbz	w8, LBB0_10
; %bb.3:
Lloh0:
	adrp	x9, _REG_BR_PROB_BASE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REG_BR_PROB_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mul	w9, w9, w23
	sdiv	w24, w9, w8
	cbz	w21, LBB0_5
LBB0_4:
	sub	w8, w8, w23
	cmp	w8, #0
	csel	w8, w8, wzr, gt
	str	w8, [x20]
LBB0_5:
	ldr	x23, [x20, #24]
	cbz	x23, LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x23]
	mov	x0, x23
	mov	x1, x19
	mov	x3, x24
	mov	x4, x22
	mov	x5, x21
	bl	_cgraph_clone_edge
	ldr	x23, [x23, #8]
	cbnz	x23, LBB0_6
LBB0_7:
	ldr	x8, [x20, #16]
	stp	x20, x8, [x19, #8]
	str	x19, [x20, #16]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_9
; %bb.8:
	str	x19, [x8, #8]
LBB0_9:
	mov	x0, x19
	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_10:
	mov	w24, #0
	cbnz	w21, LBB0_4
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_BR_PROB_BASE,4,2           ; @REG_BR_PROB_BASE
.subsections_via_symbols
