	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_put_bits                   ## -- Begin function bfd_put_bits
	.p2align	4, 0x90
_bfd_put_bits:                          ## @bfd_put_bits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $edx killed $edx def $rdx
	testb	$7, %dl
	jne	LBB0_8
## %bb.1:
	leal	7(%rdx), %r8d
	testl	%edx, %edx
	cmovnsl	%edx, %r8d
	cmpl	$8, %edx
	jl	LBB0_7
## %bb.2:
	movq	%rcx, %r10
	movl	%edi, %ecx
	sarl	$3, %r8d
	andl	$-8, %edx
	xorl	%edi, %edi
	cmpl	$8, %edx
	je	LBB0_5
## %bb.3:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	leal	-2(%r8), %edx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	1(%rdx), %eax
	leal	1(%rdi), %ebx
	testq	%r10, %r10
	cmovel	%edi, %eax
	movzbl	%cl, %r11d
	cltq
	cmovnel	%edx, %ebx
	movl	%r11d, (%rsi,%rax,4)
	movzbl	%ch, %eax
	movslq	%ebx, %rbx
	movl	%eax, (%rsi,%rbx,4)
	sarl	$16, %ecx
	addl	$2, %edi
	addl	$-2, %edx
	cmpl	%r9d, %edi
	jne	LBB0_4
LBB0_5:
	testb	$1, %r8b
	je	LBB0_7
## %bb.6:
	movl	%edi, %eax
	notl	%eax
	addl	%eax, %r8d
	testq	%r10, %r10
	cmovel	%edi, %r8d
	movzbl	%cl, %eax
	movslq	%r8d, %rcx
	movl	%eax, (%rsi,%rcx,4)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_put_bits                   ; -- Begin function bfd_put_bits
	.p2align	2
_bfd_put_bits:                          ; @bfd_put_bits
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	tst	w2, #0x7
	b.ne	LBB0_5
; %bb.1:
	add	w8, w2, #7
	cmp	w2, #0
	csel	w9, w8, w2, lt
	cmp	w2, #8
	b.lt	LBB0_4
; %bb.2:
	mov	w8, #0
	asr	w9, w9, #3
	sub	w9, w9, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x3, #0
	csel	w10, w8, w9, eq
	and	w11, w0, #0xff
	str	w11, [x1, w10, sxtw #2]
	asr	w0, w0, #8
	add	w8, w8, #1
	sub	w9, w9, #1
	cmn	w9, #1
	b.ne	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	_abort
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
