	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si470x_i2c_interrupt
_si470x_i2c_interrupt:                  ## @si470x_i2c_interrupt
	.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	%rsi, %r14
	movq	_STATUSRSSI@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movq	%r14, %rdi
	callq	_si470x_get_register
	testl	%eax, %eax
	js	LBB0_26
## %bb.1:
	movq	(%r14), %rax
	movq	(%r12), %rcx
	movq	_STATUSRSSI_STC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax,%rcx,4)
	je	LBB0_3
## %bb.2:
	leaq	40(%r14), %rdi
	callq	_complete
	movq	(%r14), %rax
LBB0_3:
	movq	_SYSCONFIG1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_SYSCONFIG1_RDS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax,%rcx,4)
	je	LBB0_26
## %bb.4:
	movq	_RDS_REGISTER_NUM@GOTPCREL(%rip), %r15
	cmpb	$2, (%r15)
	jb	LBB0_9
## %bb.5:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_si470x_get_register
	testl	%eax, %eax
	js	LBB0_26
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movzbl	(%r15), %eax
	cmpq	%rax, %rbx
	jb	LBB0_7
## %bb.8:
	movq	(%r14), %rax
LBB0_9:
	movq	(%r12), %rcx
	movq	_STATUSRSSI_RDSR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax,%rcx,4)
	je	LBB0_26
## %bb.10:
	leaq	-43(%rbp), %rbx
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_11 Depth=1
	incb	%r13b
	addb	$8, %r15b
	cmpb	$4, %r13b
	je	LBB0_24
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$1, %r13b
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpb	$2, %r13b
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpb	$3, %r13b
	jne	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r14), %rax
	movq	_READCHAN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_READCHAN_BLERD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	andl	(%rax,%rcx,4), %r12d
	shrl	$10, %r12d
	movq	_RDSD@GOTPCREL(%rip), %rcx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r14), %rax
	movq	_READCHAN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_READCHAN_BLERC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	andl	(%rax,%rcx,4), %r12d
	sarl	$12, %r12d
	movq	_RDSC@GOTPCREL(%rip), %rcx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r14), %rax
	movq	_READCHAN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_READCHAN_BLERB@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	andl	(%rax,%rcx,4), %r12d
	sarl	$14, %r12d
	movq	_RDSB@GOTPCREL(%rip), %rcx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r14), %rax
	movq	_STATUSRSSI@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_STATUSRSSI_BLERA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	andl	(%rax,%rcx,4), %r12d
	sarl	$9, %r12d
	movq	_RDSA@GOTPCREL(%rip), %rcx
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	(%rcx), %rcx
	movzwl	(%rax,%rcx,4), %edi
	movq	%rbx, %rsi
	callq	_put_unaligned_le16
	movl	%r15d, %eax
	orb	%r13b, %al
	movb	%al, -41(%rbp)
	movzwl	%r12w, %edx
	movq	_max_rds_errors@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %esi
	movb	$-128, %cl
	cmpl	%esi, %edx
	ja	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=1
	movb	$64, %cl
	testl	%edx, %edx
	je	LBB0_21
LBB0_20:                                ##   in Loop: Header=BB0_11 Depth=1
	orb	%cl, %al
	movb	%al, -41(%rbp)
LBB0_21:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%r14), %rdi
	shlq	$2, %rdi
	addq	32(%r14), %rdi
	movq	%rbx, %rsi
	movl	$3, %edx
	callq	_memcpy
	movq	8(%r14), %rax
	addq	$3, %rax
	movslq	16(%r14), %rdx
	cmpq	%rdx, %rax
	movl	$0, %esi
	cmovaeq	%rsi, %rax
	movq	%rax, 8(%r14)
	movslq	20(%r14), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=1
	addl	$3, %ecx
	cmpl	%edx, %ecx
	cmovgel	%esi, %ecx
	movl	%ecx, 20(%r14)
	jmp	LBB0_23
LBB0_24:
	movslq	%ecx, %rcx
	cmpq	%rcx, %rax
	je	LBB0_26
## %bb.25:
	addq	$24, %r14
	movq	%r14, %rdi
	callq	_wake_up_interruptible
