	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___bt_setcur                    ## -- Begin function __bt_setcur
	.p2align	4, 0x90
___bt_setcur:                           ## @__bt_setcur
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	leaq	8(%rbx), %r12
	callq	_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r12)
LBB0_2:
	movq	_CURS_ACQUIRE@GOTPCREL(%rip), %rax
	movq	_CURS_AFTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_CURS_BEFORE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_CLR
	movl	%r15d, 4(%rbx)
	movl	%r14d, (%rbx)
	movq	_CURS_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_F_SET                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CURS_ACQUIRE,4,2               ## @CURS_ACQUIRE
	.comm	_CURS_AFTER,4,2                 ## @CURS_AFTER
	.comm	_CURS_BEFORE,4,2                ## @CURS_BEFORE
	.comm	_CURS_INIT,4,2                  ## @CURS_INIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___bt_setcur                    ; -- Begin function __bt_setcur
	.p2align	2
___bt_setcur:                           ; @__bt_setcur
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x22, x0
	ldr	x0, [x22, #8]!
	cbz	x0, LBB0_2
; %bb.1:
	bl	_free
	stp	xzr, xzr, [x22]
LBB0_2:
Lloh0:
	adrp	x8, _CURS_ACQUIRE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CURS_ACQUIRE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CURS_AFTER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CURS_AFTER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _CURS_BEFORE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CURS_BEFORE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x19
	bl	_F_CLR
	stp	w20, w21, [x19]
Lloh9:
	adrp	x8, _CURS_INIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CURS_INIT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_F_SET
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CURS_ACQUIRE,4,2               ; @CURS_ACQUIRE
	.comm	_CURS_AFTER,4,2                 ; @CURS_AFTER
	.comm	_CURS_BEFORE,4,2                ; @CURS_BEFORE
	.comm	_CURS_INIT,4,2                  ; @CURS_INIT
.subsections_via_symbols
