	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipu3_fb_attach
_ipu3_fb_attach:                        ## @ipu3_fb_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	%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
	movl	%edi, %r12d
	callq	_device_get_softc
	movq	%rax, %rbx
	movq	_ipu3sc_softc@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_IMX51CLK_IPU_HSP_CLK_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_imx51_get_clk_gating
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_device_printf
LBB0_2:
	movl	%r12d, (%rbx)
	movl	%r12d, %edi
	callq	_device_get_softc
	movq	%rax, %r14
	movq	_fdtbus_bs_tag@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r15d, 16(%r14)
	movl	%r12d, %edi
	callq	_ofw_bus_get_node
	leaq	L_.str.1(%rip), %rsi
	leaq	-56(%rbp), %rdx
	movl	%eax, %edi
	movl	$8, %ecx
	callq	_OF_getencprop
	testq	%rax, %rax
	jle	LBB0_3
## %bb.4:
	movq	-56(%rbp), %r13
	xorl	%edi, %edi
	callq	_IPU_CM_BASE
	subq	%rax, %r13
	jmp	LBB0_5
LBB0_3:
	xorl	%r13d, %r13d
LBB0_5:
	movq	%r13, %rdi
	callq	_IPU_CM_BASE
	movq	_IPU_CM_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-48(%rbp), %r8
	movl	%r15d, %edi
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	callq	_bus_space_map
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_25
## %bb.6:
	movq	-48(%rbp), %rax
	movq	%rax, 112(%r14)
	movq	%r13, %rdi
	callq	_IPU_DMFC_BASE
	movq	_IPU_DMFC_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-48(%rbp), %r8
	movl	%r15d, %edi
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	callq	_bus_space_map
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_24
## %bb.7:
	movq	-48(%rbp), %rax
	movq	%rax, 24(%r14)
	movq	%r13, %rdi
	callq	_IPU_DI0_BASE
	movq	_IPU_DI0_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-48(%rbp), %r8
	movl	%r15d, %edi
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	callq	_bus_space_map
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.8:
	movq	-48(%rbp), %rax
	movq	%rax, 32(%r14)
	movq	%r13, %rdi
	callq	_IPU_DI1_BASE
	movq	_IPU_DI0_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-48(%rbp), %r8
	movl	%r15d, %edi
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	callq	_bus_space_map
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_22
## %bb.9:
	movq	-48(%rbp), %rax
	movq	%rax, 40(%r14)
	movq	%r13, %rdi
	callq	_IPU_DP_BASE
	movq	_IPU_DP_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-48(%rbp), %r8
	movl	%r15d, %edi
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	callq	_bus_space_map
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_10
LBB0_20:
	movl	16(%r14), %edi
	movq	48(%r14), %rsi
	movq	_IPU_DP_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bus_space_unmap
	jmp	LBB0_21
LBB0_10:
	movq	-48(%rbp), %rax
	movq	%rax, 48(%r14)
	movq	%r13, %rdi
	callq	_IPU_DC_BASE
	movq	_IPU_DC_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-48(%rbp), %r8
	movl	%r15d, %edi
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	callq	_bus_space_map
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_11
LBB0_21:
	movl	16(%r14), %edi
	movq	40(%r14), %rsi
	movq	_IPU_DI1_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bus_space_unmap
LBB0_22:
	movl	16(%r14), %edi
	movq	32(%r14), %rsi
	movq	_IPU_DI0_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bus_space_unmap
LBB0_23:
	movl	16(%r14), %edi
	movq	24(%r14), %rsi
	movq	_IPU_DMFC_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bus_space_unmap
LBB0_24:
	movl	16(%r14), %edi
	movq	8(%r14), %rsi
	movq	_IPU_CM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bus_space_unmap
