	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gswip_pce_load_microcode
_gswip_pce_load_microcode:              ## @gswip_pce_load_microcode
	.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
	movq	%rdi, %rbx
	movq	_GSWIP_PCE_TBL_CTRL_ADDR_MASK@GOTPCREL(%rip), %rax
	movq	_GSWIP_PCE_TBL_CTRL_OPMOD_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_GSWIP_PCE_TBL_CTRL_OPMOD_ADWR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GSWIP_PCE_TBL_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_gswip_switch_mask
	movq	_GSWIP_PCE_TBL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_gswip_switch_w
	movq	_gswip_pce_microcode@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_GSWIP_PCE_TBL_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_gswip_switch_w
	movq	(%rbx), %rax
	movl	(%rax,%r13), %r12d
	xorl	%edi, %edi
	callq	_GSWIP_PCE_TBL_VAL
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_gswip_switch_w
	movq	(%rbx), %rax
	movl	4(%rax,%r13), %r12d
	movl	$1, %edi
	callq	_GSWIP_PCE_TBL_VAL
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_gswip_switch_w
	movq	(%rbx), %rax
	movl	8(%rax,%r13), %r12d
	movl	$2, %edi
	callq	_GSWIP_PCE_TBL_VAL
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_gswip_switch_w
	movq	(%rbx), %rax
	movl	12(%rax,%r13), %r12d
	movl	$3, %edi
	callq	_GSWIP_PCE_TBL_VAL
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_gswip_switch_w
	movq	_GSWIP_PCE_TBL_CTRL_BAS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GSWIP_PCE_TBL_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_gswip_switch_mask
	movl	(%r12), %esi
	movq	_GSWIP_PCE_TBL_CTRL_BAS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_gswip_switch_r_timeout
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %r13
	cmpq	%rax, %r15
	jl	LBB0_3
LBB0_4:
	movq	_GSWIP_PCE_GCTRL_0_MC_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GSWIP_PCE_GCTRL_0@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_gswip_switch_mask
	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	_GSWIP_PCE_TBL_CTRL_ADDR_MASK,4,2 ## @GSWIP_PCE_TBL_CTRL_ADDR_MASK
	.comm	_GSWIP_PCE_TBL_CTRL_OPMOD_MASK,4,2 ## @GSWIP_PCE_TBL_CTRL_OPMOD_MASK
	.comm	_GSWIP_PCE_TBL_CTRL_OPMOD_ADWR,4,2 ## @GSWIP_PCE_TBL_CTRL_OPMOD_ADWR
	.comm	_GSWIP_PCE_TBL_CTRL,4,2         ## @GSWIP_PCE_TBL_CTRL
	.comm	_GSWIP_PCE_TBL_MASK,4,2         ## @GSWIP_PCE_TBL_MASK
	.comm	_gswip_pce_microcode,8,3        ## @gswip_pce_microcode
	.comm	_GSWIP_PCE_TBL_ADDR,4,2         ## @GSWIP_PCE_TBL_ADDR
	.comm	_GSWIP_PCE_TBL_CTRL_BAS,4,2     ## @GSWIP_PCE_TBL_CTRL_BAS
	.comm	_GSWIP_PCE_GCTRL_0_MC_VALID,4,2 ## @GSWIP_PCE_GCTRL_0_MC_VALID
	.comm	_GSWIP_PCE_GCTRL_0,4,2          ## @GSWIP_PCE_GCTRL_0
	.no_dead_strip	_gswip_pce_load_microcode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gswip_pce_load_microcode
_gswip_pce_load_microcode:              ; @gswip_pce_load_microcode
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, _GSWIP_PCE_TBL_CTRL_ADDR_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSWIP_PCE_TBL_CTRL_ADDR_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _GSWIP_PCE_TBL_CTRL_OPMOD_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GSWIP_PCE_TBL_CTRL_OPMOD_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh6:
	adrp	x8, _GSWIP_PCE_TBL_CTRL_OPMOD_ADWR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GSWIP_PCE_TBL_CTRL_OPMOD_ADWR@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x22, _GSWIP_PCE_TBL_CTRL@GOTPAGE
