	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function whereNthSubterm
_whereNthSubterm:                       ## @whereNthSubterm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_WO_AND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	8(%rdi), %rcx
	cmpl	%esi, (%rcx)
	jle	LBB0_3
## %bb.4:
	movslq	%esi, %rax
	shlq	$4, %rax
	addq	8(%rcx), %rax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	testl	%esi, %esi
	cmoveq	%rdi, %rax
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WO_AND,8,3                     ## @WO_AND
	.no_dead_strip	_whereNthSubterm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function whereNthSubterm
_whereNthSubterm:                       ; @whereNthSubterm
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _WO_AND@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WO_AND@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	w9, [x8]
	cmp	w9, w1
	b.le	LBB0_4
; %bb.2:
	ldr	x8, [x8, #8]
	add	x0, x8, w1, sxtw #4
	ret
LBB0_3:
	cmp	w1, #0
	csel	x0, x0, xzr, eq
	ret
LBB0_4:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WO_AND,8,3                     ; @WO_AND
	.no_dead_strip	_whereNthSubterm
.subsections_via_symbols
