	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_du_probe
_rcar_du_probe:                         ## @rcar_du_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, 16(%rax)
	movq	%r14, %rdi
	callq	_of_device_get_match_data
	movl	%eax, 24(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	8(%rbx), %rdi
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_rcar_du_driver@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	callq	_drm_dev_alloc
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%r15, %rdi
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_7:
	movq	%r15, (%rbx)
	movq	%rbx, 8(%r15)
	movq	%rbx, %rdi
	callq	_rcar_du_modeset_init
	testl	%eax, %eax
	js	LBB0_8
## %bb.11:
	movl	$1, (%r15)
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_drm_dev_register
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.12:
	movq	%r14, %rdi
	callq	_dev_name
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_DRM_INFO
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_drm_fbdev_generic_setup
	jmp	LBB0_13
LBB0_8:
	movl	%eax, %r12d
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r12d, %eax
	je	LBB0_10
## %bb.9:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_dev_err
LBB0_10:
	movq	%r14, %rdi
	callq	_rcar_du_remove
	movl	%r12d, %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_rcar_du_driver,4,2             ## @rcar_du_driver
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to initialize DRM/KMS (%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"Device %s probed\n"

	.no_dead_strip	_rcar_du_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_du_probe
_rcar_du_probe:                         ; @rcar_du_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #16]
	mov	x0, x19
	bl	_of_device_get_match_data
	str	w0, [x20, #24]
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh3:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x0, [x20, #8]
	b	LBB0_7
LBB0_3:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh9:
	adrp	x0, _rcar_du_driver@GOTPAGE
Lloh10:
	ldr	x0, [x0, _rcar_du_driver@GOTPAGEOFF]
	mov	x1, x19
	bl	_drm_dev_alloc
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.6:
	mov	x0, x21
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_8:
	str	x21, [x20]
	str	x20, [x21, #8]
	mov	x0, x20
	bl	_rcar_du_modeset_init
	tbnz	w0, #31, LBB0_11
; %bb.9:
	mov	w8, #1
	str	w8, [x21]
	mov	x0, x21
	mov	w1, #0
	bl	_drm_dev_register
	mov	x20, x0
	cbnz	w0, LBB0_13
; %bb.10:
	mov	x0, x19
	bl	_dev_name
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_INFO
	mov	x0, x21
	mov	w1, #32
	bl	_drm_fbdev_generic_setup
	b	LBB0_4
LBB0_11:
	mov	x20, x0
Lloh13:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_13
; %bb.12:
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_dev_err
LBB0_13:
	mov	x0, x19
	bl	_rcar_du_remove
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_rcar_du_driver,4,2             ; @rcar_du_driver
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to initialize DRM/KMS (%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"Device %s probed\n"

	.no_dead_strip	_rcar_du_probe
.subsections_via_symbols
