	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_procarch
_parse_procarch:                        ## @parse_procarch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	_parse_procarch.msilW(%rip), %rsi
	movl	%ebx, %edi
	callq	_lstrcmpiW
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	leaq	_parse_procarch.x86W(%rip), %rsi
	movl	%ebx, %edi
	callq	_lstrcmpiW
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	leaq	_parse_procarch.ia64W(%rip), %rsi
	movl	%ebx, %edi
	callq	_lstrcmpiW
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	leaq	_parse_procarch.amd64W(%rip), %rsi
	movl	%ebx, %edi
	callq	_lstrcmpiW
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movl	%ebx, %edi
	callq	_wine_dbgstr_w
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_ERR
	movq	_FUSION_E_INVALID_NAME@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_1:
	movq	_peMSIL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_peI386@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movq	_peIA64@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_8:
	movq	_peAMD64@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_S_OK@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_parse_procarch.msilW:                  ## @parse_procarch.msilW
	.asciz	"msil"

_parse_procarch.x86W:                   ## @parse_procarch.x86W
	.asciz	"x86"

_parse_procarch.ia64W:                  ## @parse_procarch.ia64W
	.asciz	"ia64"

_parse_procarch.amd64W:                 ## @parse_procarch.amd64W
	.asciz	"amd64"

	.comm	_peMSIL,4,2                     ## @peMSIL
	.comm	_peI386,4,2                     ## @peI386
	.comm	_peIA64,4,2                     ## @peIA64
	.comm	_peAMD64,4,2                    ## @peAMD64
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unrecognized architecture: %s\n"

	.comm	_FUSION_E_INVALID_NAME,4,2      ## @FUSION_E_INVALID_NAME
	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_parse_procarch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_procarch
_parse_procarch:                        ; @parse_procarch
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, _parse_procarch.msilW@PAGE
Lloh1:
	add	x1, x1, _parse_procarch.msilW@PAGEOFF
	mov	x0, x20
	bl	_lstrcmpiW
	cbz	w0, LBB0_5
; %bb.1:
Lloh2:
	adrp	x1, _parse_procarch.x86W@PAGE
Lloh3:
	add	x1, x1, _parse_procarch.x86W@PAGEOFF
	mov	x0, x20
	bl	_lstrcmpiW
	cbz	w0, LBB0_6
; %bb.2:
Lloh4:
	adrp	x1, _parse_procarch.ia64W@PAGE
Lloh5:
	add	x1, x1, _parse_procarch.ia64W@PAGEOFF
	mov	x0, x20
	bl	_lstrcmpiW
	cbz	w0, LBB0_7
; %bb.3:
Lloh6:
	adrp	x1, _parse_procarch.amd64W@PAGE
Lloh7:
	add	x1, x1, _parse_procarch.amd64W@PAGEOFF
	mov	x0, x20
	bl	_lstrcmpiW
	cbz	w0, LBB0_8
; %bb.4:
	mov	x0, x20
	bl	_wine_dbgstr_w
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ERR
Lloh10:
	adrp	x8, _FUSION_E_INVALID_NAME@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FUSION_E_INVALID_NAME@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
Lloh12:
	adrp	x8, _peMSIL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _peMSIL@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh14:
	adrp	x8, _peI386@GOTPAGE
Lloh15:
	ldr	x8, [x8, _peI386@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh16:
	adrp	x8, _peIA64@GOTPAGE
Lloh17:
	ldr	x8, [x8, _peIA64@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh18:
	adrp	x8, _peAMD64@GOTPAGE
Lloh19:
	ldr	x8, [x8, _peAMD64@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh20:
	adrp	x8, _S_OK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_parse_procarch.msilW:                  ; @parse_procarch.msilW
	.asciz	"msil"

_parse_procarch.x86W:                   ; @parse_procarch.x86W
	.asciz	"x86"

_parse_procarch.ia64W:                  ; @parse_procarch.ia64W
	.asciz	"ia64"

_parse_procarch.amd64W:                 ; @parse_procarch.amd64W
	.asciz	"amd64"

	.comm	_peMSIL,4,2                     ; @peMSIL
	.comm	_peI386,4,2                     ; @peI386
	.comm	_peIA64,4,2                     ; @peIA64
	.comm	_peAMD64,4,2                    ; @peAMD64
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unrecognized architecture: %s\n"

	.comm	_FUSION_E_INVALID_NAME,4,2      ; @FUSION_E_INVALID_NAME
	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_parse_procarch
.subsections_via_symbols
