	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_ext
_get_ext:                               ## @get_ext
	.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
	cmpl	$4, %eax
	jge	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	leaq	(%rbx,%rax), %rcx
	addq	$-2, %rcx
	leaq	(%rbx,%rax), %rdx
	addq	$-3, %rdx
	cmpb	$46, -3(%rbx,%rax)
	cmoveq	%rcx, %rdx
	cmpb	$46, -1(%rdx)
	leaq	L_.str(%rip), %rax
	cmoveq	%rdx, %rax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_get_ext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_ext
_get_ext:                               ; @get_ext
	.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	x20, x0
	bl	_strlen
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
	cmp	w0, #4
	b.lt	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_strlen
	add	x8, x20, w0, sxtw
	ldrb	w9, [x8, #-3]!
	cmp	w9, #46
	cinc	x8, x8, eq
	ldurb	w9, [x8, #-1]
	cmp	w9, #46
	csel	x19, x8, x19, eq
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_get_ext
.subsections_via_symbols
