	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_match_bt                       ## -- Begin function match_bt
	.p2align	4, 0x90
_match_bt:                              ## @match_bt
	.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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_start@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edx, %eax
	jg	LBB0_5
## %bb.1:
	movq	_slen@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	(%rax,%rcx,2), %ecx
	addl	$-2, %ecx
	cmpl	%edx, %ecx
	jle	LBB0_5
## %bb.2:
	subl	%eax, %edx
	sarl	%edx
	movq	_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movslq	%edx, %r8
	movq	%r8, %rbx
	shlq	$4, %rbx
	movq	(%rcx,%rbx), %r9
	movq	_HOST_CCREG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	(%r9,%rax), %al
	movq	_CCREG@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %al
	jne	LBB0_25
## %bb.3:
	movq	_HOST_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	testl	%r15d, %r15d
	jle	LBB0_23
## %bb.4:
	movq	_EXCLUDE_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_TEMPREG@GOTPCREL(%rip), %rax
	movb	(%rax), %r10b
	movq	_unneeded_reg@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	leaq	(%rcx,%rbx), %r14
	addq	$8, %r14
	xorl	%ecx, %ecx
	jmp	LBB0_16
LBB0_5:
	movq	_HOST_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movl	$1, %eax
	testl	%r10d, %r10d
	jle	LBB0_27
## %bb.6:
	movq	_EXCLUDE_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_HOST_CCREG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r9
	movq	_CCREG@GOTPCREL(%rip), %rcx
	movb	(%rcx), %r8b
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=1
	btl	%ebx, %esi
	jb	LBB0_25
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	cmpq	%rbx, %r10
	je	LBB0_27
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, %rdx
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movzbl	(%rdi,%rbx), %ecx
	testb	%cl, %cl
	js	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	%rbx, %r9
	jne	LBB0_7
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	%r8b, %cl
	je	LBB0_8
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_16 Depth=1
	btl	%ecx, %esi
	jae	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_16 Depth=1
	movsbl	(%r11,%r8), %eax
	btl	%ebx, %eax
	jae	LBB0_25
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%rcx
	cmpq	%rcx, %r15
	je	LBB0_23
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %rdx
	je	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movzbl	(%rdi,%rcx), %ebx
	movzbl	(%r9,%rcx), %eax
	cmpb	%al, %bl
	jne	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	testb	%bl, %bl
	js	LBB0_15
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	$1, %eax
	shll	%cl, %eax
	btl	%ecx, %esi
	jae	LBB0_15
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=1
	andl	(%r14), %eax
	je	LBB0_14
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_16 Depth=1
	testb	%al, %al
	js	LBB0_13
## %bb.22:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpb	%r10b, %al
	jge	LBB0_13
	jmp	LBB0_25
LBB0_23:
	movq	_is_ds@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax,%r8,8)
	je	LBB0_26
LBB0_25:
	xorl	%eax, %eax
LBB0_27:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movl	$1, %eax
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_start,4,2                      ## @start
	.comm	_slen,4,2                       ## @slen
	.comm	_regs,8,3                       ## @regs
	.comm	_HOST_CCREG,8,3                 ## @HOST_CCREG
	.comm	_CCREG,1,0                      ## @CCREG
	.comm	_HOST_REGS,4,2                  ## @HOST_REGS
	.comm	_EXCLUDE_REG,4,2                ## @EXCLUDE_REG
	.comm	_TEMPREG,1,0                    ## @TEMPREG
	.comm	_unneeded_reg,8,3               ## @unneeded_reg
	.comm	_is_ds,8,3                      ## @is_ds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_match_bt                       ; -- Begin function match_bt
	.p2align	2
