	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cut_field
_cut_field:                             ## @cut_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.2:
	movq	%rdi, %r14
	movq	$0, -72(%rbp)
	movq	$0, -56(%rbp)
	movl	$0, -60(%rbp)
	movl	$0, -44(%rbp)
	leaq	-72(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	leaq	-60(%rbp), %r8
	leaq	-44(%rbp), %r9
	movq	%rbx, %rsi
	callq	_find_field_start
	cmpl	$0, -44(%rbp)
	je	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	callq	_bwsalloc
	movq	%rax, %rbx
	jmp	LBB0_6
LBB0_7:
	xorl	%edi, %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bwsalloc                       ## TAILCALL
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_find_field_end
	movq	%rax, %r12
	movq	-56(%rbp), %r13
	xorl	%r15d, %r15d
	subq	%r13, %rax
	cmovaeq	%rax, %r15
	movq	%r15, %rdi
	callq	_bwsalloc
	movq	%rax, %rbx
	cmpq	%r13, %r12
	jbe	LBB0_6
## %bb.5:
	movq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rcx
	callq	_bwsnocpy
LBB0_6:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cut_field
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cut_field
_cut_field:                             ; @cut_field
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_4
; %bb.2:
	mov	x19, x0
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #8]
	add	x2, sp, #24
	add	x3, sp, #16
	add	x4, sp, #12
	add	x5, sp, #8
	mov	x1, x20
	bl	_find_field_start
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_5
; %bb.3:
	mov	x0, #0
	bl	_bwsalloc
	mov	x20, x0
	b	LBB0_7
LBB0_4:
	mov	x0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_bwsalloc
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_find_field_end
	mov	x22, x0
	ldr	x23, [sp, #16]
	subs	x8, x0, x23
	csel	x21, xzr, x8, lo
	mov	x0, x21
	bl	_bwsalloc
	mov	x20, x0
	cmp	x22, x23
	b.ls	LBB0_7
; %bb.6:
	ldr	x2, [sp, #16]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x21
	bl	_bwsnocpy
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cut_field
.subsections_via_symbols
