	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_li_vn_mode                 ## -- Begin function set_li_vn_mode
	.p2align	4, 0x90
_set_li_vn_mode:                        ## @set_li_vn_mode
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	%rdi, %r14
	cmpb	$4, %r12b
	jge	LBB0_1
## %bb.2:
	cmpb	$8, %bl
	jae	LBB0_3
LBB0_4:
	cmpb	$8, %r15b
	jl	LBB0_6
LBB0_5:
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_msyslog
	movb	$3, %r15b
LBB0_6:
	shlb	$6, %r12b
	shlb	$3, %bl
	orb	%r12b, %bl
	orb	%r15b, %bl
	movb	%bl, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_msyslog
	movb	$3, %r12b
	cmpb	$8, %bl
	jb	LBB0_4
LBB0_3:
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_msyslog
	movb	$4, %bl
	cmpb	$8, %r15b
	jge	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_LOG_DEBUG,4,2                  ## @LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"set_li_vn_mode: leap > 3, using max. 3"

L_.str.1:                               ## @.str.1
	.asciz	"set_li_vn_mode: version < 0 or > 7, using 4"

L_.str.2:                               ## @.str.2
	.asciz	"set_li_vn_mode: mode > 7, using client mode 3"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_li_vn_mode                 ; -- Begin function set_li_vn_mode
	.p2align	2
_set_li_vn_mode:                        ; @set_li_vn_mode
	.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, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _LOG_DEBUG@GOTPAGEOFF]
	cmp	w1, #4
	b.ge	LBB0_5
; %bb.1:
	cmp	w22, #8
	b.hs	LBB0_6
LBB0_2:
	cmp	w20, #8
	b.lt	LBB0_4
LBB0_3:
	ldr	w0, [x23]
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_msyslog
	mov	w20, #3
LBB0_4:
	lsl	w8, w22, #3
	orr	w8, w8, w21, lsl #6
	orr	w8, w8, w20
	strb	w8, [x19]
	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
LBB0_5:
	ldr	w0, [x23]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_msyslog
	mov	w21, #3
	cmp	w22, #8
	b.lo	LBB0_2
LBB0_6:
	ldr	w0, [x23]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_msyslog
	mov	w22, #4
	cmp	w20, #8
	b.ge	LBB0_3
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LOG_DEBUG,4,2                  ; @LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"set_li_vn_mode: leap > 3, using max. 3"

l_.str.1:                               ; @.str.1
	.asciz	"set_li_vn_mode: version < 0 or > 7, using 4"

l_.str.2:                               ; @.str.2
	.asciz	"set_li_vn_mode: mode > 7, using client mode 3"

.subsections_via_symbols
