	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_xusb_port_init
_tegra_xusb_port_init:                  ## @tegra_xusb_port_init
	.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
	movl	%r8d, %r14d
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r15
	addq	$32, %rdi
	callq	_INIT_LIST_HEAD
	movq	%rbx, 24(%r15)
	movl	%r14d, (%r15)
	leaq	8(%r15), %r12
	movq	%r12, %rdi
	callq	_device_initialize
	movq	_tegra_xusb_port_type@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r15)
	movq	%r13, %rdi
	callq	_of_node_get
	movl	%eax, 12(%r15)
	movl	(%rbx), %eax
	movl	%eax, 8(%r15)
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %ecx
	callq	_dev_set_name
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_device_add
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jns	LBB0_3
LBB0_2:
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_device_unregister
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tegra_xusb_port_type,4,2       ## @tegra_xusb_port_type
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s-%u"

	.no_dead_strip	_tegra_xusb_port_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_xusb_port_init
_tegra_xusb_port_init:                  ; @tegra_xusb_port_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	add	x0, x0, #32
	bl	_INIT_LIST_HEAD
	str	x23, [x24, #24]
	str	w20, [x24]
	add	x19, x24, #8
	mov	x0, x19
	bl	_device_initialize
Lloh0:
	adrp	x8, _tegra_xusb_port_type@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tegra_xusb_port_type@GOTPAGEOFF]
	str	x8, [x24, #16]
	mov	x0, x22
	bl	_of_node_get
	ldr	w8, [x23]
	stp	w8, w0, [x24, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	bl	_dev_set_name
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_device_add
	tbnz	w0, #31, LBB0_3
; %bb.2:
	mov	w20, #0
	b	LBB0_4
LBB0_3:
	mov	x20, x0
	mov	x0, x19
	bl	_device_unregister
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_tegra_xusb_port_type,4,2       ; @tegra_xusb_port_type
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s-%u"

	.no_dead_strip	_tegra_xusb_port_init
.subsections_via_symbols
