	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_openpam_strlset                ## -- Begin function openpam_strlset
	.p2align	4, 0x90
_openpam_strlset:                       ## @openpam_strlset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpb	$0, (%rdi)
	movl	$1, %eax
	je	LBB0_6
## %bb.1:
	cmpq	$2, %rdx
	jb	LBB0_6
## %bb.2:
	movq	$-1, %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movb	%sil, (%rdi)
	cmpb	$0, 1(%rdi)
	leaq	1(%rdi), %rdi
	leaq	-1(%rcx), %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%rdx, %rcx
	cmpq	$1, %rcx
	movq	%rax, %rcx
	ja	LBB0_3
LBB0_5:
	negq	%rax
LBB0_6:
	movb	$0, (%rdi)
	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	_openpam_strlset                ; -- Begin function openpam_strlset
	.p2align	2
_openpam_strlset:                       ; @openpam_strlset
	.cfi_startproc
; %bb.0:
	ldrb	w8, [x0]
	cmp	w8, #0
	ccmp	x2, #2, #0, ne
	b.hs	LBB0_2
; %bb.1:
	mov	w8, #1
	b	LBB0_5
LBB0_2:
	mov	x8, #-1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x0
	ldrb	w10, [x0, #1]!
	strb	w1, [x9]
	add	x9, x2, x8
	sub	x8, x8, #1
	cmp	w10, #0
	ccmp	x9, #1, #0, ne
	b.hi	LBB0_3
; %bb.4:
	neg	x8, x8
LBB0_5:
	strb	wzr, [x0]
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
