	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function friio_init
_friio_init:                            ## @friio_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_FRIIO_LED_STOPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_friio_ext_ctl
	testl	%eax, %eax
	js	LBB0_6
## %bb.1:
	movl	$20, %edi
	callq	_msleep
	movq	%rbx, %rdi
	callq	_d_to_priv
	movq	%rax, %r15
	leaq	_friio_init.demod_init(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_5
## %bb.2:
	xorl	%r12d, %r12d
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	%rbx, %rsi
	movl	$2, %edx
	callq	_i2c_master_send
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %rbx
	cmpq	%rax, %r12
	jl	LBB0_4
LBB0_5:
	movl	$100, %edi
	callq	_msleep
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @friio_init.demod_init
_friio_init.demod_init:
	.long	1                               ## 0x1
	.long	64                              ## 0x40
	.space	8
	.long	4                               ## 0x4
	.long	56                              ## 0x38
	.space	8
	.long	5                               ## 0x5
	.long	64                              ## 0x40
	.space	8
	.long	7                               ## 0x7
	.long	64                              ## 0x40
	.space	8
	.long	15                              ## 0xf
	.long	79                              ## 0x4f
	.space	8
	.long	17                              ## 0x11
	.long	33                              ## 0x21
	.space	8
	.long	18                              ## 0x12
	.long	11                              ## 0xb
	.space	8
	.long	19                              ## 0x13
	.long	47                              ## 0x2f
	.space	8
	.long	20                              ## 0x14
	.long	49                              ## 0x31
	.space	8
	.long	22                              ## 0x16
	.long	2                               ## 0x2
	.space	8
	.long	33                              ## 0x21
	.long	196                             ## 0xc4
	.space	8
	.long	34                              ## 0x22
	.long	32                              ## 0x20
	.space	8
	.long	44                              ## 0x2c
	.long	121                             ## 0x79
	.space	8
	.long	45                              ## 0x2d
	.long	52                              ## 0x34
	.space	8
	.long	47                              ## 0x2f
	.long	0                               ## 0x0
	.space	8
	.long	48                              ## 0x30
	.long	40                              ## 0x28
	.space	8
	.long	49                              ## 0x31
	.long	49                              ## 0x31
	.space	8
	.long	50                              ## 0x32
	.long	223                             ## 0xdf
	.space	8
	.long	56                              ## 0x38
	.long	1                               ## 0x1
	.space	8
	.long	57                              ## 0x39
	.long	120                             ## 0x78
	.space	8
	.long	59                              ## 0x3b
	.long	51                              ## 0x33
	.space	8
	.long	60                              ## 0x3c
	.long	51                              ## 0x33
	.space	8
	.long	72                              ## 0x48
	.long	144                             ## 0x90
	.space	8
	.long	81                              ## 0x51
	.long	104                             ## 0x68
	.space	8
	.long	94                              ## 0x5e
	.long	56                              ## 0x38
	.space	8
	.long	113                             ## 0x71
	.long	0                               ## 0x0
	.space	8
	.long	114                             ## 0x72
	.long	8                               ## 0x8
	.space	8
	.long	119                             ## 0x77
	.long	0                               ## 0x0
	.space	8
	.long	192                             ## 0xc0
	.long	33                              ## 0x21
	.space	8
	.long	193                             ## 0xc1
	.long	16                              ## 0x10
	.space	8
	.long	228                             ## 0xe4
	.long	26                              ## 0x1a
	.space	8
	.long	234                             ## 0xea
	.long	31                              ## 0x1f
	.space	8
	.long	119                             ## 0x77
	.long	0                               ## 0x0
	.space	8
	.long	113                             ## 0x71
	.long	0                               ## 0x0
	.space	8
	.long	113                             ## 0x71
	.long	0                               ## 0x0
	.space	8
	.long	118                             ## 0x76
	.long	12                              ## 0xc
	.space	8

	.comm	_FRIIO_LED_STOPPED,4,2          ## @FRIIO_LED_STOPPED
	.no_dead_strip	_friio_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function friio_init
_friio_init:                            ; @friio_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _FRIIO_LED_STOPPED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FRIIO_LED_STOPPED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_friio_ext_ctl
	tbnz	w0, #31, LBB0_6
; %bb.1:
	mov	w0, #20
	bl	_msleep
	mov	x0, x19
	bl	_d_to_priv
	mov	x19, x0
Lloh3:
	adrp	x0, _friio_init.demod_init@PAGE
Lloh4:
	add	x0, x0, _friio_init.demod_init@PAGEOFF
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x22, #0
Lloh5:
	adrp	x20, _friio_init.demod_init@PAGE
Lloh6:
	add	x20, x20, _friio_init.demod_init@PAGEOFF
	mov	x21, x20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	mov	x1, x21
	mov	w2, #2
	bl	_i2c_master_send
	tbnz	w0, #31, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	mov	x0, x20
	bl	_ARRAY_SIZE
	add	x21, x21, #16
	cmp	x22, w0, sxtw
	b.lt	LBB0_3
LBB0_5:
	mov	w0, #100
	bl	_msleep
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @friio_init.demod_init
_friio_init.demod_init:
	.long	1                               ; 0x1
	.long	64                              ; 0x40
	.space	8
	.long	4                               ; 0x4
	.long	56                              ; 0x38
	.space	8
	.long	5                               ; 0x5
	.long	64                              ; 0x40
	.space	8
	.long	7                               ; 0x7
	.long	64                              ; 0x40
	.space	8
	.long	15                              ; 0xf
	.long	79                              ; 0x4f
	.space	8
	.long	17                              ; 0x11
	.long	33                              ; 0x21
	.space	8
	.long	18                              ; 0x12
	.long	11                              ; 0xb
	.space	8
	.long	19                              ; 0x13
	.long	47                              ; 0x2f
	.space	8
	.long	20                              ; 0x14
	.long	49                              ; 0x31
	.space	8
	.long	22                              ; 0x16
	.long	2                               ; 0x2
	.space	8
	.long	33                              ; 0x21
	.long	196                             ; 0xc4
	.space	8
	.long	34                              ; 0x22
	.long	32                              ; 0x20
	.space	8
	.long	44                              ; 0x2c
	.long	121                             ; 0x79
	.space	8
	.long	45                              ; 0x2d
	.long	52                              ; 0x34
	.space	8
	.long	47                              ; 0x2f
	.long	0                               ; 0x0
	.space	8
	.long	48                              ; 0x30
	.long	40                              ; 0x28
	.space	8
	.long	49                              ; 0x31
	.long	49                              ; 0x31
	.space	8
	.long	50                              ; 0x32
	.long	223                             ; 0xdf
	.space	8
	.long	56                              ; 0x38
	.long	1                               ; 0x1
	.space	8
	.long	57                              ; 0x39
	.long	120                             ; 0x78
	.space	8
	.long	59                              ; 0x3b
	.long	51                              ; 0x33
	.space	8
	.long	60                              ; 0x3c
	.long	51                              ; 0x33
	.space	8
	.long	72                              ; 0x48
	.long	144                             ; 0x90
	.space	8
	.long	81                              ; 0x51
	.long	104                             ; 0x68
	.space	8
	.long	94                              ; 0x5e
	.long	56                              ; 0x38
	.space	8
	.long	113                             ; 0x71
	.long	0                               ; 0x0
	.space	8
	.long	114                             ; 0x72
	.long	8                               ; 0x8
	.space	8
	.long	119                             ; 0x77
	.long	0                               ; 0x0
	.space	8
	.long	192                             ; 0xc0
	.long	33                              ; 0x21
	.space	8
	.long	193                             ; 0xc1
	.long	16                              ; 0x10
	.space	8
	.long	228                             ; 0xe4
	.long	26                              ; 0x1a
	.space	8
	.long	234                             ; 0xea
	.long	31                              ; 0x1f
	.space	8
	.long	119                             ; 0x77
	.long	0                               ; 0x0
	.space	8
	.long	113                             ; 0x71
	.long	0                               ; 0x0
	.space	8
	.long	113                             ; 0x71
	.long	0                               ; 0x0
	.space	8
	.long	118                             ; 0x76
	.long	12                              ; 0xc
	.space	8

	.comm	_FRIIO_LED_STOPPED,4,2          ; @FRIIO_LED_STOPPED
	.no_dead_strip	_friio_init
.subsections_via_symbols
