	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_str
_set_str:                               ## @set_str
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rsi, %rsi
	leaq	L_.str(%rip), %r9
	cmovneq	%rsi, %r9
	movb	(%r9), %sil
	testq	%rdx, %rdx
	setne	%r14b
	testb	%sil, %sil
	je	LBB0_9
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.2:
	leaq	-1(%rdx), %r10
	xorl	%eax, %eax
	movl	$95, %r11d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testb	%sil, %sil
	js	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%sil, %ebx
	cmpb	$0, (%r8,%rbx)
	jne	LBB0_6
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	-97(%rsi), %ebx
	addb	$-32, %sil
	cmpb	$26, %bl
	movzbl	%sil, %esi
	cmovael	%r11d, %esi
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	%sil, (%rdi,%rax)
	movzbl	1(%r9,%rax), %esi
	cmpq	%rax, %r10
	setne	%r14b
	leaq	1(%rax), %rbx
	testb	%sil, %sil
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rax, %r10
	movq	%rbx, %rax
	jne	LBB0_3
LBB0_8:
	addq	%rbx, %rdi
	subq	%rbx, %rdx
LBB0_9:
	testb	%r14b, %r14b
	je	LBB0_10
## %bb.11:
	movsbl	%cl, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_set_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_str
_set_str:                               ; @set_str
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	cmp	x1, #0
	csel	x9, x8, x1, eq
	ldrb	w8, [x9]
	cmp	x2, #0
	cset	w11, ne
	cmp	w8, #0
	ccmp	x2, #0, #4, ne
	b.eq	LBB0_7
; %bb.1:
	add	x9, x9, #1
	mov	w10, #95
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w11, w8, #97
	and	w11, w11, #0xff
	sub	w8, w8, #32
	cmp	w11, #26
	csel	w8, w8, w10, lo
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	strb	w8, [x0], #1
	subs	x12, x2, #1
	ldrb	w8, [x9], #1
	cset	w11, ne
	cmp	w8, #0
	ccmp	x2, #1, #4, ne
	mov	x2, x12
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	tbnz	w8, #7, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	and	x11, x8, #0xff
	ldrb	w11, [x4, x11]
	cbnz	w11, LBB0_3
	b	LBB0_2
LBB0_6:
	mov	x2, x12
LBB0_7:
	cbz	w11, LBB0_9
; %bb.8:
	mov	x1, x3
	b	_memset
LBB0_9:
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_set_str
.subsections_via_symbols
