	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resp_get_length
_resp_get_length:                       ## @resp_get_length
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rsi, %r14
	testl	%edx, %edx
	je	LBB0_17
## %bb.1:
	movl	%edx, %r15d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movsbl	(%r14), %edi
	callq	_ND_TCHECK
	movb	(%r14), %al
	xorl	%ebx, %ebx
	cmpb	$45, %al
	sete	%bl
	leaq	(%rbx,%r14), %r13
	movl	%r15d, %r14d
	subl	%ebx, %r14d
	je	LBB0_2
## %bb.3:
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	movsbl	(%r13), %edi
	callq	_ND_TCHECK
	movb	(%r13), %al
	leal	-48(%rax), %ecx
	xorl	%r12d, %r12d
	cmpb	$9, %cl
	ja	LBB0_4
## %bb.10:
	movl	%r14d, -64(%rbp)                ## 4-byte Spill
	negl	%ebx
	addl	%r15d, %ebx
	decl	%ebx
	xorl	%r14d, %r14d
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
                                        ## kill: def $cl killed $cl killed $ecx def $ecx
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1717986919, %rax, %rdx         ## imm = 0x66666667
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$34, %rdx
	addl	%esi, %edx
	leal	(%rdx,%rdx), %esi
	leal	(%rsi,%rsi,4), %esi
	subl	%esi, %eax
	cmpl	%edx, %r15d
	jle	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$1, %r12d
	cmpl	%r14d, %ebx
	jne	LBB0_5
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	sete	%dl
	movzbl	%cl, %ecx
	cmpl	%ecx, %eax
	setl	%al
	testb	%al, %dl
	movl	$0, %eax
	cmovnel	%eax, %ecx
	leal	(%r15,%r15,4), %eax
	leal	(%rcx,%rax,2), %r15d
	movl	$1, %eax
	cmovnel	%eax, %r12d
	cmpl	%r14d, %ebx
	je	LBB0_15
LBB0_5:                                 ##   in Loop: Header=BB0_11 Depth=1
	movsbl	1(%r13,%r14), %edi
	callq	_ND_TCHECK
	movzbl	1(%r13,%r14), %eax
	leal	-48(%rax), %ecx
	incq	%r14
	cmpb	$10, %cl
	jb	LBB0_11
## %bb.6:
	addq	%r14, %r13
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	subl	%r14d, %ecx
	movl	%ecx, %r14d
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_7
LBB0_2:
	movq	%r13, %r14
	jmp	LBB0_16
LBB0_4:
	xorl	%r15d, %r15d
LBB0_7:
	cmpb	$10, %cl
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jae	LBB0_8
## %bb.18:
	movl	%r14d, %ecx
	leaq	1(%r13), %r14
	cmpb	$13, %al
	jne	LBB0_9
## %bb.19:
	cmpl	$1, %ecx
	je	LBB0_17
## %bb.20:
	movsbl	1(%r13), %edi
	callq	_ND_TCHECK
	leaq	2(%r13), %r14
	cmpb	$10, 1(%r13)
	jne	LBB0_9
