	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snapper_set_capture_source
_snapper_set_capture_source:            ## @snapper_set_capture_source
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movl	4(%rdi), %edi
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	xorl	%ecx, %ecx
	cmpq	$0, 8(%rax)
	setne	%cl
	movl	(%rax), %edx
	andl	$-3, %edx
	leal	(%rdx,%rcx,2), %edx
	movl	%edx, (%rax)
	movq	_TAS_REG_ACS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_i2c_smbus_write_byte_data      ## TAILCALL
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_TAS_REG_ACS,4,2                ## @TAS_REG_ACS
	.no_dead_strip	_snapper_set_capture_source
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snapper_set_capture_source
_snapper_set_capture_source:            ; @snapper_set_capture_source
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	w0, [x0, #4]
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x9, [x8, #8]
	cmp	x9, #0
	cset	w9, ne
	ldr	w2, [x8]
	bfi	w2, w9, #1, #1
	str	w2, [x8]
Lloh0:
	adrp	x8, _TAS_REG_ACS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TAS_REG_ACS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	b	_i2c_smbus_write_byte_data
LBB0_2:
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_TAS_REG_ACS,4,2                ; @TAS_REG_ACS
	.no_dead_strip	_snapper_set_capture_source
.subsections_via_symbols
