	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uapi_merge_method
_uapi_merge_method:                     ## @uapi_merge_method
	.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
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %rbx
	movl	%edx, %r13d
	movq	%rdi, %r15
	movl	16(%rcx), %edi
	callq	_uapi_key_ioctl_method
	xorl	%r14d, %r14d
	cmpq	$0, 8(%rbx)
	je	LBB0_21
## %bb.1:
	movl	%eax, %r12d
	orl	%r13d, %r12d
	leaq	-48(%rbp), %rcx
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	$32, %edx
	callq	_uapi_add_get_elm
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%r13, %rdi
LBB0_3:
	callq	_PTR_ERR
	movl	%eax, %r14d
	jmp	LBB0_21
LBB0_4:
	cmpl	$0, -48(%rbp)
	movl	(%rbx), %edi
	je	LBB0_7
## %bb.5:
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_9
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_21
LBB0_7:
	xorl	%eax, %eax
	testl	%edi, %edi
	sete	%al
	movl	%eax, %edi
	callq	_WARN_ON
	movl	24(%r13), %edi
	movl	(%rbx), %esi
	callq	_rcu_assign_pointer
	movl	(%rbx), %eax
	movq	_uverbs_destroy_def_handler@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_9
## %bb.8:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r13)
LBB0_9:
	movl	4(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_21
## %bb.10:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=1
	incl	%r14d
	cmpl	%eax, %r14d
	je	LBB0_20
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	%r14d, %edx
	movq	(%rcx,%rdx,8), %r15
	testq	%r15, %r15
	je	LBB0_19
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r15), %rax
	movq	_UVERBS_ATTR_TYPE_ENUM_IN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	orl	%ecx, (%r13)
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_UVERBS_ATTR_TYPE_IDRS_ARRAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%r15), %rax
	movq	_UVERBS_ACCESS_NEW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_UVERBS_ACCESS_DESTROY@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_6
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	16(%r15), %edi
	callq	_uapi_key_attr
	movl	%r12d, %r13d
	orl	%r12d, %eax
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	$32, %edx
	callq	_uapi_add_elm
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	movups	(%r15), %xmm0
	movups	%xmm0, 8(%rbx)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	4(%rbx), %eax
	movl	%r13d, %r12d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_20:
	xorl	%r14d, %r14d
LBB0_21:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	%rbx, %rdi
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_uverbs_destroy_def_handler,4,2 ## @uverbs_destroy_def_handler
	.comm	_UVERBS_ATTR_TYPE_ENUM_IN,8,3   ## @UVERBS_ATTR_TYPE_ENUM_IN
	.comm	_UVERBS_ATTR_TYPE_IDRS_ARRAY,8,3 ## @UVERBS_ATTR_TYPE_IDRS_ARRAY
	.comm	_UVERBS_ACCESS_NEW,8,3          ## @UVERBS_ACCESS_NEW
	.comm	_UVERBS_ACCESS_DESTROY,8,3      ## @UVERBS_ACCESS_DESTROY
	.no_dead_strip	_uapi_merge_method
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uapi_merge_method
_uapi_merge_method:                     ; @uapi_merge_method
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x21, x0
	ldr	w0, [x3, #16]
	bl	_uapi_key_ioctl_method
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_18
; %bb.1:
	orr	w22, w0, w22
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x22
	mov	w2, #32
	bl	_uapi_add_get_elm
	mov	x23, x0
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x23
	bl	_PTR_ERR
	b	LBB0_19
LBB0_3:
	ldr	w8, [sp, #12]
	ldr	w0, [x20]
	cbz	w8, LBB0_6
; %bb.4:
	bl	_WARN_ON
	cbz	x0, LBB0_8
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_19
LBB0_6:
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	ldr	w0, [x23, #24]
	ldr	w1, [x20]
	bl	_rcu_assign_pointer
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _uverbs_destroy_def_handler@GOTPAGE
Lloh4:
	ldr	x9, [x9, _uverbs_destroy_def_handler@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_8
; %bb.7:
	str	w19, [x23]
LBB0_8:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_18
; %bb.9:
	mov	w25, #0
Lloh6:
	adrp	x26, _UVERBS_ATTR_TYPE_ENUM_IN@GOTPAGE
Lloh7:
	ldr	x26, [x26, _UVERBS_ATTR_TYPE_ENUM_IN@GOTPAGEOFF]
Lloh8:
	adrp	x27, _UVERBS_ATTR_TYPE_IDRS_ARRAY@GOTPAGE
Lloh9:
	ldr	x27, [x27, _UVERBS_ATTR_TYPE_IDRS_ARRAY@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	w25, w25, #1
	cmp	w25, w8
	b.eq	LBB0_18
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	ldr	x9, [x9]
	ldr	x28, [x9, w25, uxtw #3]
	cbz	x28, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x28]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w9, [x23]
	orr	w9, w9, w19
	str	w9, [x23]
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x28, #8]
Lloh10:
	adrp	x9, _UVERBS_ACCESS_NEW@GOTPAGE
Lloh11:
	ldr	x9, [x9, _UVERBS_ACCESS_NEW@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh13:
	adrp	x9, _UVERBS_ACCESS_DESTROY@GOTPAGE
Lloh14:
	ldr	x9, [x9, _UVERBS_ACCESS_DESTROY@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_5
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x28, #16]
	bl	_uapi_key_attr
	orr	w1, w0, w22
	mov	x0, x21
	mov	w2, #32
	bl	_uapi_add_elm
	mov	x24, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	q0, [x28]
	stur	q0, [x24, #8]
	ldr	w8, [x20, #4]
	b	LBB0_10
LBB0_18:
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_20:
	mov	x0, x24
	bl	_PTR_ERR
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_uverbs_destroy_def_handler,4,2 ; @uverbs_destroy_def_handler
	.comm	_UVERBS_ATTR_TYPE_ENUM_IN,8,3   ; @UVERBS_ATTR_TYPE_ENUM_IN
	.comm	_UVERBS_ATTR_TYPE_IDRS_ARRAY,8,3 ; @UVERBS_ATTR_TYPE_IDRS_ARRAY
	.comm	_UVERBS_ACCESS_NEW,8,3          ; @UVERBS_ACCESS_NEW
	.comm	_UVERBS_ACCESS_DESTROY,8,3      ; @UVERBS_ACCESS_DESTROY
	.no_dead_strip	_uapi_merge_method
.subsections_via_symbols
