	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setfreq
_setfreq:                               ## @setfreq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movaps	L___const.setfreq.freq(%rip), %xmm0
	movaps	%xmm0, -32(%rbp)
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.2:
	testl	%esi, %esi
	je	LBB0_9
## %bb.3:
	movl	$168, -20(%rbp)
	movl	$65, %eax
	cmpl	$2, %esi
	jne	LBB0_5
	jmp	LBB0_8
LBB0_4:
	movl	$202, %eax
	cmpl	$2, %esi
	je	LBB0_8
LBB0_5:
	testl	%esi, %esi
	je	LBB0_10
	jmp	LBB0_11
LBB0_7:
	movl	$64, %eax
	cmpl	$2, %esi
	jne	LBB0_5
LBB0_8:
	andl	$-117, %eax
	jmp	LBB0_11
LBB0_9:
	movl	$65, %eax
LBB0_10:
	movl	$240, -20(%rbp)
LBB0_11:
	movl	%eax, -28(%rbp)
	leaq	-32(%rbp), %rsi
	movl	$16, %edx
	callq	_reg_w_buf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @__const.setfreq.freq
L___const.setfreq.freq:
	.long	102                             ## 0x66
	.long	0                               ## 0x0
	.long	168                             ## 0xa8
	.long	232                             ## 0xe8

	.no_dead_strip	_setfreq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setfreq
_setfreq:                               ; @setfreq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
Lloh3:
	adrp	x8, l___const.setfreq.freq@PAGE
Lloh4:
	add	x8, x8, l___const.setfreq.freq@PAGEOFF
Lloh5:
	ldr	q0, [x8]
	str	q0, [sp]
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.2:
	cbz	w1, LBB0_8
; %bb.3:
	mov	w8, #168
	str	w8, [sp, #12]
	mov	w8, #65
	cmp	w1, #2
	b.ne	LBB0_5
	b	LBB0_7
LBB0_4:
	mov	w8, #202
	cmp	w1, #2
	b.eq	LBB0_7
LBB0_5:
	cbz	w1, LBB0_9
	b	LBB0_10
LBB0_6:
	mov	w8, #64
	cmp	w1, #2
	b.ne	LBB0_5
LBB0_7:
	mov	w9, #139
	and	w8, w8, w9
	b	LBB0_10
LBB0_8:
	mov	w8, #65
LBB0_9:
	mov	w9, #240
	str	w9, [sp, #12]
LBB0_10:
	str	w8, [sp, #4]
	mov	x1, sp
	mov	w2, #16
	bl	_reg_w_buf
	ldur	x8, [x29, #-8]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @__const.setfreq.freq
l___const.setfreq.freq:
	.long	102                             ; 0x66
	.long	0                               ; 0x0
	.long	168                             ; 0xa8
	.long	232                             ; 0xe8

	.no_dead_strip	_setfreq
.subsections_via_symbols
