	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function with_console
_with_console:                          ## @with_console
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rdi, -48(%rbp)
	movq	_client_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_clients@GOTPCREL(%rip), %rsi
	leaq	-56(%rbp), %r13
	movq	%r13, %rdi
	callq	_list_add
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r12, %rdi
	callq	*%r15
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_mconsole_reply_len
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%r13, %rdi
	callq	_list_del
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_client_lock,4,2                ## @client_lock
	.comm	_clients,4,2                    ## @clients
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_with_console
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function with_console
_with_console:                          ; @with_console
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	str	x0, [sp, #8]
Lloh0:
	adrp	x22, _client_lock@GOTPAGE
Lloh1:
	ldr	x22, [x22, _client_lock@GOTPAGEOFF]
	mov	x0, x22
	bl	_spin_lock_irqsave
Lloh2:
	adrp	x1, _clients@GOTPAGE
Lloh3:
	ldr	x1, [x1, _clients@GOTPAGEOFF]
	mov	x0, sp
	bl	_list_add
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	blr	x20
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_mconsole_reply_len
	mov	x0, x22
	bl	_spin_lock_irqsave
	mov	x0, sp
	bl	_list_del
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_client_lock,4,2                ; @client_lock
	.comm	_clients,4,2                    ; @clients
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_with_console
.subsections_via_symbols
