	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cht_GetParam                   ## -- Begin function cht_GetParam
	.p2align	4, 0x90
_cht_GetParam:                          ## @cht_GetParam
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$1, (%rax)
	leaq	1(%rax), %rax
	jne	LBB0_1
## %bb.2:
	movb	(%rax), %cl
	movl	$1, %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rdx
	movb	%cl, -1(%rsi,%rdi)
	movb	$0, -1(%rax,%rdi)
	testb	%cl, %cl
	movzbl	(%rax,%rdi), %ecx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rdx), %rdi
	cmpb	$-1, %cl
	jne	LBB0_3
	jmp	LBB0_6
LBB0_5:
	cmpb	$-1, %cl
	je	LBB0_6
## %bb.7:
	popq	%rbp
	retq
LBB0_6:
	movb	$0, (%rsi,%rdx)
	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	_cht_GetParam                   ; -- Begin function cht_GetParam
	.p2align	2
_cht_GetParam:                          ; @cht_GetParam
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8], #1
	cmp	w9, #1
	b.ne	LBB0_1
; %bb.2:
	mov	x11, #0
	ldrb	w10, [x8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x11
	add	x11, x8, x11
	strb	w10, [x1, x9]
	strb	wzr, [x11]
	ldrb	w12, [x11, #1]
	cbz	w10, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x9, #1
	mov	x10, x12
	cmp	w12, #255
	b.ne	LBB0_3
	b	LBB0_6
LBB0_5:
	cmp	w12, #255
	b.ne	LBB0_7
LBB0_6:
	add	x8, x1, x9
	strb	wzr, [x8, #1]
LBB0_7:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
