	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmp_abs
_cmp_abs:                               ## @cmp_abs
	.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
	movl	(%rdi), %r11d
	movl	(%rsi), %r8d
	xorl	%eax, %eax
	movl	%r11d, %ebx
	subl	%r8d, %ebx
	jle	LBB0_6
## %bb.1:
	movl	4(%rdi), %r9d
	xorl	%edx, %edx
	testl	%r9d, %r9d
	cmovlel	%edx, %r9d
	subl	%r9d, %r11d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, %r9
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rdi), %rcx
	cmpq	$0, (%rcx,%rdx,8)
	jne	LBB0_21
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	cmpq	%rdx, %rbx
	jne	LBB0_2
## %bb.5:
	xorl	%r10d, %r10d
	jmp	LBB0_15
LBB0_6:
	xorl	%r9d, %r9d
LBB0_7:
	movl	%r8d, %r10d
	subl	%r11d, %r10d
	jle	LBB0_12
## %bb.8:
	movl	4(%rsi), %eax
	xorl	%ecx, %ecx
	testl	%eax, %eax
	cmovlel	%ecx, %eax
	subl	%eax, %r8d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rsi), %rdx
	cmpq	$0, (%rdx,%rcx,8)
	jne	LBB0_30
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%rcx
	cmpq	%rcx, %r10
	jne	LBB0_9
	jmp	LBB0_14
LBB0_12:
	cmpl	%r8d, %r11d
	jne	LBB0_20
## %bb.13:
	movl	%eax, %r10d
LBB0_14:
	movl	%r9d, %ebx
LBB0_15:
	movl	4(%rdi), %r8d
	movl	%ebx, %edx
	movl	%r10d, %eax
	cmpl	%r8d, %ebx
	movl	%ebx, %r9d
	cmovlel	%r8d, %r9d
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%edx, %r8d
	jle	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpl	%eax, 4(%rsi)
	jle	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	8(%rdi), %rcx
	movq	(%rcx,%rdx,8), %rcx
	incq	%rdx
	movq	8(%rsi), %rbx
	subq	(%rbx,%rax,8), %rcx
	incq	%rax
	testl	%ecx, %ecx
	je	LBB0_16
## %bb.19:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setg	%al
	addl	%eax, %eax
	decl	%eax
	jmp	LBB0_32
LBB0_20:
	movl	4(%rdi), %r8d
	jmp	LBB0_23
LBB0_22:
	movl	%edx, %r9d
LBB0_23:
	movslq	%r9d, %rcx
	cmpl	%r8d, %ecx
	cmovgl	%ecx, %r8d
	movslq	%r8d, %rdx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %rdx
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	8(%rdi), %rbx
	cmpq	$0, (%rbx,%rcx,8)
	leaq	1(%rcx), %rcx
	je	LBB0_24
LBB0_21:
	movl	$1, %eax
	jmp	LBB0_32
LBB0_27:
	movl	4(%rsi), %ecx
	cltq
	cmpl	%ecx, %eax
	cmovgl	%eax, %ecx
	movslq	%ecx, %rcx
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %rcx
	je	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	movq	8(%rsi), %rdx
	cmpq	$0, (%rdx,%rax,8)
	leaq	1(%rax), %rax
	je	LBB0_28
LBB0_30:
	movl	$-1, %eax
	jmp	LBB0_32
LBB0_31:
	xorl	%eax, %eax
LBB0_32:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cmp_abs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmp_abs
_cmp_abs:                               ; @cmp_abs
	.cfi_startproc
; %bb.0:
	ldr	w11, [x0]
	ldr	w12, [x1]
	subs	w10, w11, w12
	b.le	LBB0_6
; %bb.1:
	mov	x9, #0
	ldr	w8, [x0, #4]
	cmp	w8, #0
	csel	w8, w8, wzr, gt
	sub	w11, w11, w8
	lsl	x13, x8, #3
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	lsl	x14, x10, #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x13, x9
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x15, [x0, #8]
	ldr	x15, [x15, x9]
	cbnz	x15, LBB0_26
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #8
	cmp	x14, x9
	b.ne	LBB0_2
; %bb.5:
	mov	w13, #0
	b	LBB0_16
LBB0_6:
	mov	w8, #0
LBB0_7:
	subs	w13, w12, w11
	b.le	LBB0_12
; %bb.8:
	mov	x10, #0
	ldr	w9, [x1, #4]
	cmp	w9, #0
	csel	w9, w9, wzr, gt
	sub	w12, w12, w9
	lsl	x14, x9, #3
	lsl	x15, x13, #3
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x14, x10
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x16, [x1, #8]
	ldr	x16, [x16, x10]
	cbnz	x16, LBB0_30
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x10, x10, #8
	cmp	x15, x10
	b.ne	LBB0_9
	b	LBB0_15
LBB0_12:
	mov	w9, #0
LBB0_13:
	cmp	w11, w12
	b.ne	LBB0_21
; %bb.14:
	mov	x13, x9
LBB0_15:
	mov	x10, x8
LBB0_16:
	mov	w9, w10
	mov	w12, w13
	ldr	w11, [x0, #4]
	cmp	w10, w11
	csel	w8, w10, w11, gt
	lsl	x12, x12, #3
	lsl	x14, x9, #3
	mov	x9, x13
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	cmp	w11, w10
	b.le	LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w13, [x1, #4]
	cmp	w13, w9
	b.le	LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x13, [x0, #8]
	ldr	x13, [x13, x14]
	ldr	x15, [x1, #8]
	ldr	x15, [x15, x12]
	add	w9, w9, #1
	add	x12, x12, #8
	add	w10, w10, #1
	add	x14, x14, #8
	sub	x13, x13, x15
	cbz	w13, LBB0_17
; %bb.20:
	cmp	w13, #1
	mov	w8, #-1
	cneg	w0, w8, ge
	ret
LBB0_21:
	ldr	w11, [x0, #4]
	b	LBB0_23
LBB0_22:
	mov	x8, x10
LBB0_23:
	sxtw	x10, w8
	cmp	w8, w11
	csel	w8, w8, w11, gt
	sxtw	x8, w8
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	cmp	x8, x10
	b.eq	LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x11, [x0, #8]
	ldr	x11, [x11, x10, lsl #3]
	add	x10, x10, #1
	cbz	x11, LBB0_24
LBB0_26:
	mov	w0, #1
	ret
LBB0_27:
	ldr	w10, [x1, #4]
	mov	x8, x9
	sxtw	x8, w8
	cmp	w9, w10
	csel	w9, w9, w10, gt
	sxtw	x9, w9
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	cmp	x9, x8
	b.eq	LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x10, [x1, #8]
	ldr	x10, [x10, x8, lsl #3]
	add	x8, x8, #1
	cbz	x10, LBB0_28
LBB0_30:
	mov	w0, #-1
	ret
LBB0_31:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cmp_abs
.subsections_via_symbols