LBB0_26:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUSRSSI,8,3                 ## @STATUSRSSI
	.comm	_STATUSRSSI_STC,4,2             ## @STATUSRSSI_STC
	.comm	_SYSCONFIG1,8,3                 ## @SYSCONFIG1
	.comm	_SYSCONFIG1_RDS,4,2             ## @SYSCONFIG1_RDS
	.comm	_RDS_REGISTER_NUM,1,0           ## @RDS_REGISTER_NUM
	.comm	_STATUSRSSI_RDSR,4,2            ## @STATUSRSSI_RDSR
	.comm	_STATUSRSSI_BLERA,4,2           ## @STATUSRSSI_BLERA
	.comm	_RDSA,8,3                       ## @RDSA
	.comm	_READCHAN,8,3                   ## @READCHAN
	.comm	_READCHAN_BLERB,4,2             ## @READCHAN_BLERB
	.comm	_RDSB,8,3                       ## @RDSB
	.comm	_READCHAN_BLERC,4,2             ## @READCHAN_BLERC
	.comm	_RDSC,8,3                       ## @RDSC
	.comm	_READCHAN_BLERD,4,2             ## @READCHAN_BLERD
	.comm	_RDSD,8,3                       ## @RDSD
	.comm	_max_rds_errors,2,1             ## @max_rds_errors
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_si470x_i2c_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si470x_i2c_interrupt
_si470x_i2c_interrupt:                  ; @si470x_i2c_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
Lloh0:
	adrp	x20, _STATUSRSSI@GOTPAGE
Lloh1:
	ldr	x20, [x20, _STATUSRSSI@GOTPAGEOFF]
	ldr	x1, [x20]
	mov	x0, x19
	bl	_si470x_get_register
	tbnz	w0, #31, LBB0_28
