	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kv_calculate_dfs_bypass_settings
_kv_calculate_dfs_bypass_settings:      ## @kv_calculate_dfs_bypass_settings
	.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, %r14
	callq	_kv_get_pi
	movq	%rax, %r15
	testq	%r14, %r14
	je	LBB0_18
## %bb.1:
	cmpq	$0, 8(%r14)
	je	LBB0_18
## %bb.2:
	cmpq	$0, (%r15)
	je	LBB0_34
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r15), %rax
	movl	$0, (%rax,%rbx,4)
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpq	(%r15), %rbx
	jae	LBB0_34
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 16(%r15)
	je	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	movl	$40000, %esi                    ## imm = 0x9C40
	callq	_kv_get_clock_difference
	cmpl	$199, %eax
	jg	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r15), %rax
	movl	$3, (%rax,%rbx,4)
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	movl	$30000, %esi                    ## imm = 0x7530
	callq	_kv_get_clock_difference
	cmpl	$199, %eax
	jg	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r15), %rax
	movl	$2, (%rax,%rbx,4)
	jmp	LBB0_17
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	movl	$26600, %esi                    ## imm = 0x67E8
	callq	_kv_get_clock_difference
	cmpl	$199, %eax
	jg	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r15), %rax
	movl	$7, (%rax,%rbx,4)
	jmp	LBB0_17
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_kv_get_clock_difference
	cmpl	$199, %eax
	jg	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r15), %rax
	movl	$6, (%rax,%rbx,4)
	jmp	LBB0_17
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	movl	$10000, %esi                    ## imm = 0x2710
	callq	_kv_get_clock_difference
	movq	8(%r15), %rcx
	cmpl	$199, %eax
	jg	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	$8, (%rcx,%rbx,4)
	jmp	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$0, (%rcx,%rbx,4)
	jmp	LBB0_17
LBB0_18:
	cmpq	$0, (%r15)
	je	LBB0_34
## %bb.19:
	xorl	%ebx, %ebx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	8(%r15), %rax
	movl	$0, (%rax,%rbx,4)
