	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pvr2_hdw_status_poll           ## -- Begin function pvr2_hdw_status_poll
	.p2align	4, 0x90
_pvr2_hdw_status_poll:                  ## @pvr2_hdw_status_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	32(%rdi), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	(%rbx), %rax
	movq	_PVR2_CVAL_INPUT_RADIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_V4L2_TUNER_RADIO@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_V4L2_TUNER_ANALOG_TV@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	$0, 24(%rbx)
	leaq	16(%rbx), %rdi
	movq	_tuner@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_g_tuner@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%esi, %esi
	movq	%r14, %r8
	callq	_v4l2_device_call_all
	movq	_PVR2_TRACE_CHIPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	52(%rbx), %edx
	movl	48(%rbx), %ecx
	movl	44(%rbx), %r8d
	movl	40(%rbx), %r9d
	movl	32(%rbx), %eax
	movl	36(%rbx), %r10d
	leaq	L_.str(%rip), %rsi
	pushq	%rax
	pushq	%r10
	callq	_pvr2_trace
	addq	$16, %rsp
	movq	$0, 8(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PVR2_CVAL_INPUT_RADIO,8,3      ## @PVR2_CVAL_INPUT_RADIO
	.comm	_V4L2_TUNER_RADIO,4,2           ## @V4L2_TUNER_RADIO
	.comm	_V4L2_TUNER_ANALOG_TV,4,2       ## @V4L2_TUNER_ANALOG_TV
	.comm	_tuner,4,2                      ## @tuner
	.comm	_g_tuner,4,2                    ## @g_tuner
	.comm	_PVR2_TRACE_CHIPS,4,2           ## @PVR2_TRACE_CHIPS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"subdev status poll type=%u strength=%u audio=0x%x cap=0x%x low=%u hi=%u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pvr2_hdw_status_poll           ; -- Begin function pvr2_hdw_status_poll
	.p2align	2
_pvr2_hdw_status_poll:                  ; @pvr2_hdw_status_poll
	.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
	add	x20, x0, #32
	mov	x0, x20
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _PVR2_CVAL_INPUT_RADIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PVR2_CVAL_INPUT_RADIO@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x10, _V4L2_TUNER_RADIO@GOTPAGE
Lloh4:
	ldr	x10, [x10, _V4L2_TUNER_RADIO@GOTPAGEOFF]
Lloh5:
	adrp	x11, _V4L2_TUNER_ANALOG_TV@GOTPAGE
Lloh6:
	ldr	x11, [x11, _V4L2_TUNER_ANALOG_TV@GOTPAGEOFF]
	cmp	x9, x8
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [x19, #52]
	str	xzr, [x19, #24]
	add	x0, x19, #16
Lloh7:
	adrp	x8, _tuner@GOTPAGE
Lloh8:
	ldr	x8, [x8, _tuner@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _g_tuner@GOTPAGE
Lloh11:
	ldr	x8, [x8, _g_tuner@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	w1, #0
	mov	x4, x20
	bl	_v4l2_device_call_all
Lloh13:
	adrp	x8, _PVR2_TRACE_CHIPS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PVR2_TRACE_CHIPS@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldp	w3, w2, [x19, #48]
	ldp	w5, w4, [x19, #40]
	ldp	w7, w6, [x19, #32]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_pvr2_trace
	str	xzr, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PVR2_CVAL_INPUT_RADIO,8,3      ; @PVR2_CVAL_INPUT_RADIO
	.comm	_V4L2_TUNER_RADIO,4,2           ; @V4L2_TUNER_RADIO
	.comm	_V4L2_TUNER_ANALOG_TV,4,2       ; @V4L2_TUNER_ANALOG_TV
	.comm	_tuner,4,2                      ; @tuner
	.comm	_g_tuner,4,2                    ; @g_tuner
	.comm	_PVR2_TRACE_CHIPS,4,2           ; @PVR2_TRACE_CHIPS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"subdev status poll type=%u strength=%u audio=0x%x cap=0x%x low=%u hi=%u"

.subsections_via_symbols
