	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_s_tuner
_vidioc_s_tuner:                        ## @vidioc_s_tuner
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	movq	8(%rdx), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_DEB_D
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	%rdx, %rcx
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	movl	(%rdx), %edx
	movl	%edx, (%rax)
	movq	_tuner@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_s_tuner@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	popq	%rbp
	jmp	_call_all                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VIDIOC_S_TUNER: channel %d does not have a tuner attached\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_tuner,4,2                      ## @tuner
	.comm	_s_tuner,4,2                    ## @s_tuner
	.no_dead_strip	_vidioc_s_tuner
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_s_tuner
_vidioc_s_tuner:                        ; @vidioc_s_tuner
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x1
	ldr	x1, [x2, #8]
	cbz	x1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DEB_D
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x3, x2
	ldr	x0, [x8]
	ldr	x8, [x0]
	ldr	w9, [x2]
	str	w9, [x8]
Lloh5:
	adrp	x8, _tuner@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tuner@GOTPAGEOFF]
Lloh7:
	adrp	x9, _s_tuner@GOTPAGE
Lloh8:
	ldr	x9, [x9, _s_tuner@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	ldr	w2, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_call_all
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VIDIOC_S_TUNER: channel %d does not have a tuner attached\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_tuner,4,2                      ; @tuner
	.comm	_s_tuner,4,2                    ; @s_tuner
	.no_dead_strip	_vidioc_s_tuner
.subsections_via_symbols
