	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function armada_drm_probe
_armada_drm_probe:                      ## @armada_drm_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	$0, -48(%rbp)
	movq	_compare_dev_name@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_armada_master_ops@GOTPCREL(%rip), %rdx
	callq	_drm_of_component_probe
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	movl	%eax, %edx
	addl	(%rcx), %edx
	jne	LBB0_15
## %bb.1:
	movq	(%r12), %r13
	testq	%r13, %r13
	je	LBB0_2
## %bb.3:
	movq	(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.4:
	leaq	8(%r13), %r15
	leaq	-48(%rbp), %rbx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_component_match_add
	movq	(%r15), %rcx
	addq	$8, %r15
	testq	%rcx, %rcx
	jne	LBB0_5
## %bb.6:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_16
## %bb.7:
	movq	(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.8:
	addq	$8, %r13
	movq	_platform_bus_type@GOTPCREL(%rip), %r14
	leaq	-48(%rbp), %r15
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	callq	_put_device
	movq	(%r13), %rdx
	addq	$8, %r13
	testq	%rdx, %rdx
	je	LBB0_13
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_bus_find_device_by_name
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_armada_add_endpoints
	jmp	LBB0_12
LBB0_2:
	xorl	%edx, %edx
	jmp	LBB0_14
LBB0_16:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
LBB0_13:
	movq	-48(%rbp), %rdx
LBB0_14:
	movq	_armada_master_ops@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_component_master_add_with_match
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_compare_dev_name,4,2           ## @compare_dev_name
	.comm	_armada_master_ops,4,2          ## @armada_master_ops
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"missing 'ports' property\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_platform_bus_type,4,2          ## @platform_bus_type
	.no_dead_strip	_armada_drm_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function armada_drm_probe
_armada_drm_probe:                      ; @armada_drm_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x20, _compare_dev_name@GOTPAGE
Lloh1:
	ldr	x20, [x20, _compare_dev_name@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x2, _armada_master_ops@GOTPAGE
Lloh3:
	ldr	x2, [x2, _armada_master_ops@GOTPAGEOFF]
	bl	_drm_of_component_probe
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_16
; %bb.1:
	ldr	x21, [x19]
	cbz	x21, LBB0_12
; %bb.2:
	ldr	x22, [x21]
	cbz	x22, LBB0_13
; %bb.3:
	mov	w23, #8
	mov	x3, x22
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x20]
	add	x1, sp, #8
	mov	x0, x19
	bl	_component_match_add
	ldr	x3, [x21, x23]
	add	x23, x23, #8
	cbnz	x3, LBB0_4
; %bb.5:
	cbz	x22, LBB0_13
; %bb.6:
	ldr	x2, [x21]
	cbz	x2, LBB0_14
; %bb.7:
	add	x22, x21, #8
Lloh7:
	adrp	x20, _platform_bus_type@GOTPAGE
Lloh8:
	ldr	x20, [x20, _platform_bus_type@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	bl	_put_device
	ldr	x2, [x22], #8
	cbz	x2, LBB0_14
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, #0
	bl	_bus_find_device_by_name
	mov	x21, x0
	cbz	x0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x2, [x21, #8]
	cbz	x2, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x1, sp, #8
	mov	x0, x19
	bl	_armada_add_endpoints
	b	LBB0_8
LBB0_12:
	mov	x2, #0
	b	LBB0_15
LBB0_13:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
LBB0_14:
	ldr	x2, [sp, #8]
LBB0_15:
Lloh14:
	adrp	x1, _armada_master_ops@GOTPAGE
Lloh15:
	ldr	x1, [x1, _armada_master_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_component_master_add_with_match
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_compare_dev_name,4,2           ; @compare_dev_name
	.comm	_armada_master_ops,4,2          ; @armada_master_ops
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"missing 'ports' property\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_platform_bus_type,4,2          ; @platform_bus_type
	.no_dead_strip	_armada_drm_probe
.subsections_via_symbols
