	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_schedlock_func
_set_schedlock_func:                    ## @set_schedlock_func
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %rdi
	callq	_cmd_type
	movq	_set_cmd@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_target_can_lock_scheduler@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.3:
	movq	_schedlock_off@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_scheduler_mode@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_target_shortname@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_error                          ## TAILCALL
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_set_cmd,8,3                    ## @set_cmd
	.comm	_target_can_lock_scheduler,4,2  ## @target_can_lock_scheduler
	.comm	_schedlock_off,4,2              ## @schedlock_off
	.comm	_scheduler_mode,4,2             ## @scheduler_mode
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Target '%s' cannot support this command."

	.comm	_target_shortname,4,2           ## @target_shortname
	.no_dead_strip	_set_schedlock_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_schedlock_func
_set_schedlock_func:                    ; @set_schedlock_func
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x0, x2
	bl	_cmd_type
Lloh0:
	adrp	x8, _set_cmd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _set_cmd@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _target_can_lock_scheduler@GOTPAGE
Lloh4:
	ldr	x9, [x9, _target_can_lock_scheduler@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	x0, x8
	ccmp	w9, #0, #0, eq
	b.eq	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x8, _schedlock_off@GOTPAGE
Lloh7:
	ldr	x8, [x8, _schedlock_off@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _scheduler_mode@GOTPAGE
Lloh10:
	ldr	x9, [x9, _scheduler_mode@GOTPAGEOFF]
Lloh11:
	adrp	x10, _target_shortname@GOTPAGE
Lloh12:
	ldr	x10, [x10, _target_shortname@GOTPAGEOFF]
Lloh13:
	str	w8, [x9]
Lloh14:
	ldr	w1, [x10]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_error
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_set_cmd,8,3                    ; @set_cmd
	.comm	_target_can_lock_scheduler,4,2  ; @target_can_lock_scheduler
	.comm	_schedlock_off,4,2              ; @schedlock_off
	.comm	_scheduler_mode,4,2             ; @scheduler_mode
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Target '%s' cannot support this command."

	.comm	_target_shortname,4,2           ; @target_shortname
	.no_dead_strip	_set_schedlock_func
.subsections_via_symbols