LBB0_25:
	movl	(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_device_printf
LBB0_26:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	-48(%rbp), %rax
	movq	%rax, 8(%r14)
	movq	%r13, %rdi
	callq	_IPU_IDMAC_BASE
	movq	_IPU_IDMAC_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-48(%rbp), %r8
	movl	%r15d, %edi
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	callq	_bus_space_map
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_19
## %bb.12:
	movq	-48(%rbp), %rax
	movq	%rax, 56(%r14)
	movq	%r13, %rdi
	callq	_IPU_CPMEM_BASE
	movq	_IPU_CPMEM_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-48(%rbp), %r8
	movl	%r15d, %edi
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	callq	_bus_space_map
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.13:
	movq	-48(%rbp), %rax
	movq	%rax, 64(%r14)
	movq	%r13, %rdi
	callq	_IPU_DCTMPL_BASE
	movq	_IPU_DCTMPL_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-48(%rbp), %r8
	movl	%r15d, %edi
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	callq	_bus_space_map
	testl	%eax, %eax
	je	LBB0_14
## %bb.17:
	movl	%eax, %ebx
	movl	16(%r14), %edi
	movq	64(%r14), %rsi
	movq	_IPU_CPMEM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bus_space_unmap
LBB0_18:
	movl	16(%r14), %edi
	movq	56(%r14), %rsi
	movq	_IPU_IDMAC_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bus_space_unmap
LBB0_19:
	movl	16(%r14), %edi
	movq	8(%r14), %rsi
	movq	_IPU_DC_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bus_space_unmap
	jmp	LBB0_20
LBB0_14:
	movq	-48(%rbp), %rax
	movq	%rax, 104(%r14)
	movq	%r14, %rdi
	callq	_ipu3_fb_init
	movl	%r12d, %edi
	callq	_device_get_nameunit
	movl	%eax, 92(%r14)
	movl	84(%r14), %esi
	movl	88(%r14), %edi
	callq	_ipu3_fb_init_cmap
	movl	$16, 80(%r14)
	movl	%r12d, %edi
	callq	_device_get_unit
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edi
	movl	%eax, %edx
	callq	_device_add_child
	movq	%rax, 72(%r14)
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:
	leaq	L_.str.3(%rip), %rsi
	movl	%r12d, %edi
	xorl	%eax, %eax
	callq	_device_printf
LBB0_16:
	movl	%r12d, %edi
	callq	_bus_generic_attach
	movl	%eax, %ebx
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_ipu3sc_softc,8,3               ## @ipu3sc_softc
	.comm	_bootverbose,8,3                ## @bootverbose
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clock gate status is %d\n"

	.comm	_IMX51CLK_IPU_HSP_CLK_ROOT,4,2  ## @IMX51CLK_IPU_HSP_CLK_ROOT
	.comm	_fdtbus_bs_tag,4,2              ## @fdtbus_bs_tag
L_.str.1:                               ## @.str.1
	.asciz	"reg"

	.comm	_IPU_CM_SIZE,4,2                ## @IPU_CM_SIZE
	.comm	_IPU_DMFC_SIZE,4,2              ## @IPU_DMFC_SIZE
	.comm	_IPU_DI0_SIZE,4,2               ## @IPU_DI0_SIZE
	.comm	_IPU_DP_SIZE,4,2                ## @IPU_DP_SIZE
	.comm	_IPU_DC_SIZE,4,2                ## @IPU_DC_SIZE
	.comm	_IPU_IDMAC_SIZE,4,2             ## @IPU_IDMAC_SIZE
	.comm	_IPU_CPMEM_SIZE,4,2             ## @IPU_CPMEM_SIZE
	.comm	_IPU_DCTMPL_SIZE,4,2            ## @IPU_DCTMPL_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"fbd"

L_.str.3:                               ## @.str.3
	.asciz	"Can't attach fbd device\n"

	.comm	_IPU_DI1_SIZE,4,2               ## @IPU_DI1_SIZE
L_.str.4:                               ## @.str.4
	.asciz	"failed to map registers (errno=%d)\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_IMX51_INT_IPUV3,4,2            ## @IMX51_INT_IPUV3
	.comm	_IPL_BIO,4,2                    ## @IPL_BIO
	.comm	_ipuv3intr,4,2                  ## @ipuv3intr
	.no_dead_strip	_ipu3_fb_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipu3_fb_attach
_ipu3_fb_attach:                        ; @ipu3_fb_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	bl	_device_get_softc
	mov	x19, x0
Lloh0:
	adrp	x8, _ipu3sc_softc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ipu3sc_softc@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
Lloh3:
	adrp	x8, _bootverbose@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _IMX51CLK_IPU_HSP_CLK_ROOT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IMX51CLK_IPU_HSP_CLK_ROOT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_imx51_get_clk_gating
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_device_printf
LBB0_2:
	str	w20, [x19]
	mov	x0, x20
	bl	_device_get_softc
	mov	x19, x0
Lloh11:
	adrp	x8, _fdtbus_bs_tag@GOTPAGE
Lloh12:
	ldr	x8, [x8, _fdtbus_bs_tag@GOTPAGEOFF]
Lloh13:
	ldr	w21, [x8]
	str	w21, [x0, #16]
	mov	x0, x20
	bl	_ofw_bus_get_node
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #16
	mov	w3, #8
	bl	_OF_getencprop
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.3:
	ldr	x22, [sp, #16]
	mov	x0, #0
	bl	_IPU_CM_BASE
	sub	x22, x22, x0
	b	LBB0_5
LBB0_4:
	mov	x22, #0
LBB0_5:
	mov	x0, x22
	bl	_IPU_CM_BASE
	mov	x1, x0
Lloh16:
	adrp	x24, _IPU_CM_SIZE@GOTPAGE
Lloh17:
	ldr	x24, [x24, _IPU_CM_SIZE@GOTPAGEOFF]
	ldr	w2, [x24]
	add	x4, sp, #24
	mov	x0, x21
	mov	w3, #0
	bl	_bus_space_map
	mov	x23, x0
	cbnz	w0, LBB0_16
; %bb.6:
	ldr	x8, [sp, #24]
	str	x8, [x19, #112]
	mov	x0, x22
	bl	_IPU_DMFC_BASE
	mov	x1, x0
Lloh18:
	adrp	x25, _IPU_DMFC_SIZE@GOTPAGE
Lloh19:
	ldr	x25, [x25, _IPU_DMFC_SIZE@GOTPAGEOFF]
	ldr	w2, [x25]
	add	x4, sp, #24
	mov	x0, x21
	mov	w3, #0
	bl	_bus_space_map
	mov	x23, x0
	cbnz	w0, LBB0_15
; %bb.7:
	ldr	x8, [sp, #24]
	str	x8, [x19, #24]
	mov	x0, x22
	bl	_IPU_DI0_BASE
	mov	x1, x0
Lloh20:
	adrp	x26, _IPU_DI0_SIZE@GOTPAGE
Lloh21:
	ldr	x26, [x26, _IPU_DI0_SIZE@GOTPAGEOFF]
	ldr	w2, [x26]
	add	x4, sp, #24
	mov	x0, x21
	mov	w3, #0
	bl	_bus_space_map
	mov	x23, x0
	cbnz	w0, LBB0_14
; %bb.8:
	ldr	x8, [sp, #24]
	str	x8, [x19, #32]
	mov	x0, x22
	bl	_IPU_DI1_BASE
	mov	x1, x0
	ldr	w2, [x26]
	add	x4, sp, #24
	mov	x0, x21
	mov	w3, #0
	bl	_bus_space_map
	mov	x23, x0
	cbnz	w0, LBB0_13
; %bb.9:
	ldr	x8, [sp, #24]
	str	x8, [x19, #40]
	mov	x0, x22
	bl	_IPU_DP_BASE
	mov	x1, x0
Lloh22:
	adrp	x27, _IPU_DP_SIZE@GOTPAGE
Lloh23:
	ldr	x27, [x27, _IPU_DP_SIZE@GOTPAGEOFF]
	ldr	w2, [x27]
	add	x4, sp, #24
	mov	x0, x21
	mov	w3, #0
	bl	_bus_space_map
	mov	x23, x0
	cbz	w0, LBB0_11
LBB0_10:
	ldr	w0, [x19, #16]
	ldr	x1, [x19, #48]
	ldr	w2, [x27]
	bl	_bus_space_unmap
	b	LBB0_12
LBB0_11:
	ldr	x8, [sp, #24]
	str	x8, [x19, #48]
	mov	x0, x22
	bl	_IPU_DC_BASE
	mov	x1, x0
Lloh24:
	adrp	x28, _IPU_DC_SIZE@GOTPAGE
Lloh25:
	ldr	x28, [x28, _IPU_DC_SIZE@GOTPAGEOFF]
	ldr	w2, [x28]
	add	x4, sp, #24
	mov	x0, x21
	mov	w3, #0
	bl	_bus_space_map
	mov	x23, x0
	cbz	w0, LBB0_18
LBB0_12:
	ldr	w0, [x19, #16]
	ldr	x1, [x19, #40]
Lloh26:
	adrp	x8, _IPU_DI1_SIZE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IPU_DI1_SIZE@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	bl	_bus_space_unmap
LBB0_13:
	ldr	w0, [x19, #16]
	ldr	x1, [x19, #32]
	ldr	w2, [x26]
	bl	_bus_space_unmap
LBB0_14:
	ldr	w0, [x19, #16]
	ldr	x1, [x19, #24]
	ldr	w2, [x25]
	bl	_bus_space_unmap
LBB0_15:
	ldr	w0, [x19, #16]
	ldr	x1, [x19, #8]
	ldr	w2, [x24]
	bl	_bus_space_unmap
LBB0_16:
	ldr	w0, [x19]
	str	x23, [sp]
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_device_printf
LBB0_17:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_18:
	ldr	x8, [sp, #24]
	str	x8, [x19, #8]
	mov	x0, x22
	bl	_IPU_IDMAC_BASE
	mov	x1, x0
Lloh31:
	adrp	x8, _IPU_IDMAC_SIZE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IPU_IDMAC_SIZE@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	add	x4, sp, #24
	mov	x0, x21
	mov	w3, #0
	bl	_bus_space_map
	mov	x23, x0
	cbnz	w0, LBB0_23
; %bb.19:
	ldr	x8, [sp, #24]
	str	x8, [x19, #56]
	mov	x0, x22
	bl	_IPU_CPMEM_BASE
	mov	x1, x0
Lloh34:
	adrp	x8, _IPU_CPMEM_SIZE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _IPU_CPMEM_SIZE@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	add	x4, sp, #24
	mov	x0, x21
	mov	w3, #0
	bl	_bus_space_map
	mov	x23, x0
	cbnz	w0, LBB0_22
; %bb.20:
	ldr	x8, [sp, #24]
	str	x8, [x19, #64]
	mov	x0, x22
	bl	_IPU_DCTMPL_BASE
	mov	x1, x0
Lloh37:
	adrp	x8, _IPU_DCTMPL_SIZE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _IPU_DCTMPL_SIZE@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	add	x4, sp, #24
	mov	x0, x21
	mov	w3, #0
	bl	_bus_space_map
	cbz	w0, LBB0_24
; %bb.21:
	mov	x23, x0
	ldr	w0, [x19, #16]
	ldr	x1, [x19, #64]
Lloh40:
	adrp	x8, _IPU_CPMEM_SIZE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _IPU_CPMEM_SIZE@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	bl	_bus_space_unmap
LBB0_22:
	ldr	w0, [x19, #16]
	ldr	x1, [x19, #56]
Lloh43:
	adrp	x8, _IPU_IDMAC_SIZE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _IPU_IDMAC_SIZE@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
	bl	_bus_space_unmap
LBB0_23:
	ldr	w0, [x19, #16]
	ldr	x1, [x19, #8]
	ldr	w2, [x28]
	bl	_bus_space_unmap
	b	LBB0_10
LBB0_24:
	ldr	x8, [sp, #24]
	str	x8, [x19, #104]
	mov	x0, x19
	bl	_ipu3_fb_init
	mov	x0, x20
	bl	_device_get_nameunit
	str	w0, [x19, #92]
	ldp	w1, w0, [x19, #84]
	bl	_ipu3_fb_init_cmap
	mov	w8, #16
	str	w8, [x19, #80]
	mov	x0, x20
	bl	_device_get_unit
	mov	x2, x0
Lloh46:
	adrp	x1, l_.str.2@PAGE
Lloh47:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_device_add_child
	str	x0, [x19, #72]
	cbnz	x0, LBB0_26
; %bb.25:
Lloh48:
	adrp	x1, l_.str.3@PAGE
Lloh49:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_device_printf
LBB0_26:
	mov	x0, x20
	bl	_bus_generic_attach
	mov	x23, x0
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_ipu3sc_softc,8,3               ; @ipu3sc_softc
	.comm	_bootverbose,8,3                ; @bootverbose
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clock gate status is %d\n"

	.comm	_IMX51CLK_IPU_HSP_CLK_ROOT,4,2  ; @IMX51CLK_IPU_HSP_CLK_ROOT
	.comm	_fdtbus_bs_tag,4,2              ; @fdtbus_bs_tag
l_.str.1:                               ; @.str.1
	.asciz	"reg"

	.comm	_IPU_CM_SIZE,4,2                ; @IPU_CM_SIZE
	.comm	_IPU_DMFC_SIZE,4,2              ; @IPU_DMFC_SIZE
	.comm	_IPU_DI0_SIZE,4,2               ; @IPU_DI0_SIZE
	.comm	_IPU_DP_SIZE,4,2                ; @IPU_DP_SIZE
	.comm	_IPU_DC_SIZE,4,2                ; @IPU_DC_SIZE
	.comm	_IPU_IDMAC_SIZE,4,2             ; @IPU_IDMAC_SIZE
	.comm	_IPU_CPMEM_SIZE,4,2             ; @IPU_CPMEM_SIZE
	.comm	_IPU_DCTMPL_SIZE,4,2            ; @IPU_DCTMPL_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"fbd"

l_.str.3:                               ; @.str.3
	.asciz	"Can't attach fbd device\n"

	.comm	_IPU_DI1_SIZE,4,2               ; @IPU_DI1_SIZE
l_.str.4:                               ; @.str.4
	.asciz	"failed to map registers (errno=%d)\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_IMX51_INT_IPUV3,4,2            ; @IMX51_INT_IPUV3
	.comm	_IPL_BIO,4,2                    ; @IPL_BIO
	.comm	_ipuv3intr,4,2                  ; @ipuv3intr
	.no_dead_strip	_ipu3_fb_attach
.subsections_via_symbols
