	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cam_strvis
_cam_strvis:                            ## @cam_strvis
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	jle	LBB0_8
## %bb.1:
	movl	%edx, %r9d
	decl	%edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$32, (%rsi)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	decq	%r9
	leal	1(%r9), %r8d
	decl	%edx
	cmpl	$1, %r8d
	jg	LBB0_2
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, %eax
	testb	$-33, (%rsi,%rax)
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	decq	%r9
	leaq	1(%r9), %rax
	decl	%edx
	cmpq	$1, %rax
	ja	LBB0_5
LBB0_8:
	movq	%rdi, %r8
LBB0_9:
	movb	$0, (%r8)
	popq	%rbp
	retq
LBB0_10:
	testl	%r9d, %r9d
	jle	LBB0_8
## %bb.11:
	cmpl	$2, %ecx
	jge	LBB0_12
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	1(%rdi), %r8
	movb	%dl, (%rdi)
	cmpl	$2, %r9d
	jl	LBB0_9
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rsi
	decl	%r9d
	subl	%r8d, %edi
	addl	%edi, %ecx
	movq	%r8, %rdi
	cmpl	$1, %ecx
	jle	LBB0_9
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi), %edx
	cmpb	$31, %dl
	jg	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$5, %ecx
	jb	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movb	$92, (%rdi)
	movzbl	(%rsi), %eax
	shrb	$6, %al
	orb	$48, %al
	movb	%al, 1(%rdi)
	movzbl	(%rsi), %eax
	shrb	$3, %al
	andb	$7, %al
	orb	$48, %al
	movb	%al, 2(%rdi)
	movzbl	(%rsi), %eax
	andb	$7, %al
	orb	$48, %al
	leaq	4(%rdi), %r8
	movb	%al, 3(%rdi)
	cmpl	$2, %r9d
	jge	LBB0_17
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	leaq	1(%rdi), %r8
	movb	$63, (%rdi)
	cmpl	$2, %r9d
	jge	LBB0_17
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cam_strvis
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cam_strvis
_cam_strvis:                            ; @cam_strvis
	.cfi_startproc
; %bb.0:
	subs	w9, w2, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w8, w2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x1]
	cmp	w10, #32
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, x1, #1
	sub	x8, x8, #1
	add	w10, w8, #1
	sub	w9, w9, #1
	cmp	w10, #1
	b.gt	LBB0_2
	b	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x1, w9, uxtw]
	orr	w10, w10, #0x20
	cmp	w10, #32
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x8, x8, #1
	add	x10, x8, #1
	sub	w9, w9, #1
	cmp	x10, #1
	b.hi	LBB0_4
LBB0_6:
	strb	wzr, [x0]
	ret
LBB0_7:
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.8:
	cmp	w3, #2
	b.lt	LBB0_6
; %bb.9:
	mov	w9, #92
	mov	w10, #63
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x11, x0
	strb	w12, [x11], #1
	cmp	w8, #2
	b.lt	LBB0_16
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x1, x1, #1
	sub	w8, w8, #1
	sub	w12, w0, w11
	add	w3, w3, w12
	mov	x0, x11
	cmp	w3, #1
	b.le	LBB0_16
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w12, [x1]
	cmp	w12, #31
	b.gt	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w3, #5
	b.lo	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	strb	w9, [x0]
	ldrb	w11, [x1]
	lsr	w11, w11, #6
	orr	w11, w11, #0x30
	strb	w11, [x0, #1]
	ldrb	w11, [x1]
	mov	w12, #48
	bfxil	w12, w11, #3, #3
	strb	w12, [x0, #2]
	ldrb	w11, [x1]
	mov	w12, #48
	bfxil	w12, w11, #0, #3
	add	x11, x0, #4
	strb	w12, [x0, #3]
	cmp	w8, #2
	b.ge	LBB0_11
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x11, x0, #1
	strb	w10, [x0]
	cmp	w8, #2
	b.ge	LBB0_11
LBB0_16:
	strb	wzr, [x11]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cam_strvis
.subsections_via_symbols
