	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si476x_radio_fops_poll
_si476x_radio_fops_poll:                ## @si476x_radio_fops_poll
	.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, %r12
	movq	%rdi, %r13
	callq	_video_drvdata
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_poll_requested_events
	movl	%eax, %ebx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_v4l2_ctrl_poll
	movl	%eax, %r14d
	movq	_EPOLLIN@GOTPCREL(%rip), %rcx
	movq	_EPOLLRDNORM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	orl	(%rcx), %eax
	testl	%ebx, %eax
	je	LBB0_7
## %bb.1:
	movq	%rdx, %rbx
	movq	(%r15), %rdi
	addq	$4, %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%r15), %rsi
	addq	$8, %rsi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_poll_wait
LBB0_3:
	movq	(%r15), %rdi
	addq	$4, %rdi
	callq	_atomic_read
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	_EPOLLHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_5:
	movq	(%r15), %rdi
	callq	_kfifo_is_empty
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movl	(%rbx), %r14d
	movq	_EPOLLIN@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPOLLIN,4,2                    ## @EPOLLIN
	.comm	_EPOLLRDNORM,4,2                ## @EPOLLRDNORM
	.comm	_EPOLLHUP,4,2                   ## @EPOLLHUP
	.no_dead_strip	_si476x_radio_fops_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si476x_radio_fops_poll
_si476x_radio_fops_poll:                ; @si476x_radio_fops_poll
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x22, x0
	bl	_video_drvdata
	mov	x20, x0
	mov	x0, x21
	bl	_poll_requested_events
	mov	x23, x0
	mov	x0, x22
	mov	x1, x21
	bl	_v4l2_ctrl_poll
	mov	x19, x0
Lloh0:
	adrp	x24, _EPOLLIN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _EPOLLIN@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh2:
	adrp	x25, _EPOLLRDNORM@GOTPAGE
Lloh3:
	ldr	x25, [x25, _EPOLLRDNORM@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w8, w9, w8
	tst	w8, w23
	b.eq	LBB0_5
; %bb.1:
	ldr	x8, [x20]
	add	x0, x8, #4
	bl	_atomic_read
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x20]
	add	x1, x8, #8
	mov	x0, x22
	mov	x2, x21
	bl	_poll_wait
LBB0_3:
	ldr	x8, [x20]
	add	x0, x8, #4
	bl	_atomic_read
Lloh4:
	adrp	x8, _EPOLLHUP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EPOLLHUP@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w19, w8, w19, eq
	ldr	x0, [x20]
	bl	_kfifo_is_empty
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w19, w9, w8
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EPOLLIN,4,2                    ; @EPOLLIN
	.comm	_EPOLLRDNORM,4,2                ; @EPOLLRDNORM
	.comm	_EPOLLHUP,4,2                   ; @EPOLLHUP
	.no_dead_strip	_si476x_radio_fops_poll
.subsections_via_symbols
