	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msr
_msr:                                   ## @msr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_UT32_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rdi), %rcx
	movq	_ARM_REG64@GOTPCREL(%rip), %rdx
	testl	%esi, %esi
	je	LBB0_9
## %bb.1:
	movq	_ARM_SP@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	cmpl	%esi, 40(%rcx)
	jne	LBB0_2
LBB0_8:
	leaq	32(%rcx), %rdx
	addq	$64, %rcx
	movl	$-719323136, %esi               ## imm = 0xD5200000
	jmp	LBB0_18
LBB0_9:
	movq	_ARM_SP@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	cmpl	%esi, (%rcx)
	jne	LBB0_10
LBB0_16:
	cmpq	$65534, 64(%rcx)                ## imm = 0xFFFE
	jne	LBB0_17
## %bb.21:
	movl	24(%rcx), %eax
	movl	56(%rcx), %ecx
	cmpl	$49680, %eax                    ## imm = 0xC210
	movl	$5, %edx
	cmovnel	%eax, %edx
	movl	%edx, %eax
	shll	$12, %eax
	andl	$983040, %eax                   ## imm = 0xF0000
	andl	$15, %edx
	shll	$5, %edx
	andl	$15, %ecx
	shll	$8, %ecx
	orl	%edx, %ecx
	addl	%ecx, %eax
	addl	$-721403873, %eax               ## imm = 0xD500401F
	jmp	LBB0_19
LBB0_2:
	movq	48(%rcx), %rdx
	movq	_ARM_CONSTANT@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_20
## %bb.3:
	movq	_msr_const@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_8
## %bb.4:
	movq	56(%rcx), %rdx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%rax), %rdx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, 24(%rax)
	leaq	16(%rax), %rax
	jne	LBB0_6
	jmp	LBB0_8
LBB0_10:
	movq	8(%rcx), %rdx
	movq	_ARM_CONSTANT@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_20
## %bb.11:
	movq	_msr_const@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_16
## %bb.12:
	movq	16(%rcx), %rdx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	cmpq	(%rax), %rdx
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpq	$0, 24(%rax)
	leaq	16(%rax), %rax
	jne	LBB0_14
	jmp	LBB0_16
LBB0_17:
	leaq	72(%rcx), %rdx
	addq	$24, %rcx
	movl	$-721420288, %esi               ## imm = 0xD5000000
LBB0_18:
	movl	(%rcx), %eax
	shll	$5, %eax
	orl	%esi, %eax
	orl	(%rdx), %eax
LBB0_19:
	bswapl	%eax
LBB0_20:
	popq	%rbp
	retq
LBB0_7:
	movq	%rdx, 64(%rcx)
	movq	%rdx, 72(%rcx)
	jmp	LBB0_8
LBB0_15:
	movq	%rdx, 24(%rcx)
	movq	%rdx, 32(%rcx)
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_UT32_MAX,4,2                   ## @UT32_MAX
	.comm	_ARM_REG64,4,2                  ## @ARM_REG64
	.comm	_ARM_SP,4,2                     ## @ARM_SP
	.comm	_ARM_CONSTANT,8,3               ## @ARM_CONSTANT
	.comm	_msr_const,8,3                  ## @msr_const
	.no_dead_strip	_msr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msr
_msr:                                   ; @msr
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _UT32_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UT32_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	ldr	x8, [x8]
	cbz	w1, LBB0_3
; %bb.1:
	ldr	w9, [x8, #40]
Lloh3:
	adrp	x10, _ARM_REG64@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ARM_REG64@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _ARM_SP@GOTPAGE
Lloh7:
	ldr	x11, [x11, _ARM_SP@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	orr	w10, w11, w10
	cmp	w9, w10
	b.ne	LBB0_6
LBB0_2:
	add	x9, x8, #32
	add	x10, x8, #64
	mov	w8, #-719323136
	b	LBB0_17
LBB0_3:
	ldr	w9, [x8]
Lloh9:
	adrp	x10, _ARM_REG64@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ARM_REG64@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _ARM_SP@GOTPAGE
Lloh13:
	ldr	x11, [x11, _ARM_SP@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	orr	w10, w11, w10
	cmp	w9, w10
	b.ne	LBB0_11
LBB0_4:
	ldr	x9, [x8, #64]
	mov	w10, #65534
	cmp	x9, x10
	b.ne	LBB0_16
; %bb.5:
	ldr	w9, [x8, #24]
	ldr	w8, [x8, #56]
	mov	w10, #49680
	mov	w11, #5
	cmp	w9, w10
	csel	w9, w11, w9, eq
	lsr	w10, w9, #4
	ubfiz	w9, w9, #5, #4
	ubfiz	w8, w8, #8, #4
	orr	w8, w8, w9
	bfi	w8, w10, #16, #4
	mov	w9, #16415
	movk	w9, #54528, lsl #16
	b	LBB0_18
LBB0_6:
	ldr	x9, [x8, #48]
Lloh15:
	adrp	x10, _ARM_CONSTANT@GOTPAGE
Lloh16:
	ldr	x10, [x10, _ARM_CONSTANT@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_19
; %bb.7:
Lloh18:
	adrp	x9, _msr_const@GOTPAGE
Lloh19:
	ldr	x9, [x9, _msr_const@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	ldr	x10, [x9, #8]
	cbz	x10, LBB0_2
; %bb.8:
	ldr	x10, [x8, #56]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9]
	cmp	x10, x11
	b.eq	LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x11, [x9, #24]
	add	x9, x9, #16
	cbnz	x11, LBB0_9
	b	LBB0_2
LBB0_11:
	ldr	x9, [x8, #8]
Lloh21:
	adrp	x10, _ARM_CONSTANT@GOTPAGE
Lloh22:
	ldr	x10, [x10, _ARM_CONSTANT@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_19
; %bb.12:
Lloh24:
	adrp	x9, _msr_const@GOTPAGE
Lloh25:
	ldr	x9, [x9, _msr_const@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	ldr	x10, [x9, #8]
	cbz	x10, LBB0_4
; %bb.13:
	ldr	x10, [x8, #16]
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9]
	cmp	x10, x11
	b.eq	LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x11, [x9, #24]
	add	x9, x9, #16
	cbnz	x11, LBB0_14
	b	LBB0_4
LBB0_16:
	add	x9, x8, #72
	add	x10, x8, #24
	mov	w8, #-721420288
LBB0_17:
	ldr	w10, [x10]
	ldr	w9, [x9]
	orr	w8, w8, w10, lsl #5
LBB0_18:
	orr	w8, w8, w9
	rev	w0, w8
LBB0_19:
	ret
LBB0_20:
	stp	x10, x10, [x8, #64]
	b	LBB0_2
LBB0_21:
	stp	x10, x10, [x8, #24]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_UT32_MAX,4,2                   ; @UT32_MAX
	.comm	_ARM_REG64,4,2                  ; @ARM_REG64
	.comm	_ARM_SP,4,2                     ; @ARM_SP
	.comm	_ARM_CONSTANT,8,3               ; @ARM_CONSTANT
	.comm	_msr_const,8,3                  ; @msr_const
	.no_dead_strip	_msr
.subsections_via_symbols
