	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_grub_strncmp                   ## -- Begin function grub_strncmp
	.p2align	4, 0x90
_grub_strncmp:                          ## @grub_strncmp
	.cfi_startproc
## %bb.0:
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	(%rdi), %r8b
	testb	%r8b, %r8b
	je	LBB0_3
## %bb.4:
	decq	%rdx
	xorl	%ecx, %ecx
	movq	%rsi, %r9
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi,%rcx), %eax
	testb	%al, %al
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rcx, %rdx
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	%al, %r8b
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%r9
	movzbl	1(%rdi,%rcx), %r8d
	incq	%rcx
	testb	%r8b, %r8b
	jne	LBB0_5
## %bb.10:
	addq	%rcx, %rsi
	xorl	%r8d, %r8d
	jmp	LBB0_12
LBB0_1:
	xorl	%eax, %eax
	retq
LBB0_3:
	xorl	%r8d, %r8d
	jmp	LBB0_12
LBB0_6:
	movq	%r9, %rsi
	jmp	LBB0_12
LBB0_11:
	addq	%rcx, %rsi
LBB0_12:
	movsbl	%r8b, %eax
	movsbl	(%rsi), %ecx
	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_strncmp                   ; -- Begin function grub_strncmp
	.p2align	2
_grub_strncmp:                          ; @grub_strncmp
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_8
; %bb.1:
	ldrb	w8, [x0]
	cbz	w8, LBB0_7
; %bb.2:
	sub	x9, x2, #1
	add	x10, x0, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x1]
	cbz	w11, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	subs	x9, x9, #1
	b.lo	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w11, w8, uxtb
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, x1, #1
	ldrb	w8, [x10], #1
	cbnz	w8, LBB0_3
LBB0_7:
	sxtb	w8, w8
	ldrsb	w9, [x1]
	sub	w0, w8, w9
	ret
LBB0_8:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
