	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tr_setfreq
_tr_setfreq:                            ## @tr_setfreq
	.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	%rsi, %rbx
	movq	%rdi, %r15
	leaq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	%rbx, (%r15)
	movabsq	$-3689348814741910323, %rcx     ## imm = 0xCCCCCCCCCCCCCCCD
	movq	%rbx, %rax
	mulq	%rcx
	shrq	$7, %rdx
	leaq	1070(%rdx), %r9
	movq	_TSA6060T_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	(%rdx,%rdx), %rcx
	addq	$2141, %rcx                     ## imm = 0x85D
	movq	%r9, %r8
	shrq	$7, %r8
	shrl	$15, %r9d
	andl	$1, %r9d
	orl	$96, %r9d
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movl	$5, %esi
	movl	%eax, %edx
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_write_i2c
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TSA6060T_ADDR,4,2              ## @TSA6060T_ADDR
	.no_dead_strip	_tr_setfreq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tr_setfreq
_tr_setfreq:                            ; @tr_setfreq
	.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, x1
	mov	x20, x0
	add	x21, x0, #8
	mov	x0, x21
	bl	_mutex_lock
	str	x19, [x20]
	mov	x8, #-3689348814741910324
	movk	x8, #52429
	umulh	x8, x19, x8
	lsr	x8, x8, #7
	add	x8, x8, #1070
Lloh0:
	adrp	x9, _TSA6060T_ADDR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TSA6060T_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x9]
	mov	w3, #1
	bfi	x3, x8, #1, #58
	lsr	x4, x8, #7
	mov	w5, #96
	bfxil	w5, w8, #15, #1
	mov	x0, x20
	mov	w1, #5
	mov	w6, #0
	bl	_write_i2c
	mov	x0, x21
	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	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TSA6060T_ADDR,4,2              ; @TSA6060T_ADDR
	.no_dead_strip	_tr_setfreq
.subsections_via_symbols
