	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msm_pdev_probe
_msm_pdev_probe:                        ## @msm_pdev_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	$0, -24(%rbp)
	callq	_get_mdp_ver
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	-24(%rbp), %rsi
	movq	%r14, %rdi
	callq	_add_display_components
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
LBB0_2:
	leaq	-24(%rbp), %rsi
	movq	%r14, %rdi
	callq	_add_gpu_components
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_dma_set_mask_and_coherent
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	-24(%rbp), %rdx
	movq	_msm_drm_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_component_master_add_with_match
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	callq	_of_platform_depopulate
LBB0_7:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_msm_drm_ops,4,2                ## @msm_drm_ops
	.no_dead_strip	_msm_pdev_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msm_pdev_probe
_msm_pdev_probe:                        ; @msm_pdev_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]
	bl	_get_mdp_ver
	cbz	x0, LBB0_2
; %bb.1:
	add	x1, sp, #8
	mov	x0, x19
	bl	_add_display_components
	mov	x20, x0
	cbnz	w0, LBB0_6
LBB0_2:
	add	x1, sp, #8
	mov	x0, x19
	bl	_add_gpu_components
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.3:
	mov	x0, x19
	mov	w1, #-1
	bl	_dma_set_mask_and_coherent
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	x2, [sp, #8]
Lloh0:
	adrp	x1, _msm_drm_ops@GOTPAGE
Lloh1:
	ldr	x1, [x1, _msm_drm_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_component_master_add_with_match
	mov	x20, x0
	cbz	w0, LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_of_platform_depopulate
LBB0_6:
	mov	x0, x20
	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	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_msm_drm_ops,4,2                ; @msm_drm_ops
	.no_dead_strip	_msm_pdev_probe
.subsections_via_symbols
