	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_deauthenticate
_tls_deauthenticate:                    ## @tls_deauthenticate
	.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
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	callq	_wipe_auth_token
	movq	_TM_SIZE@GOTPCREL(%rip), %r8
	movl	(%r8), %edi
	testl	%edi, %edi
	jle	LBB0_8
## %bb.2:
	movq	_KS_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%edx, %edx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	movslq	%edi, %rax
	cmpq	%rax, %rdx
	jge	LBB0_8
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testl	%esi, %esi
	jle	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rax
	movq	(%rax,%rdx,8), %rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$0, (%rdi,%rax,4)
	incq	%rax
	movslq	(%rcx), %rsi
	cmpq	%rsi, %rax
	jl	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r8), %edi
	jmp	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TM_SIZE,4,2                    ## @TM_SIZE
	.comm	_KS_SIZE,4,2                    ## @KS_SIZE
	.no_dead_strip	_tls_deauthenticate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_deauthenticate
_tls_deauthenticate:                    ; @tls_deauthenticate
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	bl	_wipe_auth_token
Lloh0:
	adrp	x8, _TM_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TM_SIZE@GOTPAGEOFF]
	ldr	w12, [x8]
	cmp	w12, #1
	b.lt	LBB0_8
; %bb.2:
	mov	x9, #0
Lloh2:
	adrp	x10, _KS_SIZE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _KS_SIZE@GOTPAGEOFF]
	ldr	w11, [x10]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	cmp	x9, w12, sxtw
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	w11, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x12, #0
	ldr	x11, [x19]
	ldr	x13, [x11, x9, lsl #3]
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	wzr, [x13, x12, lsl #2]
	add	x12, x12, #1
	ldrsw	x11, [x10]
	cmp	x12, x11
	b.lt	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w12, [x8]
	b	LBB0_3
LBB0_8:
	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	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_TM_SIZE,4,2                    ; @TM_SIZE
	.comm	_KS_SIZE,4,2                    ; @KS_SIZE
	.no_dead_strip	_tls_deauthenticate
.subsections_via_symbols
