	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cirrus_get_state
_cirrus_get_state:                      ## @cirrus_get_state
	.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, %r15
	movq	_socket@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_PD67_MISC_CTL_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_i365_get
	leaq	(%r15,%r15,2), %rbx
	movl	%eax, (%r14,%rbx,8)
	movq	_PD67_MC1_MEDIA_ENA@GOTPCREL(%rip), %rcx
	movq	_PD67_MC1_INPACK_ENA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	andl	%eax, %edx
	movl	%edx, (%r14,%rbx,8)
	movq	_PD67_MISC_CTL_2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_i365_get
	movq	%rax, 16(%r14,%rbx,8)
	xorl	%edi, %edi
	callq	_PD67_TIME_SETUP
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_i365_get
	movq	8(%r14,%rbx,8), %rcx
	movq	%rax, (%rcx)
	xorl	%edi, %edi
	callq	_PD67_TIME_SETUP
	leaq	1(%rax), %rsi
	movq	%r15, %rdi
	callq	_i365_get
	movq	8(%r14,%rbx,8), %rcx
	movq	%rax, 8(%rcx)
	xorl	%edi, %edi
	callq	_PD67_TIME_SETUP
	leaq	2(%rax), %rsi
	movq	%r15, %rdi
	callq	_i365_get
	movq	8(%r14,%rbx,8), %rcx
	movq	%rax, 16(%rcx)
	xorl	%edi, %edi
	callq	_PD67_TIME_SETUP
	leaq	3(%rax), %rsi
	movq	%r15, %rdi
	callq	_i365_get
	movq	8(%r14,%rbx,8), %rcx
	movq	%rax, 24(%rcx)
	xorl	%edi, %edi
	callq	_PD67_TIME_SETUP
	leaq	4(%rax), %rsi
	movq	%r15, %rdi
	callq	_i365_get
	movq	8(%r14,%rbx,8), %rcx
	movq	%rax, 32(%rcx)
	xorl	%edi, %edi
	callq	_PD67_TIME_SETUP
	leaq	5(%rax), %rsi
	movq	%r15, %rdi
	callq	_i365_get
	movq	8(%r14,%rbx,8), %rcx
	movq	%rax, 40(%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_socket,8,3                     ## @socket
	.comm	_PD67_MISC_CTL_1,8,3            ## @PD67_MISC_CTL_1
	.comm	_PD67_MC1_MEDIA_ENA,4,2         ## @PD67_MC1_MEDIA_ENA
	.comm	_PD67_MC1_INPACK_ENA,4,2        ## @PD67_MC1_INPACK_ENA
	.comm	_PD67_MISC_CTL_2,8,3            ## @PD67_MISC_CTL_2
	.no_dead_strip	_cirrus_get_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cirrus_get_state
_cirrus_get_state:                      ; @cirrus_get_state
	.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, _socket@GOTPAGE
Lloh1:
	ldr	x8, [x8, _socket@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x8, _PD67_MISC_CTL_1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PD67_MISC_CTL_1@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	bl	_i365_get
	mov	w8, #24
	madd	x20, x19, x8, x20
	str	w0, [x20]
Lloh6:
	adrp	x8, _PD67_MC1_MEDIA_ENA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PD67_MC1_MEDIA_ENA@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _PD67_MC1_INPACK_ENA@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PD67_MC1_INPACK_ENA@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	and	w8, w8, w0
	str	w8, [x20]
Lloh12:
	adrp	x8, _PD67_MISC_CTL_2@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PD67_MISC_CTL_2@GOTPAGEOFF]
Lloh14:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_i365_get
	str	x0, [x20, #16]
	mov	w0, #0
	bl	_PD67_TIME_SETUP
	mov	x1, x0
	mov	x0, x19
	bl	_i365_get
	ldr	x8, [x20, #8]
	str	x0, [x8]
	mov	w0, #0
	bl	_PD67_TIME_SETUP
	add	x1, x0, #1
	mov	x0, x19
	bl	_i365_get
	ldr	x8, [x20, #8]
	str	x0, [x8, #8]
	mov	w0, #0
	bl	_PD67_TIME_SETUP
	add	x1, x0, #2
	mov	x0, x19
	bl	_i365_get
	ldr	x8, [x20, #8]
	str	x0, [x8, #16]
	mov	w0, #0
	bl	_PD67_TIME_SETUP
	add	x1, x0, #3
	mov	x0, x19
	bl	_i365_get
	ldr	x8, [x20, #8]
	str	x0, [x8, #24]
	mov	w0, #0
	bl	_PD67_TIME_SETUP
	add	x1, x0, #4
	mov	x0, x19
	bl	_i365_get
	ldr	x8, [x20, #8]
	str	x0, [x8, #32]
	mov	w0, #0
	bl	_PD67_TIME_SETUP
	add	x1, x0, #5
	mov	x0, x19
	bl	_i365_get
	ldr	x8, [x20, #8]
	str	x0, [x8, #40]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_socket,8,3                     ; @socket
	.comm	_PD67_MISC_CTL_1,8,3            ; @PD67_MISC_CTL_1
	.comm	_PD67_MC1_MEDIA_ENA,4,2         ; @PD67_MC1_MEDIA_ENA
	.comm	_PD67_MC1_INPACK_ENA,4,2        ; @PD67_MC1_INPACK_ENA
	.comm	_PD67_MISC_CTL_2,8,3            ; @PD67_MISC_CTL_2
	.no_dead_strip	_cirrus_get_state
.subsections_via_symbols
