	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_winview_volume                 ## -- Begin function winview_volume
	.p2align	4, 0x90
_winview_volume:                        ## @winview_volume
	.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
	sarl	$11, %esi
	movl	$32, %eax
	subl	%esi, %eax
	movq	_PT2254_DBS_IN_2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movslq	%eax, %rcx
	imulq	$1717986919, %rcx, %rax         ## imm = 0x66666667
	movq	%rax, %rsi
	shrq	$63, %rsi
	sarq	$33, %rax
	addl	%esi, %eax
	leal	(%rax,%rax,4), %esi
	subl	%esi, %ecx
                                        ## kill: def $cl killed $cl killed $rcx
	sarl	%cl, %edx
	movq	_PT2254_DBS_IN_10@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movl	%eax, %ecx
	sarl	%cl, %r15d
	orl	%edx, %r15d
	movq	_PT2254_L_CHANNEL@GOTPCREL(%rip), %rax
	movq	_PT2254_R_CHANNEL@GOTPCREL(%rip), %rcx
	orl	(%rax), %r15d
	orl	(%rcx), %r15d
	xorl	%eax, %eax
	callq	_gpio_read
	movq	_WINVIEW_PT2254_CLK@GOTPCREL(%rip), %r12
	movq	_WINVIEW_PT2254_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%r12), %ebx
	movq	_WINVIEW_PT2254_STROBE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	$17, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_WINVIEW_PT2254_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %eax
	orl	%ebx, %eax
	notl	%r14d
	andl	%ebx, %r14d
	btl	%r13d, %r15d
	cmovbl	%eax, %r14d
	movl	%r14d, %edi
	callq	_gpio_write
	movl	$5, %edi
	callq	_udelay
	orl	(%r12), %r14d
	movl	%r14d, %edi
	callq	_gpio_write
	movl	$5, %edi
	callq	_udelay
	movl	(%r12), %ebx
	notl	%ebx
	andl	%r14d, %ebx
	movl	%ebx, %edi
	callq	_gpio_write
	addl	$-1, %r13d
	jb	LBB0_1
## %bb.2:
	movq	_WINVIEW_PT2254_STROBE@GOTPCREL(%rip), %r15
	orl	(%r15), %ebx
	movq	_WINVIEW_PT2254_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	notl	%r14d
	andl	%ebx, %r14d
	movl	%r14d, %edi
	callq	_gpio_write
	movl	$10, %edi
	callq	_udelay
	movl	(%r15), %edi
	notl	%edi
	andl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gpio_write                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PT2254_DBS_IN_2,4,2            ## @PT2254_DBS_IN_2
	.comm	_PT2254_DBS_IN_10,4,2           ## @PT2254_DBS_IN_10
	.comm	_PT2254_L_CHANNEL,4,2           ## @PT2254_L_CHANNEL
	.comm	_PT2254_R_CHANNEL,4,2           ## @PT2254_R_CHANNEL
	.comm	_WINVIEW_PT2254_CLK,4,2         ## @WINVIEW_PT2254_CLK
	.comm	_WINVIEW_PT2254_DATA,4,2        ## @WINVIEW_PT2254_DATA
	.comm	_WINVIEW_PT2254_STROBE,4,2      ## @WINVIEW_PT2254_STROBE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_winview_volume                 ; -- Begin function winview_volume
	.p2align	2
_winview_volume:                        ; @winview_volume
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	w8, #32
	sub	w8, w8, w1, asr #11
Lloh0:
	adrp	x9, _PT2254_DBS_IN_2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PT2254_DBS_IN_2@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	smull	x10, w8, w10
	lsr	x11, x10, #63
	asr	x10, x10, #33
	add	w10, w10, w11
	add	w11, w10, w10, lsl #2
	sub	w8, w8, w11
Lloh3:
	adrp	x11, _PT2254_DBS_IN_10@GOTPAGE
Lloh4:
	ldr	x11, [x11, _PT2254_DBS_IN_10@GOTPAGEOFF]
	asr	w8, w9, w8
Lloh5:
	ldr	w9, [x11]
	asr	w9, w9, w10
Lloh6:
	adrp	x10, _PT2254_L_CHANNEL@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PT2254_L_CHANNEL@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _PT2254_R_CHANNEL@GOTPAGE
Lloh10:
	ldr	x11, [x11, _PT2254_R_CHANNEL@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	orr	w8, w9, w8
	orr	w8, w8, w10
	orr	w21, w8, w11
	bl	_gpio_read
Lloh12:
	adrp	x23, _WINVIEW_PT2254_CLK@GOTPAGE
Lloh13:
	ldr	x23, [x23, _WINVIEW_PT2254_CLK@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh14:
	adrp	x22, _WINVIEW_PT2254_DATA@GOTPAGE
Lloh15:
	ldr	x22, [x22, _WINVIEW_PT2254_DATA@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w8, w9, w8
Lloh16:
	adrp	x20, _WINVIEW_PT2254_STROBE@GOTPAGE
Lloh17:
	ldr	x20, [x20, _WINVIEW_PT2254_STROBE@GOTPAGEOFF]
	ldr	w9, [x20]
	orr	w8, w8, w9
	bic	w19, w0, w8
	mov	w24, #17
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	orr	w9, w8, w19
	bic	w8, w19, w8
	lsr	w10, w21, w24
	tst	w10, #0x1
	csel	w19, w8, w9, eq
	mov	x0, x19
	bl	_gpio_write
	mov	w0, #5
	bl	_udelay
	ldr	w8, [x23]
	orr	w19, w8, w19
	mov	x0, x19
	bl	_gpio_write
	mov	w0, #5
	bl	_udelay
	ldr	w8, [x23]
	bic	w19, w19, w8
	mov	x0, x19
	bl	_gpio_write
	sub	w24, w24, #1
	cmn	w24, #1
	b.ne	LBB0_1
; %bb.2:
	ldr	w8, [x20]
	orr	w8, w8, w19
	ldr	w9, [x22]
	bic	w19, w8, w9
	mov	x0, x19
	bl	_gpio_write
	mov	w0, #10
	bl	_udelay
	ldr	w8, [x20]
	bic	w0, w19, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_gpio_write
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PT2254_DBS_IN_2,4,2            ; @PT2254_DBS_IN_2
	.comm	_PT2254_DBS_IN_10,4,2           ; @PT2254_DBS_IN_10
	.comm	_PT2254_L_CHANNEL,4,2           ; @PT2254_L_CHANNEL
	.comm	_PT2254_R_CHANNEL,4,2           ; @PT2254_R_CHANNEL
	.comm	_WINVIEW_PT2254_CLK,4,2         ; @WINVIEW_PT2254_CLK
	.comm	_WINVIEW_PT2254_DATA,4,2        ; @WINVIEW_PT2254_DATA
	.comm	_WINVIEW_PT2254_STROBE,4,2      ; @WINVIEW_PT2254_STROBE
.subsections_via_symbols
