	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sanitize_arg
_sanitize_arg:                          ## @sanitize_arg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	cmpl	$1, %edx
	jle	LBB0_2
## %bb.3:
	decl	%edx
	movl	%edx, %r8d
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rax), %ecx
	testb	%cl, %cl
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$10, %cl
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movb	%cl, (%rsi,%rax)
	incq	%rax
	cmpq	%rax, %r8
	jne	LBB0_4
	jmp	LBB0_8
LBB0_2:
	movb	$0, (%rsi)
	popq	%rbp
	retq
LBB0_7:
	movl	%eax, %edx
LBB0_8:
	movl	%edx, %ecx
	movb	$0, (%rsi,%rcx)
	xorl	%eax, %eax
	testl	%edx, %edx
	je	LBB0_12
## %bb.9:
	movb	(%rdi,%rcx), %cl
	cmpb	$10, %cl
	je	LBB0_11
## %bb.10:
	testb	%cl, %cl
	jne	LBB0_12
LBB0_11:
	movl	%edx, %eax
LBB0_12:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sanitize_arg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sanitize_arg
_sanitize_arg:                          ; @sanitize_arg
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_9
; %bb.1:
	mov	x8, x0
	subs	w0, w2, #1
	b.le	LBB0_5
; %bb.2:
	mov	x9, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x8, x9]
	cmp	w10, #0
	ccmp	w10, #10, #4, ne
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	w10, [x1, x9]
	add	x9, x9, #1
	cmp	x0, x9
	b.ne	LBB0_3
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	strb	wzr, [x1]
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_6:
	mov	x0, x9
LBB0_7:
	mov	w9, w0
	strb	wzr, [x1, x9]
	cbz	w0, LBB0_9
; %bb.8:
	ldrb	w8, [x8, x9]
	cmp	w8, #10
	ccmp	w8, #0, #4, ne
	b.ne	LBB0_10
LBB0_9:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_10:
	mov	w0, #0
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sanitize_arg
.subsections_via_symbols
