	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recv_ipc
_recv_ipc:                              ## @recv_ipc
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_IPC_HEADER_GET_MNG_CMD
	cmpl	$130, %eax
	je	LBB0_8
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_11
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_12
## %bb.3:
	cmpl	$0, 20(%rbx)
	je	LBB0_5
## %bb.4:
	movl	$0, 20(%rbx)
	leaq	16(%rbx), %rdi
	callq	_wake_up_interruptible
LBB0_5:
	cmpl	$0, 12(%rbx)
	je	LBB0_7
## %bb.6:
	movl	$0, 12(%rbx)
	leaq	8(%rbx), %rdi
	callq	_wake_up_interruptible
LBB0_7:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_write_ipc_from_queue           ## TAILCALL
LBB0_8:
	movq	_ishtp_dev@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_10
## %bb.9:
	movq	%rbx, (%rax)
	movq	_fw_reset_work_fn@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_fw_reset_work@GOTPCREL(%rip), %rdi
	callq	_INIT_WORK
LBB0_10:
	movq	_fw_reset_work@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
LBB0_11:
	movl	$1, (%rbx)
	addq	$4, %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wake_up_interruptible          ## TAILCALL
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ishtp_dev,8,3                  ## @ishtp_dev
	.comm	_fw_reset_work,4,2              ## @fw_reset_work
	.comm	_fw_reset_work_fn,4,2           ## @fw_reset_work_fn
	.no_dead_strip	_recv_ipc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recv_ipc
_recv_ipc:                              ; @recv_ipc
	.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
	mov	x0, x1
	bl	_IPC_HEADER_GET_MNG_CMD
	cmp	w0, #130
	b.eq	LBB0_8
; %bb.1:
	cmp	w0, #129
	b.eq	LBB0_11
; %bb.2:
	cmp	w0, #128
	b.ne	LBB0_12
; %bb.3:
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_5
; %bb.4:
	str	wzr, [x19, #20]
	add	x0, x19, #16
	bl	_wake_up_interruptible
LBB0_5:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_7
; %bb.6:
	str	wzr, [x19, #12]
	add	x0, x19, #8
	bl	_wake_up_interruptible
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_write_ipc_from_queue
LBB0_8:
Lloh0:
	adrp	x8, _ishtp_dev@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ishtp_dev@GOTPAGEOFF]
	ldr	x9, [x8]
	cbnz	x9, LBB0_10
; %bb.9:
	str	x19, [x8]
Lloh2:
	adrp	x8, _fw_reset_work_fn@GOTPAGE
Lloh3:
	ldr	x8, [x8, _fw_reset_work_fn@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x0, _fw_reset_work@GOTPAGE
Lloh6:
	ldr	x0, [x0, _fw_reset_work@GOTPAGEOFF]
	bl	_INIT_WORK
LBB0_10:
Lloh7:
	adrp	x0, _fw_reset_work@GOTPAGE
Lloh8:
	ldr	x0, [x0, _fw_reset_work@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_schedule_work
LBB0_11:
	mov	w8, #1
	str	w8, [x19], #4
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wake_up_interruptible
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ishtp_dev,8,3                  ; @ishtp_dev
	.comm	_fw_reset_work,4,2              ; @fw_reset_work
	.comm	_fw_reset_work_fn,4,2           ; @fw_reset_work_fn
	.no_dead_strip	_recv_ipc
.subsections_via_symbols
