	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda10021_setup_reg0
_tda10021_setup_reg0:                   ## @tda10021_setup_reg0
	.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	%rdi, %r14
	movl	(%rdi), %eax
	andl	$67, %eax
	movq	_INVERSION_ON@GOTPCREL(%rip), %rcx
	cmpl	%edx, (%rcx)
	sete	%cl
	movq	8(%rdi), %rdx
	cmpq	$0, (%rdx)
	sete	%dl
	xorb	%cl, %dl
	andl	$-33, %esi
	orl	%eax, %esi
	xorb	$1, %dl
	movzbl	%dl, %ebx
	shll	$5, %ebx
	orl	%esi, %ebx
	movl	%ebx, %edx
	andl	$254, %edx
	xorl	%esi, %esi
	callq	__tda10021_writereg
	movl	%ebx, %edx
	orl	$1, %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	__tda10021_writereg
	movl	%ebx, (%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INVERSION_ON,4,2               ## @INVERSION_ON
	.no_dead_strip	_tda10021_setup_reg0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda10021_setup_reg0
_tda10021_setup_reg0:                   ; @tda10021_setup_reg0
	.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, x0
	ldr	w8, [x0]
	mov	w9, #67
	and	w8, w8, w9
Lloh0:
	adrp	x9, _INVERSION_ON@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INVERSION_ON@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w2
	cset	w9, eq
	ldr	x10, [x0, #8]
	ldr	x10, [x10]
	cmp	x10, #0
	cset	w10, eq
	eor	w9, w9, w10
	and	w10, w1, #0xffffffdf
	orr	w8, w8, w10
	mov	w10, #32
	cmp	w9, #0
	csel	w9, wzr, w10, ne
	orr	w20, w8, w9
	and	w2, w20, #0xfe
	mov	w1, #0
	bl	__tda10021_writereg
	orr	w2, w20, #0x1
	mov	x0, x19
	mov	w1, #0
	bl	__tda10021_writereg
	str	w20, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INVERSION_ON,4,2               ; @INVERSION_ON
	.no_dead_strip	_tda10021_setup_reg0
.subsections_via_symbols
