	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_devcom_register_component ## -- Begin function mlx5_devcom_register_component
	.p2align	4, 0x90
_mlx5_devcom_register_component:        ## @mlx5_devcom_register_component
	.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
	movq	%rcx, %r14
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%edi, %edi
	testq	%r14, %r14
	sete	%dil
	callq	_WARN_ON
	movq	8(%rbx), %rax
	movq	(%rax), %r13
	movl	%r12d, %eax
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	leaq	(%rax,%rax,2), %r15
	leaq	(,%r15,8), %r12
	addq	%r13, %r12
	movq	%r12, %rdi
	callq	_down_write
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%r13,%r15,8)
	movq	8(%r13,%r15,8), %rax
	movq	(%rbx), %rcx
	movq	%r14, (%rax,%rcx,8)
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_up_write                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_devcom_register_component ; -- Begin function mlx5_devcom_register_component
	.p2align	2
_mlx5_devcom_register_component:        ; @mlx5_devcom_register_component
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_2
; %bb.1:
	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_2:
	cmp	x19, #0
	cset	w0, eq
	bl	_WARN_ON
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	mov	w9, #24
	umaddl	x22, w22, w9, x8
	mov	x0, x22
	bl	_down_write
	str	w21, [x22, #16]
	ldr	x8, [x22, #8]
	ldr	x9, [x20]
	str	x19, [x8, x9, lsl #3]
	mov	x0, x22
	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
	b	_up_write
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
