	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_itbl_get_field                 ## -- Begin function itbl_get_field
	.p2align	4, 0x90
_itbl_get_field:                        ## @itbl_get_field
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	cmpb	$0, (%rbx)
	je	LBB0_4
## %bb.2:
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcspn
	movl	%eax, %r12d
	xorl	%edi, %edi
	cmpl	$127, %eax
	setl	%dil
	callq	_ASSERT
	leaq	_itbl_get_field.n(%rip), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_strncpy
	movslq	%r12d, %rax
	movb	$0, (%rax,%r15)
	xorl	%ecx, %ecx
	cmpb	$0, (%rbx,%rax)
	leaq	1(%rbx,%rax), %rax
	cmovneq	%rax, %rcx
	movq	%rcx, (%r14)
	jmp	LBB0_5
LBB0_4:
	xorl	%r15d, %r15d
LBB0_5:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_itbl_get_field.n,128,4 ## @itbl_get_field.n
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" \t,()"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_itbl_get_field                 ; -- Begin function itbl_get_field
	.p2align	2
_itbl_get_field:                        ; @itbl_get_field
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x20, [x0]
	cbz	x20, LBB0_3
; %bb.1:
	ldrb	w8, [x20]
	cbz	w8, LBB0_3
; %bb.2:
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcspn
	mov	x22, x0
	cmp	w0, #127
	cset	w0, lt
	bl	_ASSERT
Lloh2:
	adrp	x21, _itbl_get_field.n@PAGE
Lloh3:
	add	x21, x21, _itbl_get_field.n@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_strncpy
	sxtw	x8, w22
	strb	wzr, [x21, x8]
	add	x8, x20, x8
	ldrb	w9, [x8], #1
	cmp	w9, #0
	csel	x8, xzr, x8, eq
	str	x8, [x19]
	b	LBB0_4
LBB0_3:
	mov	x21, #0
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_itbl_get_field.n,128,0 ; @itbl_get_field.n
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" \t,()"

.subsections_via_symbols
