	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kern_spec_to_ib_spec_action
_kern_spec_to_ib_spec_action:           ## @kern_spec_to_ib_spec_action
	.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
	movl	(%rsi), %eax
	movl	%eax, (%rdx)
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_14
## %bb.1:
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rdi, %rcx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_2:
	cmpl	$4, 24(%rsi)
	jne	LBB0_14
## %bb.3:
	movl	$4, (%rbx)
	movl	28(%rsi), %eax
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_6:
	cmpl	$4, 12(%rsi)
	jne	LBB0_7
## %bb.8:
	movq	_flow_action@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_UVERBS_OBJECT_FLOW_ACTION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	16(%rsi), %edx
	movl	%eax, %esi
	callq	_uobj_get_obj_read
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	movl	$4, (%rbx)
	movq	%r14, %rdi
	movl	$129, %esi
	jmp	LBB0_10
LBB0_4:
	cmpl	$4, 20(%rsi)
	jne	LBB0_14
## %bb.5:
	movl	$4, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_11:
	cmpl	$4, 4(%rsi)
	jne	LBB0_14
## %bb.12:
	movq	_counters@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_UVERBS_OBJECT_COUNTERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	8(%rsi), %edx
	movl	%eax, %esi
	callq	_uobj_get_obj_read
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movl	$4, (%rbx)
	movq	%r14, %rdi
	movl	$131, %esi
LBB0_10:
	movq	%rax, %rdx
	callq	_flow_resources_add
	movq	8(%rbx), %rdi
	callq	_uobj_put_obj_read
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_15:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_flow_action,4,2                ## @flow_action
	.comm	_UVERBS_OBJECT_FLOW_ACTION,4,2  ## @UVERBS_OBJECT_FLOW_ACTION
	.comm	_counters,4,2                   ## @counters
	.comm	_UVERBS_OBJECT_COUNTERS,4,2     ## @UVERBS_OBJECT_COUNTERS
	.no_dead_strip	_kern_spec_to_ib_spec_action
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kern_spec_to_ib_spec_action
_kern_spec_to_ib_spec_action:           ; @kern_spec_to_ib_spec_action
	.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
	ldr	w8, [x1]
	str	w8, [x2]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_13
; %bb.1:
	mov	x20, x3
	mov	x19, x2
	mov	x3, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x1, #24]
	cmp	w8, #4
	b.ne	LBB0_13
; %bb.3:
	mov	w0, #0
	str	w8, [x19]
	ldr	w8, [x1, #28]
	str	w8, [x19, #4]
	b	LBB0_15
LBB0_4:
	ldr	w8, [x1, #12]
	cmp	w8, #4
	b.ne	LBB0_16
; %bb.5:
Lloh2:
	adrp	x8, _flow_action@GOTPAGE
Lloh3:
	ldr	x8, [x8, _flow_action@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _UVERBS_OBJECT_FLOW_ACTION@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UVERBS_OBJECT_FLOW_ACTION@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w2, [x1, #16]
	mov	x1, x8
	bl	_uobj_get_obj_read
	str	x0, [x19, #8]
	cbz	x0, LBB0_13
; %bb.6:
	mov	x2, x0
	mov	w8, #4
	str	w8, [x19]
	mov	x0, x20
	mov	w1, #129
	b	LBB0_12
LBB0_7:
	ldr	w8, [x1, #20]
	cmp	w8, #4
	b.ne	LBB0_13
; %bb.8:
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_15
LBB0_9:
	ldr	w8, [x1, #4]
	cmp	w8, #4
	b.ne	LBB0_13
; %bb.10:
Lloh8:
	adrp	x8, _counters@GOTPAGE
Lloh9:
	ldr	x8, [x8, _counters@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _UVERBS_OBJECT_COUNTERS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UVERBS_OBJECT_COUNTERS@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w2, [x1, #8]
	mov	x1, x8
	bl	_uobj_get_obj_read
	str	x0, [x19, #8]
	cbz	x0, LBB0_13
; %bb.11:
	mov	x2, x0
	mov	w8, #4
	str	w8, [x19]
	mov	x0, x20
	mov	w1, #131
LBB0_12:
	bl	_flow_resources_add
	ldr	x0, [x19, #8]
	bl	_uobj_put_obj_read
	mov	w0, #0
	b	LBB0_15
LBB0_13:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_16:
Lloh16:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_14
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_flow_action,4,2                ; @flow_action
	.comm	_UVERBS_OBJECT_FLOW_ACTION,4,2  ; @UVERBS_OBJECT_FLOW_ACTION
	.comm	_counters,4,2                   ; @counters
	.comm	_UVERBS_OBJECT_COUNTERS,4,2     ; @UVERBS_OBJECT_COUNTERS
	.no_dead_strip	_kern_spec_to_ib_spec_action
.subsections_via_symbols
