	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_roundtrip
_check_roundtrip:                       ## @check_roundtrip
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_check_roundtrip_encoding@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	%rbx, %rsi
	callq	_strcasestr
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	(%r15), %rdi
	callq	_strlen
	movl	%eax, %r12d
	cmpq	(%r15), %r13
	je	LBB0_4
## %bb.2:
	movsbl	-1(%r13), %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	cmpb	$44, -1(%r13)
	jne	LBB0_9
LBB0_4:
	movslq	%ebx, %rax
	addq	%rax, %r13
	movslq	%r12d, %rax
	addq	(%r15), %rax
	cmpq	%rax, %r13
	je	LBB0_5
## %bb.6:
	jae	LBB0_9
## %bb.7:
	movsbl	(%r13), %edi
	callq	_isspace
	movl	$1, %r14d
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	xorl	%r14d, %r14d
	cmpb	$44, (%r13)
	sete	%r14b
	jmp	LBB0_9
LBB0_5:
	movl	$1, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_check_roundtrip_encoding,8,3   ## @check_roundtrip_encoding
	.no_dead_strip	_check_roundtrip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_roundtrip
_check_roundtrip:                       ; @check_roundtrip
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x0
Lloh0:
	adrp	x22, _check_roundtrip_encoding@GOTPAGE
Lloh1:
	ldr	x22, [x22, _check_roundtrip_encoding@GOTPAGEOFF]
	ldr	x0, [x22]
	mov	x1, x20
	bl	_strcasestr
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	bl	_strlen
	mov	x20, x0
	ldr	x0, [x22]
	bl	_strlen
	mov	x21, x0
	ldr	x8, [x22]
	cmp	x19, x8
	b.eq	LBB0_4
; %bb.2:
	ldursb	w0, [x19, #-1]
	bl	_isspace
	cbnz	x0, LBB0_4
; %bb.3:
	ldurb	w8, [x19, #-1]
	cmp	w8, #44
	b.ne	LBB0_8
LBB0_4:
	add	x19, x19, w20, sxtw
	ldr	x8, [x22]
	add	x8, x8, w21, sxtw
	cmp	x19, x8
	b.eq	LBB0_7
; %bb.5:
	b.hs	LBB0_8
; %bb.6:
	ldrsb	w0, [x19]
	bl	_isspace
	cbz	x0, LBB0_9
LBB0_7:
	mov	w0, #1
	b	LBB0_10
LBB0_8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	ldrb	w8, [x19]
	cmp	w8, #44
	cset	w0, eq
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_check_roundtrip_encoding,8,3   ; @check_roundtrip_encoding
	.no_dead_strip	_check_roundtrip
.subsections_via_symbols
