	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function search_generate_new_key
_search_generate_new_key:               ## @search_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	%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
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_Q_slice_limit@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rax
	movq	_Q_limit@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_6
## %bb.1:
	movslq	%r12d, %rdx
	cmpb	$35, (%rbx,%rdx)
	jne	LBB0_6
## %bb.2:
	testq	%rcx, %rcx
	jle	LBB0_6
## %bb.3:
	testq	%rax, %rax
	jle	LBB0_6
## %bb.4:
	movq	_Q_limit_ptr@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	testq	%r13, %r13
	je	LBB0_6
## %bb.5:
	subq	%rbx, %r13
	xorl	%edi, %edi
	cmpl	$2048, %r13d                    ## imm = 0x800
	setb	%dil
	movq	%rsi, %r12
	callq	_assert
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	movslq	%r13d, %rdi
	addq	%r14, %rdi
	movq	(%r12), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
	movq	%rax, %r12
	addl	%r15d, %ebx
	movq	_Q_limit_end@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	addq	%r13, %r12
	xorl	%edi, %edi
	cmpl	$2048, %ebx                     ## imm = 0x800
	setb	%dil
	callq	_assert
	movslq	%r12d, %r12
	leaq	(%r14,%r12), %rdi
	movq	_Q_limit_end@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	%ebx, %edx
	callq	_memcpy
	addl	%ebx, %r12d
	addl	$3, %r15d
	xorl	%edi, %edi
	cmpl	%r15d, %r12d
	setl	%dil
	callq	_assert
	movslq	%r12d, %rax
	movb	$0, (%r14,%rax)
	movl	%r12d, %r15d
	jmp	LBB0_11
LBB0_6:
	movq	_Q_raw@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	leal	1(%r15), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_memcpy
	jmp	LBB0_11
LBB0_8:
	movslq	%r12d, %r13
	leaq	(%rbx,%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpb	$35, (%rbx,%r13)
	jne	LBB0_10
## %bb.9:
	leaq	1(%r13), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movb	$37, 1(%r14,%r13)
	leaq	(%r14,%r13), %rdi
	addq	$2, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	incq	%rsi
	movl	%r15d, %edx
	subl	%r12d, %edx
	callq	_memcpy
	incl	%r15d
	jmp	LBB0_11
LBB0_10:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movb	$35, (%r14,%r13)
	movb	$37, 1(%r13,%r14)
	leaq	(%r14,%r13), %rdi
	addq	$2, %rdi
	movl	%r15d, %edx
	subl	%r12d, %edx
	incl	%edx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
	addl	$2, %r15d
LBB0_11:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Q_slice_limit,8,3              ## @Q_slice_limit
	.comm	_Q_limit,8,3                    ## @Q_limit
	.comm	_Q_limit_ptr,8,3                ## @Q_limit_ptr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d%%"

	.comm	_Q_limit_end,8,3                ## @Q_limit_end
	.comm	_Q_raw,8,3                      ## @Q_raw
	.no_dead_strip	_search_generate_new_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function search_generate_new_key
_search_generate_new_key:               ; @search_generate_new_key
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _Q_slice_limit@GOTPAGE
Lloh1:
	ldr	x23, [x23, _Q_slice_limit@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh2:
	adrp	x9, _Q_limit@GOTPAGE
Lloh3:
	ldr	x9, [x9, _Q_limit@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	ldrb	w11, [x21, w22, sxtw]
Lloh5:
	adrp	x10, _Q_limit_ptr@GOTPAGE
Lloh6:
	ldr	x10, [x10, _Q_limit_ptr@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	w11, #35
	ccmp	x9, #1, #8, eq
	ccmp	x8, #1, #8, ge
	ccmp	x10, #0, #4, ge
	b.ne	LBB0_6
LBB0_2:
Lloh8:
	adrp	x8, _Q_raw@GOTPAGE
Lloh9:
	ldr	x8, [x8, _Q_raw@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	add	w2, w19, #1
	mov	x0, x20
	mov	x1, x21
	bl	_memcpy
	b	LBB0_8
LBB0_4:
	sxtw	x25, w22
	add	x23, x21, x25
	ldrb	w8, [x23]
	cmp	w8, #35
	b.ne	LBB0_7
; %bb.5:
	add	x24, x25, #1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x24
	bl	_memcpy
	mov	w8, #37
	strb	w8, [x20, x24]
	add	x8, x20, x25
	add	x0, x8, #2
	add	x1, x23, #1
	sub	w2, w19, w22
	bl	_memcpy
	add	w19, w19, #1
	b	LBB0_8
LBB0_6:
	sub	x22, x10, x21
	cmp	w22, #2048
	cset	w0, lo
	bl	_assert
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	add	x0, x20, w22, sxtw
	ldr	x2, [x23]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
Lloh13:
	adrp	x23, _Q_limit_end@GOTPAGE
Lloh14:
	ldr	x23, [x23, _Q_limit_end@GOTPAGEOFF]
	add	x22, x0, x22
	ldr	w8, [x23]
	add	w9, w21, w19
	sub	w21, w9, w8
	cmp	w21, #2048
	cset	w0, lo
	bl	_assert
	add	x0, x20, w22, sxtw
	ldr	x1, [x23]
	mov	x2, x21
	bl	_memcpy
	add	w8, w19, #3
	add	w19, w21, w22
	cmp	w19, w8
	cset	w0, lt
	bl	_assert
	strb	wzr, [x20, w19, sxtw]
	b	LBB0_8
LBB0_7:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	add	x0, x20, x25
	mov	w8, #9507
	strh	w8, [x0], #2
	sub	w8, w19, w22
	add	w2, w8, #1
	mov	x1, x23
	bl	_memcpy
	add	w19, w19, #2
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_Q_slice_limit,8,3              ; @Q_slice_limit
	.comm	_Q_limit,8,3                    ; @Q_limit
	.comm	_Q_limit_ptr,8,3                ; @Q_limit_ptr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d%%"

	.comm	_Q_limit_end,8,3                ; @Q_limit_end
	.comm	_Q_raw,8,3                      ; @Q_raw
	.no_dead_strip	_search_generate_new_key
.subsections_via_symbols
