	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_etnaviv_pm_query_dom           ## -- Begin function etnaviv_pm_query_dom
	.p2align	4, 0x90
_etnaviv_pm_query_dom:                  ## @etnaviv_pm_query_dom
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_doms_meta@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	(%rsi), %rdx
	movq	8(%rsi), %rax
	shlq	$4, %rdx
	cmpq	(%rcx,%rdx), %rax
	jge	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	leaq	(%rcx,%rdx), %r14
	movq	8(%rcx,%rdx), %rcx
	movl	%eax, 16(%rsi)
	movl	4(%rcx,%rax,8), %edx
	movl	%edx, 24(%rsi)
	movl	20(%rsi), %edi
	movl	(%rcx,%rax,8), %esi
	movl	$4, %edx
	callq	_strncpy
	movq	8(%rbx), %rax
	incq	%rax
	cmpq	(%r14), %rax
	movl	$255, %ecx
	cmovneq	%rax, %rcx
	movq	%rcx, 8(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_doms_meta,8,3                  ## @doms_meta
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_etnaviv_pm_query_dom           ; -- Begin function etnaviv_pm_query_dom
	.p2align	2
_etnaviv_pm_query_dom:                  ; @etnaviv_pm_query_dom
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _doms_meta@GOTPAGE
Lloh1:
	ldr	x8, [x8, _doms_meta@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldp	x10, x8, [x1]
	add	x20, x9, x10, lsl #4
	ldr	x9, [x20]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	mov	x19, x1
	ldr	x9, [x20, #8]
	str	w8, [x1, #16]
	add	x8, x9, x8, lsl #3
	ldp	w1, w9, [x8]
	str	w9, [x19, #24]
	ldr	w0, [x19, #20]
	mov	w2, #4
	bl	_strncpy
	mov	w0, #0
	ldr	x8, [x19, #8]
	add	x9, x8, #1
	ldr	x10, [x20]
	cmp	x9, x10
	mov	w9, #255
	csinc	x8, x9, x8, eq
	str	x8, [x19, #8]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_doms_meta,8,3                  ; @doms_meta
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
