	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bws_setlen                     ## -- Begin function bws_setlen
	.p2align	4, 0x90
_bws_setlen:                            ## @bws_setlen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	cmpq	%rsi, (%rdi)
	jbe	LBB0_5
## %bb.2:
	movq	%rsi, (%rdi)
	movq	_MB_CUR_MAX@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	8(%rdi), %rax
	movb	$0, (%rax,%rsi)
	popq	%rbp
	retq
LBB0_4:
	movq	16(%rdi), %rax
	movl	$0, (%rax,%rsi,4)
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MB_CUR_MAX,4,2                 ## @MB_CUR_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bws_setlen                     ; -- Begin function bws_setlen
	.p2align	2
_bws_setlen:                            ; @bws_setlen
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x0]
	cmp	x8, x1
	b.ls	LBB0_5
; %bb.2:
	str	x1, [x0]
Lloh0:
	adrp	x8, _MB_CUR_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MB_CUR_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x0, #8]
	strb	wzr, [x8, x1]
	ret
LBB0_4:
	ldr	x8, [x0, #16]
	str	wzr, [x8, x1, lsl #2]
LBB0_5:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MB_CUR_MAX,4,2                 ; @MB_CUR_MAX
.subsections_via_symbols
