	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isdn_audio_get_bits
_isdn_audio_get_bits:                   ## @isdn_audio_get_bits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	8(%rdi), %r8
	cmpq	%r8, %rcx
	jae	LBB0_1
## %bb.2:
	movq	(%rsi), %r9
	incq	%r9
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r9, (%rsi)
	movzbl	-1(%r9), %r10d
	decl	(%rdx)
	movl	16(%rdi), %eax
	shll	$8, %eax
	orl	%r10d, %eax
	movl	%eax, 16(%rdi)
	addq	$8, %rcx
	movq	%rcx, (%rdi)
	incq	%r9
	cmpq	%r8, %rcx
	jb	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movl	16(%rdi), %eax
LBB0_4:
	subq	%r8, %rcx
	movq	%rcx, (%rdi)
                                        ## kill: def $cl killed $cl killed $rcx
	sarl	%cl, %eax
	movq	_bitmask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andl	(%rcx,%r8,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bitmask,8,3                    ## @bitmask
	.no_dead_strip	_isdn_audio_get_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isdn_audio_get_bits
_isdn_audio_get_bits:                   ; @isdn_audio_get_bits
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0]
	cmp	x9, x8
	b.hs	LBB0_3
; %bb.1:
	ldr	x10, [x1]
	add	x11, x10, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	x11, [x1]
	ldurb	w10, [x11, #-1]
	ldr	w12, [x2]
	sub	w12, w12, #1
	str	w12, [x2]
	ldr	w12, [x0, #16]
	bfi	w10, w12, #8, #24
	str	w10, [x0, #16]
	add	x9, x9, #8
	str	x9, [x0]
	add	x11, x11, #1
	cmp	x9, x8
	b.lo	LBB0_2
	b	LBB0_4
LBB0_3:
	ldr	w10, [x0, #16]
LBB0_4:
	sub	x9, x9, x8
	str	x9, [x0]
Lloh0:
	adrp	x11, _bitmask@GOTPAGE
Lloh1:
	ldr	x11, [x11, _bitmask@GOTPAGEOFF]
	asr	w9, w10, w9
Lloh2:
	ldr	x10, [x11]
	ldr	w8, [x10, x8, lsl #2]
	and	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_bitmask,8,3                    ; @bitmask
	.no_dead_strip	_isdn_audio_get_bits
.subsections_via_symbols
