	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gswip_pce_table_entry_read
_gswip_pce_table_entry_read:            ## @gswip_pce_table_entry_read
	.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	%rsi, %r12
	movq	%rdi, %r14
	movq	48(%rsi), %r13
	movq	_GSWIP_PCE_TBL_CTRL_OPMOD_KSRD@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_GSWIP_PCE_TBL_CTRL_OPMOD_ADRD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_GSWIP_PCE_TBL_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GSWIP_PCE_TBL_CTRL_BAS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_gswip_switch_r_timeout
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	testq	%r13, %r13
	cmovel	%ebx, %r15d
	movl	40(%r12), %esi
	movq	_GSWIP_PCE_TBL_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_gswip_switch_w
	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
	orl	(%r12), %r15d
	movq	_GSWIP_PCE_TBL_CTRL_BAS@GOTPCREL(%rip), %r13
	orl	(%r13), %r15d
	movq	_GSWIP_PCE_TBL_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_gswip_switch_mask
	movl	(%rbx), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_gswip_switch_r_timeout
	testl	%eax, %eax
	jne	LBB0_9
## %bb.2:
	movq	_GSWIP_PCE_TBL_CTRL@GOTPCREL(%rip), %r15
	movq	32(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_GSWIP_PCE_TBL_KEY
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_gswip_switch_r
	movq	32(%r12), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movq	32(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movq	24(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_GSWIP_PCE_TBL_VAL
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_gswip_switch_r
	movq	24(%r12), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movq	24(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_7
LBB0_8:
	movq	_GSWIP_PCE_TBL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_gswip_switch_r
	movq	%rax, 16(%r12)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_gswip_switch_r
	movq	_GSWIP_PCE_TBL_CTRL_TYPE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%dl
	movl	%edx, 4(%r12)
	movq	_GSWIP_PCE_TBL_CTRL_VLD@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%dl
	movl	%edx, 8(%r12)
	movq	_GSWIP_PCE_TBL_CTRL_GMAP_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	sarl	$7, %eax
	movl	%eax, 12(%r12)
	xorl	%eax, %eax
LBB0_9:
	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_OPMOD_KSRD,4,2 ## @GSWIP_PCE_TBL_CTRL_OPMOD_KSRD
	.comm	_GSWIP_PCE_TBL_CTRL_OPMOD_ADRD,4,2 ## @GSWIP_PCE_TBL_CTRL_OPMOD_ADRD
	.comm	_GSWIP_PCE_TBL_CTRL,4,2         ## @GSWIP_PCE_TBL_CTRL
	.comm	_GSWIP_PCE_TBL_CTRL_BAS,4,2     ## @GSWIP_PCE_TBL_CTRL_BAS
	.comm	_GSWIP_PCE_TBL_ADDR,4,2         ## @GSWIP_PCE_TBL_ADDR
	.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_MASK,4,2         ## @GSWIP_PCE_TBL_MASK
	.comm	_GSWIP_PCE_TBL_CTRL_TYPE,4,2    ## @GSWIP_PCE_TBL_CTRL_TYPE
	.comm	_GSWIP_PCE_TBL_CTRL_VLD,4,2     ## @GSWIP_PCE_TBL_CTRL_VLD
	.comm	_GSWIP_PCE_TBL_CTRL_GMAP_MASK,4,2 ## @GSWIP_PCE_TBL_CTRL_GMAP_MASK
	.no_dead_strip	_gswip_pce_table_entry_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gswip_pce_table_entry_read
_gswip_pce_table_entry_read:            ; @gswip_pce_table_entry_read
	.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, x1
	mov	x20, x0
	ldr	x23, [x1, #48]
Lloh0:
	adrp	x8, _GSWIP_PCE_TBL_CTRL_OPMOD_KSRD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSWIP_PCE_TBL_CTRL_OPMOD_KSRD@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
Lloh3:
	adrp	x8, _GSWIP_PCE_TBL_CTRL_OPMOD_ADRD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GSWIP_PCE_TBL_CTRL_OPMOD_ADRD@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
Lloh6:
	adrp	x22, _GSWIP_PCE_TBL_CTRL@GOTPAGE
Lloh7:
	ldr	x22, [x22, _GSWIP_PCE_TBL_CTRL@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh8:
	adrp	x21, _GSWIP_PCE_TBL_CTRL_BAS@GOTPAGE
Lloh9:
	ldr	x21, [x21, _GSWIP_PCE_TBL_CTRL_BAS@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_gswip_switch_r_timeout
	cbnz	w0, LBB0_9
; %bb.1:
	cmp	x23, #0
	csel	w23, w25, w24, eq
	ldr	w1, [x19, #40]
Lloh10:
	adrp	x8, _GSWIP_PCE_TBL_ADDR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GSWIP_PCE_TBL_ADDR@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_gswip_switch_w
Lloh13:
	adrp	x8, _GSWIP_PCE_TBL_CTRL_ADDR_MASK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GSWIP_PCE_TBL_CTRL_ADDR_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _GSWIP_PCE_TBL_CTRL_OPMOD_MASK@GOTPAGE
Lloh17:
	ldr	x9, [x9, _GSWIP_PCE_TBL_CTRL_OPMOD_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w1, w9, w8
	ldr	w8, [x19]
	orr	w8, w8, w23
	ldr	w9, [x21]
	orr	w2, w8, w9
	ldr	w3, [x22]
	mov	x0, x20
	bl	_gswip_switch_mask
	ldr	w1, [x22]
	ldr	w2, [x21]
	mov	x0, x20
	bl	_gswip_switch_r_timeout
	cbnz	w0, LBB0_9
; %bb.2:
	ldr	x0, [x19, #32]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_GSWIP_PCE_TBL_KEY
	mov	x1, x0
	mov	x0, x20
	bl	_gswip_switch_r
	ldr	x8, [x19, #32]
	str	x0, [x8, x21, lsl #3]
	add	x21, x21, #1
	ldr	x0, [x19, #32]
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_4
LBB0_5:
	ldr	x0, [x19, #24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x21, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_GSWIP_PCE_TBL_VAL
	mov	x1, x0
	mov	x0, x20
	bl	_gswip_switch_r
	ldr	x8, [x19, #24]
	str	x0, [x8, x21, lsl #3]
	add	x21, x21, #1
	ldr	x0, [x19, #24]
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_7
LBB0_8:
Lloh19:
	adrp	x8, _GSWIP_PCE_TBL_MASK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GSWIP_PCE_TBL_MASK@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_gswip_switch_r
	str	x0, [x19, #16]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_gswip_switch_r
	mov	x8, x0
	mov	w0, #0
Lloh22:
	adrp	x9, _GSWIP_PCE_TBL_CTRL_TYPE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _GSWIP_PCE_TBL_CTRL_TYPE@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
Lloh25:
	adrp	x9, _GSWIP_PCE_TBL_CTRL_VLD@GOTPAGE
Lloh26:
	ldr	x9, [x9, _GSWIP_PCE_TBL_CTRL_VLD@GOTPAGEOFF]
	cset	w10, ne
Lloh27:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w9, ne
	stp	w10, w9, [x19, #4]
Lloh28:
	adrp	x9, _GSWIP_PCE_TBL_CTRL_GMAP_MASK@GOTPAGE
Lloh29:
	ldr	x9, [x9, _GSWIP_PCE_TBL_CTRL_GMAP_MASK@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	and	w8, w9, w8
	asr	w8, w8, #7
	str	w8, [x19, #12]
LBB0_9:
	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	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_GSWIP_PCE_TBL_CTRL_OPMOD_KSRD,4,2 ; @GSWIP_PCE_TBL_CTRL_OPMOD_KSRD
	.comm	_GSWIP_PCE_TBL_CTRL_OPMOD_ADRD,4,2 ; @GSWIP_PCE_TBL_CTRL_OPMOD_ADRD
	.comm	_GSWIP_PCE_TBL_CTRL,4,2         ; @GSWIP_PCE_TBL_CTRL
	.comm	_GSWIP_PCE_TBL_CTRL_BAS,4,2     ; @GSWIP_PCE_TBL_CTRL_BAS
	.comm	_GSWIP_PCE_TBL_ADDR,4,2         ; @GSWIP_PCE_TBL_ADDR
	.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_MASK,4,2         ; @GSWIP_PCE_TBL_MASK
	.comm	_GSWIP_PCE_TBL_CTRL_TYPE,4,2    ; @GSWIP_PCE_TBL_CTRL_TYPE
	.comm	_GSWIP_PCE_TBL_CTRL_VLD,4,2     ; @GSWIP_PCE_TBL_CTRL_VLD
	.comm	_GSWIP_PCE_TBL_CTRL_GMAP_MASK,4,2 ; @GSWIP_PCE_TBL_CTRL_GMAP_MASK
	.no_dead_strip	_gswip_pce_table_entry_read
.subsections_via_symbols
