	.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, 20(%rdi)
	je	LBB0_19
## %bb.1:
	movq	%rdi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$64, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_19
## %bb.2:
	movq	%rax, %rbx
	leaq	8(%rax), %r14
	movq	%r14, %rdi
	callq	_kref_init
	leaq	4(%rbx), %r15
	movq	%r15, %rdi
	callq	_init_completion
	movq	_RB_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	leaq	56(%rbx), %rdi
	callq	_mutex_init
	movq	_map_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	_dev_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IB_UVERBS_MAX_DEVICES@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_find_first_zero_bit
	cmpl	(%r13), %eax
	jge	LBB0_3
## %bb.5:
	movl	%eax, %r13d
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, (%rbx)
	movslq	%eax, %r15
	movq	_dev_map@GOTPCREL(%rip), %rax
	movq	_IB_UVERBS_BASE_DEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_map_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	xorl	%eax, %eax
	callq	_find_overflow_devnum
	testl	%eax, %eax
	js	LBB0_18
## %bb.4:
	movl	%eax, %r13d
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	_map_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	_IB_UVERBS_MAX_DEVICES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r13d, %eax
	movl	%eax, (%rbx)
	movl	%r13d, %r15d
	movq	_overflow_map@GOTPCREL(%rip), %rax
	movq	_overflow_maj@GOTPCREL(%rip), %rcx
LBB0_6:
	addq	(%rcx), %r15
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_set_bit
	movq	_map_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	movq	%r12, 48(%rbx)
	movl	16(%r12), %eax
	movl	%eax, 44(%rbx)
	leaq	16(%rbx), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_cdev_init
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	cmpq	$0, 8(%r12)
	jne	LBB0_7
## %bb.8:
	movq	_uverbs_fops@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_uverbs_mmap_fops@GOTPCREL(%rip), %rax
LBB0_9:
	movq	%rax, 24(%rbx)
	movq	%rbx, %rdi
	addq	$20, %rdi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_kobject_set_name
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_cdev_add
	testq	%rax, %rax
	jne	LBB0_14
