	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r8153_queue_wake
_r8153_queue_wake:                      ## @r8153_queue_wake
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_MCU_TYPE_PLA@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_PLA_INDICATE_FALG@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_ocp_read_byte
	movq	_UPCOMING_RUNTIME_D3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	orl	%eax, %edx
	notl	%ecx
	andl	%eax, %ecx
	testl	%r14d, %r14d
	cmovnel	%edx, %ecx
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_ocp_write_byte
	movl	(%r15), %esi
	movq	_PLA_SUSPEND_FLAG@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_ocp_read_byte
	movq	_LINK_CHG_EVENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	(%r15), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_ocp_write_byte
	movl	(%r15), %esi
	movq	_PLA_EXTRA_STATUS@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_ocp_read_word
	movq	_LINK_CHANGE_FLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	(%r15), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ocp_write_word                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MCU_TYPE_PLA,4,2               ## @MCU_TYPE_PLA
	.comm	_PLA_INDICATE_FALG,4,2          ## @PLA_INDICATE_FALG
	.comm	_UPCOMING_RUNTIME_D3,4,2        ## @UPCOMING_RUNTIME_D3
	.comm	_PLA_SUSPEND_FLAG,4,2           ## @PLA_SUSPEND_FLAG
	.comm	_LINK_CHG_EVENT,4,2             ## @LINK_CHG_EVENT
	.comm	_PLA_EXTRA_STATUS,4,2           ## @PLA_EXTRA_STATUS
	.comm	_LINK_CHANGE_FLAG,4,2           ## @LINK_CHANGE_FLAG
	.no_dead_strip	_r8153_queue_wake
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r8153_queue_wake
_r8153_queue_wake:                      ; @r8153_queue_wake
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _MCU_TYPE_PLA@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MCU_TYPE_PLA@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _PLA_INDICATE_FALG@GOTPAGE
Lloh3:
	ldr	x22, [x22, _PLA_INDICATE_FALG@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_ocp_read_byte
Lloh4:
	adrp	x8, _UPCOMING_RUNTIME_D3@GOTPAGE
Lloh5:
	ldr	x8, [x8, _UPCOMING_RUNTIME_D3@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	orr	w9, w8, w0
	bic	w8, w0, w8
	cmp	w20, #0
	csel	w3, w8, w9, eq
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_ocp_write_byte
	ldr	w1, [x21]
Lloh7:
	adrp	x20, _PLA_SUSPEND_FLAG@GOTPAGE
Lloh8:
	ldr	x20, [x20, _PLA_SUSPEND_FLAG@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_ocp_read_byte
Lloh9:
	adrp	x8, _LINK_CHG_EVENT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LINK_CHG_EVENT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	bic	w3, w0, w8
	ldr	w1, [x21]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_ocp_write_byte
	ldr	w1, [x21]
Lloh12:
	adrp	x20, _PLA_EXTRA_STATUS@GOTPAGE
Lloh13:
	ldr	x20, [x20, _PLA_EXTRA_STATUS@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_ocp_read_word
Lloh14:
	adrp	x8, _LINK_CHANGE_FLAG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LINK_CHANGE_FLAG@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	bic	w3, w0, w8
	ldr	w1, [x21]
	ldr	w2, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ocp_write_word
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MCU_TYPE_PLA,4,2               ; @MCU_TYPE_PLA
	.comm	_PLA_INDICATE_FALG,4,2          ; @PLA_INDICATE_FALG
	.comm	_UPCOMING_RUNTIME_D3,4,2        ; @UPCOMING_RUNTIME_D3
	.comm	_PLA_SUSPEND_FLAG,4,2           ; @PLA_SUSPEND_FLAG
	.comm	_LINK_CHG_EVENT,4,2             ; @LINK_CHG_EVENT
	.comm	_PLA_EXTRA_STATUS,4,2           ; @PLA_EXTRA_STATUS
	.comm	_LINK_CHANGE_FLAG,4,2           ; @LINK_CHANGE_FLAG
	.no_dead_strip	_r8153_queue_wake
.subsections_via_symbols
