	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isowbuf_freebytes
_isowbuf_freebytes:                     ## @isowbuf_freebytes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %esi
	movl	4(%rdi), %ecx
	movl	%esi, %eax
	movq	_BAS_OUTBUFPAD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	subl	%ecx, %eax
	jle	LBB0_2
## %bb.1:
	subl	%edx, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_BAS_OUTBUFSIZE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	cmpl	%edx, %esi
	jge	LBB0_4
## %bb.3:
	subl	%ecx, %edi
	movl	%edi, %eax
	popq	%rbp
	retq
LBB0_4:
	subl	%edx, %eax
	addl	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BAS_OUTBUFPAD,4,2              ## @BAS_OUTBUFPAD
	.comm	_BAS_OUTBUFSIZE,4,2             ## @BAS_OUTBUFSIZE
	.no_dead_strip	_isowbuf_freebytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isowbuf_freebytes
_isowbuf_freebytes:                     ; @isowbuf_freebytes
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
	sub	w11, w8, w9
Lloh0:
	adrp	x10, _BAS_OUTBUFPAD@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BAS_OUTBUFPAD@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w11, #1
	b.lt	LBB0_2
; %bb.1:
	sub	w0, w11, w10
	ret
LBB0_2:
Lloh3:
	adrp	x12, _BAS_OUTBUFSIZE@GOTPAGE
Lloh4:
	ldr	x12, [x12, _BAS_OUTBUFSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x12]
	sub	w11, w11, w10
	add	w11, w11, w12
	sub	w9, w12, w9
	cmp	w8, w10
	csel	w0, w11, w9, ge
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BAS_OUTBUFPAD,4,2              ; @BAS_OUTBUFPAD
	.comm	_BAS_OUTBUFSIZE,4,2             ; @BAS_OUTBUFSIZE
	.no_dead_strip	_isowbuf_freebytes
.subsections_via_symbols
