	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compare_serial                 ## -- Begin function compare_serial
	.p2align	4, 0x90
_compare_serial:                        ## @compare_serial
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SERIAL_BITS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	decb	%cl
	movl	$1, %edx
	shll	%cl, %edx
	xorl	%eax, %eax
	cmpl	%esi, %edi
	je	LBB0_4
## %bb.1:
	movl	%esi, %ecx
	subl	%edi, %ecx
	jle	LBB0_3
## %bb.2:
	movl	$-1, %eax
	cmpl	%edx, %ecx
	jge	LBB0_3
LBB0_4:
	popq	%rbp
	retq
LBB0_3:
	subl	%esi, %edi
	setle	%al
	cmpl	%edx, %edi
	setle	%cl
	orb	%al, %cl
	movzbl	%cl, %eax
	addl	%eax, %eax
	decl	%eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SERIAL_BITS,4,2                ## @SERIAL_BITS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compare_serial                 ; -- Begin function compare_serial
	.p2align	2
_compare_serial:                        ; @compare_serial
	.cfi_startproc
; %bb.0:
	subs	w9, w0, w1
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
Lloh0:
	adrp	x8, _SERIAL_BITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SERIAL_BITS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #1
	mov	w10, #1
	lsl	w10, w10, w8
	mov	w8, #-1
	subs	w11, w1, w0
	b.le	LBB0_5
; %bb.3:
	cmp	w11, w10
	b.ge	LBB0_5
; %bb.4:
	mov	x0, x8
	ret
LBB0_5:
	cmp	w9, w10
	ccmp	w0, w1, #4, gt
	cneg	w8, w8, le
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SERIAL_BITS,4,2                ; @SERIAL_BITS
.subsections_via_symbols
