	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bfd_get_bits
_bfd_get_bits:                          ## @bfd_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
                                        ## kill: def $esi killed $esi def $rsi
	xorl	%eax, %eax
	testb	$7, %sil
	je	LBB0_1
LBB0_9:
	popq	%rbp
	retq
LBB0_1:
	leal	7(%rsi), %r8d
	testl	%esi, %esi
	cmovnsl	%esi, %r8d
	cmpl	$8, %esi
	jl	LBB0_9
## %bb.2:
	sarl	$3, %r8d
	andl	$-8, %esi
	cmpl	$8, %esi
	jne	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
                                        ## implicit-def: $eax
	xorl	%r10d, %r10d
	testb	$1, %r8b
	je	LBB0_9
	jmp	LBB0_8
LBB0_4:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	leal	-2(%r8), %ecx
	xorl	%eax, %eax
	xorl	%r10d, %r10d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	1(%rcx), %esi
	leal	1(%r10), %r11d
	testq	%rdx, %rdx
	cmovnel	%r10d, %esi
	movslq	%esi, %rsi
	movl	(%rdi,%rsi,4), %esi
	cmovel	%ecx, %r11d
	shll	$16, %eax
	shll	$8, %esi
	orl	%esi, %eax
	movslq	%r11d, %rsi
	orl	(%rdi,%rsi,4), %eax
	addl	$2, %r10d
	addl	$-2, %ecx
	cmpl	%r9d, %r10d
	jne	LBB0_5
## %bb.6:
	movl	%eax, %ecx
	shll	$8, %ecx
	testb	$1, %r8b
	je	LBB0_9
LBB0_8:
	movl	%r10d, %eax
	notl	%eax
	addl	%eax, %r8d
	testq	%rdx, %rdx
	cmovnel	%r10d, %r8d
	movslq	%r8d, %rax
	orl	(%rdi,%rax,4), %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bfd_get_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bfd_get_bits
_bfd_get_bits:                          ; @bfd_get_bits
	.cfi_startproc
; %bb.0:
	tst	w1, #0x7
	b.ne	LBB0_5
; %bb.1:
	add	w8, w1, #7
	cmp	w1, #0
	csel	w10, w8, w1, lt
	cmp	w1, #8
	b.lt	LBB0_5
; %bb.2:
	mov	w8, #0
	mov	w9, #0
	asr	w10, w10, #3
	sub	w10, w10, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x2, #0
	csel	w11, w10, w9, eq
	ldr	w11, [x0, w11, sxtw #2]
	orr	w8, w11, w8, lsl #8
	add	w9, w9, #1
	sub	w10, w10, #1
	cmn	w10, #1
	b.ne	LBB0_3
; %bb.4:
	mov	x0, x8
	ret
LBB0_5:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bfd_get_bits
.subsections_via_symbols
