	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svc_unregister
_svc_unregister:                        ## @svc_unregister
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_TIF_SIGPENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_clear_thread_flag
	movq	(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_9
## %bb.1:
	leaq	L_.str(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r15), %r15
	testq	%r15, %r15
	je	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movl	(%r15), %eax
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	incq	%rbx
	movl	%eax, %ecx
	cmpq	%rcx, %rbx
	jae	LBB0_8
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpq	$0, (%rcx)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	4(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dprintk
	movl	4(%r15), %edx
	movl	8(%r15), %edi
	movl	%ebx, %esi
	callq	___svc_unregister
	movl	(%r15), %eax
	jmp	LBB0_7
LBB0_9:
	movq	_current@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	callq	_spin_lock_irqsave
	xorl	%eax, %eax
	callq	_recalc_sigpending
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TIF_SIGPENDING,4,2             ## @TIF_SIGPENDING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"svc: attempting to unregister %sv%u\n"

	.comm	_current,8,3                    ## @current
	.no_dead_strip	_svc_unregister
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svc_unregister
_svc_unregister:                        ; @svc_unregister
	.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	x19, x0
Lloh0:
	adrp	x8, _TIF_SIGPENDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIF_SIGPENDING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_clear_thread_flag
	ldr	x21, [x19]
	cbz	x21, LBB0_9
; %bb.1:
Lloh3:
	adrp	x19, l_.str@PAGE
Lloh4:
	add	x19, x19, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x21, [x21, #24]
	cbz	x21, LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	w8, [x21]
	cbz	w8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x20, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x20, x20, #1
	cmp	x20, w8, uxtw
	b.hs	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x21, #16]
	ldr	x9, [x9, x20, lsl #3]
	cbz	x9, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x9, [x9]
	cbnz	x9, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w1, [x21, #4]
	mov	x0, x19
	mov	x2, x20
	bl	_dprintk
	ldp	w2, w0, [x21, #4]
	mov	x1, x20
	bl	___svc_unregister
	ldr	w8, [x21]
	b	LBB0_5
LBB0_9:
Lloh5:
	adrp	x19, _current@GOTPAGE
Lloh6:
	ldr	x19, [x19, _current@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_spin_lock_irqsave
	bl	_recalc_sigpending
	ldr	x8, [x19]
	ldr	x0, [x8]
	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	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_TIF_SIGPENDING,4,2             ; @TIF_SIGPENDING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"svc: attempting to unregister %sv%u\n"

	.comm	_current,8,3                    ; @current
	.no_dead_strip	_svc_unregister
.subsections_via_symbols
