	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memset                         ## -- Begin function memset
	.p2align	4, 0x90
_memset:                                ## @memset
	.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_21
## %bb.1:
	cmpq	$8, %rdx
	jae	LBB0_3
## %bb.2:
	movq	%rax, %r9
LBB0_18:
	movq	%rdx, %rdi
	jmp	LBB0_19
LBB0_3:
	movzbl	%sil, %r8d
	cmpq	$32, %rdx
	jae	LBB0_8
## %bb.4:
	xorl	%ecx, %ecx
	jmp	LBB0_5
LBB0_8:
	movq	%rdx, %rcx
	andq	$-32, %rcx
	movd	%r8d, %xmm0
	pxor	%xmm1, %xmm1
	pshufb	%xmm1, %xmm0
	leaq	-32(%rcx), %rdi
	movq	%rdi, %r10
	shrq	$5, %r10
	incq	%r10
	movl	%r10d, %r9d
	andl	$7, %r9d
	cmpq	$224, %rdi
	jae	LBB0_10
## %bb.9:
	xorl	%edi, %edi
	jmp	LBB0_12
LBB0_10:
	andq	$-8, %r10
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rax,%rdi)
	movdqu	%xmm0, 16(%rax,%rdi)
	movdqu	%xmm0, 32(%rax,%rdi)
	movdqu	%xmm0, 48(%rax,%rdi)
	movdqu	%xmm0, 64(%rax,%rdi)
	movdqu	%xmm0, 80(%rax,%rdi)
	movdqu	%xmm0, 96(%rax,%rdi)
	movdqu	%xmm0, 112(%rax,%rdi)
	movdqu	%xmm0, 128(%rax,%rdi)
	movdqu	%xmm0, 144(%rax,%rdi)
	movdqu	%xmm0, 160(%rax,%rdi)
	movdqu	%xmm0, 176(%rax,%rdi)
	movdqu	%xmm0, 192(%rax,%rdi)
	movdqu	%xmm0, 208(%rax,%rdi)
	movdqu	%xmm0, 224(%rax,%rdi)
	movdqu	%xmm0, 240(%rax,%rdi)
	addq	$256, %rdi                      ## imm = 0x100
	addq	$-8, %r10
	jne	LBB0_11
LBB0_12:
	testq	%r9, %r9
	je	LBB0_15
## %bb.13:
	leaq	(%rdi,%rax), %r10
	addq	$16, %r10
	shlq	$5, %r9
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -16(%r10,%rdi)
	movdqu	%xmm0, (%r10,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %r9
	jne	LBB0_14
LBB0_15:
	cmpq	%rdx, %rcx
	je	LBB0_21
## %bb.16:
	testb	$24, %dl
	je	LBB0_17
LBB0_5:
	movq	%rdx, %r10
	andq	$-8, %r10
	leaq	(%rax,%r10), %r9
	movl	%edx, %edi
	andl	$7, %edi
	movd	%r8d, %xmm0
	punpcklbw	%xmm0, %xmm0            ## xmm0 = xmm0[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
	pshuflw	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0,4,5,6,7]
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%xmm0, (%rax,%rcx)
	addq	$8, %rcx
	cmpq	%rcx, %r10
	jne	LBB0_6
## %bb.7:
	cmpq	%rdx, %r10
	je	LBB0_21
LBB0_19:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movb	%sil, (%r9,%rcx)
	incq	%rcx
	cmpq	%rcx, %rdi
	jne	LBB0_20
LBB0_21:
	popq	%rbp
	retq
LBB0_17:
	andl	$31, %edx
	addq	%rax, %rcx
	movq	%rcx, %r9
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memset                         ; -- Begin function memset
	.p2align	2
_memset:                                ; @memset
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_14
; %bb.1:
	cmp	x2, #8
	b.hs	LBB0_3
; %bb.2:
	mov	x8, x0
	mov	x9, x2
	b	LBB0_13
LBB0_3:
	cmp	x2, #64
	b.hs	LBB0_5
; %bb.4:
	mov	x10, #0
	b	LBB0_9
LBB0_5:
	and	x10, x2, #0xffffffffffffffc0
	dup.16b	v0, w1
	add	x8, x0, #32
	mov	x9, x10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x8, #-32]
	stp	q0, q0, [x8], #64
	subs	x9, x9, #64
	b.ne	LBB0_6
; %bb.7:
	cmp	x10, x2
	b.eq	LBB0_14
; %bb.8:
	tst	x2, #0x38
	b.eq	LBB0_12
LBB0_9:
	and	x11, x2, #0xfffffffffffffff8
	add	x8, x0, x11
	and	x9, x2, #0x7
	dup.8b	v0, w1
	add	x12, x0, x10
	sub	x10, x10, x11
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	str	d0, [x12], #8
	adds	x10, x10, #8
	b.ne	LBB0_10
; %bb.11:
	cmp	x11, x2
	b.ne	LBB0_13
	b	LBB0_14
LBB0_12:
	and	x9, x2, #0x3f
	add	x8, x0, x10
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	strb	w1, [x8], #1
	subs	x9, x9, #1
	b.ne	LBB0_13
LBB0_14:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
