	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function malidp_platform_probe
_malidp_platform_probe:                 ## @malidp_platform_probe
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	$0, -32(%rbp)
	movl	(%rdi), %edi
	testl	%edi, %edi
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_of_graph_get_remote_node
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r15
	movq	_malidp_compare_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r15, %rcx
	callq	_drm_of_component_match_add
	movq	%r15, %rdi
	callq	_of_node_put
	movq	-32(%rbp), %rdx
	movq	_malidp_master_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_component_master_add_with_match
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_3:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_4:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_5:
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_malidp_compare_dev,4,2         ## @malidp_compare_dev
	.comm	_malidp_master_ops,4,2          ## @malidp_master_ops
	.no_dead_strip	_malidp_platform_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function malidp_platform_probe
_malidp_platform_probe:                 ; @malidp_platform_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	w0, [x0]
	cbz	w0, LBB0_3
; %bb.1:
	mov	w1, #0
	mov	w2, #0
	bl	_of_graph_get_remote_node
	cbz	x0, LBB0_3
; %bb.2:
	mov	x20, x0
Lloh0:
	adrp	x8, _malidp_compare_dev@GOTPAGE
Lloh1:
	ldr	x8, [x8, _malidp_compare_dev@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	x3, x20
	bl	_drm_of_component_match_add
	mov	x0, x20
	bl	_of_node_put
	ldr	x2, [sp, #8]
Lloh3:
	adrp	x1, _malidp_master_ops@GOTPAGE
Lloh4:
	ldr	x1, [x1, _malidp_master_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_component_master_add_with_match
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_malidp_compare_dev,4,2         ; @malidp_compare_dev
	.comm	_malidp_master_ops,4,2          ; @malidp_master_ops
	.no_dead_strip	_malidp_platform_probe
.subsections_via_symbols
