	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sonypi_type3_srs
_sonypi_type3_srs:                      ## @sonypi_type3_srs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_sonypi_type2_srs
	movq	_sonypi_device@GOTPCREL(%rip), %rbx
	movl	$65520, %edx                    ## imm = 0xFFF0
	andl	(%rbx), %edx
	orl	$1, %edx
	movl	4(%rbx), %edi
	movq	_SONYPI_TYPE3_GID2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pci_write_config_word
	movl	4(%rbx), %edi
	movq	_SONYPI_TYPE3_MISC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-20(%rbp), %rdx
	callq	_pci_read_config_byte
	movl	$207, %edx
	andl	-20(%rbp), %edx
	orl	$16, %edx
	movl	%edx, -20(%rbp)
	movl	4(%rbx), %edi
	movl	(%r14), %esi
	callq	_pci_write_config_byte
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sonypi_device,8,2              ## @sonypi_device
	.comm	_SONYPI_TYPE3_GID2,4,2          ## @SONYPI_TYPE3_GID2
	.comm	_SONYPI_TYPE3_MISC,4,2          ## @SONYPI_TYPE3_MISC
	.no_dead_strip	_sonypi_type3_srs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sonypi_type3_srs
_sonypi_type3_srs:                      ; @sonypi_type3_srs
	.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
	bl	_sonypi_type2_srs
Lloh0:
	adrp	x19, _sonypi_device@GOTPAGE
Lloh1:
	ldr	x19, [x19, _sonypi_device@GOTPAGEOFF]
	ldp	w8, w0, [x19]
	and	w8, w8, #0xfff0
	orr	w2, w8, #0x1
Lloh2:
	adrp	x8, _SONYPI_TYPE3_GID2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SONYPI_TYPE3_GID2@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_pci_write_config_word
	ldr	w0, [x19, #4]
Lloh5:
	adrp	x20, _SONYPI_TYPE3_MISC@GOTPAGE
Lloh6:
	ldr	x20, [x20, _SONYPI_TYPE3_MISC@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	bl	_pci_read_config_byte
	ldr	w8, [sp, #12]
	mov	w9, #207
	and	w8, w8, w9
	orr	w2, w8, #0x10
	str	w2, [sp, #12]
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	bl	_pci_write_config_byte
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_sonypi_device,8,2              ; @sonypi_device
	.comm	_SONYPI_TYPE3_GID2,4,2          ; @SONYPI_TYPE3_GID2
	.comm	_SONYPI_TYPE3_MISC,4,2          ; @SONYPI_TYPE3_MISC
	.no_dead_strip	_sonypi_type3_srs
.subsections_via_symbols
