	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function io_http_trim
_io_http_trim:                          ## @io_http_trim
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_strlen
	movslq	%eax, %rdx
	leaq	(%rbx,%rdx), %rcx
	decq	%rcx
	movabsq	$4294977024, %rax               ## imm = 0x100002600
	cmpq	%rbx, %rcx
	jae	LBB0_2
## %bb.1:
	addq	%rbx, %rdx
	movq	%rdx, %rcx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx), %edx
	cmpq	$32, %rdx
	ja	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	btq	%rdx, %rax
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	decq	%rcx
	cmpq	%rbx, %rcx
	jae	LBB0_2
LBB0_5:
	incq	%rcx
LBB0_6:
	movb	$0, (%rcx)
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %ecx
	cmpq	$32, %rcx
	ja	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	btq	%rcx, %rax
	jae	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	jmp	LBB0_7
LBB0_10:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_io_http_trim
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function io_http_trim
_io_http_trim:                          ; @io_http_trim
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_strlen
	add	x9, x19, w0, sxtw
	sub	x8, x9, #1
	cmp	x8, x19
	b.lo	LBB0_5
; %bb.1:
	mov	w9, #1
	mov	x10, #9728
	movk	x10, #1, lsl #32
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x8]
	cmp	w11, #32
	lsl	x11, x9, x11
	and	x11, x11, x10
	ccmp	x11, #0, #4, ls
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x8, x8, #1
	cmp	x8, x19
	b.hs	LBB0_2
LBB0_4:
	add	x9, x8, #1
LBB0_5:
	strb	wzr, [x9]
	mov	w8, #1
	mov	x9, #9728
	movk	x9, #1, lsl #32
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x19]
	cmp	w10, #32
	lsl	x10, x8, x10
	and	x10, x10, x9
	ccmp	x10, #0, #4, ls
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x19, x19, #1
	b	LBB0_6
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_io_http_trim
.subsections_via_symbols
