	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idr_add_uobj
_idr_add_uobj:                          ## @idr_add_uobj
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_idr_preload
	movq	_ib_uverbs_idr_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	_GFP_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_idr_alloc
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movl	%ebx, (%r14)
LBB0_2:
	movq	_ib_uverbs_idr_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	xorl	%eax, %eax
	callq	_idr_preload_end
	movl	%ebx, %eax
	sarl	$31, %eax
	andl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ib_uverbs_idr_lock,4,2         ## @ib_uverbs_idr_lock
	.comm	_GFP_NOWAIT,4,2                 ## @GFP_NOWAIT
	.no_dead_strip	_idr_add_uobj
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idr_add_uobj
_idr_add_uobj:                          ; @idr_add_uobj
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_idr_preload
Lloh3:
	adrp	x0, _ib_uverbs_idr_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _ib_uverbs_idr_lock@GOTPAGEOFF]
	bl	_spin_lock
Lloh5:
	adrp	x8, _GFP_NOWAIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_NOWAIT@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	mov	w3, #0
	bl	_idr_alloc
	mov	x20, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
	str	w20, [x19]
LBB0_2:
Lloh8:
	adrp	x0, _ib_uverbs_idr_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, _ib_uverbs_idr_lock@GOTPAGEOFF]
	bl	_spin_unlock
	bl	_idr_preload_end
	cmp	w20, #0
	csel	w0, w20, wzr, lt
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ib_uverbs_idr_lock,4,2         ; @ib_uverbs_idr_lock
	.comm	_GFP_NOWAIT,4,2                 ; @GFP_NOWAIT
	.no_dead_strip	_idr_add_uobj
.subsections_via_symbols
