	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function helene_x_pon
LCPI0_0:
	.long	132                             ## 0x84
	.long	166                             ## 0xa6
	.long	128                             ## 0x80
	.long	0                               ## 0x0
LCPI0_1:
	.long	0                               ## 0x0
	.long	196                             ## 0xc4
	.long	64                              ## 0x40
	.long	16                              ## 0x10
LCPI0_2:
	.long	0                               ## 0x0
	.long	69                              ## 0x45
	.long	117                             ## 0x75
	.long	7                               ## 0x7
LCPI0_3:
	.long	28                              ## 0x1c
	.long	63                              ## 0x3f
	.long	2                               ## 0x2
	.long	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_helene_x_pon:                          ## @helene_x_pon
	.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
	subq	$120, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movaps	L___const.helene_x_pon.dataT(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movabsq	$4294967418, %rax               ## imm = 0x10000007A
	movq	%rax, -144(%rbp)
	xorl	%r14d, %r14d
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_helene_write_reg
	movq	%rbx, %rdi
	movl	$103, %esi
	xorl	%edx, %edx
	callq	_helene_write_reg
	movq	%rbx, %rdi
	movl	$67, %esi
	movl	$6, %edx
	callq	_helene_write_reg
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$94, %esi
	movl	$3, %ecx
	callq	_helene_write_regs
	movq	%rbx, %rdi
	movl	$12, %esi
	movl	$5, %edx
	callq	_helene_write_reg
	leaq	-144(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$153, %esi
	movl	$8, %ecx
	callq	_helene_write_regs
	movq	(%rbx), %rax
	movq	_SONY_HELENE_XTAL_16000@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	setne	%dl
	leal	16(,%rdx,8), %eax
	movl	%eax, -128(%rbp)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [132,166,128,0]
	movups	%xmm0, -124(%rbp)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [0,196,64,16]
	movups	%xmm0, -108(%rbp)
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [0,69,117,7]
	movups	%xmm0, -92(%rbp)
	movaps	LCPI0_3(%rip), %xmm0            ## xmm0 = [28,63,2,16]
	movups	%xmm0, -76(%rbp)
	movabsq	$42949672992, %rax              ## imm = 0xA00000020
	movq	%rax, -60(%rbp)
	movl	$0, -52(%rbp)
	leaq	-128(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$129, %esi
	movl	$80, %ecx
	callq	_helene_write_regs
	movq	%rbx, %rdi
	movl	$155, %esi
	xorl	%edx, %edx
	callq	_helene_write_reg
	movl	$20, %edi
	callq	_msleep
	leaq	-136(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$26, %esi
	movl	$8, %ecx
	callq	_helene_read_regs
	movl	-136(%rbp), %edx
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_3
LBB0_2:
	movabsq	$25769803920, %rax              ## imm = 0x600000090
	movq	%rax, -144(%rbp)
	leaq	-144(%rbp), %r15
	movq	%rbx, %rdi
	movl	$23, %esi
	movq	%r15, %rdx
	movl	$8, %ecx
	callq	_helene_write_regs
	movl	$20, %edi
	callq	_msleep
	leaq	-128(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$25, %esi
	callq	_helene_read_reg
	movl	-128(%rbp), %edx
	shrl	$4, %edx
	andl	$15, %edx
	movq	%rbx, %rdi
	movl	$149, %esi
	callq	_helene_write_reg
	movq	%rbx, %rdi
	movl	$116, %esi
	movl	$2, %edx
	callq	_helene_write_reg
	movq	%rbx, %rdi
	movl	$136, %esi
	xorl	%edx, %edx
	callq	_helene_write_reg
	movq	%rbx, %rdi
	movl	$135, %esi
	movl	$192, %edx
	callq	_helene_write_reg
	movq	%rbx, %rdi
	movl	$128, %esi
	movl	$1, %edx
	callq	_helene_write_reg
	movq	$7, -144(%rbp)
	movq	%rbx, %rdi
	movl	$65, %esi
	movq	%r15, %rdx
	movl	$8, %ecx
	callq	_helene_write_regs
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_info
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%r14d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @__const.helene_x_pon.dataT
L___const.helene_x_pon.dataT:
	.long	6                               ## 0x6
	.long	0                               ## 0x0
	.long	2                               ## 0x2
	.long	0                               ## 0x0

	.comm	_SONY_HELENE_XTAL_16000,8,3     ## @SONY_HELENE_XTAL_16000
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HELENE tuner CPU error 0x%x\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.1:                               ## @.str.1
	.asciz	"HELENE tuner x_pon done\n"

	.no_dead_strip	_helene_x_pon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function helene_x_pon
lCPI0_0:
	.long	132                             ; 0x84
	.long	166                             ; 0xa6
	.long	128                             ; 0x80
	.long	0                               ; 0x0
lCPI0_1:
	.long	0                               ; 0x0
	.long	196                             ; 0xc4
	.long	64                              ; 0x40
	.long	16                              ; 0x10
lCPI0_2:
	.long	0                               ; 0x0
	.long	69                              ; 0x45
	.long	117                             ; 0x75
	.long	7                               ; 0x7
lCPI0_3:
	.long	28                              ; 0x1c
	.long	63                              ; 0x3f
	.long	2                               ; 0x2
	.long	16                              ; 0x10
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_4:
	.long	32                              ; 0x20
	.long	10                              ; 0xa
lCPI0_5:
	.long	144                             ; 0x90
	.long	6                               ; 0x6
lCPI0_6:
	.long	7                               ; 0x7
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_helene_x_pon:                          ; @helene_x_pon
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, l___const.helene_x_pon.dataT@PAGE
Lloh4:
	add	x8, x8, l___const.helene_x_pon.dataT@PAGEOFF
Lloh5:
	ldr	q0, [x8]
	stur	q0, [x29, #-48]
	mov	x8, #122
	movk	x8, #1, lsl #32
	str	x8, [sp]
	mov	w1, #1
	mov	w2, #0
	bl	_helene_write_reg
	mov	x0, x19
	mov	w1, #103
	mov	w2, #0
	bl	_helene_write_reg
	mov	x0, x19
	mov	w1, #67
	mov	w2, #6
	bl	_helene_write_reg
	sub	x2, x29, #48
	mov	x0, x19
	mov	w1, #94
	mov	w3, #3
	bl	_helene_write_regs
	mov	x0, x19
	mov	w1, #12
	mov	w2, #5
	bl	_helene_write_reg
	mov	x2, sp
	mov	x0, x19
	mov	w1, #153
	mov	w3, #8
	bl	_helene_write_regs
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _SONY_HELENE_XTAL_16000@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SONY_HELENE_XTAL_16000@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #24
	mov	w9, #16
	csel	w8, w9, w8, eq
	str	w8, [sp, #16]
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [sp, #20]
Lloh11:
	adrp	x8, lCPI0_1@PAGE
Lloh12:
	ldr	q0, [x8, lCPI0_1@PAGEOFF]
	stur	q0, [sp, #36]
Lloh13:
	adrp	x8, lCPI0_2@PAGE
Lloh14:
	ldr	q0, [x8, lCPI0_2@PAGEOFF]
	stur	q0, [sp, #52]
Lloh15:
	adrp	x8, lCPI0_3@PAGE
Lloh16:
	ldr	q0, [x8, lCPI0_3@PAGEOFF]
	stur	q0, [sp, #68]
Lloh17:
	adrp	x8, lCPI0_4@PAGE
Lloh18:
	ldr	d0, [x8, lCPI0_4@PAGEOFF]
	stur	d0, [sp, #84]
	str	wzr, [sp, #92]
	add	x2, sp, #16
	mov	x0, x19
	mov	w1, #129
	mov	w3, #80
	bl	_helene_write_regs
	mov	x0, x19
	mov	w1, #155
	mov	w2, #0
	bl	_helene_write_reg
	mov	w0, #20
	bl	_msleep
	add	x2, sp, #8
	mov	x0, x19
	mov	w1, #26
	mov	w3, #8
	bl	_helene_read_regs
	ldr	w2, [sp, #8]
	cbz	w2, LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh21:
	adrp	x8, _EIO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
Lloh24:
	adrp	x8, lCPI0_5@PAGE
Lloh25:
	ldr	d0, [x8, lCPI0_5@PAGEOFF]
	str	d0, [sp]
	mov	x2, sp
	mov	x0, x19
	mov	w1, #23
	mov	w3, #8
	bl	_helene_write_regs
	mov	w0, #20
	bl	_msleep
	add	x2, sp, #16
	mov	x0, x19
	mov	w1, #25
	bl	_helene_read_reg
	ldr	w8, [sp, #16]
	ubfx	w2, w8, #4, #4
	mov	x0, x19
	mov	w1, #149
	bl	_helene_write_reg
	mov	x0, x19
	mov	w1, #116
	mov	w2, #2
	bl	_helene_write_reg
	mov	x0, x19
	mov	w1, #136
	mov	w2, #0
	bl	_helene_write_reg
	mov	x0, x19
	mov	w1, #135
	mov	w2, #192
	bl	_helene_write_reg
	mov	x0, x19
	mov	w1, #128
	mov	w2, #1
	bl	_helene_write_reg
Lloh26:
	adrp	x8, lCPI0_6@PAGE
Lloh27:
	ldr	d0, [x8, lCPI0_6@PAGEOFF]
	str	d0, [sp]
	mov	x2, sp
	mov	x0, x19
	mov	w1, #65
	mov	w3, #8
	bl	_helene_write_regs
	ldr	x0, [x19, #8]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_info
	mov	w0, #0
LBB0_3:
	ldur	x8, [x29, #-24]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpAdrp	Lloh15, Lloh17
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpAdrp	Lloh13, Lloh15
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpAdrp	Lloh11, Lloh13
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpAdrp	Lloh9, Lloh11
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdr	Lloh26, Lloh27
	.loh AdrpLdr	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @__const.helene_x_pon.dataT
l___const.helene_x_pon.dataT:
	.long	6                               ; 0x6
	.long	0                               ; 0x0
	.long	2                               ; 0x2
	.long	0                               ; 0x0

	.comm	_SONY_HELENE_XTAL_16000,8,3     ; @SONY_HELENE_XTAL_16000
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HELENE tuner CPU error 0x%x\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.1:                               ; @.str.1
	.asciz	"HELENE tuner x_pon done\n"

	.no_dead_strip	_helene_x_pon
.subsections_via_symbols
