	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tuner_write
_tuner_write:                           ## @tuner_write
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rax
	movq	(%rdi), %rbx
	movl	$4, -32(%rbp)
	movq	%rdx, -24(%rbp)
	movl	$0, -16(%rbp)
	movl	%esi, -12(%rbp)
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	movq	%rax, %rdx
	callq	_dprintk
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_i2c_transfer
	xorl	%ecx, %ecx
	cmpl	$1, %eax
	setne	%cl
	negl	%ecx
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dev: %p\n"

	.no_dead_strip	_tuner_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tuner_write
_tuner_write:                           ; @tuner_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x8, x0
	ldr	x19, [x0]
	mov	w9, #4
	str	w9, [sp, #8]
	str	x2, [sp, #16]
	stp	wzr, w1, [sp, #24]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	mov	x2, x8
	bl	_dprintk
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	bl	_i2c_transfer
	cmp	w0, #1
	csetm	w0, ne
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dev: %p\n"

	.no_dead_strip	_tuner_write
.subsections_via_symbols
