	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sony_pic_possible_resources
_sony_pic_possible_resources:           ## @sony_pic_possible_resources
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_dprintk
	movq	%rbx, %rdi
	callq	_acpi_bus_get_status
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_warn
	movl	%r15d, %r14d
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	jmp	LBB0_6
LBB0_4:
	cmpl	$0, 4(%rbx)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rdi
	cmoveq	%rax, %rdi
	xorl	%eax, %eax
	callq	_dprintk
	movq	_METHOD_NAME__PRS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	movl	(%rbx), %edi
	movl	(%r15), %esi
	movq	_sony_pic_read_possible_resource@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_spic_dev@GOTPCREL(%rip), %rcx
	callq	_acpi_walk_resources
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movl	(%r15), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_pr_warn
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_6:
	subl	(%rax), %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Evaluating _STA\n"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to read status\n"

L_.str.2:                               ## @.str.2
	.asciz	"Device disabled\n"

L_.str.3:                               ## @.str.3
	.asciz	"Device enabled\n"

L_.str.4:                               ## @.str.4
	.asciz	"Evaluating %s\n"

	.comm	_METHOD_NAME__PRS,4,2           ## @METHOD_NAME__PRS
	.comm	_sony_pic_read_possible_resource,4,2 ## @sony_pic_read_possible_resource
	.comm	_spic_dev,4,2                   ## @spic_dev
L_.str.5:                               ## @.str.5
	.asciz	"Failure evaluating %s\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_sony_pic_possible_resources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sony_pic_possible_resources
_sony_pic_possible_resources:           ; @sony_pic_possible_resources
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	mov	x0, x19
	bl	_acpi_bus_get_status
	cbz	w0, LBB0_4
; %bb.2:
	mov	x20, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_warn
	b	LBB0_7
LBB0_3:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldr	w8, [x19, #4]
Lloh6:
	adrp	x9, l_.str.3@PAGE
Lloh7:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh8:
	adrp	x10, l_.str.2@PAGE
Lloh9:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w8, #0
	csel	x0, x10, x9, eq
	bl	_dprintk
Lloh10:
	adrp	x20, _METHOD_NAME__PRS@GOTPAGE
Lloh11:
	ldr	x20, [x20, _METHOD_NAME__PRS@GOTPAGEOFF]
	ldr	w8, [x20]
	str	x8, [sp]
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_dprintk
	ldr	w0, [x19]
	ldr	w1, [x20]
Lloh14:
	adrp	x8, _sony_pic_read_possible_resource@GOTPAGE
Lloh15:
	ldr	x8, [x8, _sony_pic_read_possible_resource@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x3, _spic_dev@GOTPAGE
Lloh18:
	ldr	x3, [x3, _spic_dev@GOTPAGEOFF]
	bl	_acpi_walk_resources
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_8
; %bb.5:
	ldr	w8, [x20]
	str	x8, [sp]
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_warn
Lloh21:
	adrp	x8, _ENODEV@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
	mov	w20, #0
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Evaluating _STA\n"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to read status\n"

l_.str.2:                               ; @.str.2
	.asciz	"Device disabled\n"

l_.str.3:                               ; @.str.3
	.asciz	"Device enabled\n"

l_.str.4:                               ; @.str.4
	.asciz	"Evaluating %s\n"

	.comm	_METHOD_NAME__PRS,4,2           ; @METHOD_NAME__PRS
	.comm	_sony_pic_read_possible_resource,4,2 ; @sony_pic_read_possible_resource
	.comm	_spic_dev,4,2                   ; @spic_dev
l_.str.5:                               ; @.str.5
	.asciz	"Failure evaluating %s\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_sony_pic_possible_resources
.subsections_via_symbols
