	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_grub_memcmp                    ## -- Begin function grub_memcmp
	.p2align	4, 0x90
_grub_memcmp:                           ## @grub_memcmp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	je	LBB0_5
## %bb.1:
	movl	%edx, %r8d
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rdi,%rdx), %eax
	movsbl	(%rsi,%rdx), %ecx
	cmpb	%cl, %al
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	cmpl	%edx, %r8d
	jne	LBB0_2
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_3:
	subl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_grub_memcmp                    ; -- Begin function grub_memcmp
	.p2align	2
_grub_memcmp:                           ; @grub_memcmp
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x0]
	ldrb	w9, [x1]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x0, x0, #1
	add	x1, x1, #1
	subs	w2, w2, #1
	b.ne	LBB0_1
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
	sxtb	w8, w8
	sxtb	w9, w9
	sub	w0, w8, w9
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
