	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_t_msr
_do_t_msr:                              ## @do_t_msr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_do_vfp_nsyn_msr
	movq	_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.1:
	movq	_inst@GOTPCREL(%rip), %r14
	movq	8(%r14), %rax
	xorl	%ebx, %ebx
	cmpl	$0, 20(%rax)
	sete	%bl
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_constraint
	movq	8(%r14), %rax
	movl	(%rax), %ebx
	movq	_cpu_variant@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	$256, %ebx                      ## imm = 0x100
	jae	LBB0_2
## %bb.3:
	movq	_arm_ext_v7m@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ARM_CPU_HAS_FEATURE
	xorl	%r15d, %r15d
	testl	%eax, %eax
	sete	%r15b
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_constraint
	movq	_PSR_f@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	jmp	LBB0_4
LBB0_2:
	movq	_arm_ext_v1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ARM_CPU_HAS_FEATURE
	xorl	%r15d, %r15d
	testl	%eax, %eax
	sete	%r15b
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_constraint
LBB0_4:
	movq	_SPSR_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	andl	%ebx, %ecx
	sarl	$2, %ecx
	notl	%eax
	andl	%ebx, %eax
	sarl	$8, %eax
	orl	%ecx, %eax
	movzbl	%bl, %ecx
	orl	(%r14), %ecx
	movq	8(%r14), %rdx
	movl	16(%rdx), %edx
	shll	$16, %edx
	orl	%eax, %edx
	orl	%ecx, %edx
	movl	%edx, (%r14)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUCCESS,8,3                    ## @SUCCESS
	.comm	_inst,16,3                      ## @inst
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Thumb encoding does not support an immediate here"

	.comm	_cpu_variant,4,2                ## @cpu_variant
	.comm	_arm_ext_v1,4,2                 ## @arm_ext_v1
L_.str.1:                               ## @.str.1
	.asciz	"selected processor does not support requested special purpose register"

	.comm	_arm_ext_v7m,4,2                ## @arm_ext_v7m
	.comm	_PSR_f,4,2                      ## @PSR_f
	.comm	_SPSR_BIT,4,2                   ## @SPSR_BIT
	.no_dead_strip	_do_t_msr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_t_msr
_do_t_msr:                              ; @do_t_msr
	.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
	bl	_do_vfp_nsyn_msr
Lloh0:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.1:
Lloh3:
	adrp	x20, _inst@GOTPAGE
Lloh4:
	ldr	x20, [x20, _inst@GOTPAGEOFF]
	ldr	x8, [x20, #8]
	ldr	w8, [x8, #20]
	cmp	w8, #0
	cset	w19, eq
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
	ldr	x8, [x20, #8]
	ldr	w21, [x8]
Lloh7:
	adrp	x8, _cpu_variant@GOTPAGE
Lloh8:
	ldr	x8, [x8, _cpu_variant@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	cmp	w21, #256
	b.hs	LBB0_3
; %bb.2:
Lloh10:
	adrp	x8, _arm_ext_v7m@GOTPAGE
Lloh11:
	ldr	x8, [x8, _arm_ext_v7m@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_ARM_CPU_HAS_FEATURE
	cmp	w0, #0
	cset	w19, eq
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
Lloh15:
	adrp	x8, _PSR_f@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PSR_f@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	orr	w21, w8, w21
	b	LBB0_4
LBB0_3:
Lloh18:
	adrp	x8, _arm_ext_v1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _arm_ext_v1@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_ARM_CPU_HAS_FEATURE
	cmp	w0, #0
	cset	w19, eq
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
LBB0_4:
Lloh23:
	adrp	x8, _SPSR_BIT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SPSR_BIT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	and	w9, w8, w21
	ldr	w10, [x20]
	bic	w8, w21, w8
	and	w11, w21, #0xff
	orr	w10, w10, w11
	orr	w9, w10, w9, asr #2
	orr	w8, w9, w8, asr #8
	ldr	x9, [x20, #8]
	ldr	w9, [x9, #16]
	orr	w8, w8, w9, lsl #16
	str	w8, [x20]
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_SUCCESS,8,3                    ; @SUCCESS
	.comm	_inst,16,3                      ; @inst
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Thumb encoding does not support an immediate here"

	.comm	_cpu_variant,4,2                ; @cpu_variant
	.comm	_arm_ext_v1,4,2                 ; @arm_ext_v1
l_.str.1:                               ; @.str.1
	.asciz	"selected processor does not support requested special purpose register"

	.comm	_arm_ext_v7m,4,2                ; @arm_ext_v7m
	.comm	_PSR_f,4,2                      ; @PSR_f
	.comm	_SPSR_BIT,4,2                   ; @SPSR_BIT
	.no_dead_strip	_do_t_msr
.subsections_via_symbols
