	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen_sub_field
_gen_sub_field:                         ## @gen_sub_field
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $esi killed $esi def $rsi
	xorl	%eax, %eax
	testl	%esi, %esi
	js	LBB0_4
## %bb.1:
	testl	%edx, %edx
	jle	LBB0_4
## %bb.2:
	movq	_fields@GOTPCREL(%rip), %r8
	movq	(%r8), %r8
	movl	%edi, %edi
	leal	(%rdx,%rsi), %r9d
	shlq	$4, %rdi
	cmpl	(%r8,%rdi), %r9d
	jg	LBB0_4
## %bb.3:
	movl	%esi, %eax
	addq	8(%r8,%rdi), %rax
	movq	%rax, 8(%rcx)
	movl	%edx, (%rcx)
	movl	$1, %eax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fields,8,3                     ## @fields
	.no_dead_strip	_gen_sub_field
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen_sub_field
_gen_sub_field:                         ; @gen_sub_field
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #0
	tbnz	w1, #31, LBB0_5
; %bb.1:
	cmp	w2, #1
	b.lt	LBB0_5
; %bb.2:
Lloh0:
	adrp	x9, _fields@GOTPAGE
Lloh1:
	ldr	x9, [x9, _fields@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	mov	w8, w8
	lsl	x10, x8, #4
	ldr	w10, [x9, x10]
	add	w11, w2, w1
	cmp	w11, w10
	b.le	LBB0_4
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
	add	x8, x9, x8, lsl #4
	ldr	x8, [x8, #8]
	add	x8, x8, w1, uxtw
	str	x8, [x3, #8]
	str	w2, [x3]
	mov	w0, #1
LBB0_5:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_fields,8,3                     ; @fields
	.no_dead_strip	_gen_sub_field
.subsections_via_symbols
