	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function su3000_streaming_ctrl
_su3000_streaming_ctrl:                 ## @su3000_streaming_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	testl	%esi, %esi
	leaq	_su3000_streaming_ctrl.command_stop(%rip), %rax
	leaq	_su3000_streaming_ctrl.command_start(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, -24(%rbp)
	movq	$1, -16(%rbp)
	movq	_SU3000_STREAM_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	movq	(%rdi), %rdi
	leaq	-24(%rbp), %rsi
	movl	$1, %edx
	callq	_i2c_transfer
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_su3000_streaming_ctrl.command_start,4,2 ## @su3000_streaming_ctrl.command_start
	.section	__DATA,__data
	.p2align	2                               ## @su3000_streaming_ctrl.command_stop
_su3000_streaming_ctrl.command_stop:
	.long	1                               ## 0x1

	.comm	_SU3000_STREAM_CTRL,4,2         ## @SU3000_STREAM_CTRL
	.no_dead_strip	_su3000_streaming_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function su3000_streaming_ctrl
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_su3000_streaming_ctrl:                 ; @su3000_streaming_ctrl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, _su3000_streaming_ctrl.command_start@PAGE
Lloh1:
	add	x8, x8, _su3000_streaming_ctrl.command_start@PAGEOFF
Lloh2:
	adrp	x9, _su3000_streaming_ctrl.command_stop@PAGE
Lloh3:
	add	x9, x9, _su3000_streaming_ctrl.command_stop@PAGEOFF
	cmp	w1, #0
	csel	x8, x9, x8, eq
	str	x8, [sp, #8]
Lloh4:
	adrp	x8, lCPI0_0@PAGE
Lloh5:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #16]
Lloh6:
	adrp	x8, _SU3000_STREAM_CTRL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SU3000_STREAM_CTRL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	x0, [x0]
	add	x1, sp, #8
	mov	w2, #1
	bl	_i2c_transfer
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdrp	Lloh4, Lloh6
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_su3000_streaming_ctrl.command_start,4,2 ; @su3000_streaming_ctrl.command_start
	.section	__DATA,__data
	.p2align	2                               ; @su3000_streaming_ctrl.command_stop
_su3000_streaming_ctrl.command_stop:
	.long	1                               ; 0x1

	.comm	_SU3000_STREAM_CTRL,4,2         ; @SU3000_STREAM_CTRL
	.no_dead_strip	_su3000_streaming_ctrl
.subsections_via_symbols
