	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_matching_ts_config
_find_matching_ts_config:               ## @find_matching_ts_config
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	callq	_pg_strdup
	movq	%rax, %r15
	movabsq	$1125899907366915, %rcx         ## imm = 0x4000000080003
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %edx
	leal	-45(%rdx), %esi
	cmpb	$50, %sil
	ja	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%sil, %esi
	btq	%rsi, %rcx
	jb	LBB0_7
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	testb	%dl, %dl
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	jmp	LBB0_3
LBB0_7:
	movb	$0, (%rax)
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_pg_strdup
	movq	%rax, %r15
LBB0_8:
	movq	_tsearch_config_languages@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.9:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	8(%rax,%rbx), %edi
	movq	%r15, %rsi
	callq	_pg_strcasecmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%r12
	movq	(%r14), %rax
	cmpq	$0, 16(%rax,%rbx)
	leaq	16(%rbx), %rbx
	jne	LBB0_10
LBB0_13:
	movq	%r15, %rdi
	callq	_free
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_11:
	movl	%r12d, %ebx
	movq	%r15, %rdi
	callq	_free
	movq	(%r14), %rax
	shlq	$4, %rbx
	movq	(%rax,%rbx), %rax
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_tsearch_config_languages,8,3   ## @tsearch_config_languages
	.no_dead_strip	_find_matching_ts_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_matching_ts_config
_find_matching_ts_config:               ; @find_matching_ts_config
	.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
	cbz	x0, LBB0_5
; %bb.1:
	bl	_pg_strdup
	mov	x19, x0
	mov	w8, #1
	mov	x10, #3
	movk	x10, #8, lsl #16
	movk	x10, #4, lsl #48
	mov	x9, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x9]
	sub	w12, w11, #45
	cmp	w12, #50
	lsl	x12, x8, x12
	and	x12, x12, x10
	ccmp	x12, #0, #4, ls
	ccmp	w11, #0, #4, eq
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	b	LBB0_2
LBB0_4:
	strb	wzr, [x9]
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pg_strdup
	mov	x19, x0
LBB0_6:
Lloh2:
	adrp	x20, _tsearch_config_languages@GOTPAGE
Lloh3:
	ldr	x20, [x20, _tsearch_config_languages@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x9, [x8]
	cbz	x9, LBB0_10
; %bb.7:
	mov	x22, #0
	mov	x21, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x22
	ldr	w0, [x8, #8]
	mov	x1, x19
	bl	_pg_strcasecmp
	cbz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x21, x21, #1
	ldr	x8, [x20]
	add	x9, x8, x22
	ldr	x9, [x9, #16]
	add	x22, x22, #16
	cbnz	x9, LBB0_8
LBB0_10:
	mov	x0, x19
	bl	_free
	mov	x0, #0
	b	LBB0_12
LBB0_11:
	and	x21, x21, #0xffffffff
	mov	x0, x19
	bl	_free
	ldr	x8, [x20]
	lsl	x9, x21, #4
	ldr	x0, [x8, x9]
LBB0_12:
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_tsearch_config_languages,8,3   ; @tsearch_config_languages
	.no_dead_strip	_find_matching_ts_config
.subsections_via_symbols
