	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_assembly_get_architecture      ## -- Begin function assembly_get_architecture
	.p2align	4, 0x90
_assembly_get_architecture:             ## @assembly_get_architecture
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	cmpl	$2, (%rax)
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rax)
	je	LBB0_2
LBB0_3:
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	_IMAGE_NT_OPTIONAL_HDR64_MAGIC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.4:
	movq	_peAMD64@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movl	16(%rax), %eax
	movq	_COMIMAGE_FLAGS_ILONLY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.6:
	movq	_COMIMAGE_FLAGS_32BITREQUIRED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
LBB0_8:
	movq	_peI386@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movq	_peNone@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_peMSIL@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_peNone,4,2                     ## @peNone
	.comm	_IMAGE_NT_OPTIONAL_HDR64_MAGIC,8,3 ## @IMAGE_NT_OPTIONAL_HDR64_MAGIC
	.comm	_peAMD64,4,2                    ## @peAMD64
	.comm	_COMIMAGE_FLAGS_ILONLY,4,2      ## @COMIMAGE_FLAGS_ILONLY
	.comm	_COMIMAGE_FLAGS_32BITREQUIRED,4,2 ## @COMIMAGE_FLAGS_32BITREQUIRED
	.comm	_peMSIL,4,2                     ## @peMSIL
	.comm	_peI386,4,2                     ## @peI386
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_assembly_get_architecture      ; -- Begin function assembly_get_architecture
	.p2align	2
_assembly_get_architecture:             ; @assembly_get_architecture
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8]
	cmp	w9, #2
	b.ne	LBB0_2
; %bb.1:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_7
LBB0_2:
	ldr	x9, [x0, #8]
	ldr	x9, [x9]
Lloh0:
	adrp	x10, _IMAGE_NT_OPTIONAL_HDR64_MAGIC@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IMAGE_NT_OPTIONAL_HDR64_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _peAMD64@GOTPAGE
Lloh4:
	ldr	x8, [x8, _peAMD64@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_4:
	ldr	w8, [x8, #16]
Lloh6:
	adrp	x9, _COMIMAGE_FLAGS_ILONLY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _COMIMAGE_FLAGS_ILONLY@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh9:
	adrp	x9, _COMIMAGE_FLAGS_32BITREQUIRED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _COMIMAGE_FLAGS_32BITREQUIRED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
LBB0_6:
Lloh12:
	adrp	x8, _peI386@GOTPAGE
Lloh13:
	ldr	x8, [x8, _peI386@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ret
LBB0_7:
Lloh15:
	adrp	x8, _peNone@GOTPAGE
Lloh16:
	ldr	x8, [x8, _peNone@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ret
LBB0_8:
Lloh18:
	adrp	x8, _peMSIL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _peMSIL@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_peNone,4,2                     ; @peNone
	.comm	_IMAGE_NT_OPTIONAL_HDR64_MAGIC,8,3 ; @IMAGE_NT_OPTIONAL_HDR64_MAGIC
	.comm	_peAMD64,4,2                    ; @peAMD64
	.comm	_COMIMAGE_FLAGS_ILONLY,4,2      ; @COMIMAGE_FLAGS_ILONLY
	.comm	_COMIMAGE_FLAGS_32BITREQUIRED,4,2 ; @COMIMAGE_FLAGS_32BITREQUIRED
	.comm	_peMSIL,4,2                     ; @peMSIL
	.comm	_peI386,4,2                     ; @peI386
.subsections_via_symbols
