	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_grub_strncpy                   ## -- Begin function grub_strncpy
	.p2align	4, 0x90
_grub_strncpy:                          ## @grub_strncpy
	.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 $edx killed $edx def $rdx
	movq	%rdi, %rax
	decl	%edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi,%rcx), %edi
	movb	%dil, (%rax,%rcx)
	testb	%dil, %dil
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	1(%rcx), %rdi
	cmpl	%ecx, %edx
	movq	%rdi, %rcx
	jne	LBB0_1
LBB0_3:
	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_strncpy                   ; -- Begin function grub_strncpy
	.p2align	2
_grub_strncpy:                          ; @grub_strncpy
	.cfi_startproc
; %bb.0:
	mov	x9, #0
	sub	w8, w2, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x1, x9]
	strb	w10, [x0, x9]
	cmp	w10, #0
	ccmp	w8, w9, #4, ne
	add	x9, x9, #1
	b.ne	LBB0_1
; %bb.2:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
