	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_constraint_handler_s       ## -- Begin function set_constraint_handler_s
	.p2align	4, 0x90
_set_constraint_handler_s:              ## @set_constraint_handler_s
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$8, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, (%rax)
	movq	___isthreaded@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_7
## %bb.2:
	movq	_ch_lock@GOTPCREL(%rip), %rdi
	callq	__pthread_mutex_lock
	movq	__ch@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%rbx, (%rax)
	cmpq	$0, (%r15)
	je	LBB0_4
## %bb.3:
	movq	_ch_lock@GOTPCREL(%rip), %rdi
	callq	__pthread_mutex_unlock
LBB0_4:
	testq	%r14, %r14
	je	LBB0_8
LBB0_5:
	movq	(%r14), %rbx
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_9
LBB0_7:
	movq	__ch@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%rbx, (%rax)
	testq	%r14, %r14
	jne	LBB0_5
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___isthreaded,8,3               ## @__isthreaded
	.comm	_ch_lock,4,2                    ## @ch_lock
	.comm	__ch,8,3                        ## @_ch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_constraint_handler_s       ; -- Begin function set_constraint_handler_s
	.p2align	2
_set_constraint_handler_s:              ; @set_constraint_handler_s
	.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
	mov	x19, x0
	mov	w0, #8
	bl	_malloc
	mov	x20, x0
	cbz	x0, LBB0_8
; %bb.1:
	str	x19, [x20]
Lloh0:
	adrp	x19, ___isthreaded@GOTPAGE
Lloh1:
	ldr	x19, [x19, ___isthreaded@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.2:
Lloh2:
	adrp	x0, _ch_lock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _ch_lock@GOTPAGEOFF]
	bl	__pthread_mutex_lock
	ldr	x8, [x19]
Lloh4:
	adrp	x9, __ch@GOTPAGE
Lloh5:
	ldr	x9, [x9, __ch@GOTPAGEOFF]
	ldr	x19, [x9]
	str	x20, [x9]
	cbz	x8, LBB0_4
; %bb.3:
Lloh6:
	adrp	x0, _ch_lock@GOTPAGE
Lloh7:
	ldr	x0, [x0, _ch_lock@GOTPAGEOFF]
	bl	__pthread_mutex_unlock
LBB0_4:
	cbz	x19, LBB0_7
LBB0_5:
	ldr	x20, [x19]
	mov	x0, x19
	bl	_free
	b	LBB0_8
LBB0_6:
Lloh8:
	adrp	x8, __ch@GOTPAGE
Lloh9:
	ldr	x8, [x8, __ch@GOTPAGEOFF]
	ldr	x19, [x8]
	str	x20, [x8]
	cbnz	x19, LBB0_5
LBB0_7:
	mov	x20, #0
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	___isthreaded,8,3               ; @__isthreaded
	.comm	_ch_lock,4,2                    ; @ch_lock
	.comm	__ch,8,3                        ; @_ch
.subsections_via_symbols
