	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipc_send_command
_ipc_send_command:                      ## @ipc_send_command
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	movq	_ipcdev@GOTPCREL(%rip), %r14
	movl	%edi, 24(%r14)
	cmpq	$0, 16(%r14)
	je	LBB0_2
## %bb.1:
	leaq	8(%r14), %rdi
	callq	_reinit_completion
	movq	_IPC_CMD_MSI@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_2:
	movq	_IPC_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ipcdev,32,3                    ## @ipcdev
	.comm	_IPC_CMD_MSI,4,2                ## @IPC_CMD_MSI
	.comm	_IPC_CMD,8,3                    ## @IPC_CMD
	.no_dead_strip	_ipc_send_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipc_send_command
_ipc_send_command:                      ; @ipc_send_command
	.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	x20, _ipcdev@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ipcdev@GOTPAGEOFF]
	str	w0, [x20, #24]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_2
; %bb.1:
	add	x0, x20, #8
	bl	_reinit_completion
Lloh2:
	adrp	x8, _IPC_CMD_MSI@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IPC_CMD_MSI@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w19, w8, w19
LBB0_2:
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _IPC_CMD@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IPC_CMD@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ipcdev,32,3                    ; @ipcdev
	.comm	_IPC_CMD_MSI,4,2                ; @IPC_CMD_MSI
	.comm	_IPC_CMD,8,3                    ; @IPC_CMD
	.no_dead_strip	_ipc_send_command
.subsections_via_symbols