LBB0_33:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%rbx
	cmpq	(%r15), %rbx
	jae	LBB0_34
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 16(%r15)
	je	LBB0_32
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	24(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	movl	$40000, %esi                    ## imm = 0x9C40
	callq	_kv_get_clock_difference
	cmpl	$199, %eax
	jg	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	8(%r15), %rax
	movl	$3, (%rax,%rbx,4)
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	24(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	movl	$30000, %esi                    ## imm = 0x7530
	callq	_kv_get_clock_difference
	cmpl	$199, %eax
	jg	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	8(%r15), %rax
	movl	$2, (%rax,%rbx,4)
	jmp	LBB0_33
LBB0_25:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	24(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	movl	$26600, %esi                    ## imm = 0x67E8
	callq	_kv_get_clock_difference
	cmpl	$199, %eax
	jg	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	8(%r15), %rax
	movl	$7, (%rax,%rbx,4)
	jmp	LBB0_33
LBB0_27:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	24(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_kv_get_clock_difference
	cmpl	$199, %eax
	jg	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	8(%r15), %rax
	movl	$6, (%rax,%rbx,4)
	jmp	LBB0_33
LBB0_29:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	24(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	movl	$10000, %esi                    ## imm = 0x2710
	callq	_kv_get_clock_difference
	movq	8(%r15), %rcx
	cmpl	$199, %eax
	jg	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	$8, (%rcx,%rbx,4)
	jmp	LBB0_33
LBB0_31:                                ##   in Loop: Header=BB0_20 Depth=1
	movl	$0, (%rcx,%rbx,4)
	jmp	LBB0_33
LBB0_34:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_kv_calculate_dfs_bypass_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kv_calculate_dfs_bypass_settings
_kv_calculate_dfs_bypass_settings:      ; @kv_calculate_dfs_bypass_settings
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	bl	_kv_get_pi
	mov	x19, x0
	cbz	x20, LBB0_18
; %bb.1:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_18
; %bb.2:
	ldr	x8, [x19]
	cbz	x8, LBB0_34
; %bb.3:
	mov	x21, #0
	mov	w22, #3
	mov	w23, #2
	mov	w24, #7
	mov	w25, #6
	mov	w26, #8
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	str	w22, [x8, x21, lsl #2]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	ldr	x8, [x19]
	cmp	x21, x8
	b.hs	LBB0_34
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8, x21, lsl #2]
	mov	w1, #40000
	bl	_kv_get_clock_difference
	cmp	w0, #199
	b.le	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8, x21, lsl #2]
	mov	w1, #30000
	bl	_kv_get_clock_difference
	cmp	w0, #199
	b.gt	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	str	w23, [x8, x21, lsl #2]
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	str	wzr, [x8, x21, lsl #2]
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8, x21, lsl #2]
	mov	w1, #26600
	bl	_kv_get_clock_difference
	cmp	w0, #199
	b.gt	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	str	w24, [x8, x21, lsl #2]
	b	LBB0_5
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8, x21, lsl #2]
	mov	w1, #20000
	bl	_kv_get_clock_difference
	cmp	w0, #199
	b.gt	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	str	w25, [x8, x21, lsl #2]
	b	LBB0_5
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8, x21, lsl #2]
	mov	w1, #10000
	bl	_kv_get_clock_difference
	ldr	x8, [x19, #8]
	cmp	w0, #199
	b.gt	LBB0_11
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	str	w26, [x8, x21, lsl #2]
	b	LBB0_5
LBB0_18:
	ldr	x8, [x19]
	cbz	x8, LBB0_34
; %bb.19:
	mov	x20, #0
	mov	w21, #3
	mov	w22, #2
	mov	w23, #7
	mov	w24, #6
	mov	w25, #8
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x19, #8]
	str	w21, [x8, x20, lsl #2]
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	add	x20, x20, #1
	ldr	x8, [x19]
	cmp	x20, x8
	b.hs	LBB0_34
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x19, #24]
	ldr	w0, [x8, x20, lsl #2]
	mov	w1, #40000
	bl	_kv_get_clock_difference
	cmp	w0, #199
	b.le	LBB0_20
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x19, #24]
	ldr	w0, [x8, x20, lsl #2]
	mov	w1, #30000
	bl	_kv_get_clock_difference
	cmp	w0, #199
	b.gt	LBB0_28
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x19, #8]
	str	w22, [x8, x20, lsl #2]
	b	LBB0_21
LBB0_26:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x19, #8]
LBB0_27:                                ;   in Loop: Header=BB0_22 Depth=1
	str	wzr, [x8, x20, lsl #2]
	b	LBB0_21
LBB0_28:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x19, #24]
	ldr	w0, [x8, x20, lsl #2]
	mov	w1, #26600
	bl	_kv_get_clock_difference
	cmp	w0, #199
	b.gt	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x19, #8]
	str	w23, [x8, x20, lsl #2]
	b	LBB0_21
LBB0_30:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x19, #24]
	ldr	w0, [x8, x20, lsl #2]
	mov	w1, #20000
	bl	_kv_get_clock_difference
	cmp	w0, #199
	b.gt	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x19, #8]
	str	w24, [x8, x20, lsl #2]
	b	LBB0_21
LBB0_32:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x19, #24]
	ldr	w0, [x8, x20, lsl #2]
	mov	w1, #10000
	bl	_kv_get_clock_difference
	ldr	x8, [x19, #8]
	cmp	w0, #199
	b.gt	LBB0_27
; %bb.33:                               ;   in Loop: Header=BB0_22 Depth=1
	str	w25, [x8, x20, lsl #2]
	b	LBB0_21
LBB0_34:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_kv_calculate_dfs_bypass_settings
.subsections_via_symbols
