	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evalcase
_evalcase:                              ## @evalcase
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	callq	_emptyarglist
	movq	_exitstatus@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_oexitstatus@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	8(%rbx), %edi
	movq	_EXP_TILDE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_expandarg
	movq	(%rbx), %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r14), %r14
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testq	%r14, %r14
	je	LBB0_13
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-32(%rbp), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_casematch
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_5
	jmp	LBB0_12
LBB0_6:
	movq	_NCLISTFALLTHRU@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rcx
	movq	8(%r14), %r14
	testq	%r14, %r14
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rcx), %rsi
	cmpq	%rdx, %rsi
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rcx, %rax
	testq	%rsi, %rsi
	je	LBB0_7
	jmp	LBB0_14
LBB0_13:
	movq	$0, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_10:
	movq	(%rcx), %rax
	testq	%rax, %rax
	jne	LBB0_14
## %bb.11:
	movq	$0, (%r15)
	movq	(%rcx), %rax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_exitstatus,8,3                 ## @exitstatus
	.comm	_oexitstatus,8,3                ## @oexitstatus
	.comm	_EXP_TILDE,4,2                  ## @EXP_TILDE
	.comm	_NCLISTFALLTHRU,8,3             ## @NCLISTFALLTHRU
	.no_dead_strip	_evalcase
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function evalcase
_evalcase:                              ; @evalcase
	.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	x19, x0
	add	x0, sp, #8
	bl	_emptyarglist
Lloh0:
	adrp	x20, _exitstatus@GOTPAGE
Lloh1:
	ldr	x20, [x20, _exitstatus@GOTPAGEOFF]
Lloh2:
	adrp	x8, _oexitstatus@GOTPAGE
Lloh3:
	ldr	x8, [x8, _oexitstatus@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh4:
	str	x9, [x8]
	ldr	w0, [x19, #8]
Lloh5:
	adrp	x8, _EXP_TILDE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EXP_TILDE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x1, sp, #8
	bl	_expandarg
	ldr	x21, [x19]
	cbnz	x21, LBB0_3
LBB0_1:
	mov	x0, #0
	str	xzr, [x20]
	b	LBB0_12
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x21, [x21, #8]
	cbz	x21, LBB0_1
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	x19, [x21, #16]
	cbz	x19, LBB0_2
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [sp, #8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_casematch
	cbnz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x19, [x19]
	cbnz	x19, LBB0_4
	b	LBB0_2
LBB0_6:
Lloh8:
	adrp	x8, _NCLISTFALLTHRU@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NCLISTFALLTHRU@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x8]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x21
	ldr	x21, [x21, #8]
	cbz	x21, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [x8]
	cmp	x10, x9
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x8
	cbz	x10, LBB0_7
	b	LBB0_12
LBB0_10:
	ldr	x0, [x8]
	cbnz	x0, LBB0_12
; %bb.11:
	str	xzr, [x20]
	ldr	x0, [x8]
LBB0_12:
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_exitstatus,8,3                 ; @exitstatus
	.comm	_oexitstatus,8,3                ; @oexitstatus
	.comm	_EXP_TILDE,4,2                  ; @EXP_TILDE
	.comm	_NCLISTFALLTHRU,8,3             ; @NCLISTFALLTHRU
	.no_dead_strip	_evalcase
.subsections_via_symbols
