	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function malidp650_query_hw
_malidp650_query_hw:                    ## @malidp650_query_hw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_MALIDP550_CONFIG_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_malidp_hw_read
                                        ## kill: def $eax killed $eax def $rax
	shrl	$4, %eax
	andl	$3, %eax
	movl	$4, (%rbx)
	movl	$80, %ecx
	movl	$2560, %edx                     ## imm = 0xA00
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rax,4), %rax
	addq	%rsi, %rax
	jmpq	*%rax
LBB0_1:
	movl	$0, 4(%rbx)
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_2:
	movq	_SZ_4K@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$128, %ecx
LBB0_3:
	movl	%edx, 4(%rbx)
	movq	_SZ_1K@GOTPCREL(%rip), %rax
	imull	(%rax), %ecx
	movq	8(%rbx), %rax
	movl	%ecx, 4(%rax)
	movl	%ecx, (%rax)
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_1
	.long	L0_0_set_2
	.long	L0_0_set_1
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_MALIDP550_CONFIG_ID,4,2        ## @MALIDP550_CONFIG_ID
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SZ_4K,4,2                      ## @SZ_4K
	.comm	_SZ_1K,4,2                      ## @SZ_1K
	.no_dead_strip	_malidp650_query_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function malidp650_query_hw
_malidp650_query_hw:                    ; @malidp650_query_hw
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _MALIDP550_CONFIG_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MALIDP550_CONFIG_ID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_malidp_hw_read
	ubfx	w10, w0, #4, #2
	mov	w8, #4
	str	w8, [x19]
	mov	w8, #80
	mov	w9, #2560
Lloh3:
	adrp	x11, lJTI0_0@PAGE
Lloh4:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_1
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_1:
	str	wzr, [x19, #4]
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_2:
Lloh8:
	adrp	x8, _SZ_4K@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SZ_4K@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x8]
	mov	w8, #128
LBB0_3:
	mov	w0, #0
Lloh11:
	adrp	x10, _SZ_1K@GOTPAGE
Lloh12:
	ldr	x10, [x10, _SZ_1K@GOTPAGEOFF]
	str	w9, [x19, #4]
Lloh13:
	ldr	w9, [x10]
	mul	w8, w9, w8
	ldr	x9, [x19, #8]
	stp	w8, w8, [x9]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
                                        ; -- End function
	.comm	_MALIDP550_CONFIG_ID,4,2        ; @MALIDP550_CONFIG_ID
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SZ_4K,4,2                      ; @SZ_4K
	.comm	_SZ_1K,4,2                      ; @SZ_1K
	.no_dead_strip	_malidp650_query_hw
.subsections_via_symbols