_match_bt:                              ; @match_bt
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _start@GOTPAGE
Lloh1:
	ldr	x8, [x8, _start@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.gt	LBB0_5
; %bb.1:
Lloh3:
	adrp	x9, _slen@GOTPAGE
Lloh4:
	ldr	x9, [x9, _slen@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w9, w8, w9, lsl #1
	sub	w9, w9, #2
	cmp	w9, w2
	b.le	LBB0_5
; %bb.2:
	sub	w9, w2, w8
	asr	w8, w9, #1
Lloh6:
	adrp	x10, _regs@GOTPAGE
Lloh7:
	ldr	x10, [x10, _regs@GOTPAGEOFF]
Lloh8:
	ldr	x15, [x10]
	sbfiz	x8, x8, #4, #32
	ldr	x8, [x15, x8]
Lloh9:
	adrp	x10, _HOST_CCREG@GOTPAGE
Lloh10:
	ldr	x10, [x10, _HOST_CCREG@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	ldrb	w10, [x8, x10]
Lloh12:
	adrp	x11, _CCREG@GOTPAGE
Lloh13:
	ldr	x11, [x11, _CCREG@GOTPAGEOFF]
	ldrb	w11, [x11]
	cmp	w10, w11
	b.ne	LBB0_24
; %bb.3:
	sbfx	x9, x9, #1, #31
Lloh14:
	adrp	x10, _HOST_REGS@GOTPAGE
Lloh15:
	ldr	x10, [x10, _HOST_REGS@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	cmp	w10, #1
	b.lt	LBB0_23
; %bb.4:
	mov	x11, #0
Lloh17:
	adrp	x12, _EXCLUDE_REG@GOTPAGE
Lloh18:
	ldr	x12, [x12, _EXCLUDE_REG@GOTPAGEOFF]
Lloh19:
	ldr	w12, [x12]
Lloh20:
	adrp	x13, _TEMPREG@GOTPAGE
Lloh21:
	ldr	x13, [x13, _TEMPREG@GOTPAGEOFF]
Lloh22:
	ldrsb	w13, [x13]
Lloh23:
	adrp	x14, _unneeded_reg@GOTPAGE
Lloh24:
	ldr	x14, [x14, _unneeded_reg@GOTPAGEOFF]
Lloh25:
	ldr	x14, [x14]
	add	x15, x15, x9, lsl #4
	add	x15, x15, #8
	mov	w16, #1
	b	LBB0_16
LBB0_5:
Lloh26:
	adrp	x8, _HOST_REGS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _HOST_REGS@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.6:
	mov	x9, #0
Lloh29:
	adrp	x10, _EXCLUDE_REG@GOTPAGE
Lloh30:
	ldr	x10, [x10, _EXCLUDE_REG@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
Lloh32:
	adrp	x11, _HOST_CCREG@GOTPAGE
Lloh33:
	ldr	x11, [x11, _HOST_CCREG@GOTPAGEOFF]
Lloh34:
	ldr	x11, [x11]
Lloh35:
	adrp	x12, _CCREG@GOTPAGE
Lloh36:
	ldr	x12, [x12, _CCREG@GOTPAGEOFF]
	ldrb	w12, [x12]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	lsr	w13, w1, w9
	tbnz	w13, #0, LBB0_24
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.eq	LBB0_25
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x10, x9
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrsb	w13, [x0, x9]
	tbnz	w13, #31, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	x11, x9
	b.ne	LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w12, w13, uxtb
	b.eq	LBB0_8
	b	LBB0_7
LBB0_13:                                ;   in Loop: Header=BB0_16 Depth=1
	lsr	w2, w1, w11
	tbz	w2, #0, LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	ldrsb	w2, [x14, x9]
	lsr	w17, w2, w17
	tbz	w17, #0, LBB0_24
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x11, x11, #1
	cmp	x10, x11
	b.eq	LBB0_23
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	cmp	x12, x11
	b.eq	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldrb	w17, [x0, x11]
	ldrb	w2, [x8, x11]
	cmp	w17, w2
	b.ne	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	tbnz	w17, #7, LBB0_15
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	lsl	w2, w16, w11
	tst	w2, w1
	b.eq	LBB0_15
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w3, [x15]
	and	w2, w3, w2
	cbz	w2, LBB0_14
	b	LBB0_15
LBB0_21:                                ;   in Loop: Header=BB0_16 Depth=1
	sxtb	w2, w2
	tbnz	w2, #31, LBB0_13
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	w2, w13
	b.ge	LBB0_13
	b	LBB0_24
LBB0_23:
Lloh37:
	adrp	x8, _is_ds@GOTPAGE
Lloh38:
	ldr	x8, [x8, _is_ds@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_25
LBB0_24:
	mov	w0, #0
	ret
LBB0_25:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_start,4,2                      ; @start
	.comm	_slen,4,2                       ; @slen
	.comm	_regs,8,3                       ; @regs
	.comm	_HOST_CCREG,8,3                 ; @HOST_CCREG
	.comm	_CCREG,1,0                      ; @CCREG
	.comm	_HOST_REGS,4,2                  ; @HOST_REGS
	.comm	_EXCLUDE_REG,4,2                ; @EXCLUDE_REG
	.comm	_TEMPREG,1,0                    ; @TEMPREG
	.comm	_unneeded_reg,8,3               ; @unneeded_reg
	.comm	_is_ds,8,3                      ; @is_ds
.subsections_via_symbols