## %bb.10:
	movq	_uverbs_class@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%r12), %esi
	movl	(%rbx), %r9d
	movl	16(%rbx), %edx
	leaq	L_.str(%rip), %r8
	movq	%rbx, %rcx
	callq	_device_create
	movl	%eax, 40(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_14
## %bb.11:
	movl	40(%rbx), %edi
	movq	_dev_attr_ibdev@GOTPCREL(%rip), %rsi
	callq	_device_create_file
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movl	40(%rbx), %edi
	movq	_dev_attr_abi_version@GOTPCREL(%rip), %rsi
	callq	_device_create_file
	testq	%rax, %rax
	je	LBB0_20
LBB0_13:
	movl	(%r15), %edi
	movl	(%r14), %esi
	callq	_device_destroy
LBB0_14:
	movq	%r14, %rdi
	callq	_cdev_del
	movl	(%rbx), %eax
	movq	_IB_UVERBS_MAX_DEVICES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_15
## %bb.16:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	_dev_map@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_15:
	movq	_overflow_map@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_17:
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_clear_bit
LBB0_18:
	movq	_ib_uverbs_release_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_kref_put
	movq	%r15, %rdi
	callq	_wait_for_completion
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_20:
	movq	_uverbs_client@GOTPCREL(%rip), %rsi
	movq	%r12, %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	_RB_ROOT,4,2                    ## @RB_ROOT
	.comm	_map_lock,4,2                   ## @map_lock
	.comm	_dev_map,4,2                    ## @dev_map
	.comm	_IB_UVERBS_MAX_DEVICES,4,2      ## @IB_UVERBS_MAX_DEVICES
	.comm	_overflow_maj,8,3               ## @overflow_maj
	.comm	_overflow_map,4,2               ## @overflow_map
	.comm	_IB_UVERBS_BASE_DEV,8,3         ## @IB_UVERBS_BASE_DEV
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_uverbs_mmap_fops,4,2           ## @uverbs_mmap_fops
	.comm	_uverbs_fops,4,2                ## @uverbs_fops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uverbs%d"

	.comm	_uverbs_class,4,2               ## @uverbs_class
	.comm	_dev_attr_ibdev,4,2             ## @dev_attr_ibdev
	.comm	_dev_attr_abi_version,4,2       ## @dev_attr_abi_version
	.comm	_uverbs_client,4,2              ## @uverbs_client
	.comm	_ib_uverbs_release_dev,4,2      ## @ib_uverbs_release_dev
	.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	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x0, #20]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x22, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #64
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x19, x0
	add	x20, x0, #8
	mov	x0, x20
	bl	_kref_init
	add	x21, x19, #4
	mov	x0, x21
	bl	_init_completion
Lloh3:
	adrp	x8, _RB_ROOT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RB_ROOT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #60]
	add	x0, x19, #56
	bl	_mutex_init
Lloh6:
	adrp	x0, _map_lock@GOTPAGE
Lloh7:
	ldr	x0, [x0, _map_lock@GOTPAGEOFF]
	bl	_spin_lock
Lloh8:
	adrp	x26, _dev_map@GOTPAGE
Lloh9:
	ldr	x26, [x26, _dev_map@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh10:
	adrp	x27, _IB_UVERBS_MAX_DEVICES@GOTPAGE
Lloh11:
	ldr	x27, [x27, _IB_UVERBS_MAX_DEVICES@GOTPAGEOFF]
	ldr	w1, [x27]
	bl	_find_first_zero_bit
	ldr	w8, [x27]
	cmp	w0, w8
	b.ge	LBB0_5
; %bb.3:
	mov	x23, x0
	str	w0, [x19]
	sxtw	x8, w23
Lloh12:
	adrp	x9, _dev_map@GOTPAGE
Lloh13:
	ldr	x9, [x9, _dev_map@GOTPAGEOFF]
Lloh14:
	adrp	x10, _IB_UVERBS_BASE_DEV@GOTPAGE
Lloh15:
	ldr	x10, [x10, _IB_UVERBS_BASE_DEV@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh16:
	adrp	x0, _map_lock@GOTPAGE
Lloh17:
	ldr	x0, [x0, _map_lock@GOTPAGEOFF]
	bl	_spin_unlock
	bl	_find_overflow_devnum
	tbnz	w0, #31, LBB0_13
; %bb.6:
	mov	x23, x0
Lloh18:
	adrp	x0, _map_lock@GOTPAGE
Lloh19:
	ldr	x0, [x0, _map_lock@GOTPAGEOFF]
	bl	_spin_lock
	ldr	w8, [x27]
	add	w8, w8, w23
	str	w8, [x19]
	mov	w8, w23
Lloh20:
	adrp	x9, _overflow_map@GOTPAGE
Lloh21:
	ldr	x9, [x9, _overflow_map@GOTPAGEOFF]
Lloh22:
	adrp	x10, _overflow_maj@GOTPAGE
Lloh23:
	ldr	x10, [x10, _overflow_maj@GOTPAGEOFF]
LBB0_7:
	ldr	x10, [x10]
	add	x25, x10, x8
	ldr	w1, [x9]
	mov	x0, x23
	bl	_set_bit
Lloh24:
	adrp	x0, _map_lock@GOTPAGE
Lloh25:
	ldr	x0, [x0, _map_lock@GOTPAGEOFF]
	bl	_spin_unlock
	str	x22, [x19, #48]
	ldr	w8, [x22, #16]
	str	w8, [x19, #44]
	add	x24, x19, #16
	mov	x0, x24
	mov	x1, #0
	bl	_cdev_init
Lloh26:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [x19, #32]
Lloh29:
	adrp	x8, _uverbs_mmap_fops@GOTPAGE
Lloh30:
	ldr	x8, [x8, _uverbs_mmap_fops@GOTPAGEOFF]
Lloh31:
	adrp	x9, _uverbs_fops@GOTPAGE
Lloh32:
	ldr	x9, [x9, _uverbs_fops@GOTPAGEOFF]
	ldr	x10, [x22, #8]
	cmp	x10, #0
	csel	x8, x9, x8, eq
	str	x8, [x19, #24]
	add	x0, x19, #20
	ldr	w2, [x19]
Lloh33:
	adrp	x1, l_.str@PAGE
Lloh34:
	add	x1, x1, l_.str@PAGEOFF
	bl	_kobject_set_name
	mov	x0, x24
	mov	x1, x25
	mov	w2, #1
	bl	_cdev_add
	cbnz	x0, LBB0_12
; %bb.8:
Lloh35:
	adrp	x25, _uverbs_class@GOTPAGE
Lloh36:
	ldr	x25, [x25, _uverbs_class@GOTPAGEOFF]
	ldr	w0, [x25]
	ldr	w1, [x22]
	ldr	w2, [x19, #16]
	ldr	w5, [x19]
Lloh37:
	adrp	x4, l_.str@PAGE
Lloh38:
	add	x4, x4, l_.str@PAGEOFF
	mov	x3, x19
	bl	_device_create
	str	w0, [x19, #40]
	bl	_IS_ERR
	cbnz	x0, LBB0_12
; %bb.9:
	ldr	w0, [x19, #40]
Lloh39:
	adrp	x1, _dev_attr_ibdev@GOTPAGE
Lloh40:
	ldr	x1, [x1, _dev_attr_ibdev@GOTPAGEOFF]
	bl	_device_create_file
	cbnz	x0, LBB0_11
; %bb.10:
	ldr	w0, [x19, #40]
Lloh41:
	adrp	x1, _dev_attr_abi_version@GOTPAGE
Lloh42:
	ldr	x1, [x1, _dev_attr_abi_version@GOTPAGEOFF]
	bl	_device_create_file
	cbz	x0, LBB0_14
LBB0_11:
	ldr	w0, [x25]
	ldr	w1, [x24]
	bl	_device_destroy
LBB0_12:
Lloh43:
	adrp	x22, _overflow_map@GOTPAGE
Lloh44:
	ldr	x22, [x22, _overflow_map@GOTPAGEOFF]
	mov	x0, x24
	bl	_cdev_del
	ldr	w8, [x19]
	ldr	w9, [x27]
	cmp	w8, w9
	csel	x8, x26, x22, lt
	ldr	w1, [x8]
	mov	x0, x23
	bl	_clear_bit
LBB0_13:
Lloh45:
	adrp	x8, _ib_uverbs_release_dev@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ib_uverbs_release_dev@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_kref_put
	mov	x0, x21
	bl	_wait_for_completion
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_kfree
LBB0_14:
Lloh48:
	adrp	x1, _uverbs_client@GOTPAGE
Lloh49:
	ldr	x1, [x1, _uverbs_client@GOTPAGEOFF]
	mov	x0, x22
	mov	x2, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_ib_set_client_data
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_RB_ROOT,4,2                    ; @RB_ROOT
	.comm	_map_lock,4,2                   ; @map_lock
	.comm	_dev_map,4,2                    ; @dev_map
	.comm	_IB_UVERBS_MAX_DEVICES,4,2      ; @IB_UVERBS_MAX_DEVICES
	.comm	_overflow_maj,8,3               ; @overflow_maj
	.comm	_overflow_map,4,2               ; @overflow_map
	.comm	_IB_UVERBS_BASE_DEV,8,3         ; @IB_UVERBS_BASE_DEV
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_uverbs_mmap_fops,4,2           ; @uverbs_mmap_fops
	.comm	_uverbs_fops,4,2                ; @uverbs_fops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uverbs%d"

	.comm	_uverbs_class,4,2               ; @uverbs_class
	.comm	_dev_attr_ibdev,4,2             ; @dev_attr_ibdev
	.comm	_dev_attr_abi_version,4,2       ; @dev_attr_abi_version
	.comm	_uverbs_client,4,2              ; @uverbs_client
	.comm	_ib_uverbs_release_dev,4,2      ; @ib_uverbs_release_dev
	.no_dead_strip	_ib_uverbs_add_one
.subsections_via_symbols
