	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ib_uverbs_add_one
_ib_uverbs_add_one:                     ## @ib_uverbs_add_one
	.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
	cmpl	$0, 8(%rdi)
	je	LBB0_16
## %bb.1:
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$96, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.2:
	movq	%rax, %rbx
	leaq	88(%rax), %rdi
	callq	_init_srcu_struct
	testl	%eax, %eax
	je	LBB0_3
## %bb.17:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	8(%rbx), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_device_initialize
	movq	_uverbs_class@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movl	20(%r14), %eax
	movl	%eax, 28(%rbx)
	movq	_ib_uverbs_release_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	80(%rbx), %rax
	movq	_dev_attr_group@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movq	80(%rbx), %rax
	movq	%rax, 16(%rbx)
	leaq	44(%rbx), %r13
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_atomic_set
	leaq	40(%rbx), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_init_completion
	movq	_RB_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%rbx)
	leaq	72(%rbx), %rdi
	callq	_mutex_init
	leaq	68(%rbx), %rdi
	callq	_mutex_init
	leaq	64(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	60(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movl	56(%rbx), %edi
	movq	%r14, %rsi
	callq	_rcu_assign_pointer
	movl	16(%r14), %eax
	movl	%eax, 52(%rbx)
	movq	_IB_UVERBS_MAX_DEVICES@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	decq	%rsi
	movl	(%r15), %edx
	movq	_uverbs_ida@GOTPCREL(%rip), %rdi
	callq	_ida_alloc_max
	testl	%eax, %eax
	js	LBB0_13
## %bb.4:
	movl	%eax, %r12d
	movl	%eax, (%rbx)
	movq	_IB_UVERBS_NUM_FIXED_MINOR@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpl	%eax, %r12d
	jge	LBB0_5
## %bb.6:
	movq	_IB_UVERBS_BASE_DEV@GOTPCREL(%rip), %rax
	movl	%r12d, %r15d
	addq	(%rax), %r15
	jmp	LBB0_7
LBB0_5:
	movq	_dynamic_uverbs_dev@GOTPCREL(%rip), %rcx
	movl	%r12d, %r15d
	subq	%rax, %r15
	addq	(%rcx), %r15
LBB0_7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ib_uverbs_create_uapi
	testq	%rax, %rax
	jne	LBB0_12
## %bb.8:
	movq	%r15, 8(%rbx)
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_set_name
	movq	%rbx, %r15
	addq	$48, %r15
	cmpq	$0, (%r14)
	jne	LBB0_9
## %bb.10:
	movq	_uverbs_fops@GOTPCREL(%rip), %rsi
	jmp	LBB0_11
LBB0_9:
	movq	_uverbs_mmap_fops@GOTPCREL(%rip), %rsi
LBB0_11:
	movq	%r15, %rdi
	callq	_cdev_init
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_cdev_device_add
	testl	%eax, %eax
	je	LBB0_18
LBB0_12:
	movq	_uverbs_ida@GOTPCREL(%rip), %rdi
	movl	%r12d, %esi
	callq	_ida_free
LBB0_13:
	movq	%r13, %rdi
	callq	_atomic_dec_and_test
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_ib_uverbs_comp_dev
LBB0_15:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_wait_for_completion
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_put_device                     ## TAILCALL
LBB0_18:
	movq	_uverbs_client@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ib_set_client_data             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_uverbs_class,4,2               ## @uverbs_class
	.comm	_ib_uverbs_release_dev,4,2      ## @ib_uverbs_release_dev
	.comm	_dev_attr_group,4,2             ## @dev_attr_group
	.comm	_RB_ROOT,4,2                    ## @RB_ROOT
	.comm	_uverbs_ida,4,2                 ## @uverbs_ida
	.comm	_IB_UVERBS_MAX_DEVICES,8,3      ## @IB_UVERBS_MAX_DEVICES
	.comm	_IB_UVERBS_NUM_FIXED_MINOR,4,2  ## @IB_UVERBS_NUM_FIXED_MINOR
	.comm	_dynamic_uverbs_dev,8,3         ## @dynamic_uverbs_dev
	.comm	_IB_UVERBS_BASE_DEV,8,3         ## @IB_UVERBS_BASE_DEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uverbs%d"

	.comm	_uverbs_mmap_fops,4,2           ## @uverbs_mmap_fops
	.comm	_uverbs_fops,4,2                ## @uverbs_fops
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_uverbs_client,4,2              ## @uverbs_client
	.no_dead_strip	_ib_uverbs_add_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ib_uverbs_add_one
_ib_uverbs_add_one:                     ; @ib_uverbs_add_one
	.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
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	w0, #96
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x19, x0
	add	x0, x0, #88
	bl	_init_srcu_struct
	cbz	w0, LBB0_5
; %bb.3:
	mov	x0, x19
	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
	b	_kfree
LBB0_4:
	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_5:
	add	x21, x19, #8
	mov	x0, x21
	bl	_device_initialize
Lloh2:
	adrp	x8, _uverbs_class@GOTPAGE
Lloh3:
	ldr	x8, [x8, _uverbs_class@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	ldr	w8, [x20, #20]
Lloh5:
	adrp	x9, _ib_uverbs_release_dev@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ib_uverbs_release_dev@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	ldr	x8, [x19, #80]
Lloh8:
	adrp	x9, _dev_attr_group@GOTPAGE
Lloh9:
	ldr	x9, [x9, _dev_attr_group@GOTPAGEOFF]
	str	x9, [x8]
	ldr	x8, [x19, #80]
	str	x8, [x19, #16]
	add	x23, x19, #44
	mov	x0, x23
	mov	w1, #1
	bl	_atomic_set
	add	x22, x19, #40
	mov	x0, x22
	bl	_init_completion
Lloh10:
	adrp	x8, _RB_ROOT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RB_ROOT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19, #76]
	add	x0, x19, #72
	bl	_mutex_init
	add	x0, x19, #68
	bl	_mutex_init
	add	x0, x19, #64
	bl	_INIT_LIST_HEAD
	add	x0, x19, #60
	bl	_INIT_LIST_HEAD
	ldr	w0, [x19, #56]
	mov	x1, x20
	bl	_rcu_assign_pointer
	ldr	w8, [x20, #16]
	str	w8, [x19, #52]
Lloh13:
	adrp	x8, _IB_UVERBS_MAX_DEVICES@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IB_UVERBS_MAX_DEVICES@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	sub	x1, x8, #1
	ldr	w2, [x24]
Lloh16:
	adrp	x0, _uverbs_ida@GOTPAGE
Lloh17:
	ldr	x0, [x0, _uverbs_ida@GOTPAGEOFF]
	bl	_ida_alloc_max
	tbnz	w0, #31, LBB0_12
; %bb.6:
	mov	x24, x0
	str	w0, [x19]
Lloh18:
	adrp	x8, _IB_UVERBS_NUM_FIXED_MINOR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IB_UVERBS_NUM_FIXED_MINOR@GOTPAGEOFF]
Lloh20:
	ldrsw	x8, [x8]
	cmp	w0, w8
	b.ge	LBB0_8
; %bb.7:
Lloh21:
	adrp	x8, _IB_UVERBS_BASE_DEV@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IB_UVERBS_BASE_DEV@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	add	x25, x8, w24, uxtw
	b	LBB0_9
LBB0_8:
Lloh24:
	adrp	x9, _dynamic_uverbs_dev@GOTPAGE
Lloh25:
	ldr	x9, [x9, _dynamic_uverbs_dev@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	mov	w10, w24
	sub	x8, x10, x8
	add	x25, x8, x9
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	bl	_ib_uverbs_create_uapi
	cbnz	x0, LBB0_11
; %bb.10:
	str	x25, [x19, #8]
	ldr	w2, [x19]
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_set_name
	add	x25, x19, #48
	ldr	x8, [x20]
Lloh29:
	adrp	x9, _uverbs_mmap_fops@GOTPAGE
Lloh30:
	ldr	x9, [x9, _uverbs_mmap_fops@GOTPAGEOFF]
Lloh31:
	adrp	x10, _uverbs_fops@GOTPAGE
Lloh32:
	ldr	x10, [x10, _uverbs_fops@GOTPAGEOFF]
	cmp	x8, #0
	csel	x1, x10, x9, eq
	mov	x0, x25
	bl	_cdev_init
Lloh33:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	str	w8, [x19, #48]
	mov	x0, x25
	mov	x1, x21
	bl	_cdev_device_add
	cbz	w0, LBB0_15
LBB0_11:
Lloh36:
	adrp	x0, _uverbs_ida@GOTPAGE
Lloh37:
	ldr	x0, [x0, _uverbs_ida@GOTPAGEOFF]
	mov	x1, x24
	bl	_ida_free
LBB0_12:
	mov	x0, x23
	bl	_atomic_dec_and_test
	cbz	x0, LBB0_14
; %bb.13:
	mov	x0, x19
	bl	_ib_uverbs_comp_dev
LBB0_14:
	mov	x0, x22
	bl	_wait_for_completion
	mov	x0, x21
	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
	b	_put_device
LBB0_15:
Lloh38:
	adrp	x1, _uverbs_client@GOTPAGE
Lloh39:
	ldr	x1, [x1, _uverbs_client@GOTPAGEOFF]
	mov	x0, x20
	mov	x2, x19
	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
	b	_ib_set_client_data
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_uverbs_class,4,2               ; @uverbs_class
	.comm	_ib_uverbs_release_dev,4,2      ; @ib_uverbs_release_dev
	.comm	_dev_attr_group,4,2             ; @dev_attr_group
	.comm	_RB_ROOT,4,2                    ; @RB_ROOT
	.comm	_uverbs_ida,4,2                 ; @uverbs_ida
	.comm	_IB_UVERBS_MAX_DEVICES,8,3      ; @IB_UVERBS_MAX_DEVICES
	.comm	_IB_UVERBS_NUM_FIXED_MINOR,4,2  ; @IB_UVERBS_NUM_FIXED_MINOR
	.comm	_dynamic_uverbs_dev,8,3         ; @dynamic_uverbs_dev
	.comm	_IB_UVERBS_BASE_DEV,8,3         ; @IB_UVERBS_BASE_DEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uverbs%d"

	.comm	_uverbs_mmap_fops,4,2           ; @uverbs_mmap_fops
	.comm	_uverbs_fops,4,2                ; @uverbs_fops
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_uverbs_client,4,2              ; @uverbs_client
	.no_dead_strip	_ib_uverbs_add_one
.subsections_via_symbols
