	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evhttp_decode_uri_internal     ## -- Begin function evhttp_decode_uri_internal
	.p2align	4, 0x90
_evhttp_decode_uri_internal:            ## @evhttp_decode_uri_internal
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	cmpl	$1, %ecx
	sete	%r15b
	xorl	%ebx, %ebx
	movl	$1, %r8d
	xorl	%eax, %eax
	xorl	%r12d, %r12d
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%ecx, %ecx
	cmovsl	%r8d, %r15d
	movb	$63, %r14b
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	%r14b, (%rdx,%rbx)
	incq	%rbx
	incl	%r12d
	movq	%r12, %rax
	cmpq	%rsi, %r12
	jae	LBB0_15
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rax), %r14d
	cmpb	$63, %r14b
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$43, %r14b
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %r15d
	movb	$32, %r14b
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	2(%r12), %r13d
	cmpq	%rsi, %r13
	jae	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$37, %r14b
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	leal	1(%r12), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movsbl	(%rdi,%rax), %edi
	callq	_EVUTIL_ISXDIGIT_
	movb	$37, %r14b
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movsbl	(%rax,%r13), %edi
	callq	_EVUTIL_ISXDIGIT_
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movzbl	(%rcx,%rax), %eax
	movb	%al, -43(%rbp)
	movzbl	(%rcx,%r13), %eax
	movb	%al, -42(%rbp)
	movb	$0, -41(%rbp)
	leaq	-43(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_strtol
	movq	%rax, %r14
	movl	%r13d, %r12d
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %r8d
	jmp	LBB0_14
LBB0_1:
	xorl	%ebx, %ebx
LBB0_15:
	movl	%ebx, %eax
	movb	$0, (%rdx,%rax)
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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	_evhttp_decode_uri_internal     ; -- Begin function evhttp_decode_uri_internal
	.p2align	2
_evhttp_decode_uri_internal:            ; @evhttp_decode_uri_internal
	.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, x2
	cbz	x1, LBB0_13
; %bb.1:
	mov	x20, x3
	mov	x21, x1
	mov	x22, x0
	mov	x0, #0
	mov	x8, #0
	mov	w24, #0
	cmp	w3, #1
	cset	w23, eq
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #0
	csinc	w23, w23, wzr, ge
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x25, #1
	strb	w8, [x19, x25]
	add	w8, w24, #1
	mov	x24, x8
	cmp	x8, x21
	b.hs	LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x25, x0
	ldrb	w8, [x22, x8]
	cmp	w8, #63
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #43
	ccmp	w23, #0, #4, eq
	b.ne	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w26, w24, #2
	cmp	x26, x21
	b.hs	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #37
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w27, w24, #1
	ldrsb	w0, [x22, x27]
	bl	_EVUTIL_ISXDIGIT_
	cbz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w0, [x22, x26]
	bl	_EVUTIL_ISXDIGIT_
	cbz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x22, x27]
	strb	w8, [sp, #13]
	ldrb	w8, [x22, x26]
	strb	w8, [sp, #14]
	strb	wzr, [sp, #15]
	add	x0, sp, #13
	mov	x1, #0
	mov	w2, #16
	bl	_strtol
	and	w8, w0, #0xff
	mov	x24, x26
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #1
	mov	w8, #32
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #37
	b	LBB0_3
LBB0_13:
	mov	w0, #0
LBB0_14:
	strb	wzr, [x19, w0, uxtw]
                                        ; kill: def $w0 killed $w0 killed $x0
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
