	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strncat                        ## -- Begin function strncat
	.p2align	4, 0x90
_strncat:                               ## @strncat
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.1:
	movq	%rax, %rcx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rcx)
	leaq	1(%rcx), %rcx
	jne	LBB0_2
## %bb.3:
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi,%rdi), %r8d
	movb	%r8b, -1(%rcx,%rdi)
	testb	%r8b, %r8b
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdi
	cmpq	%rdi, %rdx
	jne	LBB0_4
## %bb.6:
	movb	$0, -1(%rcx,%rdi)
LBB0_7:
	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	_strncat                        ; -- Begin function strncat
	.p2align	2
_strncat:                               ; @strncat
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_7
; %bb.1:
	sub	x8, x0, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8, #1]!
	cbnz	w9, LBB0_2
; %bb.3:
	mov	x9, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x1, x9]
	strb	w10, [x8, x9]
	cbz	w10, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	cmp	x2, x9
	b.ne	LBB0_4
; %bb.6:
	strb	wzr, [x8, x9]
LBB0_7:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
