	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fschmd_dmi_decode
_fschmd_dmi_decode:                     ## @fschmd_dmi_decode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movl	$0, -16(%rbp)
	movq	$0, -24(%rbp)
	movl	$0, -32(%rbp)
	movq	$0, -40(%rbp)
	cmpl	$185, (%rdi)
	jne	LBB0_14
## %bb.1:
	movl	4(%rdi), %r10d
	cmpl	$5, %r10d
	jl	LBB0_14
## %bb.2:
	cmpl	$19, 16(%rdi)
	jne	LBB0_14
## %bb.3:
	cmpl	$11, %r10d
	jb	LBB0_14
## %bb.4:
	xorl	%r9d, %r9d
	movl	$10, %esi
	leaq	l___const.fschmd_dmi_decode.shuffle(%rip), %r8
	xorl	%r11d, %r11d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$5, %rsi
	cmpl	%r10d, %esi
	jge	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	-16(%rdi,%rsi,4), %ecx
	leal	-1(%rcx), %edx
	cmpl	$2, %edx
	ja	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%edx, %ecx
	movslq	(%r8,%rcx,4), %rcx
	movl	$1, %edx
	shll	%cl, %edx
	btl	%ecx, %r11d
	jb	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-8(%rdi,%rsi,4), %eax
	shll	$8, %eax
	orl	-12(%rdi,%rsi,4), %eax
	movl	%eax, -24(%rbp,%rcx,4)
	movl	(%rdi,%rsi,4), %eax
	shll	$8, %eax
	orl	-4(%rdi,%rsi,4), %eax
	movl	%eax, -40(%rbp,%rcx,4)
	orl	%edx, %r11d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$7, %ecx
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	testb	$8, %r11b
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-8(%rdi,%rsi,4), %r9d
	shll	$8, %r9d
	orl	-12(%rdi,%rsi,4), %r9d
	orl	$8, %r11d
	jmp	LBB0_11
LBB0_12:
	cmpl	$15, %r11d
	jne	LBB0_14
## %bb.13:
	movq	_dmi_mult@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_dmi_offset@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-24(%rbp), %edx
	addl	%edx, %edx
	leal	(%rdx,%rdx,4), %edx
	movl	%edx, (%rcx)
	movl	-40(%rbp), %edx
	addl	%edx, %edx
	leal	(%rdx,%rdx,4), %edx
	movl	%edx, (%rax)
	movl	-20(%rbp), %edx
	addl	%edx, %edx
	leal	(%rdx,%rdx,4), %edx
	movl	%edx, 4(%rcx)
	movl	-36(%rbp), %edx
	addl	%edx, %edx
	leal	(%rdx,%rdx,4), %edx
	movl	%edx, 4(%rax)
	movl	-16(%rbp), %edx
	addl	%edx, %edx
	leal	(%rdx,%rdx,4), %edx
	movl	%edx, 8(%rcx)
	movl	-32(%rbp), %edx
	addl	%edx, %edx
	leal	(%rdx,%rdx,4), %edx
	movl	%edx, 8(%rax)
	movl	4(%rcx), %edx
	movl	8(%rcx), %esi
	movl	%esi, 12(%rcx)
	movl	%edx, 16(%rcx)
	movl	%esi, 20(%rcx)
	movl	4(%rax), %ecx
	movl	8(%rax), %edx
	movl	%edx, 12(%rax)
	movl	%ecx, 16(%rax)
	movl	%edx, 20(%rax)
	movq	_dmi_vref@GOTPCREL(%rip), %rax
	movl	%r9d, (%rax)
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	addq	$48, %rsp
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @__const.fschmd_dmi_decode.shuffle
l___const.fschmd_dmi_decode.shuffle:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	2                               ## 0x2

	.comm	_dmi_mult,8,3                   ## @dmi_mult
	.comm	_dmi_offset,8,3                 ## @dmi_offset
	.comm	_dmi_vref,4,2                   ## @dmi_vref
	.no_dead_strip	_fschmd_dmi_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fschmd_dmi_decode
