	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uverbs_process_idrs_array
_uverbs_process_idrs_array:             ## @uverbs_process_idrs_array
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 8(%rcx)
	jne	LBB0_1
## %bb.3:
	movq	%rcx, %r13
	movslq	(%rcx), %r14
	testb	$3, %r14b
	jne	LBB0_1
## %bb.4:
	movq	%rsi, %rbx
	movq	%r14, %rax
	shrq	$2, %rax
	cmpq	(%rsi), %rax
	jb	LBB0_1
## %bb.5:
	cmpq	8(%rbx), %rax
	jbe	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rdx, %r12
	movq	%rdi, %r15
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	leaq	4(%rdi), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$8, %esi
	callq	_array_size
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_uverbs_alloc
	movq	%rax, 8(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.20:
	movq	8(%r12), %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_7:
	movq	8(%r12), %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rdi
	leaq	(,%rax,4), %rax
	subq	%rax, %rdi
	movl	(%r13), %edx
	cmpl	$5, %edx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	jb	LBB0_10
## %bb.8:
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %edi
	callq	_u64_to_user_ptr
	movl	(%r13), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_copy_from_user
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_10:
	addq	$4, %r13
	movq	%r13, %rsi
	callq	_memcpy
LBB0_11:
	cmpl	$4, %r14d
	jae	LBB0_13
## %bb.12:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r13
	xorl	%r14d, %r14d
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	16(%rbx), %esi
	movl	20(%rbx), %edi
	movl	(%r13,%r14,4), %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_uverbs_get_uobject_from_file
	cltq
	movq	8(%r12), %rcx
	movq	%rax, (%rcx,%r14,8)
	movq	8(%r12), %rax
	movq	(%rax,%r14,8), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	incq	%r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	%r14, %rax
	jne	LBB0_14
## %bb.17:
	xorl	%ebx, %ebx
	movq	%rax, %r14
	jmp	LBB0_18
LBB0_15:
	movq	8(%r12), %rax
	movq	(%rax,%r14,8), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
LBB0_18:
	movq	%r14, (%r12)
	movl	(%r15), %esi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	___set_bit
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EFAULT,4,2                     ## @EFAULT
	.no_dead_strip	_uverbs_process_idrs_array
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uverbs_process_idrs_array
_uverbs_process_idrs_array:             ; @uverbs_process_idrs_array
	.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	x8, [x3, #8]
	cbnz	x8, LBB0_4
; %bb.1:
	mov	x25, x3
	ldrsw	x27, [x3]
	tst	x27, #0x3
	b.ne	LBB0_4
; %bb.2:
	mov	x22, x1
	lsr	x23, x27, #2
	ldr	x8, [x1]
	cmp	x23, x8
	b.lo	LBB0_4
; %bb.3:
	ldr	x8, [x22, #8]
	cmp	x23, x8
	b.ls	LBB0_7
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_6:
	mov	x0, x22
	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_7:
	mov	x19, x4
	mov	x20, x2
	mov	x21, x0
	add	x24, x0, #4
	mov	x0, x23
	mov	w1, #8
	bl	_array_size
	mov	x1, x0
	mov	x0, x24
	bl	_uverbs_alloc
	str	x0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x0, [x20, #8]
	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	_PTR_ERR
LBB0_9:
	ldr	x28, [x20, #8]
	add	x8, x28, x23, lsl #3
	sub	x26, x8, x23, lsl #2
	mov	x1, x25
	ldr	w2, [x1], #4
	cmp	w2, #5
	b.lo	LBB0_12
; %bb.10:
	ldr	w0, [x25, #4]
	bl	_u64_to_user_ptr
	mov	x1, x0
	ldr	w2, [x25]
	mov	x0, x26
	bl	_copy_from_user
	cbz	w0, LBB0_13
; %bb.11:
Lloh2:
	adrp	x8, _EFAULT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_5
LBB0_12:
	mov	x0, x26
	bl	_memcpy
LBB0_13:
	cmp	w27, #4
	b.hs	LBB0_15
; %bb.14:
	mov	x25, #0
	mov	w22, #0
	b	LBB0_20
LBB0_15:
	mov	x25, #0
	add	x26, x28, x23, lsl #2
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldp	w1, w0, [x22, #16]
	ldr	w2, [x26, x25, lsl #2]
	mov	x3, x24
	bl	_uverbs_get_uobject_from_file
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	ldr	x9, [x20, #8]
	lsl	x10, x25, #3
	str	x8, [x9, x10]
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x10]
	bl	_IS_ERR
	cbnz	x0, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x25, x25, #1
	cmp	x23, x25
	b.ne	LBB0_16
; %bb.18:
	mov	w22, #0
	mov	x25, x23
	b	LBB0_20
LBB0_19:
	ldr	x8, [x20, #8]
	ldr	x0, [x8, x25, lsl #3]
	bl	_PTR_ERR
	mov	x22, x0
LBB0_20:
	str	x25, [x20]
	ldr	w1, [x21]
	mov	x0, x19
	bl	___set_bit
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EFAULT,4,2                     ; @EFAULT
	.no_dead_strip	_uverbs_process_idrs_array
.subsections_via_symbols
