	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hints_merge_generate_new_key   ## -- Begin function hints_merge_generate_new_key
	.p2align	4, 0x90
_hints_merge_generate_new_key:          ## @hints_merge_generate_new_key
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%edi, %edi
	testq	%rcx, %rcx
	setne	%dil
	callq	_assert
	cmpq	$0, 16(%r12)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	movl	24(%r12), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	movslq	%eax, %r15
	addq	%r14, %r15
	movl	(%r12), %edx
	cmpl	$-1, %edx
	je	LBB0_2
## %bb.1:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	cltq
	addq	%rax, %r15
LBB0_2:
	movl	4(%r12), %edx
	testl	%edx, %edx
	je	LBB0_4
## %bb.3:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	cltq
	addq	%rax, %r15
LBB0_4:
	movl	8(%r12), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_sprintf
                                        ## kill: def $eax killed $eax def $rax
	movslq	%eax, %rsi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$40, (%rbx)
	leaq	1(%rbx), %rbx
	jne	LBB0_5
## %bb.6:
	addq	%r15, %rsi
	movb	$40, %cl
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movb	%cl, (%rsi,%rdx)
	movzbl	(%rbx,%rdx), %ecx
	incq	%rdx
	cmpb	$41, %cl
	jne	LBB0_7
## %bb.8:
	movw	$41, (%rsi,%rdx)
	addl	%r15d, %eax
	subl	%r14d, %eax
	addl	%edx, %eax
	incl	%eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gather_hints%s%d"

L_.str.1:                               ## @.str.1
	.asciz	"_latin"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	",%d"

L_.str.4:                               ## @.str.4
	.asciz	"*%d"

L_.str.5:                               ## @.str.5
	.asciz	"#%d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hints_merge_generate_new_key   ; -- Begin function hints_merge_generate_new_key
	.p2align	2
_hints_merge_generate_new_key:          ; @hints_merge_generate_new_key
	.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	x22, x3
	mov	x20, x1
	mov	x19, x0
	cmp	x3, #0
	cset	w0, ne
	bl	_assert
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
	ldr	x9, [x22, #16]
Lloh2:
	adrp	x10, l_.str.2@PAGE
Lloh3:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w9, [x22, #24]
	stp	x8, x9, [sp]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	add	x21, x19, w0, sxtw
	ldr	w8, [x22]
	cmn	w8, #1
	b.eq	LBB0_2
; %bb.1:
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_sprintf
	add	x21, x21, w0, sxtw
LBB0_2:
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_4
; %bb.3:
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_sprintf
	add	x21, x21, w0, sxtw
LBB0_4:
	ldr	w8, [x22, #8]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_sprintf
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x20], #1
	cmp	w9, #40
	b.ne	LBB0_5
; %bb.6:
	mov	x9, #0
	add	x10, x21, x8
	mov	w11, #40
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	strb	w11, [x10, x9]
	ldrb	w11, [x20, x9]
	add	x9, x9, #1
	cmp	w11, #41
	b.ne	LBB0_7
; %bb.8:
	strh	w11, [x10, x9]
	add	w8, w8, w21
	sub	w8, w8, w19
	add	w8, w8, w9
	add	w0, w8, #1
	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 AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gather_hints%s%d"

l_.str.1:                               ; @.str.1
	.asciz	"_latin"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	",%d"

l_.str.4:                               ; @.str.4
	.asciz	"*%d"

l_.str.5:                               ; @.str.5
	.asciz	"#%d"

.subsections_via_symbols
