	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cht_int33fe_add_nodes
_cht_int33fe_add_nodes:                 ## @cht_int33fe_add_nodes
	.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, %r14
	movq	_nodes@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_software_node_register_nodes
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_software_node_find_by_name
	movq	_mux_ref@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	%r14, %rdi
	callq	_cht_int33fe_setup_dp
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_4
	jmp	LBB0_5
LBB0_2:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_4:
	movq	%r14, %rdi
	callq	_cht_int33fe_remove_nodes
	movl	%r15d, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nodes,4,2                      ## @nodes
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"intel-xhci-usb-sw"

	.comm	_mux_ref,4,2                    ## @mux_ref
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.no_dead_strip	_cht_int33fe_add_nodes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cht_int33fe_add_nodes
_cht_int33fe_add_nodes:                 ; @cht_int33fe_add_nodes
	.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
Lloh0:
	adrp	x8, _nodes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nodes@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_software_node_register_nodes
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	bl	_software_node_find_by_name
Lloh5:
	adrp	x8, _mux_ref@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mux_ref@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_cht_int33fe_setup_dp
	mov	x20, x0
	cbnz	w0, LBB0_4
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_4:
	mov	x0, x19
	bl	_cht_int33fe_remove_nodes
LBB0_5:
	mov	x0, x20
	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 AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_nodes,4,2                      ; @nodes
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"intel-xhci-usb-sw"

	.comm	_mux_ref,4,2                    ; @mux_ref
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.no_dead_strip	_cht_int33fe_add_nodes
.subsections_via_symbols