_fschmd_dmi_decode:                     ; @fschmd_dmi_decode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	str	wzr, [sp, #32]
	str	xzr, [sp, #24]
	str	wzr, [sp, #16]
	str	xzr, [sp, #8]
	ldr	w8, [x0]
	cmp	w8, #185
	b.ne	LBB0_13
; %bb.1:
	ldr	w9, [x0, #4]
	cmp	w9, #5
	b.lt	LBB0_13
; %bb.2:
	ldr	w8, [x0, #16]
	cmp	w8, #19
	ccmp	w9, #11, #0, eq
	b.lo	LBB0_13
; %bb.3:
	mov	w8, #0
	mov	w10, #0
	add	x11, x0, #40
	mov	w12, #10
	mov	w13, #1
	add	x14, sp, #24
	add	x15, sp, #8
Lloh3:
	adrp	x16, l___const.fschmd_dmi_decode.shuffle@PAGE
Lloh4:
	add	x16, x16, l___const.fschmd_dmi_decode.shuffle@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w12, w12, #5
	add	x11, x11, #20
	cmp	w12, w9
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w17, [x11, #-16]
	sub	w0, w17, #1
	cmp	w0, #2
	b.hi	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x16, w0, uxtw #2]
	lsl	w17, w13, w0
	tst	w17, w10
	b.ne	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x0, w0
	ldp	w1, w2, [x11, #-12]
	orr	w1, w1, w2, lsl #8
	lsl	x0, x0, #2
	str	w1, [x14, x0]
	ldp	w1, w2, [x11, #-4]
	orr	w1, w1, w2, lsl #8
	str	w1, [x15, x0]
	orr	w10, w17, w10
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w17, #7
	b.ne	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	tbnz	w10, #3, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldp	w8, w17, [x11, #-12]
	orr	w8, w8, w17, lsl #8
	orr	w10, w10, #0x8
	b	LBB0_4
LBB0_11:
	cmp	w10, #15
	b.ne	LBB0_13
; %bb.12:
Lloh5:
	adrp	x9, _dmi_mult@GOTPAGE
Lloh6:
	ldr	x9, [x9, _dmi_mult@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _dmi_offset@GOTPAGE
Lloh9:
	ldr	x10, [x10, _dmi_offset@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	ldp	w11, w12, [sp, #24]
	add	w11, w11, w11, lsl #2
	lsl	w11, w11, #1
	str	w11, [x9]
	ldp	w11, w13, [sp, #8]
	add	w11, w11, w11, lsl #2
	lsl	w11, w11, #1
	str	w11, [x10]
	add	w11, w12, w12, lsl #2
	lsl	w11, w11, #1
	str	w11, [x9, #4]
	add	w11, w13, w13, lsl #2
	lsl	w11, w11, #1
	str	w11, [x10, #4]
	ldr	w11, [sp, #32]
	add	w11, w11, w11, lsl #2
	lsl	w11, w11, #1
	str	w11, [x9, #8]
	ldr	w11, [sp, #16]
	add	w11, w11, w11, lsl #2
	lsl	w11, w11, #1
	str	w11, [x10, #8]
	ldp	w12, w11, [x9, #4]
	stp	w11, w12, [x9, #12]
	str	w11, [x9, #20]
	ldp	w11, w9, [x10, #4]
	stp	w9, w11, [x10, #12]
	str	w9, [x10, #20]
Lloh11:
	adrp	x9, _dmi_vref@GOTPAGE
Lloh12:
	ldr	x9, [x9, _dmi_vref@GOTPAGEOFF]
Lloh13:
	str	w8, [x9]
LBB0_13:
	ldur	x8, [x29, #-8]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.fschmd_dmi_decode.shuffle
l___const.fschmd_dmi_decode.shuffle:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	2                               ; 0x2

	.comm	_dmi_mult,8,3                   ; @dmi_mult
	.comm	_dmi_offset,8,3                 ; @dmi_offset
	.comm	_dmi_vref,4,2                   ; @dmi_vref
	.no_dead_strip	_fschmd_dmi_decode
.subsections_via_symbols
