	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_alloc2                     ## -- Begin function bfd_alloc2
	.p2align	4, 0x90
_bfd_alloc2:                            ## @bfd_alloc2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %rcx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.1:
	movq	%rcx, %rax
	orq	%rsi, %rax
	movq	_HALF_BFD_SIZE_TYPE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jb	LBB0_3
## %bb.2:
	movq	%rcx, %rax
	mulq	%rsi
	jo	LBB0_4
LBB0_3:
	imulq	%rsi, %rcx
	movl	(%rdi), %edi
	movq	%rcx, %rsi
	callq	_objalloc_alloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	popq	%rbp
	retq
LBB0_4:
	movq	_bfd_error_no_memory@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HALF_BFD_SIZE_TYPE,8,3         ## @HALF_BFD_SIZE_TYPE
	.comm	_bfd_error_no_memory,4,2        ## @bfd_error_no_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_alloc2                     ; -- Begin function bfd_alloc2
	.p2align	2
_bfd_alloc2:                            ; @bfd_alloc2
	.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
	cbz	x2, LBB0_3
; %bb.1:
	orr	x8, x2, x1
Lloh0:
	adrp	x9, _HALF_BFD_SIZE_TYPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HALF_BFD_SIZE_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lo	LBB0_3
; %bb.2:
	umulh	x8, x2, x1
	cmp	xzr, x8
	b.ne	LBB0_5
LBB0_3:
	mul	x1, x2, x1
	ldr	w0, [x0]
	bl	_objalloc_alloc
	cbz	x0, LBB0_5
; %bb.4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh3:
	adrp	x8, _bfd_error_no_memory@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bfd_error_no_memory@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_bfd_set_error
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HALF_BFD_SIZE_TYPE,8,3         ; @HALF_BFD_SIZE_TYPE
	.comm	_bfd_error_no_memory,4,2        ; @bfd_error_no_memory
.subsections_via_symbols
