	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_MAX_MODEL_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r15, %rdi
	callq	_fw_unit
	movl	(%rax), %edi
	movq	_CSR_MODEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	callq	_fw_csr_string
	xorl	%ebx, %ebx
	testl	%eax, %eax
	cmovlel	%ebx, %eax
	movq	_backend@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_fdtv_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_fdtv_register_rc
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movq	_node_list_lock@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irq
	movq	_node_list@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_list_add_tail
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
	movq	%r14, %rdi
	callq	_avc_identify_subunit
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	callq	_fdtv_dvb_register
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_5
LBB0_6:
	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	%r14, %rdi
	callq	_fdtv_unregister_rc
LBB0_7:
	movq	%r14, %rdi
	callq	_kfree
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%ebx, %eax
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r14, %rdi
	callq	_avc_register_remote_control
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_MODEL_NAME_LEN,4,2         ## @MAX_MODEL_NAME_LEN
	.comm	_CSR_MODEL,4,2                  ## @CSR_MODEL
	.comm	_backend,4,2                    ## @backend
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	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, #-40]
Lloh3:
	adrp	x8, _MAX_MODEL_NAME_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_MODEL_NAME_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	mov	x9, x19
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	bl	_fw_unit
	ldr	w0, [x0]
Lloh8:
	adrp	x8, _CSR_MODEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CSR_MODEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, x21
	mov	x3, x19
	bl	_fw_csr_string
	cmp	w0, #0
	csel	w3, w0, wzr, gt
Lloh11:
	adrp	x1, _backend@GOTPAGE
Lloh12:
	ldr	x1, [x1, _backend@GOTPAGEOFF]
	mov	x0, x20
	mov	x2, x21
	bl	_fdtv_alloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	mov	x1, x20
	bl	_fdtv_register_rc
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.2:
Lloh13:
	adrp	x20, _node_list_lock@GOTPAGE
Lloh14:
	ldr	x20, [x20, _node_list_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_irq
Lloh15:
	adrp	x1, _node_list@GOTPAGE
Lloh16:
	ldr	x1, [x1, _node_list@GOTPAGEOFF]
	mov	x0, x19
	bl	_list_add_tail
	mov	x0, x20
	bl	_spin_unlock_irq
	mov	x0, x19
	bl	_avc_identify_subunit
	mov	x20, x0
	cbnz	w0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_fdtv_dvb_register
	mov	x20, x0
	cbz	w0, LBB0_9
LBB0_4:
Lloh17:
	adrp	x21, _node_list_lock@GOTPAGE
Lloh18:
	ldr	x21, [x21, _node_list_lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_spin_lock_irq
	mov	x0, x19
	bl	_list_del
	mov	x0, x21
	bl	_spin_unlock_irq
	mov	x0, x19
	bl	_fdtv_unregister_rc
LBB0_5:
	mov	x0, x19
	bl	_kfree
	b	LBB0_7
LBB0_6:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_7:
	ldur	x8, [x29, #-40]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x20
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x19
	bl	_avc_register_remote_control
	b	LBB0_7
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_MODEL_NAME_LEN,4,2         ; @MAX_MODEL_NAME_LEN
	.comm	_CSR_MODEL,4,2                  ; @CSR_MODEL
	.comm	_backend,4,2                    ; @backend
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_node_list_lock,4,2             ; @node_list_lock
	.comm	_node_list,4,2                  ; @node_list
	.no_dead_strip	_node_probe
.subsections_via_symbols
