	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bmexec
_bmexec:                                ## @bmexec
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movslq	(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_4
## %bb.1:
	movq	%rdx, %r13
	movq	$-1, %r14
	cmpq	%rdx, %r12
	ja	LBB0_5
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	cmpl	$1, %r12d
	jne	LBB0_6
## %bb.3:
	movq	8(%rbx), %rax
	movsbl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_memchr
	movq	%rax, %rcx
	subq	%r15, %rcx
	xorl	%r14d, %r14d
	cmpq	$1, %rax
	sbbq	%r14, %r14
	orq	%rcx, %r14
	jmp	LBB0_5
LBB0_4:
	xorl	%r14d, %r14d
LBB0_5:
	movq	%r14, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movsbl	-2(%rax,%r12), %edi
	addq	%r12, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	callq	_U
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	24(%rbx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leaq	(%r15,%r12), %rbx
	leaq	(,%r12,4), %rax
	leaq	(%rax,%rax,2), %rax
	cmpq	%r13, %rax
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jae	LBB0_9
## %bb.7:
	leaq	(%r15,%r13), %rcx
	leaq	(%r12,%r12,4), %rax
	leaq	(%r12,%rax,2), %rax
	subq	%rax, %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	cmpq	%rcx, %rbx
	jbe	LBB0_20
LBB0_9:
	movq	%rbx, %r15
LBB0_10:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	addq	%rbx, %r13
	movsbl	-1(%r15), %edi
	callq	_U
	cltq
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movzbl	(%rdx,%rax), %eax
	movq	%r13, %rcx
	subq	%r15, %rcx
	cmpq	%rax, %rcx
	jl	LBB0_5
## %bb.11:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	leal	1(%r12), %r13d
	negq	%r13
	movq	%rdx, %rbx
	jmp	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movq	$-1, %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=1
	movslq	%ecx, %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	subq	%r15, %rcx
	cmpq	%rax, %rcx
	jl	LBB0_5
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movsbl	-1(%r15,%rax), %edi
	addq	%rax, %r15
	callq	_U
	cltq
	movzbl	(%rbx,%rax), %ecx
	testl	%ecx, %ecx
	jne	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movsbl	-2(%r15), %edi
	callq	_U
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	cmpl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$3, %r12d
	jl	LBB0_31
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	$-3, %r14
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%r15,%r14), %edi
	callq	_U
	movl	%eax, %ebx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movsbl	(%rax,%r14), %edi
	callq	_U
	cmpl	%eax, %ebx
	jne	LBB0_12
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	decq	%r14
	cmpq	%r14, %r13
	jne	LBB0_18
	jmp	LBB0_31
LBB0_20:
	movslq	-52(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leal	1(%r12), %eax
	negq	%rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_22
LBB0_21:                                ##   in Loop: Header=BB0_22 Depth=1
	addq	-96(%rbp), %r15                 ## 8-byte Folded Reload
	movq	%r15, %rbx
	cmpq	-80(%rbp), %r15                 ## 8-byte Folded Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	ja	LBB0_10
LBB0_22:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_29 Depth 2
	movsbl	-1(%rbx), %edi
	callq	_U
	cltq
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movzbl	(%rcx,%rax), %eax
	leaq	(%rbx,%rax), %r15
	movsbl	-1(%rbx,%rax), %edi
	movq	%rcx, %rbx
	callq	_U
	cltq
	movzbl	(%rbx,%rax), %eax
	addq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movsbl	-1(%r15), %edi
	callq	_U
	cltq
	movzbl	(%rbx,%rax), %eax
	leaq	(%r15,%rax), %rbx
	movsbl	-1(%r15,%rax), %edi
	callq	_U
	cltq
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movzbl	(%rcx,%rax), %eax
	leaq	(%rbx,%rax), %r15
	movsbl	-1(%rax,%rbx), %edi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	callq	_U
	cltq
	movzbl	(%rbx,%rax), %eax
	addq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	movsbl	-1(%r15), %edi
	callq	_U
	cltq
	movzbl	(%rbx,%rax), %eax
	leaq	(%r15,%rax), %rbx
	movsbl	-1(%r15,%rax), %edi
	callq	_U
	cltq
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movzbl	(%rcx,%rax), %eax
	leaq	(%rbx,%rax), %r15
	movsbl	-1(%rax,%rbx), %edi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	callq	_U
	cltq
	movzbl	(%rbx,%rax), %eax
	addq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	movsbl	-1(%r15), %edi
	callq	_U
	cltq
	movzbl	(%rbx,%rax), %eax
	leaq	(%r15,%rax), %r14
	movsbl	-1(%r15,%rax), %edi
	callq	_U
	cltq
	movzbl	(%rbx,%rax), %ebx
	addq	%r14, %rbx
	movq	$-1, %r14
	movq	%rbx, %r15
	cmpq	-80(%rbp), %rbx                 ## 8-byte Folded Reload
	jbe	LBB0_22
	jmp	LBB0_10
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=1
	movsbl	-2(%r15), %edi
	callq	_U
	cmpl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_21
## %bb.27:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpl	$3, %r12d
	jl	LBB0_31
## %bb.28:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	$-3, %rbx
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%r15,%rbx), %edi
	callq	_U
	movl	%eax, %r13d
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movsbl	(%rax,%rbx), %edi
	callq	_U
	cmpl	%eax, %r13d
	jne	LBB0_21
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=2
	decq	%rbx
	cmpq	%rbx, -104(%rbp)                ## 8-byte Folded Reload
	jne	LBB0_29
LBB0_31:
	subq	%r12, %r15
	subq	-64(%rbp), %r15                 ## 8-byte Folded Reload
	movq	%r15, %r14
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bmexec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bmexec
_bmexec:                                ; @bmexec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldrsw	x23, [x0]
	cbz	w23, LBB0_3
; %bb.1:
	mov	x21, x2
	cmp	x23, x2
	b.ls	LBB0_4
LBB0_2:
	mov	x0, #-1
	b	LBB0_32
LBB0_3:
	mov	x0, #0
	b	LBB0_32
LBB0_4:
	mov	x19, x1
	mov	x22, x0
	cmp	w23, #1
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x22, #8]
	ldrsb	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_memchr
	sub	x8, x0, x19
	cmp	x0, #0
	csinv	x0, x8, xzr, ne
	b	LBB0_32
LBB0_6:
	ldp	x20, x24, [x22, #8]
	add	x8, x20, x23
	ldursb	w0, [x8, #-2]
	bl	_U
	mov	x25, x0
	ldr	w26, [x22, #24]
	add	x22, x19, x23
	add	x8, x23, x23, lsl #1
	lsl	x8, x8, #2
	cmp	x8, x21
	str	x20, [sp, #56]                  ; 8-byte Folded Spill
	b.hs	LBB0_8
; %bb.7:
	add	x8, x19, x21
	mov	w9, #11
	msub	x27, x23, x9, x8
	cmp	x22, x27
	b.ls	LBB0_19
LBB0_8:
	add	x27, x19, x21
	ldursb	w0, [x22, #-1]
	bl	_U
	ldrb	w21, [x24, w0, sxtw]
	sub	x8, x27, x22
	cmp	x8, x21
	b.lt	LBB0_2
; %bb.9:
	add	w8, w23, #1
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	add	x9, x23, x9
	sub	x9, x9, #3
	sub	x8, x8, #3
	stp	x8, x9, [sp, #48]               ; 16-byte Folded Spill
	str	w25, [sp, #28]                  ; 4-byte Folded Spill
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x26, x28
	mov	x8, x26
	ldr	w25, [sp, #28]                  ; 4-byte Folded Reload
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	sxtw	x21, w8
	mov	x0, #-1
	sub	x8, x27, x22
	cmp	x8, x21
	b.lt	LBB0_32
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	mov	x20, x22
	add	x22, x22, x21
	ldursb	w0, [x22, #-1]
	bl	_U
	ldrb	w8, [x24, w0, sxtw]
	cbnz	w8, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldursb	w0, [x22, #-2]
	bl	_U
	mov	x8, x26
	cmp	w0, w25
	b.ne	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w23, #3
	b.lt	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x28, x26
	add	x8, x20, x21
	sub	x25, x8, #3
	ldp	x20, x26, [sp, #48]             ; 16-byte Folded Reload
LBB0_16:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x25]
	bl	_U
	mov	x21, x0
	ldrsb	w0, [x26]
	bl	_U
	cmp	w21, w0
	b.ne	LBB0_10
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	sub	x25, x25, #1
	sub	x26, x26, #1
	subs	x20, x20, #1
	b.ne	LBB0_16
LBB0_18:
	sub	x8, x22, x23
	b	LBB0_31
LBB0_19:
	sxtw	x8, w26
	stp	x8, x26, [sp, #32]              ; 16-byte Folded Spill
	add	w8, w23, #1
	add	x9, x23, x20
	sub	x9, x9, #3
	sub	x8, x8, #3
	stp	x8, x9, [sp, #8]                ; 16-byte Folded Spill
	str	x27, [sp, #48]                  ; 8-byte Folded Spill
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x22, x28, x8
	ldr	x27, [sp, #48]                  ; 8-byte Folded Reload
	cmp	x22, x27
	mov	x25, x26
	ldr	x26, [sp, #40]                  ; 8-byte Folded Reload
	b.hi	LBB0_8
LBB0_21:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_28 Depth 2
	ldursb	w0, [x22, #-1]
	bl	_U
	ldrb	w8, [x24, w0, sxtw]
	add	x20, x22, x8
	ldursb	w0, [x20, #-1]
	bl	_U
	ldrb	w8, [x24, w0, sxtw]
	add	x28, x20, x8
	cbz	x8, LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldursb	w0, [x28, #-1]
	bl	_U
	ldrb	w8, [x24, w0, sxtw]
	add	x20, x28, x8
	ldursb	w0, [x20, #-1]
	bl	_U
	ldrb	w8, [x24, w0, sxtw]
	add	x20, x20, x8
	ldursb	w0, [x20, #-1]
	bl	_U
	ldrb	w8, [x24, w0, sxtw]
	add	x28, x20, x8
	cbz	x8, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	ldursb	w0, [x28, #-1]
	bl	_U
	ldrb	w8, [x24, w0, sxtw]
	add	x20, x28, x8
	ldursb	w0, [x20, #-1]
	bl	_U
	ldrb	w8, [x24, w0, sxtw]
	add	x20, x20, x8
	ldursb	w0, [x20, #-1]
	bl	_U
	ldrb	w8, [x24, w0, sxtw]
	add	x28, x20, x8
	cbz	x8, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_21 Depth=1
	ldursb	w0, [x28, #-1]
	bl	_U
	ldrb	w8, [x24, w0, sxtw]
	add	x20, x28, x8
	ldursb	w0, [x20, #-1]
	bl	_U
	ldrb	w8, [x24, w0, sxtw]
	add	x22, x20, x8
	cmp	x22, x27
	b.ls	LBB0_21
	b	LBB0_8
LBB0_25:                                ;   in Loop: Header=BB0_21 Depth=1
	ldursb	w0, [x28, #-2]
	bl	_U
	mov	x26, x25
	cmp	w0, w25
	b.ne	LBB0_20
; %bb.26:                               ;   in Loop: Header=BB0_21 Depth=1
	cmp	w23, #3
	b.lt	LBB0_30
; %bb.27:                               ;   in Loop: Header=BB0_21 Depth=1
	sub	x25, x28, #3
	ldp	x27, x20, [sp, #8]              ; 16-byte Folded Reload
LBB0_28:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x25]
	bl	_U
	mov	x22, x0
	ldrsb	w0, [x20]
	bl	_U
	cmp	w22, w0
	b.ne	LBB0_20
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=2
	sub	x25, x25, #1
	sub	x20, x20, #1
	subs	x27, x27, #1
	b.ne	LBB0_28
LBB0_30:
	sub	x8, x28, x23
LBB0_31:
	sub	x0, x8, x19
LBB0_32:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bmexec
.subsections_via_symbols
