	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda7432_set
_tda7432_set:                           ## @tda7432_set
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_v4l2_get_subdevdata
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_to_state
	movq	%rax, %rbx
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	(%rbx), %r8d
	movzbl	1(%rbx), %r9d
	movzbl	2(%rbx), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movzbl	3(%rbx), %r11d
	movzbl	4(%rbx), %r12d
	movzbl	5(%rbx), %r13d
	movzbl	6(%rbx), %eax
	movzbl	7(%rbx), %r14d
	movzbl	8(%rbx), %r10d
	subq	$8, %rsp
	leaq	L_.str(%rip), %rcx
	movl	$1, %edi
	movq	%r15, %rdx
	pushq	%r10
	pushq	%r14
	pushq	%rax
	pushq	%r13
	pushq	%r12
	pushq	%r11
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_v4l2_dbg
	addq	$64, %rsp
	movq	_TDA7432_IN@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, -64(%rbp)
	movb	(%rbx), %al
	movb	%al, -63(%rbp)
	movb	1(%rbx), %al
	movb	%al, -62(%rbp)
	movb	2(%rbx), %al
	movb	%al, -61(%rbp)
	movb	3(%rbx), %al
	movb	%al, -60(%rbp)
	movb	4(%rbx), %al
	movb	%al, -59(%rbp)
	movb	5(%rbx), %al
	movb	%al, -58(%rbp)
	movb	6(%rbx), %al
	movb	%al, -57(%rbp)
	movb	7(%rbx), %al
	movb	%al, -56(%rbp)
	movb	8(%rbx), %al
	movb	%al, -55(%rbp)
	leaq	-64(%rbp), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	$10, %edx
	callq	_i2c_master_send
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$10, %ecx
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_v4l2_err
	movl	$-1, %eax
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_4
## %bb.3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_debug,4,2                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tda7432: 7432_set(0x%02x,0x%02x,0x%02x,0x%02x,0x%02x,0x%02x,0x%02x,0x%02x,0x%02x)\n"

	.comm	_TDA7432_IN,1,0                 ## @TDA7432_IN
L_.str.1:                               ## @.str.1
	.asciz	"I/O error, trying tda7432_set\n"

	.no_dead_strip	_tda7432_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda7432_set
_tda7432_set:                           ; @tda7432_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_v4l2_get_subdevdata
	mov	x20, x0
	mov	x0, x19
	bl	_to_state
	mov	x21, x0
Lloh3:
	adrp	x8, _debug@GOTPAGE
Lloh4:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldrb	w4, [x0]
	ldrb	w5, [x0, #1]
	ldrb	w6, [x0, #2]
	ldrb	w7, [x0, #3]
	ldr	w8, [x0, #4]
	ldrb	w9, [x0, #8]
	strb	w9, [sp, #4]
	str	w8, [sp]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_v4l2_dbg
Lloh8:
	adrp	x8, _TDA7432_IN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TDA7432_IN@GOTPAGEOFF]
	ldrb	w8, [x8]
	strb	w8, [sp, #8]
	ldrb	w8, [x21]
	strb	w8, [sp, #9]
	ldrb	w8, [x21, #1]
	strb	w8, [sp, #10]
	ldrb	w8, [x21, #2]
	strb	w8, [sp, #11]
	ldrb	w8, [x21, #3]
	strb	w8, [sp, #12]
	ldrb	w8, [x21, #4]
	strb	w8, [sp, #13]
	ldrb	w8, [x21, #5]
	strb	w8, [sp, #14]
	ldrb	w8, [x21, #6]
	strb	w8, [sp, #15]
	ldrb	w8, [x21, #7]
	strb	w8, [sp, #16]
	ldrb	w8, [x21, #8]
	strb	w8, [sp, #17]
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #10
	bl	_i2c_master_send
	cmp	w0, #10
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_v4l2_err
	mov	w0, #-1
LBB0_3:
	ldr	x8, [sp, #24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	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
	add	sp, sp, #80
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_debug,4,2                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tda7432: 7432_set(0x%02x,0x%02x,0x%02x,0x%02x,0x%02x,0x%02x,0x%02x,0x%02x,0x%02x)\n"

	.comm	_TDA7432_IN,1,0                 ; @TDA7432_IN
l_.str.1:                               ; @.str.1
	.asciz	"I/O error, trying tda7432_set\n"

	.no_dead_strip	_tda7432_set
.subsections_via_symbols
