	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b_out_get_reloc_upper_bound
_b_out_get_reloc_upper_bound:           ## @b_out_get_reloc_upper_bound
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_bfd_get_format
	movq	_bfd_object@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	movq	_SEC_CONSTRUCTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_3
## %bb.2:
	movslq	4(%r14), %rax
	leaq	8(,%rax,8), %rax
	jmp	LBB0_11
LBB0_3:
	movq	%rbx, %rdi
	callq	_obj_datasec
	cmpq	%r14, %rax
	je	LBB0_4
## %bb.6:
	movq	%rbx, %rdi
	callq	_obj_textsec
	movq	%rbx, %rdi
	cmpq	%r14, %rax
	je	LBB0_7
## %bb.8:
	callq	_obj_bsssec
	cmpq	%r14, %rax
	je	LBB0_9
LBB0_10:
	movq	_bfd_error_invalid_operation@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
	movq	$-1, %rax
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	callq	_exec_hdr
	movslq	(%rax), %rax
	jmp	LBB0_5
LBB0_7:
	callq	_exec_hdr
	movslq	4(%rax), %rax
LBB0_5:
	addq	%rax, %rax
	addq	$8, %rax
	andq	$-8, %rax
	jmp	LBB0_11
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_object,8,3                 ## @bfd_object
	.comm	_bfd_error_invalid_operation,4,2 ## @bfd_error_invalid_operation
	.comm	_SEC_CONSTRUCTOR,4,2            ## @SEC_CONSTRUCTOR
	.no_dead_strip	_b_out_get_reloc_upper_bound
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b_out_get_reloc_upper_bound
_b_out_get_reloc_upper_bound:           ; @b_out_get_reloc_upper_bound
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_bfd_get_format
Lloh0:
	adrp	x8, _bfd_object@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bfd_object@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.1:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _SEC_CONSTRUCTOR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SEC_CONSTRUCTOR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldrsw	x8, [x19, #4]
	lsl	x8, x8, #3
	add	x0, x8, #8
	b	LBB0_7
LBB0_3:
	mov	x0, x20
	bl	_obj_datasec
	cmp	x0, x19
	b.eq	LBB0_8
; %bb.4:
	mov	x0, x20
	bl	_obj_textsec
	cmp	x0, x19
	b.eq	LBB0_9
; %bb.5:
	mov	x0, x20
	bl	_obj_bsssec
	cmp	x0, x19
	b.eq	LBB0_11
LBB0_6:
Lloh6:
	adrp	x8, _bfd_error_invalid_operation@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bfd_error_invalid_operation@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_bfd_set_error
	mov	x0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x20
	bl	_exec_hdr
	ldrsw	x8, [x0]
	b	LBB0_10
LBB0_9:
	mov	x0, x20
	bl	_exec_hdr
	ldrsw	x8, [x0, #4]
LBB0_10:
	lsl	x8, x8, #1
	add	x8, x8, #8
	and	x0, x8, #0xfffffffffffffff8
	b	LBB0_7
LBB0_11:
	mov	x0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_object,8,3                 ; @bfd_object
	.comm	_bfd_error_invalid_operation,4,2 ; @bfd_error_invalid_operation
	.comm	_SEC_CONSTRUCTOR,4,2            ; @SEC_CONSTRUCTOR
	.no_dead_strip	_b_out_get_reloc_upper_bound
.subsections_via_symbols
