	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gvbctv3pci_audio               ## -- Begin function gvbctv3pci_audio
	.p2align	4, 0x90
_gvbctv3pci_audio:                      ## @gvbctv3pci_audio
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movl	$768, %r14d                     ## imm = 0x300
	movl	$768, %edi                      ## imm = 0x300
	movl	$768, %esi                      ## imm = 0x300
	callq	_gpio_inout
	movl	(%rbx), %eax
	xorl	%ecx, %ecx
	cmpl	$129, %eax
	cmovel	%r14d, %ecx
	cmpl	$128, %eax
	movl	$512, %esi                      ## imm = 0x200
	cmovnel	%ecx, %esi
	movl	$768, %edi                      ## imm = 0x300
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gpio_bits                      ## TAILCALL
LBB0_1:
	movl	$130, (%rbx)
	movq	_V4L2_TUNER_SUB_MONO@GOTPCREL(%rip), %rax
	movq	_V4L2_TUNER_SUB_STEREO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_V4L2_TUNER_SUB_LANG1@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_V4L2_TUNER_SUB_LANG2@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_TUNER_SUB_MONO,4,2        ## @V4L2_TUNER_SUB_MONO
	.comm	_V4L2_TUNER_SUB_STEREO,4,2      ## @V4L2_TUNER_SUB_STEREO
	.comm	_V4L2_TUNER_SUB_LANG1,4,2       ## @V4L2_TUNER_SUB_LANG1
	.comm	_V4L2_TUNER_SUB_LANG2,4,2       ## @V4L2_TUNER_SUB_LANG2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gvbctv3pci_audio               ; -- Begin function gvbctv3pci_audio
	.p2align	2
_gvbctv3pci_audio:                      ; @gvbctv3pci_audio
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	cbz	w2, LBB0_2
; %bb.1:
	mov	w20, #768
	mov	w0, #768
	mov	w1, #768
	bl	_gpio_inout
	ldr	w8, [x19]
	cmp	w8, #129
	csel	w9, w20, wzr, eq
	mov	w10, #512
	cmp	w8, #128
	csel	w1, w10, w9, eq
	mov	w0, #768
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gpio_bits
LBB0_2:
	mov	w8, #130
	str	w8, [x19]
Lloh0:
	adrp	x8, _V4L2_TUNER_SUB_MONO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_TUNER_SUB_MONO@GOTPAGEOFF]
Lloh2:
	adrp	x9, _V4L2_TUNER_SUB_STEREO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _V4L2_TUNER_SUB_STEREO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _V4L2_TUNER_SUB_LANG1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _V4L2_TUNER_SUB_LANG1@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _V4L2_TUNER_SUB_LANG2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _V4L2_TUNER_SUB_LANG2@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_TUNER_SUB_MONO,4,2        ; @V4L2_TUNER_SUB_MONO
	.comm	_V4L2_TUNER_SUB_STEREO,4,2      ; @V4L2_TUNER_SUB_STEREO
	.comm	_V4L2_TUNER_SUB_LANG1,4,2       ; @V4L2_TUNER_SUB_LANG1
	.comm	_V4L2_TUNER_SUB_LANG2,4,2       ; @V4L2_TUNER_SUB_LANG2
.subsections_via_symbols
