	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enable_signals
_enable_signals:                        ## @enable_signals
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_R3964_SIG_ALL@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_1
## %bb.15:
	movl	%edx, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_findClient
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movl	%ebx, (%rax)
	jmp	LBB0_20
LBB0_1:
	movq	(%r14), %r12
	testq	%r12, %r12
	je	LBB0_13
## %bb.2:
	cmpq	%r15, 48(%r12)
	je	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rbx
	movq	40(%r12), %r12
	testq	%r12, %r12
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_12 Depth=1
	cmpq	%r15, 48(%r12)
	jne	LBB0_12
## %bb.5:
	addq	$40, %rbx
	leaq	48(%r12), %r13
	jmp	LBB0_6
LBB0_17:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$64, %edi
	callq	_kmalloc
	movq	%rax, %r12
	leaq	L_.str.3(%rip), %rdi
	movq	%rax, %rsi
	callq	_TRACE_M
	testq	%r12, %r12
	je	LBB0_18
## %bb.19:
	movq	%r15, %rdi
	callq	_pid_nr
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	callq	_TRACE_PS
	movq	%r12, %rdi
	addq	$56, %rdi
	callq	_spin_lock_init
	movl	%ebx, (%r12)
	movq	%r15, %rdi
	callq	_get_pid
	movq	%rax, 48(%r12)
	movq	(%r14), %rax
	movq	%rax, 40(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r12)
	movups	%xmm0, 8(%r12)
	movq	%r12, (%r14)
	jmp	LBB0_20
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_14
LBB0_3:
	leaq	48(%r12), %r13
	movq	%r14, %rbx
LBB0_6:
	movq	%r15, %rdi
	callq	_pid_nr
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_TRACE_PS
	movq	40(%r12), %rax
	movq	%rax, (%rbx)
	cmpq	$0, 8(%r12)
	je	LBB0_11
## %bb.7:
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, 8(%r12)
	je	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_remove_msg
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_kfree
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_TRACE_M
	jmp	LBB0_10
LBB0_11:
	movq	(%r13), %rdi
	callq	_put_pid
	movq	%r12, %rdi
	callq	_kfree
	leaq	L_.str.2(%rip), %rdi
	movq	%r12, %rsi
	callq	_TRACE_M
LBB0_20:
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_18:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_14:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R3964_SIG_ALL,4,2              ## @R3964_SIG_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"removing client %d from client list"

L_.str.1:                               ## @.str.1
	.asciz	"enable_signals - msg kfree %p"

L_.str.2:                               ## @.str.2
	.asciz	"enable_signals - kfree %p"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.3:                               ## @.str.3
	.asciz	"enable_signals - kmalloc %p"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.4:                               ## @.str.4
	.asciz	"add client %d to client list"

	.no_dead_strip	_enable_signals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enable_signals
_enable_signals:                        ; @enable_signals
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _R3964_SIG_ALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R3964_SIG_ALL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_3
; %bb.1:
	mov	x21, x2
	mov	x0, x19
	mov	x1, x20
	bl	_findClient
	cbz	x0, LBB0_8
; %bb.2:
	mov	x8, x0
	mov	w0, #0
	str	w21, [x8]
	b	LBB0_20
LBB0_3:
	ldr	x21, [x19]
	cbz	x21, LBB0_10
; %bb.4:
	mov	x23, x21
	ldr	x8, [x23, #48]!
	cmp	x8, x20
	b.eq	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x21
	ldr	x21, [x21, #40]
	cbz	x21, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x21, #48]
	cmp	x9, x20
	b.ne	LBB0_5
; %bb.7:
	add	x22, x8, #40
	add	x23, x21, #48
	b	LBB0_12
LBB0_8:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #64
	bl	_kmalloc
	mov	x22, x0
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x22
	bl	_TRACE_M
	cbz	x22, LBB0_18
; %bb.9:
	mov	x0, x20
	bl	_pid_nr
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_TRACE_PS
	add	x0, x22, #56
	bl	_spin_lock_init
	str	w21, [x22]
	mov	x0, x20
	bl	_get_pid
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [x19]
	stp	x9, x8, [x22, #40]
	movi.2d	v0, #0000000000000000
	stur	q0, [x22, #24]
	stur	q0, [x22, #8]
	str	x22, [x19]
	b	LBB0_20
LBB0_10:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_19
LBB0_11:
	mov	x22, x19
LBB0_12:
	mov	x0, x20
	bl	_pid_nr
	mov	x1, x0
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE_PS
	ldr	x8, [x21, #40]
	str	x8, [x22]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_17
; %bb.13:
Lloh14:
	adrp	x20, l_.str.1@PAGE
Lloh15:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_17
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_remove_msg
	cbz	x0, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x22, x0
	bl	_kfree
	mov	x0, x20
	mov	x1, x22
	bl	_TRACE_M
	b	LBB0_14
LBB0_17:
	ldr	x0, [x23]
	bl	_put_pid
	mov	x0, x21
	bl	_kfree
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_TRACE_M
	mov	w0, #0
	b	LBB0_20
LBB0_18:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_19:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_20:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_R3964_SIG_ALL,4,2              ; @R3964_SIG_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"removing client %d from client list"

l_.str.1:                               ; @.str.1
	.asciz	"enable_signals - msg kfree %p"

l_.str.2:                               ; @.str.2
	.asciz	"enable_signals - kfree %p"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.3:                               ; @.str.3
	.asciz	"enable_signals - kmalloc %p"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.4:                               ; @.str.4
	.asciz	"add client %d to client list"

	.no_dead_strip	_enable_signals
.subsections_via_symbols
