	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function af9005_pid_filter_control
_af9005_pid_filter_control:             ## @af9005_pid_filter_control
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_deb_info
	movl	(%r14), %edi
	movq	_XD_MP2IF_DMX_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.1:
	movl	$1, %edx
	callq	_af9005_write_ofdm_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	movl	(%r14), %edi
	movl	(%r15), %esi
	movl	$1, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_af9005_write_register_bits
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movl	(%r14), %edi
	movl	(%r15), %esi
	movl	$1, %edx
	jmp	LBB0_5
LBB0_4:
	xorl	%edx, %edx
LBB0_5:
	callq	_af9005_write_ofdm_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_deb_info
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pid filter control  onoff %d\n"

	.comm	_XD_MP2IF_DMX_CTRL,4,2          ## @XD_MP2IF_DMX_CTRL
L_.str.1:                               ## @.str.1
	.asciz	"pid filter control ok\n"

	.no_dead_strip	_af9005_pid_filter_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function af9005_pid_filter_control
_af9005_pid_filter_control:             ; @af9005_pid_filter_control
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	str	x20, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_deb_info
	ldr	w0, [x19]
Lloh2:
	adrp	x21, _XD_MP2IF_DMX_CTRL@GOTPAGE
Lloh3:
	ldr	x21, [x21, _XD_MP2IF_DMX_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	cbz	w20, LBB0_4
; %bb.1:
	mov	w2, #1
	bl	_af9005_write_ofdm_register
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	w0, [x19]
	ldr	w1, [x21]
	mov	w2, #1
	mov	w3, #1
	mov	w4, #1
	bl	_af9005_write_register_bits
	cbnz	w0, LBB0_6
; %bb.3:
	ldr	w0, [x19]
	ldr	w1, [x21]
	mov	w2, #1
	bl	_af9005_write_ofdm_register
	cbnz	w0, LBB0_6
	b	LBB0_5
LBB0_4:
	mov	w2, #0
	bl	_af9005_write_ofdm_register
	cbnz	w0, LBB0_6
LBB0_5:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_deb_info
	mov	w0, #0
LBB0_6:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pid filter control  onoff %d\n"

	.comm	_XD_MP2IF_DMX_CTRL,4,2          ; @XD_MP2IF_DMX_CTRL
l_.str.1:                               ; @.str.1
	.asciz	"pid filter control ok\n"

	.no_dead_strip	_af9005_pid_filter_control
.subsections_via_symbols
