	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function philips_tu1216_init
_philips_tu1216_init:                   ## @philips_tu1216_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	(%rcx), %rbx
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	leaq	_philips_tu1216_init.tu1216_init(%rip), %rax
	movq	%rax, -24(%rbp)
	movq	$16, -16(%rbp)
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1, %esi
	callq	*%rax
LBB0_2:
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_i2c_transfer
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.4:
	movl	$1, %edi
	callq	_msleep
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @philips_tu1216_init.tu1216_init
_philips_tu1216_init.tu1216_init:
	.long	11                              ## 0xb
	.long	245                             ## 0xf5
	.long	133                             ## 0x85
	.long	171                             ## 0xab

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_philips_tu1216_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function philips_tu1216_init
lCPI0_0:
	.long	16                              ; 0x10
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_philips_tu1216_init:                   ; @philips_tu1216_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	ldp	x9, x8, [x0, #8]
	ldr	x19, [x8]
	ldr	x8, [x0]
	ldr	x9, [x9]
	ldr	w9, [x9]
	str	w9, [sp, #8]
Lloh0:
	adrp	x9, _philips_tu1216_init.tu1216_init@PAGE
Lloh1:
	add	x9, x9, _philips_tu1216_init.tu1216_init@PAGEOFF
	str	x9, [sp, #16]
Lloh2:
	adrp	x9, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [sp, #24]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w1, #1
	blr	x8
LBB0_2:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	bl	_i2c_transfer
	cmp	w0, #1
	b.ne	LBB0_4
; %bb.3:
	bl	_msleep
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x8, _EIO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @philips_tu1216_init.tu1216_init
_philips_tu1216_init.tu1216_init:
	.long	11                              ; 0xb
	.long	245                             ; 0xf5
	.long	133                             ; 0x85
	.long	171                             ; 0xab

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_philips_tu1216_init
.subsections_via_symbols
