	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _soundex
__soundex:                              ## @_soundex
	.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	%rsi, %r14
	movq	%rdi, %rbx
	callq	_AssertArg
	movq	%r14, %rdi
	callq	_AssertArg
	movq	_SOUNDEX_LEN@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movb	$0, (%r14,%rax)
	movzbl	(%rbx), %edi
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	callq	_isalpha
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	1(%rbx), %edi
	incq	%rbx
	jmp	LBB0_1
LBB0_4:
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_5
## %bb.6:
	movzbl	%al, %edi
	callq	_toupper
	movb	%al, (%r14)
	incq	%r14
	movb	1(%rbx), %cl
	movq	(%r12), %rax
	movl	$1, %r13d
	testb	%cl, %cl
	je	LBB0_14
## %bb.7:
	cmpq	$2, %rax
	jb	LBB0_14
## %bb.8:
	addq	$2, %rbx
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%cl, %edi
	callq	_isalpha
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movsbl	-1(%rbx), %edi
	callq	_soundex_code
	movq	%rax, %r15
	movsbl	-2(%rbx), %edi
	callq	_soundex_code
	cmpq	%rax, %r15
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movsbl	-1(%rbx), %edi
	callq	_soundex_code
	movb	%al, (%r14)
	cmpb	$48, %al
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%r14
	incl	%r13d
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movzbl	(%rbx), %ecx
	movq	(%r12), %rax
	testb	%cl, %cl
	je	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	movslq	%r13d, %rdx
	cmpq	%rdx, %rax
	ja	LBB0_9
LBB0_14:
	movslq	%r13d, %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movb	$48, (%r14)
	incq	%r14
	incq	%rcx
	cmpq	%rcx, (%r12)
	ja	LBB0_15
	jmp	LBB0_16
LBB0_5:
	movb	$0, (%r14)
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOUNDEX_LEN,8,3                ## @SOUNDEX_LEN
	.no_dead_strip	__soundex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _soundex
__soundex:                              ; @_soundex
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	bl	_AssertArg
	mov	x0, x19
	bl	_AssertArg
Lloh0:
	adrp	x22, _SOUNDEX_LEN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SOUNDEX_LEN@GOTPAGEOFF]
	ldr	x8, [x22]
	strb	wzr, [x19, x8]
	ldrb	w0, [x20]
	bl	_isalpha
	cbnz	x0, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20]
	cbz	w8, LBB0_14
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w0, [x20, #1]!
	bl	_isalpha
	cbz	x0, LBB0_1
LBB0_3:
	ldrb	w0, [x20]
	cbz	w0, LBB0_14
; %bb.4:
	bl	_toupper
	strb	w0, [x19], #1
	ldrb	w9, [x20, #1]!
	ldr	x8, [x22]
	mov	w23, #1
	cbz	w9, LBB0_11
; %bb.5:
	cmp	x8, #2
	b.lo	LBB0_11
; %bb.6:
	mov	w23, #1
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w9, [x20, #1]!
	sxtw	x10, w23
	ldr	x8, [x22]
	cmp	w9, #0
	ccmp	x8, x10, #0, ne
	b.ls	LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	and	w0, w9, #0xff
	bl	_isalpha
	cbz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrsb	w0, [x20]
	bl	_soundex_code
	mov	x21, x0
	ldursb	w0, [x20, #-1]
	bl	_soundex_code
	cmp	x21, x0
	b.eq	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldrsb	w0, [x20]
	bl	_soundex_code
	and	w8, w0, #0xff
	strb	w0, [x19]
	cmp	w8, #48
	cinc	x19, x19, ne
	cinc	w23, w23, ne
	b	LBB0_7
LBB0_11:
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	sxtw	x9, w23
	cmp	x8, x9
	b.ls	LBB0_15
; %bb.12:
	mov	w8, #48
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	strb	w8, [x19], #1
	add	x9, x9, #1
	ldr	x10, [x22]
	cmp	x10, x9
	b.hi	LBB0_13
	b	LBB0_15
LBB0_14:
	strb	wzr, [x19]
LBB0_15:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SOUNDEX_LEN,8,3                ; @SOUNDEX_LEN
	.no_dead_strip	__soundex
.subsections_via_symbols
