	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_url_decode_mem                 ## -- Begin function url_decode_mem
	.p2align	4, 0x90
_url_decode_mem:                        ## @url_decode_mem
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	%rdi, -40(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	$58, %esi
	movl	%r14d, %edx
	callq	_memchr
	cmpq	%rbx, %rax
	jbe	LBB0_2
## %bb.1:
	movq	%rax, %r15
	movl	%r15d, %edx
	subl	%ebx, %edx
	leaq	-32(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_strbuf_add
	subl	%r15d, %ebx
	addl	%r14d, %ebx
	movq	%r15, -40(%rbp)
	movl	%ebx, %r14d
LBB0_2:
	leaq	-40(%rbp), %rdi
	leaq	-32(%rbp), %rcx
	movl	%r14d, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_url_decode_internal
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_url_decode_mem                 ; -- Begin function url_decode_mem
	.p2align	2
_url_decode_mem:                        ; @url_decode_mem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	str	x0, [sp, #8]
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	w1, #58
	mov	x2, x19
	bl	_memchr
	cmp	x0, x20
	b.ls	LBB0_2
; %bb.1:
	mov	x21, x0
	sub	w2, w21, w20
	mov	x0, sp
	mov	x1, x20
	bl	_strbuf_add
	sub	w8, w20, w21
	add	w19, w8, w19
	str	x21, [sp, #8]
LBB0_2:
	add	x0, sp, #8
	mov	x3, sp
	mov	x1, x19
	mov	x2, #0
	mov	w4, #0
	bl	_url_decode_internal
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
.subsections_via_symbols
