	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_make_writable              ## -- Begin function bfd_make_writable
	.p2align	4, 0x90
_bfd_make_writable:                     ## @bfd_make_writable
	.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
	movq	(%rdi), %rax
	movq	_no_direction@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movl	$16, %edi
	callq	_bfd_malloc
	movq	%rax, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movq	_BFD_IN_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%rbx)
	movq	_write_direction@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	$0, 8(%rbx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_bfd_error_invalid_operation@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_no_direction,8,3               ## @no_direction
	.comm	_bfd_error_invalid_operation,4,2 ## @bfd_error_invalid_operation
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_BFD_IN_MEMORY,4,2              ## @BFD_IN_MEMORY
	.comm	_write_direction,8,3            ## @write_direction
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_make_writable              ; -- Begin function bfd_make_writable
	.p2align	2
_bfd_make_writable:                     ; @bfd_make_writable
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _no_direction@GOTPAGE
Lloh1:
	ldr	x9, [x9, _no_direction@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x0
	mov	w0, #16
	bl	_bfd_malloc
	str	x0, [x19, #24]
Lloh3:
	adrp	x8, _BFD_IN_MEMORY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BFD_IN_MEMORY@GOTPAGEOFF]
	stp	xzr, xzr, [x0]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _write_direction@GOTPAGE
Lloh7:
	ldr	x9, [x9, _write_direction@GOTPAGEOFF]
	str	w8, [x19, #16]
Lloh8:
	ldr	x8, [x9]
	stp	x8, xzr, [x19]
Lloh9:
	adrp	x8, _TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _bfd_error_invalid_operation@GOTPAGE
Lloh12:
	ldr	x8, [x8, _bfd_error_invalid_operation@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_bfd_set_error
Lloh14:
	adrp	x8, _FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_no_direction,8,3               ; @no_direction
	.comm	_bfd_error_invalid_operation,4,2 ; @bfd_error_invalid_operation
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_BFD_IN_MEMORY,4,2              ; @BFD_IN_MEMORY
	.comm	_write_direction,8,3            ; @write_direction
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
