	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_code_flag
_set_code_flag:                         ## @set_code_flag
	.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	%edi, %ebx
	movq	_Cpu64@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CpuNo64@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edx
	orl	%ecx, %edx
	notl	%edx
	movq	_cpu_arch_flags@GOTPCREL(%rip), %r14
	andl	(%r14), %edx
	movq	_CODE_64BIT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	cmpl	%edi, %esi
	cmovel	%ecx, %eax
	orl	%edx, %eax
	movq	_flag_code@GOTPCREL(%rip), %rcx
	movl	%edi, (%rcx)
	movl	%eax, (%r14)
	cmpl	%edi, %esi
	jne	LBB0_3
## %bb.1:
	movq	_CpuSledgehammer@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_as_bad
LBB0_3:
	movq	_CODE_32BIT@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_6
## %bb.4:
	movq	_Cpu386@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_as_bad
LBB0_6:
	movq	_stackop_size@GOTPCREL(%rip), %rax
	movb	$0, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_flag_code,4,2                  ## @flag_code
	.comm	_Cpu64,4,2                      ## @Cpu64
	.comm	_CpuNo64,4,2                    ## @CpuNo64
	.comm	_cpu_arch_flags,4,2             ## @cpu_arch_flags
	.comm	_CODE_64BIT,4,2                 ## @CODE_64BIT
	.comm	_CpuSledgehammer,4,2            ## @CpuSledgehammer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"64bit mode not supported on this CPU."

	.comm	_CODE_32BIT,4,2                 ## @CODE_32BIT
	.comm	_Cpu386,4,2                     ## @Cpu386
L_.str.1:                               ## @.str.1
	.asciz	"32bit mode not supported on this CPU."

	.comm	_stackop_size,1,0               ## @stackop_size
	.no_dead_strip	_set_code_flag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_code_flag
_set_code_flag:                         ; @set_code_flag
	.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	x19, x0
Lloh0:
	adrp	x8, _flag_code@GOTPAGE
Lloh1:
	ldr	x8, [x8, _flag_code@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
Lloh3:
	adrp	x8, _Cpu64@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Cpu64@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _CpuNo64@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CpuNo64@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w10, w9, w8
Lloh9:
	adrp	x20, _cpu_arch_flags@GOTPAGE
Lloh10:
	ldr	x20, [x20, _cpu_arch_flags@GOTPAGEOFF]
	ldr	w11, [x20]
Lloh11:
	adrp	x12, _CODE_64BIT@GOTPAGE
Lloh12:
	ldr	x12, [x12, _CODE_64BIT@GOTPAGEOFF]
	bic	w10, w11, w10
Lloh13:
	ldr	w11, [x12]
	cmp	w11, w0
	csel	w8, w8, w9, eq
	orr	w8, w8, w10
	str	w8, [x20]
	b.ne	LBB0_3
; %bb.1:
Lloh14:
	adrp	x9, _CpuSledgehammer@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CpuSledgehammer@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_as_bad
LBB0_3:
Lloh19:
	adrp	x8, _CODE_32BIT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CODE_32BIT@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_6
; %bb.4:
	ldr	w8, [x20]
Lloh22:
	adrp	x9, _Cpu386@GOTPAGE
Lloh23:
	ldr	x9, [x9, _Cpu386@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.5:
Lloh25:
	adrp	x0, l_.str.1@PAGE
Lloh26:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	bl	_as_bad
LBB0_6:
Lloh27:
	adrp	x8, _stackop_size@GOTPAGE
Lloh28:
	ldr	x8, [x8, _stackop_size@GOTPAGEOFF]
Lloh29:
	strb	wzr, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_flag_code,4,2                  ; @flag_code
	.comm	_Cpu64,4,2                      ; @Cpu64
	.comm	_CpuNo64,4,2                    ; @CpuNo64
	.comm	_cpu_arch_flags,4,2             ; @cpu_arch_flags
	.comm	_CODE_64BIT,4,2                 ; @CODE_64BIT
	.comm	_CpuSledgehammer,4,2            ; @CpuSledgehammer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"64bit mode not supported on this CPU."

	.comm	_CODE_32BIT,4,2                 ; @CODE_32BIT
	.comm	_Cpu386,4,2                     ; @Cpu386
l_.str.1:                               ; @.str.1
	.asciz	"32bit mode not supported on this CPU."

	.comm	_stackop_size,1,0               ; @stackop_size
	.no_dead_strip	_set_code_flag
.subsections_via_symbols
