	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ps3fb_probe
_ps3fb_probe:                           ## @ps3fb_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	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movl	$0, -84(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-84(%rbp), %rsi
	callq	_TUNABLE_INT_FETCH
	xorl	%eax, %eax
	cmpl	$0, -84(%rbp)
	jne	LBB0_7
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rsi
	movl	$64, %edx
	callq	_TUNABLE_STR_FETCH
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	leaq	L_.str.3(%rip), %rdi
	callq	_OF_finddevice
	leaq	L_.str.4(%rip), %rsi
	leaq	-80(%rbp), %rdx
	movl	%eax, %edi
	movl	$64, %ecx
	callq	_OF_getprop
	testq	%rax, %rax
	jle	LBB0_3
## %bb.4:
	leaq	L_.str.5(%rip), %rsi
	leaq	-80(%rbp), %rdi
	movl	$64, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:
	movq	_CN_DEAD@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_CN_INTERNAL@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$88, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hw.syscons.disable"

	.comm	_ps3fb_softc,4,2                ## @ps3fb_softc
L_.str.1:                               ## @.str.1
	.asciz	"hw.platform"

L_.str.2:                               ## @.str.2
	.asciz	"ps3"

	.comm	_CN_INTERNAL,4,2                ## @CN_INTERNAL
L_.str.3:                               ## @.str.3
	.asciz	"/"

L_.str.4:                               ## @.str.4
	.asciz	"compatible"

	.comm	_CN_DEAD,4,2                    ## @CN_DEAD
L_.str.5:                               ## @.str.5
	.asciz	"sony,ps3"

	.no_dead_strip	_ps3fb_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ps3fb_probe
_ps3fb_probe:                           ; @ps3fb_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	str	wzr, [sp, #4]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #4
	bl	_TUNABLE_INT_FETCH
	mov	w0, #0
	ldr	w8, [sp, #4]
	cbnz	w8, LBB0_7
; %bb.1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #8
	mov	w2, #64
	bl	_TUNABLE_STR_FETCH
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #8
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.2:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_OF_finddevice
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #8
	mov	w3, #64
	bl	_OF_getprop
	cmp	x0, #0
	b.le	LBB0_4
; %bb.3:
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #8
	mov	w2, #64
	bl	_strncmp
	cbz	x0, LBB0_5
LBB0_4:
Lloh15:
	adrp	x8, _CN_DEAD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CN_DEAD@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh17:
	adrp	x8, _CN_INTERNAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CN_INTERNAL@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
LBB0_7:
	ldur	x8, [x29, #-8]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hw.syscons.disable"

	.comm	_ps3fb_softc,4,2                ; @ps3fb_softc
l_.str.1:                               ; @.str.1
	.asciz	"hw.platform"

l_.str.2:                               ; @.str.2
	.asciz	"ps3"

	.comm	_CN_INTERNAL,4,2                ; @CN_INTERNAL
l_.str.3:                               ; @.str.3
	.asciz	"/"

l_.str.4:                               ; @.str.4
	.asciz	"compatible"

	.comm	_CN_DEAD,4,2                    ; @CN_DEAD
l_.str.5:                               ; @.str.5
	.asciz	"sony,ps3"

	.no_dead_strip	_ps3fb_probe
.subsections_via_symbols
