	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_platform_entry
_read_platform_entry:                   ## @read_platform_entry
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	_PLATFORM_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_section_get_str
	testl	%eax, %eax
	je	LBB0_18
## %bb.1:
	movq	-56(%rbp), %rax
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_19
## %bb.2:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %r15
	leaq	L_.str.1(%rip), %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_next_part
	movq	%rax, %r14
	movq	-48(%rbp), %r13
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	_debugstr_a
	leaq	L_.str.8(%rip), %rdi
	movl	%eax, %esi
	callq	_FIXME
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_PLATFORM_WIN98@GOTPCREL(%rip), %rax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_PLATFORM_NT4@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_PLATFORM_NT5@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	orl	(%rax), %r12d
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, -48(%rbp)
	testq	%r14, %r14
	jne	LBB0_6
	jmp	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_PLATFORM_MILLEN@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_17:
	movq	-56(%rbp), %rdi
	movl	%r12d, %r14d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_20
LBB0_18:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_19:
	xorl	%edi, %edi
LBB0_20:
	callq	_heap_free
	movl	%r14d, (%rbx)
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLATFORM_ALL,4,2               ## @PLATFORM_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Platform"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
L_.str.1:                               ## @.str.1
	.asciz	"Win95"

	.comm	_PLATFORM_WIN98,4,2             ## @PLATFORM_WIN98
L_.str.2:                               ## @.str.2
	.asciz	"Win98"

L_.str.3:                               ## @.str.3
	.asciz	"NT4"

	.comm	_PLATFORM_NT4,4,2               ## @PLATFORM_NT4
L_.str.4:                               ## @.str.4
	.asciz	"NT5"

	.comm	_PLATFORM_NT5,4,2               ## @PLATFORM_NT5
L_.str.5:                               ## @.str.5
	.asciz	"NT4Alpha"

L_.str.6:                               ## @.str.6
	.asciz	"NT5Alpha"

L_.str.7:                               ## @.str.7
	.asciz	"Millen"

	.comm	_PLATFORM_MILLEN,4,2            ## @PLATFORM_MILLEN
L_.str.8:                               ## @.str.8
	.asciz	"Unknown platform: %s\n"

	.no_dead_strip	_read_platform_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_platform_entry
_read_platform_entry:                   ; @read_platform_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _PLATFORM_ALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PLATFORM_ALL@GOTPAGEOFF]
Lloh2:
	ldr	w26, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #24
	mov	x3, #0
	bl	_section_get_str
	cbz	w0, LBB0_18
; %bb.1:
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_19
; %bb.2:
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	mov	w26, #0
Lloh5:
	adrp	x25, _TRUE@GOTPAGE
Lloh6:
	ldr	x25, [x25, _TRUE@GOTPAGEOFF]
	str	x8, [sp, #16]
Lloh7:
	adrp	x20, l_.str.1@PAGE
Lloh8:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh9:
	adrp	x24, _PLATFORM_WIN98@GOTPAGE
Lloh10:
	ldr	x24, [x24, _PLATFORM_WIN98@GOTPAGEOFF]
Lloh11:
	adrp	x21, l_.str.2@PAGE
Lloh12:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh13:
	adrp	x22, l_.str.3@PAGE
Lloh14:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh15:
	adrp	x19, _PLATFORM_NT4@GOTPAGE
Lloh16:
	ldr	x19, [x19, _PLATFORM_NT4@GOTPAGEOFF]
Lloh17:
	adrp	x23, l_.str.4@PAGE
Lloh18:
	add	x23, x23, l_.str.4@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	add	x0, sp, #16
	bl	_next_part
	mov	x28, x0
	ldr	x27, [sp, #16]
	mov	x0, x27
	mov	x1, x20
	bl	_strcasecmp
	cbz	x0, LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
	mov	x1, x21
	bl	_strcasecmp
	cbz	x0, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
	mov	x1, x22
	bl	_strcasecmp
	cbz	x0, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
	mov	x1, x23
	bl	_strcasecmp
	cbz	x0, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcasecmp
	cbz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcasecmp
	cbz	x0, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
Lloh23:
	adrp	x1, l_.str.7@PAGE
Lloh24:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcasecmp
	cbz	x0, LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
	bl	_debugstr_a
	mov	x1, x0
Lloh25:
	adrp	x0, l_.str.8@PAGE
Lloh26:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_FIXME
	str	x28, [sp, #16]
	cbnz	x28, LBB0_3
	b	LBB0_17
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24]
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh27:
	adrp	x8, _PLATFORM_NT5@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PLATFORM_NT5@GOTPAGEOFF]
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x8]
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	orr	w26, w8, w26
	str	x28, [sp, #16]
	cbnz	x28, LBB0_3
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh29:
	adrp	x8, _PLATFORM_MILLEN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PLATFORM_MILLEN@GOTPAGEOFF]
	b	LBB0_14
LBB0_17:
	ldr	x0, [sp, #24]
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_20
LBB0_18:
Lloh31:
	adrp	x8, _FALSE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_21
LBB0_19:
	mov	x0, #0
LBB0_20:
	bl	_heap_free
	str	w26, [x19]
Lloh33:
	adrp	x8, _TRUE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_21:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_PLATFORM_ALL,4,2               ; @PLATFORM_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Platform"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
l_.str.1:                               ; @.str.1
	.asciz	"Win95"

	.comm	_PLATFORM_WIN98,4,2             ; @PLATFORM_WIN98
l_.str.2:                               ; @.str.2
	.asciz	"Win98"

l_.str.3:                               ; @.str.3
	.asciz	"NT4"

	.comm	_PLATFORM_NT4,4,2               ; @PLATFORM_NT4
l_.str.4:                               ; @.str.4
	.asciz	"NT5"

	.comm	_PLATFORM_NT5,4,2               ; @PLATFORM_NT5
l_.str.5:                               ; @.str.5
	.asciz	"NT4Alpha"

l_.str.6:                               ; @.str.6
	.asciz	"NT5Alpha"

l_.str.7:                               ; @.str.7
	.asciz	"Millen"

	.comm	_PLATFORM_MILLEN,4,2            ; @PLATFORM_MILLEN
l_.str.8:                               ; @.str.8
	.asciz	"Unknown platform: %s\n"

	.no_dead_strip	_read_platform_entry
.subsections_via_symbols
