	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function initialize_cs8420
_initialize_cs8420:                     ## @initialize_cs8420
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testl	%esi, %esi
	jne	LBB0_1
## %bb.2:
	movq	_mode8420con@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_mode8420pro@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %r12
	movq	_INIT8420LEN@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	movq	_init8420@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx,8), %edx
	movl	4(%rax,%rbx,8), %ecx
	movq	%r14, %rdi
	movl	$32, %esi
	movl	$2, %r8d
	callq	_I2CWrite
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	movq	_MODE8420LEN@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx,8), %edx
	movl	4(%r12,%rbx,8), %ecx
	movq	%r14, %rdi
	movl	$32, %esi
	movl	$2, %r8d
	callq	_I2CWrite
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printk                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mode8420pro,8,3                ## @mode8420pro
	.comm	_mode8420con,8,3                ## @mode8420con
	.comm	_INIT8420LEN,4,2                ## @INIT8420LEN
	.comm	_init8420,8,3                   ## @init8420
	.comm	_MODE8420LEN,4,2                ## @MODE8420LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stradis%d: CS8420 initialized\n"

	.no_dead_strip	_initialize_cs8420
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function initialize_cs8420
_initialize_cs8420:                     ; @initialize_cs8420
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _mode8420con@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mode8420con@GOTPAGEOFF]
Lloh2:
	adrp	x9, _mode8420pro@GOTPAGE
Lloh3:
	ldr	x9, [x9, _mode8420pro@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x8, x9, eq
	ldr	x20, [x8]
Lloh4:
	adrp	x21, _INIT8420LEN@GOTPAGE
Lloh5:
	ldr	x21, [x21, _INIT8420LEN@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
	mov	x23, #0
Lloh6:
	adrp	x24, _init8420@GOTPAGE
Lloh7:
	ldr	x24, [x24, _init8420@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	add	x8, x8, x22
	ldp	w2, w3, [x8]
	mov	x0, x19
	mov	w1, #32
	mov	w4, #2
	bl	_I2CWrite
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	x22, x22, #8
	cmp	x23, x8
	b.lt	LBB0_2
LBB0_3:
Lloh8:
	adrp	x21, _MODE8420LEN@GOTPAGE
Lloh9:
	ldr	x21, [x21, _MODE8420LEN@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x22, #0
	add	x20, x20, #4
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w2, w3, [x20, #-4]
	mov	x0, x19
	mov	w1, #32
	mov	w4, #2
	bl	_I2CWrite
	add	x22, x22, #1
	ldrsw	x8, [x21]
	add	x20, x20, #8
	cmp	x22, x8
	b.lt	LBB0_5
LBB0_6:
	ldr	w1, [x19]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_printk
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_mode8420pro,8,3                ; @mode8420pro
	.comm	_mode8420con,8,3                ; @mode8420con
	.comm	_INIT8420LEN,4,2                ; @INIT8420LEN
	.comm	_init8420,8,3                   ; @init8420
	.comm	_MODE8420LEN,4,2                ; @MODE8420LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stradis%d: CS8420 initialized\n"

	.no_dead_strip	_initialize_cs8420
.subsections_via_symbols