Lloh10:
	ldr	x22, [x22, _GSWIP_PCE_TBL_CTRL@GOTPAGEOFF]
	ldr	w3, [x22]
	bl	_gswip_switch_mask
Lloh11:
	adrp	x8, _GSWIP_PCE_TBL_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GSWIP_PCE_TBL_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_gswip_switch_w
Lloh14:
	adrp	x23, _gswip_pce_microcode@GOTPAGE
Lloh15:
	ldr	x23, [x23, _gswip_pce_microcode@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x24, #0
	mov	x20, #0
Lloh16:
	adrp	x25, _GSWIP_PCE_TBL_ADDR@GOTPAGE
Lloh17:
	ldr	x25, [x25, _GSWIP_PCE_TBL_ADDR@GOTPAGEOFF]
Lloh18:
	adrp	x26, _GSWIP_PCE_TBL_CTRL_BAS@GOTPAGE
Lloh19:
	ldr	x26, [x26, _GSWIP_PCE_TBL_CTRL_BAS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x25]
	mov	x0, x19
	mov	x1, x20
	bl	_gswip_switch_w
	ldr	x8, [x23]
	ldr	w21, [x8, x24]
	mov	w0, #0
	bl	_GSWIP_PCE_TBL_VAL
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_gswip_switch_w
	ldr	x8, [x23]
	add	x8, x8, x24
	ldr	w21, [x8, #4]
	mov	w0, #1
	bl	_GSWIP_PCE_TBL_VAL
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_gswip_switch_w
	ldr	x8, [x23]
	add	x8, x8, x24
	ldr	w21, [x8, #8]
	mov	w0, #2
	bl	_GSWIP_PCE_TBL_VAL
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_gswip_switch_w
	ldr	x8, [x23]
	add	x8, x8, x24
	ldr	w21, [x8, #12]
	mov	w0, #3
	bl	_GSWIP_PCE_TBL_VAL
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_gswip_switch_w
	ldr	w2, [x26]
	ldr	w3, [x22]
	mov	x0, x19
	mov	w1, #0
	bl	_gswip_switch_mask
	ldr	w1, [x22]
	ldr	w2, [x26]
	mov	x0, x19
	bl	_gswip_switch_r_timeout
	cbnz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #1
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	add	x24, x24, #16
	cmp	x20, w0, sxtw
	b.lt	LBB0_2
LBB0_4:
Lloh20:
	adrp	x8, _GSWIP_PCE_GCTRL_0_MC_VALID@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GSWIP_PCE_GCTRL_0_MC_VALID@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x8, _GSWIP_PCE_GCTRL_0@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GSWIP_PCE_GCTRL_0@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_gswip_switch_mask
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_GSWIP_PCE_TBL_CTRL_ADDR_MASK,4,2 ; @GSWIP_PCE_TBL_CTRL_ADDR_MASK
	.comm	_GSWIP_PCE_TBL_CTRL_OPMOD_MASK,4,2 ; @GSWIP_PCE_TBL_CTRL_OPMOD_MASK
	.comm	_GSWIP_PCE_TBL_CTRL_OPMOD_ADWR,4,2 ; @GSWIP_PCE_TBL_CTRL_OPMOD_ADWR
	.comm	_GSWIP_PCE_TBL_CTRL,4,2         ; @GSWIP_PCE_TBL_CTRL
	.comm	_GSWIP_PCE_TBL_MASK,4,2         ; @GSWIP_PCE_TBL_MASK
	.comm	_gswip_pce_microcode,8,3        ; @gswip_pce_microcode
	.comm	_GSWIP_PCE_TBL_ADDR,4,2         ; @GSWIP_PCE_TBL_ADDR
	.comm	_GSWIP_PCE_TBL_CTRL_BAS,4,2     ; @GSWIP_PCE_TBL_CTRL_BAS
	.comm	_GSWIP_PCE_GCTRL_0_MC_VALID,4,2 ; @GSWIP_PCE_GCTRL_0_MC_VALID
	.comm	_GSWIP_PCE_GCTRL_0,4,2          ; @GSWIP_PCE_GCTRL_0
	.no_dead_strip	_gswip_pce_load_microcode
.subsections_via_symbols
