	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_mipi_dsi_rockchip_host_attach
_dw_mipi_dsi_rockchip_host_attach:      ## @dw_mipi_dsi_rockchip_host_attach
	.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, %rbx
	movq	(%rdi), %rdi
	movq	_dw_mipi_dsi_rockchip_ops@GOTPCREL(%rip), %rsi
	callq	_component_add
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r15d
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_DRM_DEV_ERROR
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	callq	_dw_mipi_dsi_rockchip_find_second
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	xorl	%r15d, %r15d
	testq	%r14, %r14
	je	LBB0_6
## %bb.4:
	movq	_dw_mipi_dsi_rockchip_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_component_add
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_DRM_DEV_ERROR
	movl	%ebx, %r15d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_dw_mipi_dsi_rockchip_ops,4,2   ## @dw_mipi_dsi_rockchip_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to register component: %d\n"

	.no_dead_strip	_dw_mipi_dsi_rockchip_host_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw_mipi_dsi_rockchip_host_attach
_dw_mipi_dsi_rockchip_host_attach:      ; @dw_mipi_dsi_rockchip_host_attach
	.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	x20, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x1, _dw_mipi_dsi_rockchip_ops@GOTPAGE
Lloh1:
	ldr	x1, [x1, _dw_mipi_dsi_rockchip_ops@GOTPAGEOFF]
	bl	_component_add
	cbz	w0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x0, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	mov	x2, x19
	bl	_DRM_DEV_ERROR
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x20
	bl	_dw_mipi_dsi_rockchip_find_second
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_6:
	cbz	x20, LBB0_9
; %bb.7:
Lloh4:
	adrp	x1, _dw_mipi_dsi_rockchip_ops@GOTPAGE
Lloh5:
	ldr	x1, [x1, _dw_mipi_dsi_rockchip_ops@GOTPAGEOFF]
	mov	x0, x20
	bl	_component_add
	mov	x19, x0
	cbz	w0, LBB0_3
; %bb.8:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	b	LBB0_2
LBB0_9:
	mov	w19, #0
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_dw_mipi_dsi_rockchip_ops,4,2   ; @dw_mipi_dsi_rockchip_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to register component: %d\n"

	.no_dead_strip	_dw_mipi_dsi_rockchip_host_attach
.subsections_via_symbols
