	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DownloadMicrocode
_DownloadMicrocode:                     ## @DownloadMicrocode
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	16(%rsi), %r15d
	shll	$8, %r15d
	orl	20(%rsi), %r15d
	jle	LBB0_1
## %bb.2:
	movq	%rsi, %r13
	movq	%rdi, %r14
	addq	$32, %r13
	movq	_DRX_I2C_CLEARCRC@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %eax
	movl	4(%r13), %ecx
	shll	$24, %eax
	shll	$16, %ecx
	orl	%eax, %ecx
	movl	8(%r13), %esi
	shll	$8, %esi
	orl	%ecx, %esi
	orl	12(%r13), %esi
	movl	16(%r13), %ebx
	shll	$8, %ebx
	orl	20(%r13), %ebx
	leal	(,%rbx,4), %edx
	addq	$64, %r13
	movl	(%r12), %r8d
	movq	%r14, %rdi
	movq	%r13, %rcx
	callq	_WriteBlock
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	shlq	$34, %rbx
	sarq	$30, %rbx
	addq	%rbx, %r13
	decl	%r15d
	jne	LBB0_3
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRX_I2C_CLEARCRC,4,2           ## @DRX_I2C_CLEARCRC
	.no_dead_strip	_DownloadMicrocode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DownloadMicrocode
_DownloadMicrocode:                     ; @DownloadMicrocode
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldp	w8, w9, [x1, #16]
	orr	w21, w9, w8, lsl #8
	cmp	w21, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x0
	add	x8, x1, #32
Lloh0:
	adrp	x22, _DRX_I2C_CLEARCRC@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DRX_I2C_CLEARCRC@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w9, w10, [x8]
	lsl	w10, w10, #16
	orr	w9, w10, w9, lsl #24
	ldp	w10, w11, [x8, #8]
	orr	w9, w9, w10, lsl #8
	orr	w1, w9, w11
	ldp	w9, w10, [x8, #16]
	orr	w23, w10, w9, lsl #8
	lsl	w2, w23, #2
	add	x20, x8, #64
	ldr	w4, [x22]
	mov	x0, x19
	mov	x3, x20
	bl	_WriteBlock
	tbnz	w0, #31, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	lsl	x8, x23, #34
	add	x8, x20, x8, asr #30
	subs	w21, w21, #1
	b.ne	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DRX_I2C_CLEARCRC,4,2           ; @DRX_I2C_CLEARCRC
	.no_dead_strip	_DownloadMicrocode
.subsections_via_symbols
