	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function better_edge_p
_better_edge_p:                         ## @better_edge_p
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movslq	%r8d, %rax
	imulq	$1717986919, %rax, %r10         ## imm = 0x66666667
	movq	%r10, %rax
	shrq	$63, %rax
	sarq	$34, %r10
	addl	%eax, %r10d
	leal	(%r10,%r8), %r11d
	movl	$1, %eax
	cmpl	%edx, %r11d
	jl	LBB0_1
## %bb.2:
	subl	%r10d, %r8d
	xorl	%r10d, %r10d
	movb	$1, %r11b
	cmpl	%edx, %r8d
	jle	LBB0_8
LBB0_3:
	movq	16(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.4:
	testb	%r11b, %r11b
	je	LBB0_11
## %bb.5:
	movq	_flag_reorder_blocks_and_partition@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	%r10d, %eax
	je	LBB0_1
## %bb.6:
	movq	_EDGE_CROSSING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, (%rcx)
	je	LBB0_12
## %bb.7:
	xorl	%eax, %eax
	testl	%edx, (%rsi)
	sete	%al
	jmp	LBB0_1
LBB0_8:
	movslq	%r9d, %r8
	imulq	$1717986919, %r8, %rdx          ## imm = 0x66666667
	movq	%rdx, %rbx
	shrq	$63, %rbx
	sarq	$34, %rdx
	addl	%ebx, %edx
	subl	%edx, %r8d
	cmpl	%ecx, %r8d
	jg	LBB0_1
## %bb.9:
	addl	%r9d, %edx
	cmpl	%ecx, %edx
	jl	LBB0_3
## %bb.10:
	movq	8(%rsi), %rax
	xorl	%r10d, %r10d
	cmpq	%rdi, (%rax)
	setne	%r11b
	sete	%r10b
	jmp	LBB0_3
LBB0_11:
	movl	%r10d, %eax
	jmp	LBB0_1
LBB0_12:
	xorl	%eax, %eax
LBB0_1:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_flag_reorder_blocks_and_partition,8,3 ## @flag_reorder_blocks_and_partition
	.comm	_EDGE_CROSSING,4,2              ## @EDGE_CROSSING
	.no_dead_strip	_better_edge_p
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function better_edge_p
_better_edge_p:                         ; @better_edge_p
	.cfi_startproc
; %bb.0:
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	smull	x9, w4, w8
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	add	w10, w9, w4
	cmp	w10, w2
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #1
	ret
LBB0_2:
	sub	w9, w4, w9
	cmp	w9, w2
	b.gt	LBB0_6
; %bb.3:
	smull	x8, w5, w8
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w9
	sub	w9, w5, w8
	cmp	w9, w3
	b.le	LBB0_5
; %bb.4:
	mov	w0, #1
	ret
LBB0_5:
	add	w8, w8, w5
	cmp	w8, w3
	b.ge	LBB0_13
LBB0_6:
	mov	w0, #0
	mov	w8, #1
	cbz	x6, LBB0_11
LBB0_7:
	cbz	w8, LBB0_11
; %bb.8:
Lloh0:
	adrp	x8, _flag_reorder_blocks_and_partition@GOTPAGE
Lloh1:
	ldr	x8, [x8, _flag_reorder_blocks_and_partition@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.9:
	ldr	w9, [x6]
Lloh3:
	adrp	x8, _EDGE_CROSSING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EDGE_CROSSING@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_12
; %bb.10:
	ldr	w9, [x1]
	tst	w9, w8
	cset	w0, eq
LBB0_11:
	ret
LBB0_12:
	mov	w0, #0
	ret
LBB0_13:
	ldr	x8, [x1, #8]
	ldr	x8, [x8]
	cmp	x8, x0
	cset	w8, ne
	cset	w0, eq
	cbnz	x6, LBB0_7
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_flag_reorder_blocks_and_partition,8,3 ; @flag_reorder_blocks_and_partition
	.comm	_EDGE_CROSSING,4,2              ; @EDGE_CROSSING
	.no_dead_strip	_better_edge_p
.subsections_via_symbols
