	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg_layout_duplicate_bb        ## -- Begin function cfg_layout_duplicate_bb
	.p2align	4, 0x90
_cfg_layout_duplicate_bb:               ## @cfg_layout_duplicate_bb
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_BB_HEAD
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_BB_END
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_duplicate_insn_chain
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_get_last_insn
	movq	%rax, %rsi
	jmp	LBB0_3
LBB0_1:
	xorl	%esi, %esi
LBB0_3:
	movq	_EXIT_BLOCK_PTR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_create_basic_block
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_BB_COPY_PARTITION
	movq	(%r15), %rax
	movq	24(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.4:
	movq	%rbx, %rdi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	callq	_NEXT_INSN
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_NEXT_INSN
	movq	%rax, %rbx
	movq	%rax, %rdi
	jmp	LBB0_6
LBB0_7:
	movq	(%r15), %rax
	movq	24(%rax), %rdi
	movq	%rbx, %rsi
	callq	_duplicate_insn_chain
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_get_last_insn
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_unlink_insn_chain
	movq	(%r14), %rcx
	movq	%rax, 24(%rcx)
LBB0_9:
	movq	(%r15), %rax
	movq	16(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.10:
	movq	%rbx, %rdi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	callq	_NEXT_INSN
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	callq	_NEXT_INSN
	movq	%rax, %rbx
	movq	%rax, %rdi
	jmp	LBB0_12
LBB0_13:
	movq	(%r15), %rax
	movq	16(%rax), %rdi
	movq	%rbx, %rsi
	callq	_duplicate_insn_chain
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_get_last_insn
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_unlink_insn_chain
	movq	(%r14), %rcx
	movq	%rax, 16(%rcx)
LBB0_15:
	movq	(%r15), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_17
## %bb.16:
	movq	_reg_obstack@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_ALLOC_REG_SET
	movq	(%r14), %rcx
	movq	%rax, 8(%rcx)
	movq	%rbx, %rdi
	callq	_ALLOC_REG_SET
	movq	(%r14), %rcx
	movq	%rax, (%rcx)
	movq	8(%rcx), %rdi
	movq	(%r15), %rax
	movq	8(%rax), %rsi
	callq	_COPY_REG_SET
	movq	(%r14), %rax
	movq	(%rax), %rdi
	movq	(%r15), %rax
	movq	(%rax), %rsi
	callq	_COPY_REG_SET
LBB0_17:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXIT_BLOCK_PTR,8,3             ## @EXIT_BLOCK_PTR
	.comm	_reg_obstack,4,2                ## @reg_obstack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg_layout_duplicate_bb        ; -- Begin function cfg_layout_duplicate_bb
	.p2align	2
_cfg_layout_duplicate_bb:               ; @cfg_layout_duplicate_bb
	.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, x0
	bl	_BB_HEAD
	mov	x20, x0
	mov	x0, x19
	bl	_BB_END
	mov	x1, x0
	mov	x0, x20
	bl	_duplicate_insn_chain
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	bl	_get_last_insn
	mov	x1, x0
	b	LBB0_3
LBB0_2:
	mov	x1, #0
LBB0_3:
Lloh0:
	adrp	x8, _EXIT_BLOCK_PTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXIT_BLOCK_PTR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w2, [x8]
	mov	x0, x20
	bl	_create_basic_block
	mov	x20, x0
	mov	x1, x19
	bl	_BB_COPY_PARTITION
	ldr	x8, [x19]
	ldr	x21, [x8, #24]
	cbz	x21, LBB0_8
; %bb.4:
	mov	x0, x21
	bl	_NEXT_INSN
	cbz	x0, LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_NEXT_INSN
	mov	x21, x0
	bl	_NEXT_INSN
	cbnz	x0, LBB0_5
LBB0_6:
	ldr	x8, [x19]
	ldr	x0, [x8, #24]
	mov	x1, x21
	bl	_duplicate_insn_chain
	cbz	x0, LBB0_8
; %bb.7:
	mov	x21, x0
	bl	_get_last_insn
	mov	x1, x0
	mov	x0, x21
	bl	_unlink_insn_chain
	ldr	x8, [x20]
	str	x0, [x8, #24]
LBB0_8:
	ldr	x8, [x19]
	ldr	x21, [x8, #16]
	cbz	x21, LBB0_13
; %bb.9:
	mov	x0, x21
	bl	_NEXT_INSN
	cbz	x0, LBB0_11
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_NEXT_INSN
	mov	x21, x0
	bl	_NEXT_INSN
	cbnz	x0, LBB0_10
LBB0_11:
	ldr	x8, [x19]
	ldr	x0, [x8, #16]
	mov	x1, x21
	bl	_duplicate_insn_chain
	cbz	x0, LBB0_13
; %bb.12:
	mov	x21, x0
	bl	_get_last_insn
	mov	x1, x0
	mov	x0, x21
	bl	_unlink_insn_chain
	ldr	x8, [x20]
	str	x0, [x8, #16]
LBB0_13:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_15
; %bb.14:
Lloh3:
	adrp	x21, _reg_obstack@GOTPAGE
Lloh4:
	ldr	x21, [x21, _reg_obstack@GOTPAGEOFF]
	mov	x0, x21
	bl	_ALLOC_REG_SET
	ldr	x8, [x20]
	str	x0, [x8, #8]
	mov	x0, x21
	bl	_ALLOC_REG_SET
	ldr	x8, [x20]
	str	x0, [x8]
	ldr	x0, [x8, #8]
	ldr	x8, [x19]
	ldr	x1, [x8, #8]
	bl	_COPY_REG_SET
	ldr	x8, [x20]
	ldr	x0, [x8]
	ldr	x8, [x19]
	ldr	x1, [x8]
	bl	_COPY_REG_SET
LBB0_15:
	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 AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EXIT_BLOCK_PTR,8,3             ; @EXIT_BLOCK_PTR
	.comm	_reg_obstack,4,2                ; @reg_obstack
.subsections_via_symbols
