	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_pctrl_find_function_by_pin
_mtk_pctrl_find_function_by_pin:        ## @mtk_pctrl_find_function_by_pin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpq	$0, 8(%rax)
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edx, (%rax)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 24(%rax)
	leaq	16(%rax), %rax
	jne	LBB0_2
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mtk_pctrl_find_function_by_pin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_pctrl_find_function_by_pin
_mtk_pctrl_find_function_by_pin:        ; @mtk_pctrl_find_function_by_pin
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x0, [x8, w1, sxtw #3]
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x0]
	cmp	w8, w2
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x0, #24]
	add	x0, x0, #16
	cbnz	x8, LBB0_2
LBB0_4:
	mov	x0, #0
LBB0_5:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mtk_pctrl_find_function_by_pin
.subsections_via_symbols
