	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function factor_tests
_factor_tests:                          ## @factor_tests
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_23
## %bb.1:
	movq	%rdi, %r15
	movq	16(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.2:
	leaq	16(%r12), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	movq	32(%r12), %rcx
	movl	(%rcx), %r13d
	movq	32(%rbx), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_DT_mode@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r13d
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_DT_code@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r13d
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_DT_veclen@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r13d
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_DT_elt_zero_int@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r13d
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_DT_elt_one_int@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r13d
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_DT_elt_zero_wide_safe@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r13d
	je	LBB0_13
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %r12
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	16(%r12), %r14
	movq	16(%r12), %rbx
	testq	%rbx, %rbx
	jne	LBB0_5
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, 8(%rcx)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	40(%r12), %edi
	movq	%r12, %rsi
	callq	_new_decision
	movq	32(%r12), %rcx
	movq	8(%rcx), %rcx
	movq	%rcx, 32(%rax)
	movq	32(%r12), %rax
	movq	$0, 8(%rax)
	movq	32(%rbx), %rax
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	$0, (%r14)
	movq	8(%r15), %r14
	movq	%r12, 8(%r15)
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, 8(%rax)
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=2
	movl	40(%rbx), %edi
	movq	%rbx, %rsi
	callq	_new_decision
	movq	32(%rbx), %rcx
	movq	8(%rcx), %rcx
	movq	%rcx, 32(%rax)
	movq	32(%rbx), %rax
	movq	$0, 8(%rax)
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=2
	movq	16(%rbx), %r12
	movq	$0, 16(%rbx)
	movq	%rbx, -48(%rbp)
	movq	%rbx, -56(%rbp)
	movq	%r15, %rdi
	leaq	-56(%rbp), %rsi
	callq	_merge_trees
	testq	%r12, %r12
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=2
	movq	32(%r12), %rax
	movq	%r12, %rbx
	cmpl	%r13d, (%rax)
	je	LBB0_16
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r15), %rax
	movq	%rax, 24(%r12)
	movq	%r12, 16(%rax)
	movq	%r14, 8(%r15)
	jmp	LBB0_4
LBB0_21:
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_factor_tests
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_22
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DT_mode,4,2                    ## @DT_mode
	.comm	_DT_code,4,2                    ## @DT_code
	.comm	_DT_veclen,4,2                  ## @DT_veclen
	.comm	_DT_elt_zero_int,4,2            ## @DT_elt_zero_int
	.comm	_DT_elt_one_int,4,2             ## @DT_elt_one_int
	.comm	_DT_elt_zero_wide_safe,4,2      ## @DT_elt_zero_wide_safe
	.no_dead_strip	_factor_tests
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function factor_tests
_factor_tests:                          ; @factor_tests
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	x20, [x0]
	cbz	x20, LBB0_17
; %bb.1:
	mov	x19, x0
	mov	x22, x20
	ldr	x21, [x22, #16]!
	cbz	x21, LBB0_15
; %bb.2:
Lloh0:
	adrp	x23, _DT_code@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DT_code@GOTPAGEOFF]
Lloh2:
	adrp	x24, _DT_veclen@GOTPAGE
Lloh3:
	ldr	x24, [x24, _DT_veclen@GOTPAGEOFF]
Lloh4:
	adrp	x25, _DT_elt_zero_int@GOTPAGE
Lloh5:
	ldr	x25, [x25, _DT_elt_zero_int@GOTPAGEOFF]
Lloh6:
	adrp	x26, _DT_elt_one_int@GOTPAGE
Lloh7:
	ldr	x26, [x26, _DT_elt_one_int@GOTPAGEOFF]
Lloh8:
	adrp	x27, _DT_elt_zero_wide_safe@GOTPAGE
Lloh9:
	ldr	x27, [x27, _DT_elt_zero_wide_safe@GOTPAGEOFF]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x9, [x20, #32]
	ldr	w28, [x9]
	ldr	x8, [x21, #32]
	ldr	w10, [x8]
	cmp	w10, w28
	b.ne	LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh10:
	adrp	x10, _DT_mode@GOTPAGE
Lloh11:
	ldr	x10, [x10, _DT_mode@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	ldr	w11, [x23]
	ldr	w12, [x24]
	ldr	w13, [x25]
	ldr	w14, [x26]
	ldr	w15, [x27]
	cmp	w28, w10
	ccmp	w28, w11, #4, ne
	ccmp	w28, w12, #4, ne
	ccmp	w28, w13, #4, ne
	ccmp	w28, w14, #4, ne
	ccmp	w28, w15, #4, ne
	b.ne	LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20, #40]
	mov	x1, x20
	bl	_new_decision
	ldr	x8, [x20, #32]
	ldr	x8, [x8, #8]
	str	x8, [x0, #32]
	ldr	x8, [x20, #32]
	str	xzr, [x8, #8]
	ldr	x8, [x21, #32]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x22]
	ldr	x22, [x19, #8]
	str	x20, [x19, #8]
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w0, [x21, #40]
	mov	x1, x21
	bl	_new_decision
	ldr	x8, [x21, #32]
	ldr	x8, [x8, #8]
	str	x8, [x0, #32]
	ldr	x8, [x21, #32]
	str	xzr, [x8, #8]
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x20, [x21, #16]
	str	xzr, [x21, #16]
	stp	x21, x21, [sp]
	mov	x1, sp
	mov	x0, x19
	bl	_merge_trees
	cbz	x20, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [x20, #32]
	ldr	w9, [x8]
	mov	x21, x20
	cmp	w9, w28
	b.eq	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	str	x8, [x20, #24]
	str	x20, [x8, #16]
	str	x22, [x19, #8]
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x20, x21
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x20
	ldr	x21, [x22, #16]!
	cbnz	x21, LBB0_3
LBB0_15:
	ldr	x19, [x19]
	cbz	x19, LBB0_17
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_factor_tests
	ldr	x19, [x19, #16]
	cbnz	x19, LBB0_16
LBB0_17:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_DT_mode,4,2                    ; @DT_mode
	.comm	_DT_code,4,2                    ; @DT_code
	.comm	_DT_veclen,4,2                  ; @DT_veclen
	.comm	_DT_elt_zero_int,4,2            ; @DT_elt_zero_int
	.comm	_DT_elt_one_int,4,2             ; @DT_elt_one_int
	.comm	_DT_elt_zero_wide_safe,4,2      ; @DT_elt_zero_wide_safe
	.no_dead_strip	_factor_tests
.subsections_via_symbols
