	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si476x_core_get_and_signal_status
_si476x_core_get_and_signal_status:     ## @si476x_core_get_and_signal_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_si476x_core_get_status
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	movl	%eax, %r14d
	movq	_SI476X_CTS@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_3
## %bb.2:
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_dbg
	leaq	20(%rbx), %rdi
	movl	$1, %esi
	callq	_atomic_set
	leaq	16(%rbx), %rdi
	callq	_wake_up
LBB0_3:
	movq	_SI476X_FM_RDS_INT@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_5
## %bb.4:
	movq	8(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_dbg
	movq	%rbx, %rdi
	callq	_si476x_core_start_rds_drainer_once
LBB0_5:
	movq	_SI476X_STC_INT@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_6
## %bb.8:
	movq	8(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_dev_dbg
	leaq	4(%rbx), %rdi
	movl	$1, %esi
	callq	_atomic_set
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wake_up                        ## TAILCALL
LBB0_7:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get status\n"

	.comm	_SI476X_CTS,4,2                 ## @SI476X_CTS
L_.str.1:                               ## @.str.1
	.asciz	"[interrupt] CTSINT\n"

	.comm	_SI476X_FM_RDS_INT,4,2          ## @SI476X_FM_RDS_INT
L_.str.2:                               ## @.str.2
	.asciz	"[interrupt] RDSINT\n"

	.comm	_SI476X_STC_INT,4,2             ## @SI476X_STC_INT
L_.str.3:                               ## @.str.3
	.asciz	"[interrupt] STCINT\n"

	.no_dead_strip	_si476x_core_get_and_signal_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si476x_core_get_and_signal_status
_si476x_core_get_and_signal_status:     ; @si476x_core_get_and_signal_status
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_si476x_core_get_status
	tbnz	w0, #31, LBB0_7
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _SI476X_CTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SI476X_CTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	ldr	x0, [x19, #8]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
	add	x0, x19, #20
	mov	w1, #1
	bl	_atomic_set
	add	x0, x19, #16
	bl	_wake_up
LBB0_3:
Lloh5:
	adrp	x8, _SI476X_FM_RDS_INT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SI476X_FM_RDS_INT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
	ldr	x0, [x19, #8]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
	mov	x0, x19
	bl	_si476x_core_start_rds_drainer_once
LBB0_5:
Lloh10:
	adrp	x8, _SI476X_STC_INT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SI476X_STC_INT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.6:
	ldr	x0, [x19, #8]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_dbg
	add	x0, x19, #4
	mov	w1, #1
	bl	_atomic_set
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wake_up
LBB0_7:
	ldr	x0, [x19, #8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_err
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get status\n"

	.comm	_SI476X_CTS,4,2                 ; @SI476X_CTS
l_.str.1:                               ; @.str.1
	.asciz	"[interrupt] CTSINT\n"

	.comm	_SI476X_FM_RDS_INT,4,2          ; @SI476X_FM_RDS_INT
l_.str.2:                               ; @.str.2
	.asciz	"[interrupt] RDSINT\n"

	.comm	_SI476X_STC_INT,4,2             ; @SI476X_STC_INT
l_.str.3:                               ; @.str.3
	.asciz	"[interrupt] STCINT\n"

	.no_dead_strip	_si476x_core_get_and_signal_status
.subsections_via_symbols
