	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmpndewey                      ## -- Begin function cmpndewey
	.p2align	4, 0x90
_cmpndewey:                             ## @cmpndewey
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $ecx killed $ecx def $rcx
                                        ## kill: def $esi killed $esi def $rsi
	xorl	%eax, %eax
	movl	$0, %r8d
	testl	%esi, %esi
	jle	LBB0_8
## %bb.1:
	movl	$0, %r8d
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.2:
	leal	-1(%rcx), %r9d
	leal	-1(%rsi), %r8d
	cmpl	%r8d, %r9d
	cmovbl	%r9d, %r8d
	incl	%r8d
	xorl	%r9d, %r9d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%r9,4), %r10d
	cmpl	%r10d, (%rdi,%r9,4)
	jl	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	jg	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r9
	cmpq	%r9, %r8
	jne	LBB0_3
LBB0_8:
	cmpl	%ecx, %esi
	je	LBB0_12
## %bb.9:
	movl	$-1, %eax
	cmpl	%esi, %r8d
	je	LBB0_12
## %bb.10:
	movl	$1, %eax
	cmpl	%ecx, %r8d
	je	LBB0_12
## %bb.11:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	xorl	%eax, %eax
LBB0_12:
	popq	%rbp
	retq
LBB0_4:
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmpndewey: can't happen"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmpndewey                      ; -- Begin function cmpndewey
	.p2align	2
_cmpndewey:                             ; @cmpndewey
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w8, #0
	subs	w9, w1, #1
	b.lt	LBB0_6
; %bb.1:
	subs	w10, w3, #1
	b.lt	LBB0_6
; %bb.2:
	cmp	w10, w9
	csel	w8, w10, w9, lo
	add	w8, w8, #1
	mov	x9, x8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0]
	ldr	w11, [x2]
	cmp	w10, w11
	b.lt	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	b.gt	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x2, x2, #4
	add	x0, x0, #4
	subs	x9, x9, #1
	b.ne	LBB0_3
LBB0_6:
	cmp	w1, w3
	b.eq	LBB0_12
; %bb.7:
	cmp	w8, w1
	b.ne	LBB0_9
LBB0_8:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_9:
	cmp	w8, w3
	b.ne	LBB0_11
LBB0_10:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_12:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmpndewey: can't happen"

.subsections_via_symbols
