	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_ptg_find_ptype
_ice_ptg_find_ptype:                    ## @ice_ptg_find_ptype
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movq	_ICE_XLT1_CNT@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jbe	LBB0_2
## %bb.3:
	movq	(%rdi), %rax
	movl	%esi, %esi
	movq	(%rax,%rsi,8), %rax
	movl	(%rax,%rdx,4), %eax
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_ICE_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_XLT1_CNT,8,3               ## @ICE_XLT1_CNT
	.comm	_ICE_ERR_PARAM,4,2              ## @ICE_ERR_PARAM
	.no_dead_strip	_ice_ptg_find_ptype
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_ptg_find_ptype
_ice_ptg_find_ptype:                    ; @ice_ptg_find_ptype
	.cfi_startproc
; %bb.0:
	cbz	x3, LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _ICE_XLT1_CNT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ICE_XLT1_CNT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x2
	b.ls	LBB0_3
; %bb.2:
	mov	x8, x0
	mov	w0, #0
	ldr	x8, [x8]
	ldr	x8, [x8, w1, uxtw #3]
	ldr	w8, [x8, x2, lsl #2]
	str	w8, [x3]
	ret
LBB0_3:
Lloh3:
	adrp	x8, _ICE_ERR_PARAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICE_ERR_PARAM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_XLT1_CNT,8,3               ; @ICE_XLT1_CNT
	.comm	_ICE_ERR_PARAM,4,2              ; @ICE_ERR_PARAM
	.no_dead_strip	_ice_ptg_find_ptype
.subsections_via_symbols