## %bb.21:
	movq	%r14, (%rbx)
	cmpb	$45, -41(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_24
## %bb.22:
	movl	$-4, %eax
	testl	%r12d, %r12d
	jne	LBB0_25
## %bb.23:
	cmpl	$1, %r15d
	movl	$-1, %r15d
	jne	LBB0_25
LBB0_24:
	testl	%r12d, %r12d
	movl	$-3, %eax
	cmovel	%r15d, %eax
	jmp	LBB0_25
LBB0_8:
	incq	%r13
	movq	%r13, %r14
LBB0_9:
	movq	%r14, (%rbx)
	movl	$-5, %eax
	jmp	LBB0_25
LBB0_15:
	addq	%r13, %r14
	incq	%r14
LBB0_16:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_17:
	movq	%r14, (%rbx)
	movl	$-2, %eax
LBB0_25:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.no_dead_strip	_resp_get_length
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resp_get_length
_resp_get_length:                       ; @resp_get_length
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x1
	cbz	w2, LBB0_24
; %bb.1:
	mov	x21, x2
	ldrsb	w0, [x20]
	bl	_ND_TCHECK
	mov	x8, x20
	ldrb	w26, [x8], #1
	cmp	w26, #45
	cset	w9, eq
	csel	x24, x20, x8, ne
	csetm	w22, eq
	subs	w27, w21, w9
	b.eq	LBB0_10
; %bb.2:
	ldrsb	w0, [x24]
	bl	_ND_TCHECK
	ldrb	w8, [x24]
	sub	w9, w8, #48
	cmp	w9, #9
	b.hi	LBB0_11
; %bb.3:
	stp	w27, w26, [sp, #8]              ; 8-byte Folded Spill
	mov	x27, #0
	mov	w25, #0
	mov	w23, #0
	add	w8, w21, w22
	sub	w21, w8, #1
Lloh0:
	adrp	x28, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x28, [x28, _INT_MAX@GOTPAGEOFF]
	mov	w26, #26215
	movk	w26, #26214, lsl #16
	mov	w22, #10
	str	w9, [sp, #4]                    ; 4-byte Folded Spill
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x28]
	smull	x10, w8, w26
	lsr	x11, x10, #63
	asr	x10, x10, #34
	add	w10, w10, w11
	cmp	w25, w10
	b.le	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #1
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	cset	w11, eq
	and	w9, w9, #0xff
	msub	w8, w10, w22, w8
	cmp	w8, w9
	cset	w8, lt
	tst	w11, w8
	csel	w8, wzr, w9, ne
	madd	w25, w25, w22, w8
	csinc	w23, w23, wzr, eq
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x24, x27
	cmp	w21, w27
	b.eq	LBB0_23
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w0, [x20, #1]
	bl	_ND_TCHECK
	ldrb	w8, [x20, #1]
	sub	w9, w8, #48
	add	x27, x27, #1
	cmp	w9, #10
	b.lo	LBB0_4
; %bb.9:
	add	x24, x24, x27
	ldp	w9, w26, [sp, #8]               ; 8-byte Folded Reload
	sub	w27, w9, w27
	ldr	w9, [sp, #4]                    ; 4-byte Folded Reload
	b	LBB0_12
LBB0_10:
	mov	x20, x24
	b	LBB0_24
LBB0_11:
	mov	w23, #0
	mov	w25, #0
LBB0_12:
	and	w9, w9, #0xff
	cmp	w9, #10
	b.hs	LBB0_21
; %bb.13:
	add	x20, x24, #1
	cmp	w8, #13
	b.ne	LBB0_22
; %bb.14:
	cmp	w27, #1
	b.eq	LBB0_24
; %bb.15:
	ldrsb	w0, [x24, #1]
	bl	_ND_TCHECK
	ldrb	w8, [x24, #1]
	add	x20, x24, #2
	cmp	w8, #10
	b.ne	LBB0_22
; %bb.16:
	str	x20, [x19]
	cmp	w26, #45
	b.ne	LBB0_20
; %bb.17:
	mov	w0, #-4
	cbnz	w23, LBB0_25
; %bb.18:
	cmp	w25, #1
	b.ne	LBB0_25
; %bb.19:
	mov	w25, #-1
LBB0_20:
	mov	w8, #-3
	cmp	w23, #0
	csel	w0, w25, w8, eq
	b	LBB0_25
LBB0_21:
	add	x20, x24, #1
LBB0_22:
	str	x20, [x19]
	mov	w0, #-5
	b	LBB0_25
LBB0_23:
	add	x20, x20, #1
LBB0_24:
	str	x20, [x19]
	mov	w0, #-2
LBB0_25:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.no_dead_strip	_resp_get_length
.subsections_via_symbols
