	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tea5764_power_up
_tea5764_power_up:                      ## @tea5764_power_up
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_TEA5764_TNCTRL_PUPD0@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.5:
	popq	%rbp
	retq
LBB0_1:
	movq	_TEA5764_TNCTRL_AFM@GOTPCREL(%rip), %rdx
	movq	_TEA5764_TNCTRL_MU@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	movq	_TEA5764_TNCTRL_HLSI@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	notl	%esi
	andl	%esi, %eax
	movl	%eax, (%rdi)
	movq	_use_xtal@GOTPCREL(%rip), %rdx
	cmpl	$0, (%rdx)
	movq	_TEA5764_TESTREG_TRIGFR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	je	LBB0_2
## %bb.3:
	notl	%edx
	andl	%edx, 4(%rdi)
	jmp	LBB0_4
LBB0_2:
	orl	%edx, 4(%rdi)
LBB0_4:
	orl	(%rcx), %eax
	movl	%eax, (%rdi)
	popq	%rbp
	jmp	_tea5764_i2c_write              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TEA5764_TNCTRL_PUPD0,4,2       ## @TEA5764_TNCTRL_PUPD0
	.comm	_TEA5764_TNCTRL_AFM,4,2         ## @TEA5764_TNCTRL_AFM
	.comm	_TEA5764_TNCTRL_MU,4,2          ## @TEA5764_TNCTRL_MU
	.comm	_TEA5764_TNCTRL_HLSI,4,2        ## @TEA5764_TNCTRL_HLSI
	.comm	_use_xtal,4,2                   ## @use_xtal
	.comm	_TEA5764_TESTREG_TRIGFR,4,2     ## @TEA5764_TESTREG_TRIGFR
	.no_dead_strip	_tea5764_power_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tea5764_power_up
_tea5764_power_up:                      ; @tea5764_power_up
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
Lloh0:
	adrp	x8, _TEA5764_TNCTRL_PUPD0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TEA5764_TNCTRL_PUPD0@GOTPAGEOFF]
	ldr	w10, [x8]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	ret
LBB0_2:
Lloh2:
	adrp	x10, _TEA5764_TNCTRL_AFM@GOTPAGE
Lloh3:
	ldr	x10, [x10, _TEA5764_TNCTRL_AFM@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
Lloh5:
	adrp	x11, _TEA5764_TNCTRL_MU@GOTPAGE
Lloh6:
	ldr	x11, [x11, _TEA5764_TNCTRL_MU@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	orr	w10, w11, w10
Lloh8:
	adrp	x11, _TEA5764_TNCTRL_HLSI@GOTPAGE
Lloh9:
	ldr	x11, [x11, _TEA5764_TNCTRL_HLSI@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
	orr	w10, w10, w11
	bic	w9, w9, w10
	str	w9, [x0]
Lloh11:
	adrp	x10, _use_xtal@GOTPAGE
Lloh12:
	ldr	x10, [x10, _use_xtal@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x10]
Lloh14:
	adrp	x10, _TEA5764_TESTREG_TRIGFR@GOTPAGE
Lloh15:
	ldr	x10, [x10, _TEA5764_TESTREG_TRIGFR@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	cbz	w11, LBB0_4
; %bb.3:
	ldr	w11, [x0, #4]
	bic	w10, w11, w10
	b	LBB0_5
LBB0_4:
	ldr	w11, [x0, #4]
	orr	w10, w11, w10
LBB0_5:
	ldr	w8, [x8]
	orr	w8, w8, w9
	stp	w8, w10, [x0]
	b	_tea5764_i2c_write
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TEA5764_TNCTRL_PUPD0,4,2       ; @TEA5764_TNCTRL_PUPD0
	.comm	_TEA5764_TNCTRL_AFM,4,2         ; @TEA5764_TNCTRL_AFM
	.comm	_TEA5764_TNCTRL_MU,4,2          ; @TEA5764_TNCTRL_MU
	.comm	_TEA5764_TNCTRL_HLSI,4,2        ; @TEA5764_TNCTRL_HLSI
	.comm	_use_xtal,4,2                   ; @use_xtal
	.comm	_TEA5764_TESTREG_TRIGFR,4,2     ; @TEA5764_TESTREG_TRIGFR
	.no_dead_strip	_tea5764_power_up
.subsections_via_symbols
