	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function url_decode_internal
_url_decode_internal:                   ## @url_decode_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
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r14
	testl	%esi, %esi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_15
## %bb.1:
	movl	%esi, %ebx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, %r12d
	movl	$1, %r13d
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%r15b, %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_strbuf_addch
	addq	%r13, %r14
	addl	%r12d, %ebx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14), %r15d
	testb	%r15b, %r15b
	je	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%r15b, %esi
	movq	%rdx, %rdi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$37, %r15b
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$3, %ebx
	jb	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%r14), %rdi
	callq	_hex2chr
	testl	%eax, %eax
	jle	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$-3, %r12d
	movl	$3, %r13d
	movl	%eax, %r15d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$43, %r15b
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, %r12d
	movl	$1, %r13d
	movb	$32, %r15b
	jmp	LBB0_14
LBB0_5:
	incq	%r14
LBB0_15:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strbuf_detach                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_url_decode_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function url_decode_internal
_url_decode_internal:                   ; @url_decode_internal
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x0
	ldr	x25, [x0]
	cbz	w1, LBB0_15
; %bb.1:
	mov	x21, x4
	mov	x22, x2
	mov	x23, x1
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w26, #-1
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w27, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	and	w1, w24, #0xff
	mov	x0, x19
	bl	_strbuf_addch
	add	x25, x25, x27
	adds	w23, w23, w26
	b.eq	LBB0_15
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w24, [x25]
	cbz	w24, LBB0_15
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x22, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_strchr
	cbnz	x0, LBB0_14
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w24, #37
	ccmp	w23, #3, #0, eq
	b.hs	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w21, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w24, #43
	b.ne	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w26, #-1
	mov	w24, #32
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x25, #1
	bl	_hex2chr
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w26, #-3
	mov	x24, x0
	mov	w27, #3
	b	LBB0_4
LBB0_14:
	add	x25, x25, #1
LBB0_15:
	str	x25, [x20]
	mov	x0, x19
	mov	x1, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_strbuf_detach
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_url_decode_internal
.subsections_via_symbols
