	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_ecoff_mkobject_hook       ## -- Begin function _bfd_ecoff_mkobject_hook
	.p2align	4, 0x90
__bfd_ecoff_mkobject_hook:              ## @_bfd_ecoff_mkobject_hook
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	__bfd_ecoff_mkobject
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_ecoff_data
	movl	$8, (%rax)
	movl	(%r15), %ecx
	movl	%ecx, 40(%rax)
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.3:
	movq	40(%rbx), %rcx
	movq	%rcx, 32(%rax)
	addq	32(%rbx), %rcx
	movq	%rcx, 24(%rax)
	movl	28(%rbx), %ecx
	movl	%ecx, 20(%rax)
	movl	24(%rbx), %ecx
	movl	%ecx, 16(%rax)
	movq	16(%rbx), %rcx
	movq	8(%rax), %rdx
	movl	(%rcx), %esi
	movl	%esi, (%rdx)
	movl	4(%rcx), %esi
	movl	%esi, 4(%rdx)
	movl	8(%rcx), %esi
	movl	%esi, 8(%rdx)
	movl	12(%rcx), %ecx
	movl	%ecx, 12(%rdx)
	movl	8(%rbx), %ecx
	movl	%ecx, 4(%rax)
	movq	(%rbx), %rdx
	movq	_ECOFF_AOUT_ZMAGIC@GOTPCREL(%rip), %rsi
	movq	_D_PAGED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpq	(%rsi), %rdx
	jne	LBB0_5
## %bb.4:
	orl	%ecx, (%r14)
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_5:
	notl	%ecx
	andl	%ecx, (%r14)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ECOFF_AOUT_ZMAGIC,8,3          ## @ECOFF_AOUT_ZMAGIC
	.comm	_D_PAGED,4,2                    ## @D_PAGED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_ecoff_mkobject_hook       ; -- Begin function _bfd_ecoff_mkobject_hook
	.p2align	2
__bfd_ecoff_mkobject_hook:              ; @_bfd_ecoff_mkobject_hook
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	__bfd_ecoff_mkobject
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_ecoff_data
	mov	w8, #8
	str	w8, [x0]
	ldr	w8, [x21]
	str	w8, [x0, #40]
	cbz	x20, LBB0_7
; %bb.2:
	ldp	x9, x8, [x20, #32]
	add	x9, x9, x8
	stp	x9, x8, [x0, #24]
	ldr	d0, [x20, #24]
	str	d0, [x0, #16]
	ldr	x8, [x20, #16]
	ldr	x9, [x0, #8]
	ldr	w10, [x8]
	str	w10, [x9]
	ldr	w10, [x8, #4]
	str	w10, [x9, #4]
	ldr	w10, [x8, #8]
	str	w10, [x9, #8]
	ldr	w8, [x8, #12]
	str	w8, [x9, #12]
	ldr	w8, [x20, #8]
	str	w8, [x0, #4]
Lloh0:
	adrp	x8, _ECOFF_AOUT_ZMAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ECOFF_AOUT_ZMAGIC@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh2:
	ldr	x10, [x8]
Lloh3:
	adrp	x8, _D_PAGED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _D_PAGED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.3:
	ldr	w9, [x19]
	orr	w8, w9, w8
	b	LBB0_6
LBB0_4:
	mov	x0, #0
	b	LBB0_7
LBB0_5:
	ldr	w9, [x19]
	bic	w8, w9, w8
LBB0_6:
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ECOFF_AOUT_ZMAGIC,8,3          ; @ECOFF_AOUT_ZMAGIC
	.comm	_D_PAGED,4,2                    ; @D_PAGED
.subsections_via_symbols
