	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function au0828_analog_stream_enable
_au0828_analog_stream_enable:           ## @au0828_analog_stream_enable
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_dprintk
	movq	_DEV_DISCONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r15), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_7
LBB0_2:
	movl	8(%r15), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_usb_ifnum_to_if
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	(%rax), %rax
	cmpl	$5, (%rax)
	je	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_dprintk
	movl	8(%r15), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$5, %edx
	callq	_usb_set_interface
	testl	%eax, %eax
	js	LBB0_5
LBB0_6:
	movl	(%r15), %eax
	movl	4(%r15), %r12d
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
	addl	$2, %ebx
	leal	(%r12,%r12), %r13d
	movq	_AU0828_SENSORCTRL_VBI_103@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_au0828_writereg
	movq	%r15, %rdi
	movl	$262, %esi                      ## imm = 0x106
	xorl	%edx, %edx
	callq	_au0828_writereg
	movq	%r15, %rdi
	movl	$272, %esi                      ## imm = 0x110
	xorl	%edx, %edx
	callq	_au0828_writereg
	movq	%r15, %rdi
	movl	$273, %esi                      ## imm = 0x111
	xorl	%edx, %edx
	callq	_au0828_writereg
	movzbl	%r13b, %edx
	movq	%r15, %rdi
	movl	$276, %esi                      ## imm = 0x114
	callq	_au0828_writereg
	sarl	$7, %r12d
	movq	%r15, %rdi
	movl	$277, %esi                      ## imm = 0x115
	movl	%r12d, %edx
	callq	_au0828_writereg
	movq	%r15, %rdi
	movl	$274, %esi                      ## imm = 0x112
	xorl	%edx, %edx
	callq	_au0828_writereg
	movq	%r15, %rdi
	movl	$275, %esi                      ## imm = 0x113
	xorl	%edx, %edx
	callq	_au0828_writereg
	movzbl	%bl, %edx
	movq	%r15, %rdi
	movl	$278, %esi                      ## imm = 0x116
	callq	_au0828_writereg
	sarl	$8, %ebx
	movq	%r15, %rdi
	movl	$279, %esi                      ## imm = 0x117
	movl	%ebx, %edx
	callq	_au0828_writereg
	movq	_AU0828_SENSORCTRL_100@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$179, %edx
	callq	_au0828_writereg
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_info
	movq	_EBUSY@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %r14d
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"au0828_analog_stream_enable called\n"

	.comm	_DEV_DISCONNECTED,4,2           ## @DEV_DISCONNECTED
	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"Changing intf#0 to alt 5\n"

L_.str.2:                               ## @.str.2
	.asciz	"Au0828 can't set alt setting to 5!\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_AU0828_SENSORCTRL_VBI_103,4,2  ## @AU0828_SENSORCTRL_VBI_103
	.comm	_AU0828_SENSORCTRL_100,4,2      ## @AU0828_SENSORCTRL_100
	.no_dead_strip	_au0828_analog_stream_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function au0828_analog_stream_enable
_au0828_analog_stream_enable:           ; @au0828_analog_stream_enable
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_dprintk
Lloh2:
	adrp	x8, _DEV_DISCONNECTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DEV_DISCONNECTED@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, x19, #12
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_3:
	ldr	w0, [x19, #8]
	mov	w1, #0
	bl	_usb_ifnum_to_if
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x0]
	ldr	w8, [x8]
	cmp	w8, #5
	b.eq	LBB0_6
; %bb.5:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_dprintk
	ldr	w0, [x19, #8]
	mov	w1, #0
	mov	w2, #5
	bl	_usb_set_interface
	tbnz	w0, #31, LBB0_8
LBB0_6:
	ldp	w8, w21, [x19]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	add	w20, w8, #2
Lloh9:
	adrp	x8, _AU0828_SENSORCTRL_VBI_103@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AU0828_SENSORCTRL_VBI_103@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_au0828_writereg
	mov	x0, x19
	mov	w1, #262
	mov	w2, #0
	bl	_au0828_writereg
	mov	x0, x19
	mov	w1, #272
	mov	w2, #0
	bl	_au0828_writereg
	mov	x0, x19
	mov	w1, #273
	mov	w2, #0
	bl	_au0828_writereg
	ubfiz	w2, w21, #1, #7
	mov	x0, x19
	mov	w1, #276
	bl	_au0828_writereg
	asr	w2, w21, #7
	mov	x0, x19
	mov	w1, #277
	bl	_au0828_writereg
	mov	x0, x19
	mov	w1, #274
	mov	w2, #0
	bl	_au0828_writereg
	mov	x0, x19
	mov	w1, #275
	mov	w2, #0
	bl	_au0828_writereg
	and	w2, w20, #0xff
	mov	x0, x19
	mov	w1, #278
	bl	_au0828_writereg
	asr	w2, w20, #8
	mov	x0, x19
	mov	w1, #279
	bl	_au0828_writereg
Lloh12:
	adrp	x8, _AU0828_SENSORCTRL_100@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AU0828_SENSORCTRL_100@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #179
	bl	_au0828_writereg
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_info
Lloh17:
	adrp	x8, _EBUSY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"au0828_analog_stream_enable called\n"

	.comm	_DEV_DISCONNECTED,4,2           ; @DEV_DISCONNECTED
	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"Changing intf#0 to alt 5\n"

l_.str.2:                               ; @.str.2
	.asciz	"Au0828 can't set alt setting to 5!\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_AU0828_SENSORCTRL_VBI_103,4,2  ; @AU0828_SENSORCTRL_VBI_103
	.comm	_AU0828_SENSORCTRL_100,4,2      ; @AU0828_SENSORCTRL_100
	.no_dead_strip	_au0828_analog_stream_enable
.subsections_via_symbols