; %bb.1:
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	w9, [x8, x9, lsl #2]
Lloh2:
	adrp	x10, _STATUSRSSI_STC@GOTPAGE
Lloh3:
	ldr	x10, [x10, _STATUSRSSI_STC@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.2:
	add	x0, x19, #40
	bl	_complete
	ldr	x8, [x19]
LBB0_3:
Lloh5:
	adrp	x9, _SYSCONFIG1@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SYSCONFIG1@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
Lloh8:
	adrp	x10, _SYSCONFIG1_RDS@GOTPAGE
Lloh9:
	ldr	x10, [x10, _SYSCONFIG1_RDS@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_28
; %bb.4:
Lloh11:
	adrp	x21, _RDS_REGISTER_NUM@GOTPAGE
Lloh12:
	ldr	x21, [x21, _RDS_REGISTER_NUM@GOTPAGEOFF]
	ldrb	w9, [x21]
	cmp	w9, #2
	b.lo	LBB0_9
; %bb.5:
	mov	w22, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x1, x22, x8
	mov	x0, x19
	bl	_si470x_get_register
	tbnz	w0, #31, LBB0_28
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	ldrb	w8, [x21]
	cmp	x22, x8
	b.lo	LBB0_6
; %bb.8:
	ldr	x8, [x19]
LBB0_9:
	ldr	x9, [x20]
	ldr	w8, [x8, x9, lsl #2]
Lloh13:
	adrp	x9, _STATUSRSSI_RDSR@GOTPAGE
Lloh14:
	ldr	x9, [x9, _STATUSRSSI_RDSR@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.10:
	mov	w21, #0
Lloh16:
	adrp	x22, _READCHAN@GOTPAGE
Lloh17:
	ldr	x22, [x22, _READCHAN@GOTPAGEOFF]
Lloh18:
	adrp	x25, _max_rds_errors@GOTPAGE
Lloh19:
	ldr	x25, [x25, _max_rds_errors@GOTPAGEOFF]
Lloh20:
	adrp	x27, _RDSC@GOTPAGE
Lloh21:
	ldr	x27, [x27, _RDSC@GOTPAGEOFF]
Lloh22:
	adrp	x23, _RDSD@GOTPAGE
Lloh23:
	ldr	x23, [x23, _RDSD@GOTPAGEOFF]
Lloh24:
	adrp	x24, _STATUSRSSI_BLERA@GOTPAGE
Lloh25:
	ldr	x24, [x24, _STATUSRSSI_BLERA@GOTPAGEOFF]
Lloh26:
	adrp	x26, _RDSA@GOTPAGE
Lloh27:
	ldr	x26, [x26, _RDSA@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	w10, w21, #1
	cmp	w21, #3
	mov	x21, x10
	b.hs	LBB0_26
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	and	w8, w21, #0x7f
	cmp	w8, #1
	b.eq	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w8, #2
	b.eq	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w8, #3
	b.ne	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w9, [x8, x9, lsl #2]
Lloh28:
	adrp	x10, _READCHAN_BLERD@GOTPAGE
Lloh29:
	ldr	x10, [x10, _READCHAN_BLERD@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	and	w9, w10, w9
	lsr	w28, w9, #10
	mov	x9, x23
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w9, [x8, x9, lsl #2]
Lloh31:
	adrp	x10, _READCHAN_BLERC@GOTPAGE
Lloh32:
	ldr	x10, [x10, _READCHAN_BLERC@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x10]
	and	w9, w10, w9
	asr	w28, w9, #12
	mov	x9, x27
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w9, [x8, x9, lsl #2]
Lloh34:
	adrp	x10, _READCHAN_BLERB@GOTPAGE
Lloh35:
	ldr	x10, [x10, _READCHAN_BLERB@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x10]
	and	w9, w10, w9
	asr	w28, w9, #14
Lloh37:
	adrp	x9, _RDSB@GOTPAGE
Lloh38:
	ldr	x9, [x9, _RDSB@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x20]
	ldr	w9, [x8, x9, lsl #2]
	ldr	w10, [x24]
	and	w9, w10, w9
	asr	w28, w9, #9
	mov	x9, x26
LBB0_19:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldrh	w0, [x8, x9]
	add	x1, sp, #13
	bl	_put_unaligned_le16
	orr	w8, w21, w21, lsl #3
	strb	w8, [sp, #15]
	and	w9, w28, #0xffff
	ldrh	w10, [x25]
	cmp	w9, w10
	b.ls	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w9, #128
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_12 Depth=1
	cbz	w9, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w9, #64
LBB0_23:                                ;   in Loop: Header=BB0_12 Depth=1
	orr	w8, w8, w9
	strb	w8, [sp, #15]
LBB0_24:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19, #32]
	ldr	x9, [x19, #8]
	add	x0, x8, x9, lsl #2
	add	x1, sp, #13
	mov	w2, #3
	bl	_memcpy
	ldr	x8, [x19, #8]
	add	x8, x8, #3
	ldpsw	x10, x9, [x19, #16]
	cmp	x8, x10
	csel	x8, x8, xzr, lo
	str	x8, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.25:                               ;   in Loop: Header=BB0_12 Depth=1
	add	w9, w9, #3
	cmp	w9, w10
	csel	w9, w9, wzr, lt
	str	w9, [x19, #20]
	b	LBB0_11
LBB0_26:
	cmp	x8, w9, sxtw
	b.eq	LBB0_28
; %bb.27:
	add	x0, x19, #24
	bl	_wake_up_interruptible
LBB0_28:
Lloh39:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh40:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUSRSSI,8,3                 ; @STATUSRSSI
	.comm	_STATUSRSSI_STC,4,2             ; @STATUSRSSI_STC
	.comm	_SYSCONFIG1,8,3                 ; @SYSCONFIG1
	.comm	_SYSCONFIG1_RDS,4,2             ; @SYSCONFIG1_RDS
	.comm	_RDS_REGISTER_NUM,1,0           ; @RDS_REGISTER_NUM
	.comm	_STATUSRSSI_RDSR,4,2            ; @STATUSRSSI_RDSR
	.comm	_STATUSRSSI_BLERA,4,2           ; @STATUSRSSI_BLERA
	.comm	_RDSA,8,3                       ; @RDSA
	.comm	_READCHAN,8,3                   ; @READCHAN
	.comm	_READCHAN_BLERB,4,2             ; @READCHAN_BLERB
	.comm	_RDSB,8,3                       ; @RDSB
	.comm	_READCHAN_BLERC,4,2             ; @READCHAN_BLERC
	.comm	_RDSC,8,3                       ; @RDSC
	.comm	_READCHAN_BLERD,4,2             ; @READCHAN_BLERD
	.comm	_RDSD,8,3                       ; @RDSD
	.comm	_max_rds_errors,2,1             ; @max_rds_errors
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_si470x_i2c_interrupt
.subsections_via_symbols
