	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_unique
_find_unique:                           ## @find_unique
	.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, %rbx
	movq	%rdi, %r15
	callq	_strlen
	movl	%eax, %r13d
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_12
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_die
LBB0_3:
	cmpl	$0, 4(%rbx)
	jle	LBB0_23
## %bb.4:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r14
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	4(%r14,%rbx,8), %esi
	movq	%r15, %rdi
	movl	%r13d, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	je	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	4(%rax), %ebx
	jge	LBB0_24
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$1, %r13d
	jne	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movzbl	(%r15), %eax
	cmpb	(%r14,%rbx,8), %al
	jne	LBB0_5
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	testl	%r12d, %r12d
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$-1, %r12d
	cmpl	$1, %r13d
	je	LBB0_6
	jmp	LBB0_23
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	leal	1(%rbx), %r12d
	jmp	LBB0_6
LBB0_12:
	cmpl	$0, 4(%rbx)
	jle	LBB0_23
## %bb.13:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movq	(%rax), %rbx
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_16 Depth=1
	incl	%r14d
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	addq	$4, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	4(%rax), %r14d
	jge	LBB0_24
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	%r13d, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	jne	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	testl	%r12d, %r12d
	jne	LBB0_23
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	incl	%r14d
	movl	%r14d, %r12d
	jmp	LBB0_15
LBB0_23:
	xorl	%r12d, %r12d
	jmp	LBB0_24
LBB0_20:
	incl	%ebx
	movl	%ebx, %r12d
LBB0_24:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad type of menu_stuff when parse choice"

	.no_dead_strip	_find_unique
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_unique
_find_unique:                           ; @find_unique
	.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	x19, x1
	mov	x20, x0
	bl	_strlen
	mov	x21, x0
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_13
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_3:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.4:
	mov	w25, #0
	ldr	x8, [x19, #8]
	add	x23, x8, #4
	mov	w24, #1
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x23]
	mov	x0, x20
	mov	x2, x21
	bl	_strncasecmp
	cbz	w0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x22, x25
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x19, #4]
	add	x23, x23, #8
	add	w9, w24, #1
	mov	x25, x22
	cmp	w24, w8
	mov	x24, x9
	b.ge	LBB0_22
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w21, #1
	b.ne	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [x20]
	ldurb	w9, [x23, #-4]
	cmp	w8, w9
	b.ne	LBB0_5
	b	LBB0_21
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x22, x24
	cbz	w25, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w21, #1
	b.ne	LBB0_20
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w22, #-1
	b	LBB0_7
LBB0_13:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.14:
	mov	w22, #0
	mov	w23, #0
	ldr	x8, [x19, #8]
	ldr	x24, [x8]
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	add	w23, w23, #1
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x24, x24, #4
	ldr	w8, [x19, #4]
	cmp	w23, w8
	b.ge	LBB0_22
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	mov	x0, x20
	mov	x2, x21
	bl	_strncasecmp
	cbnz	w0, LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	cbnz	w22, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	add	w23, w23, #1
	mov	x22, x23
	b	LBB0_16
LBB0_20:
	mov	w22, #0
	b	LBB0_22
LBB0_21:
	mov	x22, x24
LBB0_22:
	mov	x0, x22
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad type of menu_stuff when parse choice"

	.no_dead_strip	_find_unique
.subsections_via_symbols
