	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxsfb_probe
_mxsfb_probe:                           ## @mxsfb_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_mxsfb_dt_ids@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_of_match_device
	cmpl	$0, (%rbx)
	je	LBB0_1
## %bb.2:
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
LBB0_4:
	movq	_mxsfb_driver@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_drm_dev_alloc
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.11:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_5:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_mxsfb_load
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_drm_dev_register
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_mxsfb_unload
	movl	%r15d, %ebx
LBB0_9:
	movq	%r14, %rdi
	callq	_drm_dev_put
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_drm_fbdev_generic_setup
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_mxsfb_dt_ids,4,2               ## @mxsfb_dt_ids
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_mxsfb_driver,4,2               ## @mxsfb_driver
	.no_dead_strip	_mxsfb_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxsfb_probe
_mxsfb_probe:                           ; @mxsfb_probe
	.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	x19, x0
Lloh0:
	adrp	x8, _mxsfb_dt_ids@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mxsfb_dt_ids@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_of_match_device
	ldr	w8, [x19]
	cbz	w8, LBB0_5
; %bb.1:
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w8, [x0]
	str	w8, [x19, #4]
LBB0_3:
Lloh3:
	adrp	x0, _mxsfb_driver@GOTPAGE
Lloh4:
	ldr	x0, [x0, _mxsfb_driver@GOTPAGEOFF]
	mov	x1, x19
	bl	_drm_dev_alloc
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_5:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_10
LBB0_6:
	mov	x0, x19
	mov	w1, #0
	bl	_mxsfb_load
	mov	x20, x0
	cbnz	w0, LBB0_9
; %bb.7:
	mov	x0, x19
	mov	w1, #0
	bl	_drm_dev_register
	mov	x20, x0
	cbz	w0, LBB0_11
; %bb.8:
	mov	x0, x19
	bl	_mxsfb_unload
LBB0_9:
	mov	x0, x19
	bl	_drm_dev_put
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x0, x19
	mov	w1, #32
	bl	_drm_fbdev_generic_setup
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_mxsfb_dt_ids,4,2               ; @mxsfb_dt_ids
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_mxsfb_driver,4,2               ; @mxsfb_driver
	.no_dead_strip	_mxsfb_probe
.subsections_via_symbols
