	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function node_probe
_node_probe:                            ## @node_probe
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_MODEL_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_dev_set_drvdata
	movq	%r14, 40(%r13)
	movabsq	$1099511627775, %rax            ## imm = 0xFFFFFFFFFF
	movq	%rax, (%r13)
	movl	$255, 8(%r13)
	leaq	32(%r13), %rdi
	callq	_mutex_init
	leaq	28(%r13), %rdi
	callq	_init_waitqueue_head
	leaq	24(%r13), %rdi
	callq	_mutex_init
	leaq	20(%r13), %rdi
	movq	_avc_remote_ctrl_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movl	4(%r14), %edi
	movq	_CSR_MODEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	callq	_fw_csr_string
	movl	%eax, %ebx
	movq	_model_names@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	xorl	%ecx, %ecx
	decl	%eax
	je	LBB0_9
## %bb.3:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movslq	%eax, %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	decq	%r14
	testl	%r14d, %r14d
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%r14,4), %edi
	callq	_strlen
	cmpl	%ebx, %eax
	jg	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r12), %rax
	movl	(%rax,%r14,4), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movl	%r14d, %ecx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_15
LBB0_8:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	xorl	%ecx, %ecx
LBB0_9:
	movl	%ecx, 12(%r13)
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_fdtv_register_rc
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.10:
	movq	_node_list_lock@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irq
	movq	%r13, %r14
	addq	$16, %r14
	movq	_node_list@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_list_add_tail
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
	movq	%r13, %rdi
	callq	_avc_identify_subunit
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:
	movq	(%r12), %rax
	movslq	12(%r13), %rcx
	movl	(%rax,%rcx,4), %esi
	movq	%r13, %rdi
	callq	_fdtv_dvb_register
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_12
LBB0_13:
	movq	_node_list_lock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irq
	movq	%r14, %rdi
	callq	_list_del
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movq	%r13, %rdi
	callq	_fdtv_unregister_rc
LBB0_14:
	movq	%r13, %rdi
	callq	_kfree
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r13, %rdi
	callq	_avc_register_remote_control
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_MODEL_NAME_LEN,4,2         ## @MAX_MODEL_NAME_LEN
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_avc_remote_ctrl_work,4,2       ## @avc_remote_ctrl_work
	.comm	_CSR_MODEL,4,2                  ## @CSR_MODEL
	.comm	_model_names,8,3                ## @model_names
	.comm	_node_list_lock,4,2             ## @node_list_lock
	.comm	_node_list,4,2                  ## @node_list
	.no_dead_strip	_node_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function node_probe
_node_probe:                            ; @node_probe
	.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
	sub	sp, sp, #16
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MAX_MODEL_NAME_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_MODEL_NAME_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kzalloc
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_dev_set_drvdata
	str	x20, [x19, #40]
	movi	d0, #0x0000ffffffffff
	str	d0, [x19]
	mov	w8, #255
	str	w8, [x19, #8]
	add	x0, x19, #32
	bl	_mutex_init
	add	x0, x19, #28
	bl	_init_waitqueue_head
	add	x0, x19, #24
	bl	_mutex_init
	add	x0, x19, #20
Lloh11:
	adrp	x8, _avc_remote_ctrl_work@GOTPAGE
Lloh12:
	ldr	x8, [x8, _avc_remote_ctrl_work@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_INIT_WORK
	ldr	w0, [x20, #4]
Lloh14:
	adrp	x8, _CSR_MODEL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CSR_MODEL@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x2, x21
	mov	x3, x22
	bl	_fw_csr_string
	mov	x22, x0
Lloh17:
	adrp	x23, _model_names@GOTPAGE
Lloh18:
	ldr	x23, [x23, _model_names@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	subs	w24, w0, #1
	b.eq	LBB0_6
; %bb.2:
	sbfiz	x25, x24, #2, #32
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x25, x25, #4
	sub	w24, w24, #1
	cbz	w24, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	w0, [x8, x25]
	bl	_strlen
	cmp	w0, w22
	b.gt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldr	w1, [x8, x25]
	mov	x0, x21
	mov	x2, x22
	bl	_strncmp
	cbnz	x0, LBB0_3
LBB0_6:
	str	w24, [x19, #12]
	mov	x0, x19
	mov	x1, x20
	bl	_fdtv_register_rc
	mov	x20, x0
	cbnz	w0, LBB0_10
; %bb.7:
Lloh19:
	adrp	x20, _node_list_lock@GOTPAGE
Lloh20:
	ldr	x20, [x20, _node_list_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_irq
	add	x21, x19, #16
Lloh21:
	adrp	x1, _node_list@GOTPAGE
Lloh22:
	ldr	x1, [x1, _node_list@GOTPAGEOFF]
	mov	x0, x21
	bl	_list_add_tail
	mov	x0, x20
	bl	_spin_unlock_irq
	mov	x0, x19
	bl	_avc_identify_subunit
	mov	x20, x0
	cbnz	w0, LBB0_9
; %bb.8:
	ldr	x8, [x23]
	ldrsw	x9, [x19, #12]
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, x19
	bl	_fdtv_dvb_register
	mov	x20, x0
	cbz	w0, LBB0_14
LBB0_9:
Lloh23:
	adrp	x22, _node_list_lock@GOTPAGE
Lloh24:
	ldr	x22, [x22, _node_list_lock@GOTPAGEOFF]
	mov	x0, x22
	bl	_spin_lock_irq
	mov	x0, x21
	bl	_list_del
	mov	x0, x22
	bl	_spin_unlock_irq
	mov	x0, x19
	bl	_fdtv_unregister_rc
LBB0_10:
	mov	x0, x19
	bl	_kfree
	b	LBB0_12
LBB0_11:
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_12:
	ldur	x8, [x29, #-72]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.13:
	mov	x0, x20
	sub	sp, x29, #64
	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
LBB0_14:
	mov	x0, x19
	bl	_avc_register_remote_control
	b	LBB0_12
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_MODEL_NAME_LEN,4,2         ; @MAX_MODEL_NAME_LEN
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_avc_remote_ctrl_work,4,2       ; @avc_remote_ctrl_work
	.comm	_CSR_MODEL,4,2                  ; @CSR_MODEL
	.comm	_model_names,8,3                ; @model_names
	.comm	_node_list_lock,4,2             ; @node_list_lock
	.comm	_node_list,4,2                  ; @node_list
	.no_dead_strip	_node_probe
.subsections_via_symbols
