	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isowbuf_putbits
_isowbuf_putbits:                       ## @isowbuf_putbits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	4(%rdi), %ecx
	shll	%cl, %esi
	movl	%edx, %r8d
	movl	(%rdi), %edx
	movq	8(%rdi), %r9
	movslq	%edx, %rax
	orl	(%r9,%rax,4), %esi
	addl	%ecx, %r8d
	cmpl	$8, %r8d
	jl	LBB0_4
## %bb.1:
	movq	_BAS_OUTBUFSIZE@GOTPCREL(%rip), %r10
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%sil, %eax
	movslq	%edx, %rcx
	incl	%edx
	movl	%eax, (%r9,%rcx,4)
	movl	%edx, %eax
	cltd
	idivl	(%r10)
	movl	%r8d, %eax
	sarl	$8, %esi
	leal	-8(%rax), %r8d
	cmpl	$15, %eax
	ja	LBB0_2
## %bb.3:
	movslq	%edx, %rax
LBB0_4:
	movl	%r8d, 4(%rdi)
	movzbl	%sil, %ecx
	movl	%ecx, (%r9,%rax,4)
	movl	%edx, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BAS_OUTBUFSIZE,4,2             ## @BAS_OUTBUFSIZE
	.no_dead_strip	_isowbuf_putbits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isowbuf_putbits
_isowbuf_putbits:                       ; @isowbuf_putbits
	.cfi_startproc
; %bb.0:
	ldp	w8, w11, [x0]
	lsl	w10, w1, w11
	ldr	x9, [x0, #8]
	ldr	w12, [x9, w8, sxtw #2]
	orr	w10, w12, w10
	add	w11, w11, w2
	cmp	w11, #8
	b.lt	LBB0_4
; %bb.1:
Lloh0:
	adrp	x12, _BAS_OUTBUFSIZE@GOTPAGE
Lloh1:
	ldr	x12, [x12, _BAS_OUTBUFSIZE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x13, x11
	and	w11, w10, #0xff
	add	w14, w8, #1
	str	w11, [x9, w8, sxtw #2]
	ldr	w8, [x12]
	sdiv	w11, w14, w8
	msub	w8, w11, w8, w14
	asr	w10, w10, #8
	sub	w11, w13, #8
	cmp	w13, #15
	b.hi	LBB0_2
; %bb.3:
	mov	x12, x8
	sxtw	x12, w12
	b	LBB0_5
LBB0_4:
	sxtw	x12, w8
LBB0_5:
	str	w11, [x0, #4]
	and	w10, w10, #0xff
	str	w10, [x9, x12, lsl #2]
	str	w8, [x0]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BAS_OUTBUFSIZE,4,2             ; @BAS_OUTBUFSIZE
	.no_dead_strip	_isowbuf_putbits
.subsections_via_symbols
