	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uapi_merge_def
_uapi_merge_def:                        ## @uapi_merge_def
	.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	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	_UVERBS_API_KEY_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, -48(%rbp)
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.1:
	movq	%rdx, %rbx
	movq	%rdi, %r13
	leaq	LJTI0_0(%rip), %r12
	jmp	LBB0_2
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	%r14d, %ecx
	leaq	-48(%rbp), %r8
	callq	_uapi_create_write
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	jne	LBB0_15
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$48, %rbx
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	40(%rbx), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_18
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r12,%rax,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	callq	_uapi_key_obj
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$4, %edx
	leaq	-68(%rbp), %rcx
	callq	_uapi_add_get_elm
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_12
	jmp	LBB0_14
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	*8(%rbx)
	testl	%eax, %eax
	jne	LBB0_12
	jmp	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	16(%rbx), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rcx,%rax)
	jne	LBB0_12
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %ecx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_uapi_disable_elm
	jmp	LBB0_10
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	movq	24(%rbx), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setne	%dil
	callq	_WARN_ON
	testl	%eax, %eax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	callq	_uapi_key_obj
	movl	%eax, %r14d
	movq	24(%rbx), %rsi
	movq	%r13, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_uapi_merge_obj_tree
	jmp	LBB0_10
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rdx
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_uapi_merge_def
	jmp	LBB0_10
LBB0_18:
	movl	$1, %edi
	callq	_WARN_ON
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_16
LBB0_14:
	movq	%r15, %rdi
	callq	_PTR_ERR
LBB0_15:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_16:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_8
	.long	L0_0_set_16
	.long	L0_0_set_5
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_UVERBS_API_KEY_ERR,4,2         ## @UVERBS_API_KEY_ERR
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_uapi_merge_def
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uapi_merge_def
_uapi_merge_def:                        ; @uapi_merge_def
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
Lloh0:
	adrp	x8, _UVERBS_API_KEY_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UVERBS_API_KEY_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	str	w23, [sp, #12]
	cbz	x2, LBB0_13
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh3:
	adrp	x25, lJTI0_0@PAGE
Lloh4:
	add	x25, x25, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x4, sp, #12
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x23
	bl	_uapi_create_write
	cbnz	w0, LBB0_17
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #48
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, #40]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
	adr	x9, LBB0_2
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20]
	bl	_uapi_key_obj
	mov	x23, x0
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x23
	mov	w2, #4
	bl	_uapi_add_get_elm
	mov	x24, x0
	bl	_IS_ERR
	cbz	w0, LBB0_3
	b	LBB0_16
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #8]
	mov	x0, x21
	blr	x8
	cbnz	w0, LBB0_3
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x20, #16]
	ldr	x8, [x21, x8]
	cbnz	x8, LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w3, [sp, #12]
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	bl	_uapi_disable_elm
	cbz	w0, LBB0_3
	b	LBB0_17
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
	ldr	x9, [x20, #24]
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ne
	bl	_WARN_ON
	cbnz	w0, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20]
	bl	_uapi_key_obj
	mov	x23, x0
	ldr	x1, [x20, #24]
	mov	x0, x22
	mov	x2, x19
	bl	_uapi_merge_obj_tree
	cbz	w0, LBB0_3
	b	LBB0_17
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x2, [x20, #32]
	mov	x0, x22
	mov	x1, x21
	mov	x3, x19
	bl	_uapi_merge_def
	cbz	w0, LBB0_3
	b	LBB0_17
LBB0_13:
	mov	w0, #0
	b	LBB0_17
LBB0_14:
	mov	w0, #1
	bl	_WARN_ON
LBB0_15:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_17
LBB0_16:
	mov	x0, x24
	bl	_PTR_ERR
LBB0_17:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.comm	_UVERBS_API_KEY_ERR,4,2         ; @UVERBS_API_KEY_ERR
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_uapi_merge_def
.subsections_via_symbols
