	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memset32                       ## -- Begin function memset32
	.p2align	4, 0x90
_memset32:                              ## @memset32
	.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
	cmpl	$8, %edx
	jl	LBB0_1
## %bb.16:
	movd	%esi, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, 16(%rdi)
	movdqu	%xmm0, (%rdi)
	leal	-8(%rdx), %eax
	addq	$32, %rdi
	cmpl	$15, %edx
	movl	%eax, %edx
	ja	LBB0_17
## %bb.2:
	testl	%eax, %eax
	jne	LBB0_3
	jmp	LBB0_15
LBB0_1:
	movl	%edx, %eax
	testl	%eax, %eax
	je	LBB0_15
LBB0_3:
	leal	-1(%rax), %r9d
	cmpl	$7, %r9d
	jb	LBB0_13
## %bb.4:
	incq	%r9
	movq	%r9, %r8
	andq	$-8, %r8
	movd	%esi, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%r8), %rcx
	movq	%rcx, %rdx
	shrq	$3, %rdx
	incq	%rdx
	movl	%edx, %r10d
	andl	$7, %r10d
	cmpq	$56, %rcx
	jae	LBB0_6
## %bb.5:
	xorl	%ecx, %ecx
	jmp	LBB0_8
LBB0_6:
	andq	$-8, %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rdi,%rcx,4)
	movdqu	%xmm0, 16(%rdi,%rcx,4)
	movdqu	%xmm0, 32(%rdi,%rcx,4)
	movdqu	%xmm0, 48(%rdi,%rcx,4)
	movdqu	%xmm0, 64(%rdi,%rcx,4)
	movdqu	%xmm0, 80(%rdi,%rcx,4)
	movdqu	%xmm0, 96(%rdi,%rcx,4)
	movdqu	%xmm0, 112(%rdi,%rcx,4)
	movdqu	%xmm0, 128(%rdi,%rcx,4)
	movdqu	%xmm0, 144(%rdi,%rcx,4)
	movdqu	%xmm0, 160(%rdi,%rcx,4)
	movdqu	%xmm0, 176(%rdi,%rcx,4)
	movdqu	%xmm0, 192(%rdi,%rcx,4)
	movdqu	%xmm0, 208(%rdi,%rcx,4)
	movdqu	%xmm0, 224(%rdi,%rcx,4)
	movdqu	%xmm0, 240(%rdi,%rcx,4)
	addq	$64, %rcx
	addq	$-8, %rdx
	jne	LBB0_7
LBB0_8:
	testq	%r10, %r10
	je	LBB0_11
## %bb.9:
	leaq	(%rdi,%rcx,4), %rcx
	addq	$16, %rcx
	shlq	$5, %r10
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -16(%rcx,%rdx)
	movdqu	%xmm0, (%rcx,%rdx)
	addq	$32, %rdx
	cmpq	%rdx, %r10
	jne	LBB0_10
LBB0_11:
	cmpq	%r8, %r9
	je	LBB0_15
## %bb.12:
	subl	%r8d, %eax
	leaq	(%rdi,%r8,4), %rdi
LBB0_13:
	movl	%eax, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	%esi, (%rdi,%rcx,4)
	incq	%rcx
	cmpl	%ecx, %eax
	jne	LBB0_14
LBB0_15:
	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	_memset32                       ; -- Begin function memset32
	.p2align	2
_memset32:                              ; @memset32
	.cfi_startproc
; %bb.0:
	cmp	w2, #8
	b.lt	LBB0_3
; %bb.1:
	subs	w8, w2, #15
	csel	w8, wzr, w8, lo
	add	w8, w8, #7
	cmp	w8, #24
	b.hs	LBB0_4
; %bb.2:
	mov	x8, x0
	b	LBB0_7
LBB0_3:
	mov	x8, x0
	b	LBB0_9
LBB0_4:
	lsr	w8, w8, #3
	add	w9, w8, #1
	and	x10, x9, #0x3ffffffc
	sub	w2, w2, w10, lsl #3
	add	x8, x0, x10, lsl #5
	dup.4s	v0, w1
	add	x11, x0, #64
	mov	x12, x10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x11, #-64]
	stp	q0, q0, [x11, #-32]
	stp	q0, q0, [x11]
	stp	q0, q0, [x11, #32]
	add	x11, x11, #128
	subs	x12, x12, #4
	b.ne	LBB0_5
; %bb.6:
	cmp	x10, x9
	b.eq	LBB0_9
LBB0_7:
	dup.4s	v0, w1
	mov	x9, x2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x8], #32
	sub	w2, w9, #8
	cmp	w9, #15
	mov	x9, x2
	b.hi	LBB0_8
LBB0_9:
	cbz	w2, LBB0_16
; %bb.10:
	sub	w9, w2, #1
	cmp	w9, #15
	b.hs	LBB0_12
; %bb.11:
	mov	x9, x8
	b	LBB0_15
LBB0_12:
	add	x10, x9, #1
	and	x11, x10, #0x1fffffff0
	sub	w2, w2, w11
	add	x9, x8, x11, lsl #2
	dup.4s	v0, w1
	add	x8, x8, #32
	mov	x12, x11
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x8, #-32]
	stp	q0, q0, [x8], #64
	subs	x12, x12, #16
	b.ne	LBB0_13
; %bb.14:
	cmp	x10, x11
	b.eq	LBB0_16
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	str	w1, [x9], #4
	subs	w2, w2, #1
	b.ne	LBB0_15
LBB0_16:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
