	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_module_get_type_by_name        ## -- Begin function module_get_type_by_name
	.p2align	4, 0x90
_module_get_type_by_name:               ## @module_get_type_by_name
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_strlenW
	movl	%eax, %ebx
	leaq	-1(%r14), %r8
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movslq	%ebx, %rdx
	leaq	(%r8,%rdx), %rsi
	negq	%rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rcx, %rdx
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	movzbl	(%rsi,%rcx), %edi
	leal	-48(%rdi), %eax
	decq	%rcx
	cmpb	$10, %al
	jb	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$46, %dil
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	addl	%ecx, %ebx
	jne	LBB0_1
## %bb.6:
	xorl	%r13d, %r13d
	jmp	LBB0_17
LBB0_7:
	movl	%ebx, %r12d
	cmpl	$3, %ebx
	jle	LBB0_16
## %bb.8:
	leaq	(%r14,%r12), %rdi
	addq	$-3, %rdi
	movq	_S_DotSoW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$3, %edx
	callq	_memcmp
	movq	_DMT_MACHO@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	je	LBB0_23
## %bb.9:
	movq	%r12, %r15
	addq	%r14, %r15
	cmpl	$7, %ebx
	jb	LBB0_11
## %bb.10:
	leaq	-6(%r15), %rdi
	movq	_S_DotDylibW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$6, %edx
	callq	_strncmpiW
	testl	%eax, %eax
	jne	LBB0_12
	jmp	LBB0_23
LBB0_11:
	movl	$4, %r13d
	cmpl	$5, %ebx
	jb	LBB0_17
LBB0_12:
	addq	$-4, %r15
	movq	_S_DotPdbW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_strncmpiW
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	movq	_S_DotDbgW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_strncmpiW
	testl	%eax, %eax
	je	LBB0_15
LBB0_16:
	movl	%r12d, %r13d
LBB0_17:
	xorl	%eax, %eax
	callq	_get_wine_loader_name
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlenW
	cmpl	%eax, %r13d
	je	LBB0_20
## %bb.18:
	jle	LBB0_22
## %bb.19:
	movl	%eax, %ecx
	notl	%ecx
	addl	%r13d, %ecx
	movslq	%ecx, %rcx
	cmpb	$47, (%r14,%rcx)
	jne	LBB0_22
LBB0_20:
	movslq	%r13d, %rcx
	addq	%rcx, %r14
	cltq
	subq	%rax, %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_strcmpiW
	testl	%eax, %eax
	je	LBB0_21
LBB0_22:
	movq	_DMT_PE@GOTPCREL(%rip), %r13
	jmp	LBB0_23
LBB0_21:
	movq	_DMT_MACHO@GOTPCREL(%rip), %r13
	jmp	LBB0_23
LBB0_13:
	movq	_DMT_PDB@GOTPCREL(%rip), %r13
	jmp	LBB0_23
LBB0_15:
	movq	_DMT_DBG@GOTPCREL(%rip), %r13
LBB0_23:
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S_DotSoW,4,2                   ## @S_DotSoW
	.comm	_DMT_MACHO,4,2                  ## @DMT_MACHO
	.comm	_S_DotDylibW,4,2                ## @S_DotDylibW
	.comm	_S_DotPdbW,4,2                  ## @S_DotPdbW
	.comm	_DMT_PDB,4,2                    ## @DMT_PDB
	.comm	_S_DotDbgW,4,2                  ## @S_DotDbgW
	.comm	_DMT_DBG,4,2                    ## @DMT_DBG
	.comm	_DMT_PE,4,2                     ## @DMT_PE
	.comm	_DMT_ELF,4,2                    ## @DMT_ELF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_module_get_type_by_name        ; -- Begin function module_get_type_by_name
	.p2align	2
_module_get_type_by_name:               ; @module_get_type_by_name
	.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
	mov	x19, x0
	bl	_strlenW
	mov	x20, x0
	sub	x8, x19, #1
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	mov	x9, #0
	sxtw	x11, w20
	neg	x10, x11
	add	x11, x8, x11
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x10, x9
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=2
	ldrb	w12, [x11, x9]
	sub	w13, w12, #48
	sub	x9, x9, #1
	cmp	w13, #10
	b.lo	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w12, #46
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	adds	w20, w20, w9
	b.ne	LBB0_1
; %bb.6:
	mov	w21, #0
	b	LBB0_16
LBB0_7:
	mov	w21, w20
	cmp	w20, #3
	b.le	LBB0_16
; %bb.8:
	add	x22, x19, w20, uxtw
	sub	x0, x22, #3
Lloh0:
	adrp	x8, _S_DotSoW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_DotSoW@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #3
	bl	_memcmp
	cbz	w0, LBB0_21
; %bb.9:
	cmp	w20, #7
	b.lo	LBB0_11
; %bb.10:
	sub	x0, x22, #6
Lloh3:
	adrp	x8, _S_DotDylibW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S_DotDylibW@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #6
	bl	_strncmpiW
	cbnz	w0, LBB0_12
	b	LBB0_21
LBB0_11:
	cmp	w20, #5
	b.lo	LBB0_15
LBB0_12:
	sub	x20, x22, #4
Lloh6:
	adrp	x8, _S_DotPdbW@GOTPAGE
Lloh7:
	ldr	x8, [x8, _S_DotPdbW@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #4
	bl	_strncmpiW
	cbz	w0, LBB0_23
; %bb.13:
Lloh9:
	adrp	x8, _S_DotDbgW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _S_DotDbgW@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #4
	bl	_strncmpiW
	cbnz	w0, LBB0_16
; %bb.14:
Lloh12:
	adrp	x8, _DMT_DBG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DMT_DBG@GOTPAGEOFF]
	b	LBB0_22
LBB0_15:
	mov	w21, #4
LBB0_16:
	bl	_get_wine_loader_name
	mov	x20, x0
	bl	_strlenW
	cmp	w21, w0
	b.eq	LBB0_19
; %bb.17:
	b.le	LBB0_20
; %bb.18:
	mvn	w8, w0
	add	w8, w21, w8
	ldrb	w8, [x19, w8, sxtw]
	cmp	w8, #47
	b.ne	LBB0_20
LBB0_19:
	add	x8, x19, w21, sxtw
	sub	x0, x8, w0, sxtw
	mov	x1, x20
	bl	_strcmpiW
	cbz	w0, LBB0_21
LBB0_20:
Lloh14:
	adrp	x8, _DMT_PE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DMT_PE@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:
Lloh16:
	adrp	x8, _DMT_MACHO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DMT_MACHO@GOTPAGEOFF]
LBB0_22:
	ldr	w0, [x8]
	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
LBB0_23:
Lloh18:
	adrp	x8, _DMT_PDB@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DMT_PDB@GOTPAGEOFF]
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_S_DotSoW,4,2                   ; @S_DotSoW
	.comm	_DMT_MACHO,4,2                  ; @DMT_MACHO
	.comm	_S_DotDylibW,4,2                ; @S_DotDylibW
	.comm	_S_DotPdbW,4,2                  ; @S_DotPdbW
	.comm	_DMT_PDB,4,2                    ; @DMT_PDB
	.comm	_S_DotDbgW,4,2                  ; @S_DotDbgW
	.comm	_DMT_DBG,4,2                    ; @DMT_DBG
	.comm	_DMT_PE,4,2                     ; @DMT_PE
	.comm	_DMT_ELF,4,2                    ; @DMT_ELF
.subsections_via_symbols
